Panasonic FP7 Series Command Reference Manual page 834

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

15.6 SEND (MODBUS Master: Function Code Specification)
● Using the UNITSEL instruction, specify the slot number (U0) and the COM. port number
(U1).
● In the SEND instruction, specify and execute PLC's starting address (DT100) and data
amount (U2), MODBUS function code to be used (16: H10), and partner station number
(H01) and starting address (H0). Check addresses of connected devices in the instruction
manuals of devices.
R0
DF
( (
) )
R100
SEND.US
(Note 1)
Operand [D1] of SEND instruction is specified by combining two hexadecimal digits of MODBUS
function code with two hexadecimal digits of partner device station number. When the MODBUS
function code is 16, [D1] H10 should be specified.
(Note 2)
When the partner device is FP series PLC, Operand [D2] of SEND instruction can be specified using
the device number.
Time chart (in the case of SCU)
Master communication
clear to send flag
(XC, XD, XE, XF)
Master communication
sending flag
(YC, YD, YE, YF)
Execute SEND
Master communication
sent flag
(Y0, Y1, Y2, Y3)
Sending data
Response reception
processing
15-40
XC
YC
Master
Master
communication
communication
clear to send flag
sending flag
UNITSEL
DT100
U2
S
Check that the
flag is ON
Check that the
flag is OFF
execution
U0
S1
H1001
H0
n
D1
D2
R100
SEND execution conditions
Clear to send flag: ON
Sending flag: OFF
SEND
Settings for the communication
port
U1
S1: Slot 0 (U0)
S2: COM1 (U1)
S2
SEND processing
S:
Data storage area (DT100)
DT0
n:
Sent data amount (U2)
D1: MODBUS code (H10) and
D3
Partner station no. (H01)
D2: Destination address (H0)
D3: Execution result code (DT0)
SEND instruction executable conditions
Clear to send flag (XC, XD, XE, XF):
ON
Sending flag (YC, YD, YE, YF): OFF
Sending flag (YC, YD, YE, YF):
While sending: ON; Sending done:
OFF
Sent flag (Y0, Y1, Y2, Y3):
Normal completion: OFF
Abnormal completion: ON
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents