LRC Checker Tool
FavLongitudinal Redundancy Check (LRC) is a commonly used form of error checking in communications, also known as LRC checking or longitudinal checking. It is an error detection method that generates check bits from specific bit strings on a longitudinal channel.In matrix formats (such as magnetic tape), LRC is often used in conjunction with VRC to generate a parity bit for each character. In the industrial sector, the Modbus protocol’s ASCII mode employs this algorithm.
The specific algorithm is as follows:1. Pair the data to be checked (2n characters) and calculate the sum of their hexadecimal values.
2. Take the modulo of the sum with 256
3. Subtract the resulting modulo value from 256 to obtain the checksum (alternatively, invert the modulo value bitwise and add 1)
For example, with the hexadecimal data: 01 A0 7C FF 02(Hexadecimal calculation) Sum: 01 + A0 + 7C + FF + 02 = 21E Modulo: 21E % 100 = 1E Calculation: 100 - 1E = E2
(Decimal calculation) Sum: 01 + 160 + 124 + 255 + 02 = 542 Modulo: 542 % 256 = 30 Calculation: 256 - 30 = 226
Recommended Tools
Pie Chart Generator
Generate customized pie charts online
Longitude, latitude and degrees, minutes and seconds.
Online conversion tool to convert latitude and longitude in decimal form to degrees, minutes and seconds.
Absolute value calculation
Online Absolute Value Calculator
unit of time conversion
Online time unit conversion tool
Daoist calendar
Taoist Calendar
sneeze for luck or misfortune
Predicting the luck of a sneeze
Gold Money Calculator
Calculate Gold Buy Sell Profit Widget Online
Martian conversion tool
Entertainment Tools Mars Text Online Conversion Tool
Web Page Meta Tag Generation
Web Design Tools Meta Tag Online Generator
Name Generator
A widget that randomly generates boy and girl names
PDF file resize page
Resize PDF files online
PDF file merger
Combine multiple PDF files into one PDF file online
Cell phone number attribution search
Online cell phone number attribution search widget
Online maze games
An online maze game
Eyelid jumping predicts good and bad luck (idiom); Eyelid jumping predicts bad luck
Online Eyelid Jumping Prediction
RC4 encryption and decryption tool
Online RC4 encryption/decryption processing tool
Half-angle/full-angle conversion
Full-angle and half-angle symbols conversion tool
Twelve-hour switch
Convert time to twelve hours online
Online Temporary Notebook
Online notebooks for temporary recording of information
UTM Online URL Generator
Convert URLs to UTM type URLs online
Bra Size Chart
Women's Bra Size Chart
Domain WHIOS Search
Check the WHOIS information of a domain name online, domain name registration date, expiration date ...
Men's Suit Size Chart
Men's Suit Online Size Comparison Chart
Bar Chart Generator
Generate customized bar charts online
























粤ICP备2021116614号