Delta DVP-ES2 User Manual
Page 340
D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g
3-224
Step 6: Repeat step 2 – 5 until the operation of all the messages are completed. The final
value obtained in the CRC register is the CRC checksum. Care should be taken when
placing the LOW byte and HIGH byte of the obtained CRC checksum.
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:
Field Name
Data (Hex)
Field Name
Data (Hex)
Address
01 H
Address
01 H
Function
03 H
Function
03 H
21 H
Start data
address
02 H
Number of data
(count by byte)
04 H
00 H
17 H
Number of data
(count by word)
02 H
Content of data address
2102H
70 H
CRC CHK Low
6F H
00 H
CRC CHK High
F7 H
Content of data address
2103H
00 H
CRC CHK Low
FE H
CRC CHK High
5C H
Example program of RS-485 communication:
MOV
D1120
H86
M1002
SET
M1120
SET
MOV
D1129
K100
X20
M1123
RST
M1123
RS
D100
K2
D120
K8
Setting communication protocol 9600, 7, E, 1
Communication protocol latched
Setting communication time out 100ms
Write transmitting data in advance
Transmission
request
Pulse
Sending request
Receiving
completed
Receiving completed and flag reset
Process of receiving data
X0
M1122