Delta C2000 Series User Manual page 559

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

API
MODRW
150
P
Bit device
X
Y
M
K
S1
S2
S3
S
n
S1: online device address. S2: communications function code. S3: address of
data to read/write. S: register for data to be read/written is stored. N: length of data
to be read/written.
COM1 must be defined as controlled by the PLC (set P9-31 = -12) before using
this command, and the corresponding communications speed and format must
also be set (set P09-01 and P09-04). S2: communications function code.
Currently only supports the following function code; the remaining function code
cannot be executed.
Function
After executing this command, M1077, M1078 and M1079 will be immediately
changed to 0.
As an example, when C2000 must control another converter and PLC, if the
converter has a station number of 10 and the PLC has a station number of 20, see
the following example:
Control slave device converter
Seria
l No.
1
2
3
4
Word device
H
KnX KnY KnM
T
Description
H 02
Input read
H 03
Read word
H 06
Write single word
H 0F
Write multiple coils
H10
Write single word
Example
Reads 4 sets of data comprising the
converter slave device parameters
P01-00 to P01-03, and saves the read
data in D0 to D3
Reads 3 sets of data comprising the
converter slave device addresses
H2100 to H2102, and saves the read
data in D5 to D7
Reads 3 sets of data comprising the
converter slave device parameters
P05-00 to P05-03, and writes the
values as D10 to D12
Writes 2 sets of data comprising the
converter slave device addresses
H2000 to H2001, and writes the values
as D15 to D16
MODBUS data read/write
16-bit command (5 STEP)
C
D
MODRW
Continuous
execution type
32-bit command
Flag signal:
M1077 M1078 M1079
S1
Node
Function
ID
K10
K10
K10
K10
16-67
PLC Function Applications
MODRW
Pulse
P
execution type
MODRW command
S2
S3
S4
Addres
Register
code
s
H3
H100
D0
H3
H2100
D5
H10
H500
D10
H10
H2000
D15
n
Leng
th:
K4
K3
K3
K2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents