Delta DVP-ES2/EX2/SS2/SA2/SX2/SE Two-Way Radio User Manual


 
3. Instruction Set
3-285
a) Range of S
1
: K1 ~ K255
b) The instruction will read VFD status at parameter address 2100H~2104H (Please refer
to user manual of specific VFD for details.) and store the feedback data in
D1070~D1074. However, the content in D1070~D1074 will not be updated when
receiving error or timeout occurs. Therefore, please check the status of receiving
completed flag before applying the received data
Program Example: COM2 (RS-485)
1. Communication between PLC and VFD-B series inverter (ASCII Mode, M1143 = OFF).
Retry when communication time-out occurs.
2. Read VFD status at parameter address 2100H~2104H and store the received data in D1070 ~
D1074.
M1002
MOV H86 D1120
SET M1120
MOV
K100
D1129
RST
M1127
M1127
X0
RDST K1 K0
SET
M1122
M1129
X0
Retry when communication time-out occurs
Processing received data
Receiving completed
Communication instruction setting:
Device address: 1
K0:
Reserved
Set up communication protocol as
9600, 7, E, 1
Retain communication protocol
Set up communication time-out: 100ms
Sending request
Reset M1127.
The received data is stored in
D1070 ~ D1074.
PLC VFD-B, PLC sends: “:01 03 2100 0005 D6
VFD-B PLC, PLC receives: “:01 03 0A 00C8 7C08 3E00 93AB 0000 2A ”
Data to be sent (sending messages)
Data Descriptions
‘0’ 30 H ADR 1
‘1’ 31 H ADR 0
AC drive address : ADR (1,0)
‘0’ 30 H CMD 1
‘3’ 33 H CMD 0
Command code: CMD (1,0)
2’ 32 H
‘1’ 31 H
‘0’ 30 H
‘0’ 30 H
Starting data address