8 Application Instructions API 100-149
DVP-PLC Application Manual
8-1
API Mnemonic
Operands
Function
100
MODRD
Read Modbus Data
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices
Word Devices
Program Steps
Type
OP
X Y M S K H
KnX KnY KnM KnS T
C
D
E
F
S
1
*
*
*
S
2
*
*
*
n
*
*
*
MODRD: 7 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
S
1
: Address of communication device
S
2
: Address of data to be read
n
: Length of read data
Explanations:
1. Range
of
S
1
: K0 ~ K254
2. Range
of
n
: K1
≤
n
≤
K6
3.
See the specifications of each model for their range of use.
4.
ES/EX/SS series MPU does not support E, F index register modification.
5.
Flags: See API 80 RS for explanations on M1120 ~ M1131, M1140 ~ M1143
6.
MODRD is a drive instruction exclusively for peripheral communication equipment in MODBUS ASCII mode
/RTU mode. The built-in RS-485 communication ports in Delta VFD drives (except for VFD-A series) are all
compatible with MODBUS communication format. MODRD can be used for controlling communication (read
data) of Delta drives.
7.
If the address of
S
2
is illegal to the designed communication device, the device will respond with an error, PLC
will records the error code in D1130 and M1141 will be On.
8.
The feedback (returned) data from the peripheral equipment will be stored in D1070 ~ D1085. After receiving
the feedback data is completed, PLC will auto-check if all data are correct. If there is an error, M1140 will be On.
9.
In ASCII mode, due to that the feedback data are all in ASCII, PLC will convert the feedback data into numerals
and store them in D1050 ~ D1055. D1050 ~ D1055 will be invalid in RTU mode.
10. After M1140 or M1141 turn On, the program will send a correct datum to the peripheral equipment. If the
feedback datum is correct, M1140 and M1141 will be reset.
Program Example 1:
Communication between PLC and VFD-S series AC motor drives (ASCII Mode, M1143 = Off)
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...