6-17
Sending data:
The “reception done” flag, the “transmission done” flag, and MTRN instruction are related as follows:
• Header (STX) and terminator (ETX) are automatically added to the data being transmitted. The data is
transmitted to an external device.
• When the F159 (MTRN) instruction is executed, the “transmission done” flag X4 (X5) goes off.
• F159 (MTRN) instruction is used to copy the transmitted data to MCU and request transmission.
Duplex transmission is disabled for the same COM. port while MCU is sending data. The “transmission
done” flag X4 (X5) must be observed.
Key Point:
• The contact numbers in parentheses refer to COM port 2.