MEWTOCOL
Master/Slave Communication
Timing chart
Confirm OFF
Execute RECV
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 RECV
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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание AFP7CPS Series
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 15: ...2 Installation and Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 19: ...3 I O Number Allocation Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 42: ...Setting Communication Conditions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 51: ...6 General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 66: ...General Purpose Communication Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 67: ...7 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 78: ...Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...