Delta DVP-ES2 User Manual Page 454

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 453
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-338
3. Take the connection between PLC (PLC COM2) and VFD-B for example, the tables below
explains the status when PLC reads status of VFD-B. (M1143 = OFF, ASCII Mode) (M1143 =
ON, RTU Mode)
H87MOV
M1002
D1120
SET M1120
K100
MOV
D1129
RST M1127
Set communication protocol as 9600, 8, E, 1
Retain communication protocol
Set communication timeout as 100ms
MODRW K3K1
X0
H2100 D0 K6
Connection device
address: K1
Function code: K3
read multiple words
Data address: H2100
Data storing register
Data length(word)
Processing received data
ASCII mode : The received ASCII data is stored in registers starting from D0
and PLC converts the ASCII data to Hex value and stores them in
D1296~D1301 automatically.
RTU mode : The received data is stored in registers starting from D0 in Hex value.
Reset M1127
M1127
SET
X0
M1122
Sending request
M1143 = OFF
ASCII mode
RST
M1143
M1143 = ON
RTU mode
SET
M1143
Receiving completed
ASCII mode (M1143 = OFF):
When X0 = ON, MODRW instruction executes the function specified by Function Code 03
PLC Ö VFD-B, PLC sends: “01 03 2100 0006 D5”
VFD-B Ö PLC, PLC receives: “01 03 0C 0100 1766 0000 0000 0136 0000 3B”
Registers for data to be sent (sending messages)
Register Data Descriptions
D1256 Low byte ‘0’ 30 H ADR 1
D1256 High byte ‘1’ 31 H ADR 0
Address of VFD-B: ADR (1,0)
D1257 Low byte ‘0’ 30 H CMD 1
D1257 High byte ‘3’ 33 H CMD 0
Control parameter: CMD (1,0)
D1258 Low byte ‘2’ 32 H
D1258 High byte ‘1’ 31 H
D1259 Low byte ‘0’ 30 H
D1259 High byte ‘0’ 30 H
Data Address
Page view 453
1 2 ... 449 450 451 452 453 454 455 456 457 458 459 ... 701 702

Comments to this Manuals

No comments