
Read Command Read Response Message Write Command Write Response Message
‘0’ ‘0’ ‘F’ ‘0’ ‘0’ ‘F’ ‘0’ ‘F’
‘0’ ‘0’
Data content in
1000H/081xH
‘4’ ‘1’ ‘3’ ‘F’ ‘3’ ‘F’
‘0’ ‘0’ ‘0’ ‘E’ ‘0’ ‘E’ ‘0’
Read length of data/bit
(word/bit)
‘2’ ‘9’ ‘0’
Write data content
‘8’ ‘0’
Write data content
‘8’ ‘0’
LRC1 check ‘E’ ‘D’ ‘0’ LRC1 ‘F’ ‘E’ LRC1 ‘F’ ‘E’
LRC0 check ‘A’ ‘C’
Data content in
1001H
‘0’ LRC 0 ‘D’ ‘3’ LRC 0 ‘D’ ‘3’
End word 1 CR CR LRC1 check ‘0’ ‘E’ End word 1 CR CR End word 1 CR CR
End word 0 LF LF LRC0 check ‘3’ ‘3’ End word 0 LF LF End word 0 LF LF
End word 1 CR CR
End word 0 LF LF
LRC check: Sum up from “machine address” to “data content”, e.g. 01H + 03H + 10H + 00H + 00H + 02H = 16H. Obtain 2’s complement EA.
RTU Mode
Read Command Read Response Message Write Command Write Response Message
Machine address 01H 01H Machine address 01H 01H Machine address 01H 01H Machine address 01H 01H
Command 03H 01H Command 03H 01H Command 06H 05H Command 06H 05H
10H 08H 10H 08H 10H 08H
Read start address of data
00H 10H
Length of response
data (byte)
04H 02H Write data address
01H 10H
Write data address
01H 10H
00H 00H 01H 17H 03H FFH 03H FFH
Read length of data (bit/word)
02H 09H
Data content 1
F4H 01H
Write data content
20H 00H
Write data content
20H 00H
CRC low byte C0H BBH 03H CRC low byte DDH 8FH CRC low byte DDH 8FH
CRC high byte CBH A9H
Data content 2
20H CRC high byte E2H 9FH CRC high byte E2H 9FH
CRC low byte BBH 77H
CRC high byte 15H 88H
CRC (Cyclical Redundancy Check) is obtained by the following steps.
1. Load in a 16-bit register FFFFH as the CRC register.
2. Do an exclusive OR operation of the first byte of the data and low byte of CRC register, and place the operation result back to the CRC register.
3. Right shift the bits in the CRC register and fill the high bits with “0”. Check the removed lowest bit.
4. If the removed lowest bit is “0”, repeat step 3. Otherwise, do an exclusive OR operation of the CRC register and the value A001H and place the operation
result back to the CRC register.
5. Repeat step 3 and 4 until the 8 bits (1 byte) are all right shifted.
6. Repeat step 2 and 5 and calcualte all the bits to obtain CRC check.
Please be aware of the high/low byte transmission order in the CRC register.
How to Mount How to Install Mounting Bracket
1. Insert DTV into the panel cutout
2. Insert the mounting bracket into the mounting groove at the top and
bottom of DTV.
3. Push the mounting bracket forward until the bracket stops at the
panel wall.
4. Tighten the screw.
Dimensions
DTV4896 DTV9696
7
Kommentare zu diesen Handbüchern