Delta DVP-ES2 User Manual Page 458

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 457
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-342
H87
MOV
M1002
D1109
SET
M1136
K100
MOV
D1252
MODRW
K3
K1
X0
H2100 D0 K6
Connection device
address: K1
Function code:
Read multiple words
K3
Data address: H2100
Data st or i n g reg iste r
Data length(word)
SET
X0
M1316
M1320 = OFF
ASCII mode
RST
M1320
SET
M1320
Set communication protocol as 9600,8,E,1
Retain communication setting
Set communication timeout as 100ms
Sending request
M1320 = ON
RTU
mode
RST M1318
Processing received data
Reset M1318
M1318
ASCII mode: The received data is converted to Hex value
and stored in registers starting from D0
RTU mode: The received data is stored in registers starting from D0
Receiving completed
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = 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 received data (responding messages)
Register Data Descriptions
D0 0100 H
PLC converts ASCII codes in 2100 H and stores the converted
data automatically.
D1 1766 H
PLC converts ASCII codes in 2101 H and stores the converted
data automatically.
D2 0000 H
PLC converts ASCII codes in 2102 H and stores the converted
data automatically.
D3 0000 H
PLC converts ASCII codes in 2103 H and stores the converted
data automatically.
D4 0136 H
PLC converts ASCII codes in 2104 H and stores the converted
data automatically.
Page view 457
1 2 ... 453 454 455 456 457 458 459 460 461 462 463 ... 701 702

Comments to this Manuals

No comments