Code Description(1)SEND/RECVinstruction executionflagThis is inserted to confirm that no SEND / RECV instruction is in progress forthe same port. Turns ON when an instruction is executable.(2) Communication port ofthe master unitSpecify the communication port of the master unit. To perform serialcommunication, specify the serial communication port (K0).K0: Serial communication port(3) COM port No. When directly specifying the COM port No. using the F146 (RECV) instruction,specify K0.(4) COM port No. of amaster unitSpecify a COM port No. for Bit 15 to Bit 12 of control data.HF: COM0 port; H1: COM1 port; H2: COM2 port(5) MODBUS commandSpecify a MODBUS command for Bit 11 to Bit 8 of control data.H1: Command 01 (Read coil state) H2: Command 02 (Read input state)H3: Command 03 (Read hold register) H4: Command 04 (Read input register)(6) MODBUS unit No.of a destination unitSpecify a unit number of a destination unit for Bit 7 to Bit 0 of control data.Range: H01 to HFF (K1 to K255)(7) MODBUS addressof a destination unitSpecify the MODBUS address of the memory area of a destination unit thatstores receive data.(8) Number of receivedataIn the case of bit data, the max. number is 2040 (07F8H).In the case of word data, the max. number is 127 (7FH).(9)Master unit memoryarea to store receivedataSpecify the memory area of the master unit that stores receive data.(Note 1) For details of instruction programming, refer to "8.1.5 F146 RECV [MODBUS Master Receiver:Function Code Specification (Serial Communication)]".● Other F145 (SEND) / F146 (RECV) instructions cannot be executed at the same time to acommunication port during master communication. Confirm that the “SEND/RECV instructionexecution flag” is ON, and execute the instructions.● F145 (SEND) / F146 (RECV) instruction cannot be executed at the same time to a port duringslave communication.● The processing of F145 (SEND) / F146 (RECV) instruction is handled during the execution ofED instruction. Check the SEND/RECV instruction execution end flag to confirm the completionof transmission / reception. Turned ON in the case of an error, and an error code is stored inDT90123-DT90125. (Example: Function code error = H1)For details of error codes, refer to "10.7.2 MODBUS RTU Response Format".● In the case of COM0 port, specify “HF” as a COM port No. for an operand of the F145 (SEND) /F146 (RECV) instruction.■ Special relays / special data registersCOM0 COM1 COM2SEND/RECV instruction execution flag R9134 R913C (R9044) R9144 (R904A)SEND/RECV instruction execution endflag R9135 R913D (R9045) R9145 (R904B)SEND/RECV instruction end code DT90123 DT90124 DT901256.2 MODBUS RTU Master Communication (RECV)6-6 WUME-FP0HCOM-06