Delta DVP-ES2 User Manual Page 410

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 409
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-294
Program Example:
Connect PLC to VFD series AC motor drive (RTU mode, M1143 = ON), (8-bit mode, M1161 =
ON), Write the data to be sent (H1770) into address H0706 on VFD.
M1002
MOV H86 D1120
SET M1120
Sending
request pulse
Write data to be sent in advance
SET
M1122
MOV
K100
D1129
X0
RS
D100 K8 D120 K8
Processing received data
RST
M1123
M1123
Receiving completed
Set communication protocol as
9600,7,E,1
Retain communication setting
Set communication timeout as:
100ms
Sending request
Reset M1123
SET
M1161
8-bit mode
PLC VFD, PLC sends: 01 06 0706 1770 66 AB
Registers for sent data (sending messages)
Register Data Explanation
D100 low byte 01 H Address
D101 low byte 06 H Function
D102 low byte 07 H
D103 low byte 06 H
Data address
D104 low byte 17 H
D105 low byte 70 H
Data content
D106 low byte 66 H CRC CHK 0
D107 low byte AB H CRC CHK 1
The error checksum CRC CHK (0,1) can be calculated by CRC instruction (8-bit mode, M1161 =
ON).
M1000
CRC D100 K6 D106
CRC checksum: 66 H is stored in low byte of D106 and AB H in low byte of of D107,
Page view 409
1 2 ... 405 406 407 408 409 410 411 412 413 414 415 ... 701 702

Comments to this Manuals

No comments