
5.3
MEWTOCOL-COM Master Communication (SEND)
5-7
Timing chart
Confirm OFF
Execute SEND
Master communication
Sending active flag
(YC)
Master communication
Sending done result flag
(Y0)
Sending data
Response reception
processing
Master communication
Clear to send flag
(XC)
Confirm ON
Conditions to enable execution of SEND
instruction
Clear to send flag (XC): ON
Sending active flag (YC): OFF
Sending done result flag (Y0):
Normal completion: OFF
Abnormal completion: ON
Sending active flag (YC):
Sending data: ON, Sending done: OFF
I/O allocation
COM port no. 1
Name
Explanation
XC
Master
communication
Clear to send flag
Turns ON when MEWTOCOL-COM or MEWTOCOL7 is set for
the communication mode, and the unit is in the RUN mode.
YC
Master
communication
Sending active flag
Turns ON during sending data based on SEND/RECV instruction.
Turns OFF when the sending process is completed.
Y0
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 port targeted for communication, using UNITSEL instruction
immediately before SEND/RECV instruction.
Master communication is only valid when MEWTOCOL is selected. Confirm
that the "Master communication Clear to send flag" (XC) for the targeted
channel is ON, and execute SEND/RECV instruction.
You cannot execute other SEND/RECV instruction for a communication port
in master communication. Confirm that the "Master communication Sending
active flag" (YC) is OFF, and execute instruction.
You cannot execute SEND/RECV instruction for a port in slave
communication.
If no response is received, the "Master communication Sending active flag"
(YC) remains ON throughout the timeout setting time specified in CPU
configuration.
Up to 16 SEND/RECV instructions can be executed simultaneously for
different COM. ports.
Summary of Contents for AF7CPS Series
Page 1: ......
Page 7: ...1 Communication Functions of CPU Unit ...
Page 14: ...Communication Functions of CPU Unit 1 8 ...
Page 15: ...2 Installation and Wiring ...
Page 19: ...3 I O Number Allocation ...
Page 23: ...4 Setting Communication Conditions ...
Page 42: ...Setting Communication Conditions 4 20 ...
Page 43: ...5 MEWTOCOL Master Slave Communication ...
Page 51: ...6 General Purpose Communication ...
Page 66: ...General Purpose Communication 6 16 ...
Page 67: ...7 Specifications ...
Page 78: ...Specifications 7 12 ...
Page 79: ...Record of changes Manual No Date Record of Changes WUME FP7CCET 01 DEC 2013 First Edition ...
Page 80: ......
Page 81: ......
Page 82: ......