9 General-Purpose
Communication
9.1 Operation of General-Purpose Communication..................................9-2
9.1.1 Read Data from an External Device ................................................ 9-2
9.1.2 Write Data into an External Device .................................................. 9-2
9.2 Configuration.......................................................................................9-3
9.2.1 Setting Communication Conditions.................................................. 9-3
9.3 Sending Operation..............................................................................9-4
9.3.1 Overview of Sending Operation ....................................................... 9-4
9.3.2 Contents of Sent Data...................................................................... 9-6
9.3.3 GPTRNS / pGPSEND /GPSEND (General-Purpose
Communication Send Instruction)..................................................... 9-6
9.3.4 Precautions on Sending Data .......................................................... 9-16
9.4 Receiving Operation ...........................................................................9-18
9.4.1 Overview of Receiving Operation .................................................... 9-18
9.4.2 Contents of Received Data .............................................................. 9-20
9.4.3 Precautions on Receiving Data........................................................ 9-20
9.4.4 Operations of the "Reception Done Copy" Flag and Multiplex
Reception.......................................................................................... 9-21
9.4.5 GPRECV (General-Purpose Communication Receive Instruction) . 9-21
9.5 Sending/Receiving Flag Operation .....................................................9-28
9.5.1 No Header (Start Code), Terminator (End Code) "CR": ................... 9-28
9.5.2 Start Code "STX", End Code "ETX":................................................ 9-29
WUME-FP7COM-07
9-1