Delta DVP-ES2 User Manual Page 580

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 579
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming
3-464
H87MOV
M1002
D1120
SET M1120
K100
MOV
D1129
RST M1127
ASDRW K0K1
X0
D0
A
SDA address: K1
Function Code: K0
Monitor ASDA status
Data Register
M1127
SET
X0
M1122
Set up in
ASCII mode
RST
M1143
SET
M1143
Reset communication completed flag M1127
Set communication protocol as 9600,8,E,1
Set time-out value as 100ms
ASCII mode: Store the received data into specified registers D0~D4 in Hex
RTU mode
Store the received data into specified registers D0~D4 in Hex
Sending request
Processing received data
Retain communication setting
Program example 2: COM3(RS-485)
1. When M0 = ON, PLC sends communication commands by COM3 to read servo drive status.
2. When PLC received the feedback data from ASDA, M1318 will be active and the read data will
be stored in D0~D4.
H87MOV
M1002
D1109
SET M1136
K100
MOV
D1252
RST M1318
ASDRW
K0
K1
M0
D0
A
SDA address: K1
Function Code: K0
Monitor ASDA status
Data Register
M1318
SET
M0
M1316
Set up in
ASCII mode
RST
M1320
SET
M1320
Reset communication completed flag M1318
Set communication protocol as 9600,8,E,1
Retain communication setting
Set reveiving time-out as 100ms
ASCII mode: Store the received data into specified registers D0~D4 in Hex
RTU mode
Store the received data into specified registers D0~D4 in Hex
Sending request
Processing received data
Set up in RTU mode
Page view 579
1 2 ... 575 576 577 578 579 580 581 582 583 584 585 ... 701 702

Comments to this Manuals

No comments