Command syntax, Programming conventions, Data transmission – PNI TCM 2.6 User Manual
Page 14
PNI Sensor Corporation
DOC#1009269 r11
TCM2.5 & TCM2.6 User Manual
Page 14 of 49
Command Syntax
There are three types of commands you may issue to the TCM2.5/2.6:
User Configuration Parameter commands which set user-definable parameters.
Request for Data commands which query the TCM2.5/2.6 for data or for the stored value of
user-definable parameters.
Action commands which prompt the TCM2.5/2.6 to perform a specific action.
All commands must be followed with a
TCM2.5/2.6, but are supported to allow compatibility with a variety of terminals.
Commands are case sensitive.
Programming Conventions
Set TCM2.5/2.6 user parameters:
Query TCM2.5/2.6 data (parameter or sensor values):
Action command:
Detailed descriptions of all commands are in the
“Command List” and a command summary is
shown in “Command List Quick Reference”
Data Transmission
The TCM2.5/2.6 will transmit data across the RS-232 interface in response to input commands, and
will also transmit data output words automatically when placed in continuous output mode. The
response to the various commands is as follows:
Input Command
TCM2.5/2.6 Response
Valid parameter-setting commands
:
Valid action command
varies according to command
Valid Parameter query commands
:
Invalid, or unrecognized command
:E
Valid sensor query command
varies according to command
The ‘:’ character signifies a successfully identified and executed command.
Table 2: Input Command Responses