EasyManua.ls Logo

Yamatake Azbil CMQ-V Series - Examples of Communication Program

Default Icon
56 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 - 2 Examples of Communication Program
33
Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION
The program in this section is written in Borland's C++Builder5.0 or Borland C++Compiler5.5 for
Windows95/98/NT/2000.
This program is given here as a reference when the user makes a program, and does not assure all the operations.
You can download Borland C++Compiler5.5 from Borland Home Page.
Before executing the program
Make sure to check the settings for communications type, station address, transmis-
sion speed and data format of the instrument.
Executing the 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,1001W,2
result:00,0,0
command:WS,1204W,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().

Related product manuals