7.3 Flag Operations in Transmission / Reception
7.3.1 When the Header is Set to "No STX" and the Terminator to "CR"
■
When receiving data: The reception done flag, the transmission done flag, and
the F159 (MTRN) instruction are related as follows:
● For general-purpose serial communication, half-duplex transmission must be used.
● Reception is disabled when the reception done flag R913A is ON.
● When F159 (MTRN) is executed, the number of receive bytes is cleared, and the address
(write pointer) in the receive buffer is reset to the starting address.
● When F159 (MTRN) is executed, the error flag R9138, the reception done flag R913A, and
the transmission done flag R913B turn OFF.
● Duplex transmission is disabled while F159 (MTRN) instruction is being executed. The
transmission done flag R913B must be observed.
● Reception continues even if the error flag R9138 turns ON. To resume reception, execute the
F159 (MTRN) instruction to turn OFF the error flag.
WUME-FPXHCOMG-02
7.3 Flag Operations in Transmission / Reception
7-7