5.3 MEWTOCOL Master Communication (RECV)
Timing chart
Confirm OFF
Execute RECV
Sending master
communication flag
(Y90 - Y9F)
Master communication
Sending done result flag
(Y70 - Y7F)
Sending data
Response reception
processing
Clear to send master
communication flag
(X90 - X9F)
Confirm ON
Conditions to enable execution of RECV
command
Clear to send flag (X90 - X9F): ON
Sending flag (Y90 - Y9F): OFF
Sending done result flag (Y70 - Y7F):
Normal completion: OFF
Abnormal completion: ON
Sending flag (Y90 - Y9F):
During the sending process: ON
During execution of ED command
following response reception processing:
OFF
I/O Allocation
I/O number
Name
Explanation
X90 - X9F
Clear to send master
communication flag
When connection is ON in the master communication mode, the
flag is ON.
Y90 - Y9F
Sending master
communication flag
Turns ON during sending data based on SEND/RECV command.
Turns OFF when ED command is executed following response
reception processing.
Y70 - Y7F
Sending done result flag
Reports completion result of sending data in general-purpose
communication or master communication. (Normal completion: 0,
Abnormal completion: 1)
(Note 1) Each contact is used for reading the operation status. Do not write over it with a user program.
KEY POINTS
•
Specify the connection No. targeted for communication, using UNITSEL
command immediately before SEND/RECV command.
•
Master communication is only valid when MEWTOCOL or MODBUS is
selected. Confirm that the "clear to send master communication flag" (X90 -
X9F) for the targeted connection is ON,, and execute SEND/RECV command.
•
You cannot execute other SEND/RECV command for connection in master
communication. Confirm that the "sending master communication flag"
(Y90 - Y9F) is OFF, and execute command.
•
You cannot execute SEND/RECV command for connection in slave
communication.
•
Up to 16 SEND/RECV commands can be executed simultaneously for
different connections.
•
In the case of communication between FP7 LAN ports, specify "U1" for the
partner station no. The receiver is specified by IP address.
5-5
Summary of Contents for FP7 CPU Unit
Page 8: ...Table of Contents vi ...
Page 9: ...1 Communication Functions of CPU Unit ...
Page 19: ...2 Installation and Wiring ...
Page 23: ...3 Configuration ...
Page 35: ...4 Setting and Operation of User Connection ...
Page 41: ...5 MEWTOCOL Master Slave Communication ...
Page 50: ...MEWTOCOL Master Slave Communication 5 10 ...
Page 51: ...6 MODBUS TCP Master Slave Communication ...
Page 63: ...7 General Purpose Communication ...
Page 74: ...General Purpose Communication 7 12 ...
Page 75: ...8 Specifications ...
Page 89: ...Record of changes Manual No Date Record of Changes WUME FP7LAN 01 Mar 2013 First Edition ...
Page 90: ......
Page 91: ......