beautypg.com

Laurel Electronics Custom ASCII Protocol For Laureate Series 2 Digital Panel Meters, Counters, Timers & L-Series Transmitters User Manual

Page 20

background image

20

9. COMMAND MODE

9.1 OVERVIEW

In the Command Mode, the device does not send any data automatically, but responds to com-
mands received from a host computer. These commands can be:

• To transmit the latest, peak, or valley measurement.
• To reset the meter completely or just the peak and valley values and latched alarms.
• To display a value sent from the computer.
• To transmit present setup parameters.
• To receive new setup parameters.
• To monitor or alter data in selected memory locations of the meter.

The selection of either the Continuous mode or the Command Mode can be made from the
front panel Menu selection “Ser 2”. The meter will not respond to a command in the Conti-
nuous Mode, except the command “A1”, which puts the meter into the Command Mode.

9.2 COMMAND MODE FORMAT

The minimum format is 4 characters. Example: *5A1

After any command that causes a Meter Reset, such as C0, F, W, X, the Counter sends an “R”
character after the Reset is complete and the Counter is ready to accept a new command.

CHAR 1 - COMMAND IDENTIFIER

All commands begin with “*” followed by the meter address, then a command letter followed
by a sub-command number or letter. Additional characters may be appended. All commands
terminate with ( ignored). The counter may be assigned a different recognition
character via the RS232 / 485 serial port, but will still recognize the “*”.

Char #

Character

Description

1
2
3
4

*

0-V
A-Z

0-U

Command Identifier (Recognition Character)
Device Address (0 addresses all devices, 1-V specific)
Command Function
Sub-command (or # Bytes or Words of data being transferred)

CHAR 2 - ADDRESS CODES

The next table is the Serial Communication Address Codes following the “*” for each meter
address number. Also shown is the corresponding character that is set in menu item “SER 2”.