Panasonic FP7 CPU Unit User Manual page 55

Lan port communication
Table of Contents

Advertisement

R0
DF
Clear to send
master
communication flag
R100
RECV.US
 Timing chart
Clear to send master
communication flag
(X90 - X9F)
Sending master
communication flag
(Y90 - Y9F)
Execute RECV
Master communication
Sending done result flag
(Y70 - Y7F)
Sending data
Response reception
processing
 I/O Allocation
I/O number
Clear to send master
X90 - X9F
communication flag
Sending master
Y90 - Y9F
communication flag
Y70 - Y7F
Sending done result flag
(Note 1) Each contact is used for reading the operation status. Do not write over it with a user program.
X90
Y90
Sending master
communication flag
UNITSEL
H301
H0
S1
S2
Confirm ON
Confirm OFF
Name
When connection is ON in the master communication mode, the
flag is ON.
Turns ON during sending data based on SEND/RECV command.
Turns OFF when ED command is executed following response
reception processing.
Reports completion result of sending data in general-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
6.3 MODBUS TCP Master Communication (RECV)
R100
Execute
RECV
U100
U1
S1
S2
U2
DT100
DT0
n
D1
D2
Explanation
Starting conditions for RECV
execution
Clear to send flag: ON
Sending flag: OFF
Settings for communication port
S1: CPU LAN port (U100)
S1: Connection 1 (U1)
Execute RECV command
S1: MODBUS command (H03)
Partner station no. (H01)
S2: Data address (H0)
n: No. of data (U2)
D1: Data saving area (DT100)
D2: Execution result code (DT0)
Conditions to enable execution of RECV
command
Clear to send flag (X90 - X9F): ON
Sending flag (Y90 - Y9F): OFF
Sending flag (Y90 - Y9F):
During the sending process: ON
During execution of ED command
following response reception processing:
OFF
Sending done result flag (Y70 - Y7F):
Normal completion: OFF
Abnormal completion: ON
6-5

Advertisement

Table of Contents
loading

Table of Contents