7-18
Chapter 7. CPL COMMUNICATION FUNCTION
Running the sample program
This program is used for reading and writing data. When the program is
executed, the application layers of the instruction message and response message
communicated are indicated.
command:RS,14356W,2
result:00,0,0
command:WS,14357W,2
result:00
Sample indication of execution results
Processing of the sample program
• Communication settings
Call open() and initialize the RS-232C serial port.
• Command execution
Set a desired character string in 'command' and call AppCPL().