Chapter 16 PLC Function Applications
│
CFP2000
16-102
API
MODRW
Modbus data read/write
150
P
Bit device
Word device
16-bit command (5 STEP)
MODRW
Continuous
execution type
MODRW
P
Pulse
execution type
32-bit command
-
-
-
-
Flag signal:
M1077 M1078 M1079
X
Y
M
K
H KnX KnY KnM T
C
D
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 Pr.09-31 = -12) before using
this command, and the corresponding communications speed and format must
also be set (set Pr.09-01 and Pr.09-04). S2: communications function code.
Currently only supports the following function code; the remaining function code
cannot be executed.
Function
Description
H 02
Input read
H 03
Read word
H 06
Write single word
H 0F
Write multiple coils
H10
Write single word
After executing this command, M1077, M1078 and M1079 will be immediately
changed to 0.
As an example, when CFP2000 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.
Example
MODRW command
S1
S2
S3
S4
n
Node ID Function
code Address Register
Length
1
Reads 4 sets of data comprising the
converter slave device Pr.01-00 to
Pr.01-03, and saves the read data in
D0 to D3
K10
H3
H100
D0
K4
2
Reads 3 sets of data comprising the
converter slave device addresses
H2100 to H2102, and saves the read
data in D5 to D7
K10
H3
H2100
D5
K3
3
Reads 3 sets of data comprising the
converter slave device Pr.05-00 to
Pr.05-03, and writes the values as D10
to D12
K10
H10
H500
D10
K3
4
Writes 2 sets of data comprising the
converter slave device addresses
H2000 to H2001, and writes the values
as D15 to D16
K10
H10
H2000 D15
K2
Summary of Contents for CFP2000 Series
Page 3: ......
Page 12: ...Chapter 1 Introduction CFP2000 1 3 1 2 Model Name 1 3 Serial Number ...
Page 15: ...Chapter 1 Introduction CFP2000 1 6 Frame B RFI 1 RFI 1 RFI 1 RFI 2 RFI 2 RFI 2 Figure 1 5 ...
Page 37: ...Chapter 1 Introduction CFP2000 1 28 1 7 Digital Keypad KPC CC01 ...
Page 42: ...Chapter 3 Unpacking CFP2000 3 1 Chapter 3 Unpacking 3 1 Unpacking 3 2 The Lifting Hook ...
Page 54: ...Chapter 4 Wiring CFP2000 4 5 Figure 4 4 ...
Page 57: ...Chapter 4 Wiring CFP2000 4 8 4 4 Basic Waterproof Component Wiring Diagram Frame A Frame B ...
Page 58: ...Chapter 4 Wiring CFP2000 4 9 Frame C D0 ...
Page 75: ...Chapter 5 Main Circuit Terminals CFP2000 5 16 This page intentionally left blank ...
Page 120: ...Chapter 7 Optional Accessories CFP2000 7 35 Wall Mounting Embedded Mounting ...
Page 137: ...Chapter 7 Optional Accessories CFP2000 7 52 This page intentionally left blank ...
Page 173: ...Chapter 9 Specifications CFP2000 9 8 9 5 Efficiency Curve Figure 9 5 ...
Page 251: ...Chapter 11 Summary of Parameter Settings CFP2000 11 42 This page intentionally left blank ...
Page 304: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 3 3 4 5 ...
Page 305: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 4 6 7 8 ...
Page 306: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 5 9 10 11 ...
Page 307: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 6 12 13 14 ...
Page 308: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 7 15 16 17 ...
Page 309: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 8 18 19 20 ...
Page 310: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 9 21 22 23 ...
Page 311: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 10 24 25 26 ...
Page 312: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 11 27 28 29 ...
Page 313: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 12 30 31 32 ...
Page 314: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 13 33 34 35 ...
Page 315: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 14 36 37 38 ...
Page 326: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 25 ...
Page 545: ...Chapter 14 Fault Codes and Descriptions CFP2000 14 50 This page intentionally left blank ...
Page 726: ...Chapter 16 PLC Function Applications CFP2000 16 153 ...
Page 728: ...Chapter 16 PLC Function Applications CFP2000 16 155 ...
Page 731: ...Chapter 16 PLC Function Applications CFP2000 16 158 This page intentionally left blank ...
Page 747: ...Chapter 17 Introduction to BACnet CFP2000 17 16 This page intentionally left blank ...