Delta DVP-ES2 User Manual Page 460

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 459
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-344
H87
MOV
M1002
D1120
SET
M1120
K100
MOV
D1129
RST M1127
MODRW
K5
K1
X0
H0500 D0
K1
Function Code K5:
Force ON/OFF bit device
Reserved
Force ON status (Set FF00H)
M1127
SET
X0
M1122
RST
M1143
SET
M1143
Connection device address: K1
Data a dd ress : Y 0 = H0500
M1143 = OFF
ASCII mode
Reset M1127
Set communication protocol as 9600,8,E,1
Retain communication protocol
Set receiving timeout as 100ms
ASCII mode: The received data is stored in D1070~D1085 in ASCII format
RTU mode: The received data is stored in D1070~D1085 in Hex.
Sending request
Processing received data
M1143 = ON
RTU mode
Receiving completed
ASCII mode (M1143 = OFF):
When X0 = ON, MODRW instruction executes the function specified by Function Code 05
PLC1 Ö PLC2, PLC sends: “01 05 0500 FF00 6F
PLC2 Ö PLC1, PLC receives: “01 05 0500 FF00 6F
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
Device address: ADR (1,0)
D1257 low byte ‘0’ 30 H CMD 1
D1257 high byte ‘5’ 35H CMD 0
CMD (1,0) Control parameter
D1258 low byte ‘0’ 30 H
D1258 high byte ‘5’ 35 H
D1259 low byte ‘0’ 30 H
D1259 high byte ‘0’ 30 H
Data Address
D1260 low byte ‘F’ 46 H
D1260 high byte ‘F’ 46 H
High byte to be force ON/OFF
D1261 low byte ‘0’ 30H
D1261 high byte ‘0’ 30 H
Low byte to be force ON/OFF
D1262 low byte ‘6’ 36 H
D1262 high byte ‘F’ 46 H
LRC CHK 1
LRC CHK 0
Checksum: LRC CHK (0,1)
Page view 459
1 2 ... 455 456 457 458 459 460 461 462 463 464 465 ... 701 702

Comments to this Manuals

No comments