Communications; Interface Description; Setting Up The Serial Port For Remote Control; Using Commands - Ametek Crystal Pressure APM CPF Series Operation Manual

Advanced pressure module
Table of Contents

Advertisement

Communications

The APM interface uses a command – query – response protocol. Using this protocol the user can access the pressure measured by the module, as well as
control and monitor the status of all the essential functions of the module.
„ „ „ „ „

INTERFACE DESCRIPTION

The APM can be remotely controlled using a PC terminal or computer program running the module in an automated system. A USB-based serial port con-
nection is required for remote operation. The serial port connection also powers the module. Once connected, a user can write programs with Windows-based
languages like Visual Basic.
„ „ „ „ „

SETTING UP THE SERIAL PORT FOR REMOTE CONTROL

A USB to serial cable (available with part number
computer, attach it to a USB-to-serial cable, connected and installed on a PC. Connecting the module to the cable will automatically power it on.
Note:
Be sure to set the appropriate COM port in your communications software: 9600 Baud; No parity; 8 Data bits; 1 Stop bit; No hardware flow control;
Software flow control (XON/XOFF) recommended.
To verify the module has connected successfully, enter
„ „ „ „ „

USING COMMANDS

Command Types
The APM may be controlled using commands and queries. All commands may be entered using upper or lower case. Refer to
Codes
for all available commands.
The commands are divided into the following types:
Module Commands
X
Module Commands are used only by the module. For example,
Common Commands
X
Common Commands are standard commands used by most devices. These commands always begin with "
its identification.
Query Commands
X
Query Commands ask for Information, and always end with "
APMCAL
KIT) is used for serial communications from the APM to a computer. To connect the module to a
*IDN?
within the communications program. This command will return information from the module.
VAL?
asks for the values displayed on the module display.
?
". For example,
VAL?
returns the current pressure reading of the module.
Remote Commands and Error
*
". For example,
*IDN?
tells the module to return
Communications
6
APM CPF Series Operation Manual

Advertisement

Table of Contents
loading

Table of Contents