
LRC check tool
LRC check tool Introduction
lrc verification knowledgelongitudinal redundancy check (lrc) is a commonly used form of verification in communication, also known as lrc check or vertical check. it is an error detection method that generates check bits from a specific bit string on a longitudinal channel. in row-column formats (such as tape), lrc is often used with vrc, which will check the code for each character. the algorithm is adopted in the industrial field of modbus protocol ascii mode
the specific algorithm is as follows:1. summarize a hexadecimal value for the data (2n characters) that need to be checked in two pairs.
2. modify the sum result with 256
3. subtract the obtained mod value with 256 to the verification result (another method: inverse the mod value bitwise and then add 1)
for example hexadecimal data: 01 a0 7c ff 02(hexadecimal calculation) sum: 01 + a0 + 7c + ff + 02 = 21e modification: 21e % 100 = 1e calculation: 100 - 1e = e2
(decimal calculation) sum: 01 + 160 + 124 + 255 + 02 = 542 modification: 542 % 256 = 30 calculation: 256 - 30 = 226
Internet Business Promoter
area code query
national area code online query tool
Cat Age Calculator
This tool can convert the age of the cat to the age equivalent to human age
Time addition and subtraction calculator
Add or subtract calculation tool for the specified time
Blood Pressure Calculator
Calculate whether blood pressure is normal by systolic and diastolic pressure
Data size conversion
MB/KB/GB/TB/ conversion tool
Power Calculator
Power Unit Online conversion tool
CSS rounded corner effect generation
Online debugging CSS border rounded style
Children's standard height and weight reference table
Check the child's marked weight and height online
Java code formatting
Online Java code formatting beautification tool
What to do today
A little boring? Choose a quest card at random.
Hello World
Output hello world for various programming languages
Chinese ID card information query
Resident ID card, Hong Kong, Macao and Taiwan resident permit, foreigner permanent residence ID card parsing tool
Morse Code Converter
Morse Code online encoding and decoding tool
Random password generator
Random password online generation tool
PHP function reference table
PHP online function reference list
Screen PPI Calculation Tool
Online screen PPI calculation tool
Random number generator
Generate different random numbers
China Leap year Leap month query
Gregorian Leap Year/Lunar Leap Month online query tool
Chinese Lunar calendar/Solar calendar conversion
Lunar date/Solar date online interconversion tool
12/24 hour conversion
Online 12 hour system /24 hour system conversion
Unix timestamp
Unix timestamp online conversion tool
Chinese Perpetual Calendar
an online perpetual calendar query tool
HTTP status Query Tool
A free online view of HTTP page status code and response header
Domain name WHIOS query
Online query domain name WHOIS information, domain registration date, expiration date...