Delta DVP-ES2/EX2/SS2/SA2/SX2/SE Two-Way Radio User Manual


 
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-222
‘0’ ‘F’: toward the drive at address 15
‘1’ ‘0’: toward the drive at address 16
… and so on, max. address: 254 (‘FE’)
Function code:
‘0’ ‘3’: read contents from multiple registers
‘0’ ‘6’: write one word into a single register
‘1’ ‘0’: write contents to multiple registers
Data characters:
The data sent by the user
LRC checksum:
LCR checksum is 2’s complement of the value added from Address to Data Characters.
For example: 01H + 03H + 21H + 02H + 00H + 02H = 29H. 2’s complement of 29H = D7H.
End word (END):
Fix the END as END Hi = CR (0DH), END Lo = LF (0AH)
Example:
Read 2 continuous data stored in the registers of the drive at address 01H (see the table
below). The start register is at address 2102H.
Inquiry message: Response message:
STX ‘: STX ‘:
‘0’ ‘0’
Address
‘1’
Address
‘1’
‘0’ ‘0’
Function code
‘3’
Function code
‘3’
‘2’ ‘0’
‘1’
Number of data
(count by byte)
‘4’
‘0’ ‘1’
Start address
‘2’ ‘7’
‘0’ ‘7’
‘0’
Content of start
address
2102H
‘0’
‘0’ ‘0’
Number of data
(count by word)
‘2’ ‘0’
‘D’ ‘0’
LRC Checksum
‘7’
Content of address
2103H
‘0’
CR ‘7’
END
LF
LRC Checksum
‘1’
CR
END
LF
RTU mode
Field Name Descriptions
START Refer to the following explanation