5.3.2 For Type with Ethernet Function■ ProcedurePLC has the transmission right in master communication, and master communication isperformed by sending commands to, and receiving responses from, devices that supportMEWTOCOL. Data can be written by specifying unit numbers and memory addresses andexecuting F145 (SEND) instruction in a user program, because PLC automatically createsmessages according to the protocol.External devices thatsupport MEWTOCOL-COM%01#WDD004000040164000000 (BCC) CR%01$WD (BCC) CRCommand messagesResponse messagesDT100 100DT101 0・・・・・・ ・・・・・・・・・・・・・・ ・・・・・・・・DT00400 100DT00401 0・・・・・・ ・・・・・・・・・・・・・・ ・・・・・・・・PLCPerform writing by specifying Unit number andaddress using the SEND instruction● When using both the serial communication and Ethernet communication within aprogram, specify the serial communication port using the F469 (UNITSEL) instructionbefore executing the F145 (SEND) instruction.■ Sample program● Send a command from COM1 port of the unit, and write the content of the data registersDT100 to DT101 of PLC into the data areas DT400 to DT401 of an external device (unit No.1).● Confirm that transmission is not in progress (SEND/RECV instruction execution flag R913C:ON) for the same port, and start up SEND instruction.● Specify a communication port (serial communication port: K0) for the F469 (UNITSEL)instruction.● F145 (SEND) instruction is executed by specifying the transfer method (word transfer / bittransfer), the number of words, unit number of a destination unit, starting address, and thestarting address of PLC memory area that stores data to be transferred. Also specify the bitNos. of both sides in the case of bit transfer.5.3 MEWTOCOL-COM Master Communication (SEND)5-10 WUME-FP0HCOM-06