Delta DVP-ES2 User Manual Page 466

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 465
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-350
5. M1316M1312: sending request
6. M1318M1314: receiving completed flag
H87MOV
M1002
D1109
SET M1136
K100MOV D1252
MODRW
K6
K1
X0
H2000 D50
K1
Connection device
address: K1
Function code: K6
Write in single Word data
Data address: H2000
Data register: D50=H1770
Data length
SET
X0
M1316
RST
M1320
SET
M1320
M1320 = ON
ASCII mode
Set communication protocol as 9600,8,E,1
Retain communication setting
Set receiving timeout as 100ms
Sending request
M1320 = OFF
RTU mode
RST M1318
M1318
Reset M1318
ASCII mode: No processing on received data .
RTU mode: No processing on received data .
Received data
Receiving completed
ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):
When X0 = ON, MODRW instruction executes the function specified by Function Code 06
PLC Ö VFD-B, PLC sends: “01 06 2000 1770 52”
VFD-B Ö PLC, PLC receives: “01 06 2000 1770 52”
(No data processing on received data)
RTU mode (COM3: M1320 = ON, COM1: M1139 = ON)
When X0 = ON, MODRW instruction executes the function specified by Function Code 06
PLC Ö VFD-B, PLC sends: “01 06 2000 1770 8C 1E”
VFD-B PLC, PLC receives: “01 06 2000 1770 8C 1E
(No data processing on received data)
Program Example 9: COM2 (RS-485), Function Code H0F
1. Function code K15 (H0F): write in multiple bit devices. Up to 64bits can be written.
2. PLC1 connects to PLC2: (M1143 = OFF, ASCII Mode), (M1143 = ON, RTU Mode)
3. For ASCII or RTU mode, PLC COM2 stores the data to be sent in D1256~D1295 and the
received data in D1070~D1085.
Page view 465
1 2 ... 461 462 463 464 465 466 467 468 469 470 471 ... 701 702

Comments to this Manuals

No comments