Command set, Overview, General syntax format – Measurement Computing CB-7080 User Manual
Page 15: Command set -1, Overview -1, General syntax format -1

2-1
2
Command Set
Overview
The commands in this section are grouped by function, and summarized as listed below.
Table
Function
Description
General Command s
Read a module's name, status, firmware number and init pin
Read/write a module's configuration
Read or enable the watchdog timer
Frequency Command s
Set the frequency input of a module
General Counter
Commands
Set the counter input of a module
Alarm Mode 0
Commands
Used in two-channel applications to set a different alarm mode for
each channel.
Alarm Mode 1
Commands
Used in two-channel application to set the same alarm mode for each
channel.
LED Commands
Get or set LED configuration
To send data to the LED
General syntax format
Commands are constructed with individual pieces of information represented as code. Each command is
structured as follows:
One-character Delimiter that indicates the type of command to execute.
Two-character HEX module address, from 00 to FF
Function, which indicates the task to execute.
Terminator character, to indicate the end of the command.
This section lists the commands to use to perform specific functions. When writing a command, replace the
generic address with the address of the module you want to perform the task on. For example, to read the
name of module 1:
Select $AAM, the command used to read the name of a module (see page 35).
1. Replace the address (AA) with 01, to indicate module 1.
2. Terminate the command with a carriage return (cr).
This command would then be written as $01M(cr).