General−use Serial CommunicationsFP010 − 910.3 Operations When Using General−use Serial CommunicationWhen the F144 (TRNS) instruction is executed, the number of bytes received is cleared,and the address (write pointer) returns to the initial address in the reception buffer.Reception stops if the error flag (R9037) goes on. To resume reception, execute theF144 (TRNS) instruction. This turns off the error flag, and transmits both actual andempty data.10.3.2 If “Yes” has been Set for the Start and Terminal Codes(Start Code: STX, Terminal Code: ETX)When receiving dataNumber of bytesreceived is clearedwhen F144 (TRNS)instruction is ex-ecuted.A B C STX D H ETXA AB BCABCAECGECHECH<1> <2> <3> <0> <0> <1> <1>E ETX F G STXThe reception com-pleted flag isturned off by ex-ecuting the F144(TRNS) instruction.The receptioncode is deletedby the F144(TRNS) instruc-tion.BCD<1>ECD<2>ECD<2>ECD<0>ECG<1>Number ofbytes receivedis cleared whenstart code isreceived.onoffonoffExternalreceiveddataR9038Reception com-pleted flagF144 (TRNS)instructionexecutionReceptionbufferNumber of recep-tion bytesStoredWrite pointerCannot bestored whenreceptioncompletedflag is onNumber ofbytes receivedis cleared whenstart code isreceived.The data is stored in the reception buffer in sequential order, but at the point at whichthe start code is received, the number of bytes received is cleared, and the address(write pointer) is returned to the initial address in the reception buffer.When the F144 (TRNS) instruction is executed, the number of bytes received is cleared,and the address (write pointer) is returned to the initial address in the reception buffer.If there are two start codes, data following the later start code is overwritten and storedin the reception buffer.Reception is disabled while the reception completed flag (R9038) is on.The reception completed flag (R9038) is turned off by the F144 (TRNS) instruction.Because of this, if the F144 (TRNS) instruction is executed at the same time that theterminal code is received, the reception completed flag will not be detected.