![Allen-Bradley InView Marquee 2706-P42 Скачать руководство пользователя страница 152](http://html1.mh-extra.com/html/allen-bradley/inview-marquee-2706-p42/inview-marquee-2706-p42_user-manual_2900517152.webp)
Publication 2706-UM016A-EN-P - June 2002
9-16
InView Protocol
Longitudinal Redundancy Check (LRC) Error Detection and
Calculation
Some sort of error detection is needed, because communication errors
can occur in an industrial environment due to machinery noise and
electromagnetic interference. The method for error detection used
with Modbus ASCII is Longitudinal Redundancy Check (LRC). The LRC
is an 8-bit binary number represented and transmitted as two ASCII
Hexadecimal characters. The LRC is produced by adding the message
characters (ignoring the carry bit) and taking the two's compliment of
the result. The error check byte is done from the address up to the
data field. The following is an example of how to calculate the LRC in
a Modbus ASCII transmission.
Figure 9.17 Example of LRC Calculations
Examples of using Modbus
ASCII Functions
The following sections show examples of Modbus ASCII protocol
Query/Response transmissions to/from a display for each command
instruction listed above. Modbus ASCII will write/read to the holding
registers in the display. These registers are in the 40000 range. When
writing to register 40101, 40001 is dropped from the address leaving
100 (0x64). The following example shows the transmission of data to
holding register 40102 in all displays. The display will add 40001 to
the starting address upon receiving the transmission before updating
the appropriate holding register.
Beg of
Frame
ADDR
FUNC
H.O.
ADDR
L.O.
ADDR
DATA
LRC
Error
EOF
Ready to
rec. resp
05
06
00
1F
0264
70
CR
LF
Message
Transmitted Bytes
Binary
Address
05
0000 0101
Function
06
0000 0110
Start Add H.O.
00
0000 0000
Start Add L.O.
1F
0001 1111
Data H.O.
02
0000 0010
Data L.O.
64
0110 0100
Sum
90
1001 0000
1's Complement
0110 1111
+1
+0000 0001
2's Complement
0111 0000
Transmitted as
70
Содержание InView Marquee 2706-P42
Страница 6: ...Publication 2706 UM016A EN P June 2002 Table of Contents iv...
Страница 32: ...Publication 2706 UM016A EN P June 2002 1 26 InView Marquee Message Display Installation...
Страница 36: ...Publication 2706 UM016A EN P June 2002 2 4 InView System Connectivity...
Страница 61: ...Publication 2706 UM016 A EN P June 2002 DF1 Point to Point Communication 4 19 Allen Bradley Spares...
Страница 62: ...Publication 2706 UM016 A EN P June 2002 4 20 DF1 Point to Point Communication...
Страница 87: ...Publication 2706 UM016A EN P June 2002 EtherNet IP Communications with Dual ENI 5 25 Allen Bradley Spares...
Страница 88: ...Publication 2706 UM016A EN P June 2002 5 26 EtherNet IP Communications with Dual ENI...
Страница 103: ...Publication 2706 UM016A EN P June 2002 EtherNet IP Communications 6 15 Allen Bradley Spares...
Страница 104: ...Publication 2706 UM016A EN P June 2002 6 16 EtherNet IP Communications...
Страница 127: ...Publication 2706 UM016A EN P June 2002 DeviceNet Communications with Dual DNI 7 23 Allen Bradley Spares...
Страница 128: ...Publication 2706 UM016A EN P June 2002 7 24 DeviceNet Communications with Dual DNI...
Страница 136: ...Publication 2706 UM016A EN P June 2002 8 8 DeviceNet Communications...
Страница 204: ...Publication 2706 UM016A EN P June 2002 A 2 Technical Specifications...
Страница 206: ...Publication 2706 UM016A EN P June 2002 B 2 Temperature Protection in NEMA Rated Enclosures...
Страница 208: ...Publication 2706 UM016A EN P June 2002 C 2 Catalog Number Explanation...
Страница 211: ...Allen Bradley Spares...