Panasonic FP7 User Manual page 242

Cpu unit enthernet expansion function
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

MC Protocol Communication Function
 Time chart
Master communication
clear to send flag
Confirm ON
(X90-X9F)
Confirm OFF
Master communication
send active flag
(Y90-Y9F)
RECV execution
Master communication
send done result flag
( Y70-Y7F)
Data send
Response receive
processing
 I/O allocation
I/O number
Master communication
X90 to X9F
clear to send flag
Master communication
Y90 to Y9F
send active flag
Y70 to Y7F
Sending done result flag
(Note 1): Each contact in the table above is used for reading the operation status. Do not write them using user
programs.
(Note 2): The above I/O numbers are those for the connections 1 to 16. For the details of the I/O numbers for the
connections 32 to 216, refer to 1.2.3 I/O Relays of Extended Connections.
KEY POINTS
Use the UNITSEL instruction following the SEND/RECV instruction to
specify a target connection number for communication.
Confirm the "master communication clear to send flag" of a corresponding
connection is ON, and execute the SEND/RECV instruction. The master
communication clear to send flag will not turn on until the detination
connection is established. It is recommended to specify to enable the auto
open function in the connection setting of ET-LAN. Also, the connections
can be connected with OPEN instruction.
Other SEND and RECV instructions cannot be executed for the connection
during the master communication. Confirm that the "master communication
send active flag" is OFF, and execute the instructions.
SEND and RECV instructions cannot be executed for the connection during
the slave communication (such as performing a data request from a host
computer).
Up to 16 instructions can be executed simultaneously for different COM
ports and connections. (The total of simultaneous usage of SEND, RECV,
pGPSEND and pPMSET instructions.)
9-18
Name
Turns ON when a connection is established in the master
communication.
Turns ON during sending data based on SEND/RECV command.
Turns OFF when the ED instruction is executed after the
completion of the response receive processing.
Reports completion result of sending data in genera-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
RECV instruction executable condition
clear to send flag (X90-X9F) : ON
Send active flag (Y90-Y9F) : OFF
Send active flag (Y90-Y9F) :
When sending : ON
When executing ED instruction after
response receive processing : OFF
Send done result flag (Y70-Y7F) :
Normal end : OFF
Abnormal end : ON
Description

Advertisement

Table of Contents
loading

Table of Contents