It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that apply.
OMEGA is constantly pursuing certification of its products to the European New Approach Directives. OMEGA will add
the mark to every appropriate device upon certification.
The information contained in this document is believed to be correct but OMEGA Engineering, Inc. accepts no liability for any errors it contains,
and reserves the right to alter specifications without notice.
WARNING: These products are not des
igned for use in, and should not be used for, patient connected applications.
This device is marked with the international hazard symbol. It is important to read the Setup Guide before installing or commissioning this
device as it contains important information relating to safety and EMC.
This manual is intended to facilitate digital communication between your computer (or
other controlling device) and one or more meters.
This digital-communications manual is provided for use with the meters’ OWNER’S
MANUAL, which provide details of all applicable inputs, connections, options,
pushbutton controls and programming procedures.
Information that is especially important to note is identified by these labels:
•NOTE
•WARNING
•CAUTION
•IMPORTANT
NOTE: provides you with information that is important to successfully setup
and use the Programmable Digital Meter.
CAUTION or WARNING: tells you about the risk of electric shock.
CAUTION, WARNING or IMPORTANT: tells you of circumstances or
practices that can effect the meter's functionality and must refer to
accompanying documents.
Customer Service
If you need assistance, please call the nearest Customer Service Department, listed in
this manual.
Manuals, Software
The latest Operation and Communication Manual as well as free configuration
software and ActiveX controls are available from the website listed in this manual or
on the CD-ROM enclosed with your shipment.
Communication Menu
The Communication menu only appears with devices purchased with the RS-232C /
RS-485 Serial Communications Option. Purchasing the controller with Serial
Communications permits a controller to be connected directly to the PC’s available
COM port. Device can be configured or monitored from an IBM PC compatible
computer using software available on our CD or on our website.
Page 8
2-1
2. Hardware
2.1 DEFINITION OF TERMS
RX:Received line on RS-232
TX:Transmit line on RS-232
RTS:Request to send
+RX:First pair received line on RS-422/485
+TX:First pair transmit line on RS-422/485
-RX:Second pair received line on RS-422/485
-TX:Second pair transmit line on RS-422/485
RTN:Ground/Return
2.2 RS-232 AND RS-485 HARDWARE
INSTALLATION: The RS-232/485 card is approximately 1" high and 5" long. It is
installed with the meter removed from its case (Refer to Section 5 of your meter’s
Owner’s Guide for instructions on how to open the meter). P11 inserts into J11 of the
main board located next to the transformer (Refer to Figure 2-2). The board is held in
position by a plastic guide on the rear of the display board and plastic assembly at the
rear of the meter. The 6-pin telephone jack, J4, is available at the rear of the meter
case, and accepts a type RJ-11 or RJ-12 telephone plug (Refer to Figure 2-3).
Logic signals are opto-isolated, and drive power is obtained from a galvanically-isolated
transformer winding so that the ±7 V signal levels from the meter can be slaved to the
external controller (computer) ground; earthing that ground is recommended.
Page 9
2-2
2. Hardware
ABCDE
S
1
S1
A
B
S
3
P
11
S3
11
1
1A
J4
1
6
S
2
S2
A
S
4
S4
A
Figure 2-1. RS-232 / RS-485 Option Board
You should install the option board in such a way the pin “1A” of “P11” is
aligned with pin “1A” of “J11” (on main board, refer to Figure 2-2).
When interfacing the meter to devices that do not have handshaking lines, i.e.
RTS/CTS, the S3-E Jumper should be installed. However, when interfacing to a PC,
the S3-E should be removed.
Both HALF DUPLEX (Figure 2-5) and FULL DUPLEX RS-485 (Figure 2-6)
communications require a 6-wire RJ-12 plug to be connected to the RJ-12 jack at the
rear of the meter.
Unlike RS-232, there presently is no established standard D9 or D25 connector pinout for RS-485; refer to your computer or controller manual to insure the right cable
connections.
If communications with your meter has failed, it is recommended that you
check for the receive portion of the RS-485 board on DTE (computer). These
lines should be pulled up for +RX and pulled down for –RX with resistors with
a resistance value from 330 ohms to 1K ohms.
METER #30
METER #1
RECEIVE
RX/TX
RO
A
B
TRANSMIT
METER #31
HOST
COMPUTER
DTE
RO
TRANSMIT
A
B
RECEIVE
= TWISTED SHIELDED PAIR
Page 14
3-1
The Configuration software is simple to use for both the new style (INF-B) and the
legacy ones (INFP, INFS, INFT and INFU), based on your selection. It is able to read
or write the configuration to a device through Serial or TCP/IP communication and
displays corresponding jumper settings of the device i.e. hardware configuration.
If the communication link is in place, no more pushbutton programming is needed: the
computer takes over at this point. Follow the prompts and selections on that screen.
The Infinity configuration program allows the configuration the INF-B, INFP, INFS,INFT and INFU devices.
The program does not read the device model (e.g. INF-B, INFU, etc). Before reading
or writing a configuration to a device, the correct device model has to be specified.
The program has a configuration file, named InfinityConfiguration.inb, which saves
all the program settings when the program is shut down. The next time that the
program is started, the program goes to the configuration file, InfinityConfiguration.inb,
reads all the settings and loads them to the program.
Help files are available. Select an item and click the F1 key to open the help files.
The program was designed to create a configuration as soon as the program is
opened or read or write a device configuration. There is no defined borderline. If
writing a configuration to a device, it is advisable to read first the device configuration
so the device settings are loaded into the configuration program. Then make required
modifications and write the configuration to the device.
Configuration is possible using either serial communication or ethernet. When ethernet
is used, the configuration program is compatible with the -EI option of your meter, and
our iServer products.
The latest Operation and Communication Manual as well as free
configuration software and ActiveX controls are available from the website
listed in this manual or on the CD-ROM enclosed with your shipment.
3. Using The Configuration Setup
Page 15
4-1
This Guide uses some abbreviations and compact wording to signify devices and
concepts with detailed descriptions. Significant items are:
4.1 METER OR DCE
The term “METER” signifies one or more meters (or devices with compatible
communications) which respond to the commands (requests) of a controller device
such as a computer. Such meters are classified as “DCE” devices, from the older
“Data Communication Equipment” telephone specifications.
4.2 COMPUTER OR DTE
These descriptors signify the device controlling the communications, such as a
computer (“HOST” device) or programmable controller. Telephony specifications refer
to controllers as “Data Terminal Equipment” or DTEs.
4.3 POINT-TO-POINT
Direct connection between two (and only two) devices for data exchange, such as the
meter and your digital computer. No addresses are used unless the meter is
programmed for a “one-meter bus”.
4.4 MULTIPOINT (MULTI-DROP)
Shared wiring for a DTE and more than one DCE, designates a “BUS”. Several panel
meters and a personal computer can share a bus, with the computer serving as
controller. The controller can acquire data by transmitting the preassigned address for
a meter followed by a command for the meter to send selected information. When
used with the meter, up to 31 meters can share a bus (with addresses from 01 to
decimal 199); all meters receive the data when the address is “00”.
4.5 SIMPLEX
A channel (path, typically a twisted pair of wires) with unidirectional data flow.
4.6 HALF DUPLEX
A channel (e.g., twisted pair) with bi-directional data flow, but only in one direction at a
time.
4.7 FULL DUPLEX
Two channels (e.g., two twisted pairs) with bi-directional data flow at any time (one
simplex channel in each direction).
4. Definitions
Page 16
4-2
4.8 RS-232 (CCITT V.24)
Bipolar ±5 to ±15 V point-to-point transmission for short distances and moderate data
rates. The meter operates with full-duplex RS-232, with two wires (RX and TX), plus a
common ground, to transmit baud in either direction. A third signal wire, Request To
Send, is referenced to the same ground wire and is used by the computer (DTE) to
control transmissions of the meter (DCE).
Receiver sensitivity is ±3 V and impedance of 3 to 7 kilohms. (Although RS-232 is
nominally for only one driver and one receiver on the line, custom high-impedance
versions exist for limited multipoint use.)
4.9 RTS
A designator for the “Request To Send” control signal from the computer, carried on a
wire separate from that of the data, and used by the meter to permit or inhibit
transmissions in Continuous Mode RS-232. The other control line of RS-232, CTS, is
not used in meter communications.
4.10 RS-422
Unipolar-voltage (3.6 to 6 V supplies) simplex drive of a bus with ±2 V-differential
signals (neither wire at ground) for long distances and/or high data rates. Receiver
sensitivity 200 mV, common-mode voltage range ±3 V, and impedance 4 kilohms or
more. A maximum of one driver and 10 receivers allowed, with no driver protection
against bus contention. Duplex operation requires another set of hardware.
4.11 RS-485
This is the extension of RS-422 to a half or full duplex bus of up to 32 devices, with
multiple drivers and driver-contention protection. Receiver impedance is now
12 kilohms or more.
4. Definitions
Page 17
4-3
4.12 ASCII
Table 4.1 shows the ASCII (American Standard Code for Information Interchange)
symbols which can be encoded in a 7-bit binary code (DB0 through DB6). When
organized in table form, these 7 bits may be regarded as the symbol address, the
most significant 3 bits determining the column and the last four bits determining the
row.
These symbols include all the decimal numerals, letters, punctuation marks, common
abbreviations and control characters, including non-printed symbols such as Carriage
Return and Line Feed.
The 7-bit symbol code (or address) is called a “character”, and digital communication
with the meter is made with a string of these characters.
When transmitted, each character is preceded by a start bit (BAUD) and followed by
one or two stop bits plus an optional parity bit, making a train of 10 or 11 baud for
each transmitted character. If you are building a system from the UART up (Universal
Asynchronous Receiver/Transmitter), that device must be informed of the number of
data bits, parity, stop bit length, etc., so that it properly decodes the incoming stream
into the bytes that your program can recognize (check the UART or plug-in board
literature for required control signals).
As dictated by FORMAT statements, a symbol may be sent by transmitting just its
table address (one character, plain ASCII) or by HEX-ASCII, which uses two
characters, one for each of the two hex address nibbles (0 through 7 for the column
nibble, 0 through F for the row nibble, shown on top and left-hand side of Table 4.1).
4. Definitions
Page 18
4-4
4.13 HEX ASCII
Storage in most digital devices is in groups of 8 bits, called bytes. Each byte has a
most-significant nibble (the left most 4 bits) and a least-significant nibble.
To make the best use of the available storage, all possible bit sequences should be
used, so each nibble can have 16 different values (not just the ten of decimal notation).
These 16 values are symbolized by 0-9 and A-F, the hexadecimal code.
The meter transmits almost all data (shown in format statements as <data>) in this
HEX-ASCII form: each byte is broken into its two nibbles, each nibble is given its HEX
symbol, and the ASCII character (table address) for each of those two HEX symbols is
then transmitted (most significant nibble first).
The transmitter and receiver must know whether a number or a non-numerical symbol
is being sent by HEX-ASCII: this is the reason for standard FORMATs in the meter
commands and responses. To illustrate this requirement, if you decode two adjacent
characters as “0110100” (the code for the symbol “4”) and “1000001” (the code for the
symbol “A”), do you print “4A” or do you print the symbol whose hex table address is
4A, the letter “J”? The format statements tell you which is which.
The responses to “V” and “X” commands encode the numerical <data> in HEX-ASCII,
but use decimal (BCD) nibbles (4 bits per decimal digit), storing these two BCD digits
per byte (rather than 8 bits of straight binary). Decoding to decimal is then simplified
for receiving devices such as printers.
“V” and “X” commands also use a single plain ASCII character for each “-”, “.”, and
units-of-measure symbols, in contrast to the “G, P, R or W” commands and responses,
which encode everything in HEX-ASCII, 2 characters to the byte.
4. Definitions
Page 19
4-5
Table 4.1. The ASCII Character Code
COL01234567
DB6=00001111
DB5=00110011
DB4=01010101
ROW
HD DDDD
EE BBBB
XC3210
00 0000NULDLE SP0 @ P ' p
11 0001SOHDC1 ! 1 A Q aq
22 0010STXDC2 " 2 B R br
33 0011ETXDC3 # 3 C S c s
44 0100EOTDC4 $ 4 D T dt
55 0101ENQNAK % 5 E U e u
66 0110ACKSYN & 6 F V f v
77 0111BELETB ‘ 7 G W g w
88 1000BS CAN( 8 H X hx
99 1001HT EM )9IY i y
A101010LF SUB * : JZ j z
B111011VT ESC + ; K [ k {
C121100FF FS, < L \ l |
D131101CR GS - = M ] m}
E141110SO RS . > N ^ n~
F151111SIUS / ? O _ oDEL
Non-numeric symbols (e.g., letters) or unprinted characters that are sent in hex
data strings are transmitted as the two characters of their hex address;
For example: “*” is “2A”
Carriage Return is “0D”
Line feed is “0A”
XON=DC1 is “11”
XOFF=DC3 is “13”.
4. Definitions
Page 20
4-6
4.14 TRANSMISSION VOLTAGE LEVELS
The voltage levels accepted by the meter are those of the standards, and the meter
outputs are well regulated and well within the standards. The two wires carrying the
signal are designated “A” and “B”; for RS-232, “B” is taken as the 0 V ground.
Table 4.2. Meter Receiving Voltages
“1” BIT/MARK “0” BIT/SPACE
OPTION TYPEOR STOP BITOR START BIT
RS-232–3 > A > –15 V+3 < A < +15 V
RS-422 or 485A < (B–0.2 V)A > (B+0.2 V)
Table 4.3. Meter Transmitting Voltages
“1” BIT/MARK “0” BIT/SPACE
OPTION TYPEOR STOP BITOR START BIT
RS-232–6 > A > –7 V+6 < A < +7 V
RS-422 or 485A < (B–2 V)A > (B+2 V)
The RS-422/485 transmissions from the meter are 3-state, and both receive and
transmit are zener-protected.
4.15 RECOGNITION CHARACTER
A selectable symbol (e.g., the asterisk, *) transmitted as the first character of each
message from the computer, which is used for message security: the meter ignores
messages without this symbol.
4.16 RAM
The acronym for “Random Access Memory”. For the meter, the storage for the data
and instructions for the immediately-occurring operation. When given a “RESET1” or
“soft” reset, the meter restarts its operation from the data in RAM. “PUT” commands
insert information from the computer into RAM, and “GET” commands transmit RAM
information to the computer.
4.17 EEPROM
The acronym for “Electrically Erasable Programmable Read-Only Memory”. For the
meter, the non-volatile memory for the setup and configuration data is retained
independent of power or resets. Upon a “RESET2” or “hard” reset (e.g., after any
BLOCK WRITE command), the data in the EEPROM is copied into RAM, discarding
whatever data had been running. “WRITE” commands insert information from the
computer into EEPROM, and “READ” commands transmit EEPROM data to the
computer.
4. Definitions
Page 21
5-1
The meter can operate at any rate from 300 to 19,200 in 2:1 steps.
Following are the baud rates used by the meter:
300, 600, 1200, 2400, 4800, 9600, and 19200.
5. Baud Rates
Ten or eleven bits are used for each character: a start bit, 7 bits for the ASCII
character, one parity bit, and either one or two stop bits. If the parity bit is
chosen as “none” (absent), the stop length is automatically set at two bits by
the meter (to keep the minimum character length to ten bits).
Figure 6-1 shows the mark/space sequence.
Figure 6-1. Character Waveform
The rising edge of the start bit of the next character may occur at any time
after the end of the last stop bit.
SPACE (0)
MARK (1)
START
BIT
LSB
MSB
STOP
BIT(S)
PARITY
(missing if
no parity)
7-BIT ASCII CHARACTER
6. Character Waveform
Page 22
7-1
There are two (2) classes of operation associated with meter serial communications:
Point-to-point and Multipoint. (Refer to Section 10.13)
7.1 POINT-TO-POINT
No device address is included in the command or response message when operating
in this class. There are two (2) modes associated with this class; CONTINUOUS and
COMMAND.
7.1.1 CONTINUOUS MODE
For RS-232, the computer can direct the meter to repeatedly transmit the data and
status information in the format specified by the communications setup (which includes
a selectable parameter to space out the transmissions for data logging purposes).
Continuous mode is not used on RS-422/485, because no RTS line is present to
prevent bus contention. However, you can use one meter using a RS-485 board by
configuring the meter for point-to-point continuous mode, and configure it so that it is
enabled at all times. This will result in allowing for transmission to be sent for longer
distances to such devices as large remote displays.
Control of the continuous mode is by RTS level. Either message or character control
can be specified. In the former case, RTS polarity is checked by the meter before a
message is begun, but, once started, the transmission continues to the end of the
specified message. In the latter case, RTS polarity is checked before each character
transmission, so that the meter message can be interrupted after any character.
The specified data and status are transmitted for each new measurement (if so
requested), provided that the selected baud rate and message length are adequate. If
the message transmission takes longer, complete messages are sent as fast as
possible, skipping any readings overlapped by a message transmission.
7. Classes of Operation
Page 23
7-2
7.1.1.1 MESSAGE HANDSHAKE
The RTS line from the host controller is checked when the device is ready to send
measurement data. If the RTS is true, it sends the complete message data without
interruption even if RTS goes false in the middle of transmission. If RTS is false, it
skips sending the data completely and continues with the next measurement.
7.1.1.2 CHARACTER HANDSHAKE
The device checks the RTS input before sending each character and sends characters
only while RTS is true. It always completes sending the data before transferring the
latest reading to the output buffer.
7.1.2 COMMAND MODE
In this mode, no handshake line is used, but instead a simple command from the host
requests that the device transmit its latest measurement message.
7.2 MULTIPOINT
A device address from 0 to 199 is included in the COMMAND or RESPONSE
message. By using the addressing capabilities, collision on the bus can be avoided. If
“00” is used for the address on multiple units, they will all receive the COMMAND but
will not respond. This is used to avoid collisions on the bus. There are two (2) modes
available in the class; COMMAND MODE and ALARM MODE.
NO RTS handshaking is available with Multipoint.
7.2.1 COMMAND MODE
Each device, when it receives an addressed command, checks the received address.
If it matches its own pre-selected address, the device responds by fulfilling the
command. After a programmed turnaround delay time, it may transmit either an
acknowledgement and/or the requested data, or may have no response. If the
address does not match, the command is ignored. The programmed turnaround time
delay allows for line reflections to dissipate and for the transmitting host controller to
switch to the receive mode. The turnaround time delay choices are 0, 30, 100 and 300
milliseconds with a 3 ms uncertainty.
7. Classes of Operation
Page 24
7-3
7.2.2 ALARM MODE
All devices can be put into the alarm mode simultaneously by a single address 00
command. In the alarm mode, the bus is quiet until one of the devices detects and
alarm condition. It then transmits its address onto the bus and goes out of the alarm
mode. When other devices detect a character on the bus, they too go out of the alarm
mode. The host program, which may have been performing an unrelated task, is then
interrupted by receipt of a character and after a short delay, starts polling all devices.
It begins with the received address device. All devices are polled in case two or more
have reached an alarm condition at or near the same time. If this happens, it can
cause bus contention, corrupted characters or framing errors. However, none of these
result in system failure because any bus activity causes all devices to exit the alarm
mode and the host program to perform the alarm poll. After identifying the alarm
device(s), the alarm can be reset and the host controller can put the devices back into
the alarm mode. It is suggested that the host controller polls all of the devices when
ready to send the common alarm mode and sends it only if all alarms are inactive.
This reduces the probability of two or more devices being ready to transmit on the bus
simultaneously when the alarm mode is entered due to existing alarm conditions.
7. Classes of Operation
Page 25
7-4
7.3 THE METER AS A REMOTE DISPLAY
The meter has the capability to become a remote display. While in this mode, it can
accept any word with 1 to 6 letters (7 including one decimal point). Valid characters
are: numbers from 0-9, upper-case letters from A-Z, space, period, “/”, “–”, “+”, “,” and
“*”. Upon receiving the proper command from the host controller, the meter will switch
to the REMOTE DISPLAY mode and display whatever has been transmitted to it.
The meter will continue to operate normally during this mode.
As an example, try to write “Hello my name is Bob” to the meter number 25 decimal
(19 hex) on the RS-485 network. Assume “*” is the meter’s recognition character.
Transmit according to the following steps:
1) *19Y01HELLO<CR>
2) *19Y01MY<CR>
3) *19Y01NAME<CR>
4) *19Y01IS BOB<CR>
(You would want to generate a proper delay between each step.)
To go back to “RUN” mode, use the following command: *19D03<CR>
(See Section 8 for more information on commands).
7.4 THE METER AS A DOUBLE TASKING REMOTE METER
The Process, Strain Gauge, Temperature and Universal meters can be configured as a
double tasking remote indicator/controller. This is accomplished by transmitting any
value (In HEX format Only!) from “–99999 to 999999” (and any decimal point position
between 1 to 6) to the meter. The value transmitted will be the meter’s Reading Value
which allows you to display any value desired and assign a setpoint as well as set up
the value of this setpoint. The meter can also be configured to output this value via the
optional analog output boards. The double tasking is accomplished during this
operation, the meter will continue to operate normally and the Filtered Value is the
value used for normal operation.
For comparing the transmitted value with any setpoint, the decimal point of the
value should be equal to the meter’s decimal point position.
7. Classes of Operation
Page 26
7-5
7.4.1 COMMAND STRUCTURE FOR DOUBLE TASKING
The general command structure for this mode is as follows:
*[nn]Y02<DATA><CR>
Where:*= The recognition character
nn= Device address (Required for multipoint mode only)
Y02= Command index
DATA= 3 byte Hexadecimal based (24 bits) value as:
1) First 20 bits are the absolute value (Maximum is 999999 when positive and
99999 when negative)
2) Bits 21, 22, 23 are assigned to the decimal point as shown below:
BIT NO.
232221DECIMAL VALUE*
000 Not used
00 1–0
010 –1
011–2
100–3
101–4
110 –5
111Not used
3) Bit 24 is the polarity sign
0 = Positive
1 = Negative
EXAMPLE: To send a value of “–23.468” to the meter, you must first send the meter
number which is 15 HEX with “*” as the recognition character. The following is the
itemized list of the required variables that must be sent via HEXADECIMAL:
Absolute value is 23468 and its HEX equivalent is “5BAC”
Decimal value will be “100 BINARY” and HEX equivalent is “4HEX”.
Sign is negative and must be sent as “1” and therefore bits 21, 22, 23, and 24 (or most
significant nibble) will be 1100 binary or “C” HEX. Combine this with value and you have
“DATA” with a Hexadecimal equivalent of “C05BAC”.
The complete command for this example is as follows:
“*15Y02C05BAC<CR>”
7. Classes of Operation
* 10 to the power
of the value
Page 27
8-1
8.1 MESSAGE STRING
8.1.1 “DATA” AND “NON DATA”
Each of the many types of messages between computer or printer and the meter is
transmitted or received as a string of ASCII characters. These characters are classified
as “DATA” and “NON DATA”.
“DATA” is the string of measurement or non-measurement values (see Section 8.2 and
Section 8.3) and can be classified as:
1. <data>: hexadecimal based values. Each nibble is converted to the ASCII
character and transmitted or received.
2. <data
>: is alphanumeric plain ASCII characters and need not be converted. It is
used in Remote Display Mode.
3. <value> is data which is transmitted against “X” or “V01” commands. These are in
decimal base, and each digit is converted to the ASCII character and transmitted
along with decimal point and sign.
“NON DATA” items are: recognition character(*), device address (nn), command prefix
letter (c), command suffix (cc), space (S or SP), carriage return (CR), line feed (LF),
checksum (hh), and units of measure (uuu). Checksum, device address, and
command suffix (cc) items are hexadecimal base, and each nibble will be converted to
the ASCII character and transmitted. The rest of the “NON DATA” items are plain ASCII
characters and need not be converted (see examples in Section 8.8).
8.1.2 BRACKETS AND SPACES
In the following text the position reserved for each ASCII character is represented by a
lower-case letter. If there must always be an ASCII character put into the message at
that position, no brackets are used.
Angle brackets, “<“ and “>”, are used to enclose names (or acronyms). In the actual
message these names will be replaced by the ASCII value of that name (the number of
those ASCII characters is not usually the same as the number of letters of the name
inside the angle brackets).
The occurrence of non-printing ASCII characters is also indicated by angle brackets
(e.g., “<CR>”).
Square brackets, “[“ and “]” enclose items which are optional, i.e., the message is still
valid when those are omitted.
8. Command and Response Structure
Page 28
8-2
8. Command and Response Structure
8.2 COMMANDS AND STRUCTURE
The meter responds to over 150 different commands from the computer. This section
gives the format and lists all commands by COMMAND CLASS and COMMAND SUFFIX.
8.2.1 READ COMMUNICATIONS CONFIGURATION COMMAND
To have the meter report its current communication parameters, the special command
“^AE” is provided when transmitted to the meter with the correct baud rate, parity
information, stop bit(s), and address (if multipoint). The meter will return 4 bytes
(9 characters including carriage return) of information as follows:
Byte #1 = Recognition character
Byte #2 = Meter address
Byte #3 = Bus Format
Byte #4 = Communications configuration
This “READ ONLY” command is the only one without a leading recognition
character.
Command Format:
^AE<CR> for point-to-point,
or
^AE[nn]<CR> for multipoint
where nn = device address from 01 to C7 (hex) = 01 to 199 decimal.
Response detail is given in Sections 8.8 and 8.9.
Page 29
8-3
8. Command and Response Structure
8.2.2 GENERAL COMMAND STRUCTURE
The meter can be commanded to “read”, i.e., to transmit (send) data from either the
nonvolatile memory (EEPROM) or from the volatile working memory (RAM). The meter
can also be commanded to “write”, i.e., store new values for data processing or meter
control.
There are different command types associated in communicating with your meter as
follows:
Type (1) Commands which return non-measurement data from the meter are “R” and “G”.
Type (2) Commands which return measurement data from the meter are “X” and “V”.
Type (3) Commands which return status character data from the meter is “U”.
Type (4) Commands which send non-measurement data to the meter are “P”, “W”, and “Y”.
Type (5) Commands for disable, enable, and reset are “D”, “E”, and “Z”.
^AESpecial read, communications parameters
P (Put)Write HEX data into RAM
W (Write)Write HEX data into EEPROM
G (Get)Read HEX data from RAM
R (Read)Read HEX data from EEPROM
URead status byte
VRead measurement data string in decimal format
XRead measurement data values in decimal format
DDisable
EEnable
ZReset
YWrite characters or values to the meter
Page 30
8-4
8. Command and Response Structure
8.2.3 COMMAND FORMATS
For “P” and “W” Command classes:
a) Point-to-point mode:b)Multipoint mode:
* ccc<data>[hh]<CR>*nnccc[<data>][hh]<CR>
For “G” and “R” Command classes:
a) Point-to-point mode:b)Multipoint mode:
*ccc[hh]<CR>*nnccc[hh]<CR>
For “X”, “V”, “U”, “D”, “E”, and “Z” Command classes:
a) Point-to-point mode:b)Multipoint mode:
*ccc[hh]<CR>*nnccc[hh]<CR>
For “Y” Command classes:
Remote Display
a) Point-to-point mode:b)Multipoint mode:
*Y01<data><CR>*nnY01<data
><CR>
Remote Indicator Controller
a) Point-to-point mode:b)Multipoint mode:
*Y02<data><CR>*nnY02<data><CR>
Page 31
8-5
8. Command and Response Structure
Where “*” is the selected Recognition Character, you may select any ASCII table
symbol from “!” (hex address “21”) to the right-hand brace (hex “7D”) except for the
caret “^”, “A”, “E”, which are reserved for bus format request.
“[nn]” are the two ASCII characters for the device Bus Address. Use values from “00” to
hex “C7” (199 decimal).
“ccc” stands for the HEX-ASCII COMMAND CLASS letter (one of twelve given in
Table 8.1), followed by the two HEX-ASCII COMMAND SUFFIX characters identifying
the meter data, features or menu items to which the command is directed (given in
Table 8.2).
“<data>” is the string of characters containing the variable information the computer is
sending to the meter. These data (whether BCD or binary) are encoded into
HEX-ASCII characters, two characters to the byte, except for the “Y01”, “write to the
display” command: here, the desired display upper-case letters, numbers or (limited)
symbols are transmitted by plain ASCII characters. Square brackets (indicating optional
status) enclose this <data> string, since some commands contain no data.
“[hh]” is the optional CHECKSUM BYTE, two HEX-ASCII characters equal to the
modulo 256 sum of all the preceding bytes including the serial recognition character.
Each addition to this sum uses the ASCII 7 bits plus the parity bit as the mostsignificant bit. Any carry (overflow) bits are discarded. The checksum is transmitted
most-significant character first.
Message errors can be discovered by computing the checksum from the received
bytes and comparing that total with the transmitted checksum. However, most systems
have a good signal-to-noise ratio, so that checksum errors are rare and the procedure
is infrequently used.
Page 32
8-6
8. Command and Response Structure
8.2.4 - COMMAND SUFFIX
The two HEX characters following the command class letter are used to specify the
data, features or menu items which the command affects. Table 8.2 gives the
command letter, suffix, feature affected, and the number of data characters included in
the command.
“00” is not used (reserved for the all-device bus address).
Table 8.2. Command Letters and Suffixes
COMMAND SUFFIXITEM AFFECTED# CHARSECTION
D01Disable Alarms (SP#3 and SP#4)08.2.3
E01Enable Alarms (SP#3 and SP#4)08.2.3
R,W01Menu Lockout210.14, 1015
U01Setpoints and Alarm Status08.2.3
V01Read Data String08.2.3
X01Read Unfiltered Value08.2.3
Y01Write value to display68.2.3
Z01Reset latched alarms08.2.3
D02Disable setpoints 1 and 208.2.3
E02Enable setpoints 1 and 208.2.3
R,W02Menu Lockout and Normal Color config210.14,10.15
U02Peak/Valley (HI/LO) status08.2.3
X02Read Peak (HI) value08.2.3
XY02Write value to meter78.2.3
Z02Reset averaging filter08.2.3
D03Disable display of remote value08.2.3
E03Set alarm mode07.2.2
R,W03Setpoint (#1,#2) & Alarm Color (#1, #2)210.16
X03Read Valley (LO) value08.2.3
Z03Soft Reset (RESET1, from RAM)08.2.3
D04Hold displayed value08.2.3
E04Display “RUN”08.2.3
X04Read filtered value08.2.3
Z04Hard Reset (RESET2, from EEPROM)08.2.3
D05Reset tare, valid only on strain meter08.2.3
E05TARE, valid only on strain meter08.2.3
G,P,R,W05INPUT, type and range (Rd.SC.OF)210.10
Z05Reset Peak/Valley (HI/LO)08.2.3
G,P,R,W07RdG.CNF, display controls210.1
G,P,R,W08RdG SC, display scale factor610.34
G,P,R,W09RdG OF, display offset610.35
G,P,R,W0AINP.CNF, meter features210.2
G,P,R,W0BINP SC, input scale factor610.34
G,P,R,W0CdEC.Pt and CNt by (roundoff)210.3
G,P,R,W0EFILtER and FILt.tM, filter #s210.4
(continued next page)
Page 33
8-7
8. Command and Response Structure
COMMAND SUFFIXITEM AFFECTED# CHAR SECTION
G,P,R,W10SP.CNF, control setpoints 1 and 2210.5
G,P,R,W11AL.CNF, control setpoints 3 and 4210.6
G,P,R,W12AL MOdE, alarm function210.7
G,P,R,W13NUM.dLy, alarm delay210.8
R,W14SP db, setpoint hysteresis410.36
R,W15AL db, alarm hysteresis410.37
G,P,R,W16OUt.CNF, analog out and Ad.RAtE210.9
G,P,R,W17OUt SC, analog out scale610.34
R,W18COMM, communications config210.11
G,P,R,W1AAddRES, RS-485 device # address210.29
G,P,R,W1BdAt.FMt, communication data format210.12
G,P,R,W1CbUS.FMt, communications BUS format210.13
R,W1DSERCNt, # of readings between transmissions410.30
G,P,R,W1ESER.RCG, recognition character210.31
G,P,R,W1FSER.UOM, units of measure610.32
R,W20SER.dLy, communication turnaround delay210.33
G,P,R,W21SP 1, setpoint 1 value610.28
G,P,R,W22SP 2, setpoint 2 value610.28
G,P,R,W23SP 3, setpoint 3 value610.28
G,P,R,W24SP 4, setpoint 4 value610.28
G,P,R,W25INP OF, input offset610.35
G,P,R,W26OUt OF, analog output offset610.35
G,P,R,W40RAM or EEPROM BLOCK A6010.17
G,P,R,W41RAM or EEPROM BLOCK B3810.18
R,W42EEPROM BLOCK C2010.19
R,W43EEPROM BLOCK D-10.20
R,W44EEPROM BLOCK E-10.21
R,W45EEPROM BLOCK F-10.22
R,W49Analog Output Option Board (AN03) Calibration16-R,W501st two bytes for “Set Color Config, 2nd two bytes
1. Each BLOCK is the string of HEX-ASCII data which is produced by the
concatenation of the data for single items listed below:
BLOCK A =
26+17+25+0B+09+08+24+23+22+21
BLOCK B =
1E+1F+20+1A+18+13+12+11+10+05+0C+16+07+1C+1B+0E+0A
BLOCK C =
1D+15+14+04+03+02+01
BLOCKS D, E AND F are meter factory calibration values. Adjustment of these
values should be made with care, preferably using a well-equipped calibration
laboratory.
2.Suffixes 06, 0D, 0F, and 19 are not used: the meter will respond to these with
an error message.
3.The meter, upon completion of a BLOCK PUT (into RAM) Command, goes to
soft reset, “RESEt1”, which does not copy EEPROM data into RAM.
4.Upon completion of a BLOCK WRITE (into EEPROM) Command, however, the
meter goes to hard reset, “RESEt2”, copying the data from EEPROM into the
working RAM. Single PUT (or WRITE) commands do not interrupt the
measurement process of the meter, even when the changes are to scale or
offset values.
5.<data> encoding for W
rite and Put Commands will be described in Section 10
with each R
ead and G
et response.
Page 35
8-9
8. Command and Response Structure
8.3 RESPONSE STRUCTURE
The meter transmits different response formats according to the type of command it
receives, e.g. if it is in echo or no-echo mode and if an error has occurred or not.
8.3.1 NO ERROR
8.3.2 ECHO MODE (SEE SECTIONS 10.13)
For type (1) Command:
[nn]ccc<data>[hh]<CR>[<LF>]
For type (2) Command:
a) Response for “V01” Command
[nn][V01][Sa[b]]S<value>[S<value>][S<value>][S<value>][<SP>uuu][hh]<CR>[<LF>]
b) Response for “X” Command
[nn][ccc]<value>[hh]<CR>[<LF>]
For type (3) Command:
[nn][ccc]<d>[hh]<CR>[<LF>]
For type (4) Command:
a) For “P” and “W” Command:
[nn][ccc][hh]<CR>[<LF>]
b) For “Y” Command
[nn]Y01<CR>[<LF>]
For type (5) Command:
[nn]ccc[hh]<CR> [<LF>]
8.3.3 NO ECHO MODE
For Commands “P”, “W”, “D”, “E”, “Z”, and “Y” No response will be transmitted
Where “nn” is the meter’s address in HEX format and is omitted from the response
format if the communication is in the point-to-point mode. “ccc” is the three (3)
character command prefix letter and it’s suffix number. “d” is one ASCII character.
“[hh]” is the optional checksum “CR” is carriage return “[<LF>]” is optional line feed.
“[Sa[b]]” is the optional alarm status character followed by the optional peak/valley
status character. Alarm status character is preceded by the chosen plain-ASCII
separator character, <S> or <CR>, depending on how you want this data displayed.
“S<value>” is the separator followed by the decimal-digit measurement value, with
plain-ASCII minus sign (if any) and decimal point.
“[S<value>]” is the optional inclusion of the separator followed by any one of the three
added decimal-digit values listed above.
“[<SP>uuu]” is the optional three units-of-measure characters (letters or other printable
plain-ASCII symbols) preceded by a space; “<CR>” is the terminating plain-ASCII
Carriage Return character.
[<LF>] optional line feed.
A positive overflow in any one of the <value>s results in the transmission of
“?+999999” for that value; negative overflow sends “?–999999”.
8.4 DATA LENGTH CORRESPONDING TO THE RESPONSE STRUCTURE
For “R” and “G” Commands:
Data is equivalent to the “W” and “P” Commands respectively
(see Table 8-2).
For “V01” and “X” Commands:
a) Value has 7 characters (like 724.352 or –233.45), unless overflow occurs
in which case it consists of 8 characters (see previous note)
b) Status characters “a” or “b” are each one character
For “U” Commands: Data is one character.
Page 37
8-11
8. Command and Response Structure8. Command and Response Structure
8.5 ERROR RESPONSE
The meter is capable of detecting the different errors during the communication process
and will transmit an indicating message to the host controller.
8.5.1 ERROR RESPONSE FORMAT
1.Echo Mode
[nn]?ee<CR>[<LF>]
2.No echo mode
?ee<CR>[<LF>]
where “?ee” is the special code indicating an error has occurred as follows:
8. Command and Response Structure8. Command and Response Structure
8.5.3 DESCRIPTION
1. COMMAND ERROR occurs when:
a. Command prefix letter is not valid
b. Command suffix is not valid
2. FORMAT ERROR occurs when:
a. Length of the message is either shorter or longer than it should be.
b. Any other character than “0-F” used for hexadecimal values
3. CALIBRATION LOCKOUT ERROR occurs if jumper “S3B” on the Main Board has
been removed to prohibit any changes in calibration.
4. EEPROM WRITE LOCKOUT ERROR occurs if any write (“W”) Command has been
issued to the meter and the jumper position “S3-A” on the Main Board of the meter
has been removed
or
External pin 10 on the rear connector “P2” of the meter has been grounded.
5. SERIAL RECOGNITION CHARACTER ERROR occurs if a new value is between
0 to 1F (hex) or larger than 7F (hex). “^”, “A”, “E”, are not valid since those are used
in the special communication command “^AE”.
6. SERIAL DEVICE ADDRESS ERROR occurs if the new value is larger than 199
decimal.
7. DECIMAL POINT ERRORS occur if:
a)New value is 0 or larger than 6 (3 when the meter is in the Thermocouple or
RTD modes).
b)New value causes the reading offset to overflow, i.e. if larger that 999999 or
smaller that -99999.
c)New value causes any ot the setpoints to overflow, i.e. if larger that 99999 or
smaller that -99999.
IMPORTANT NOTES:
1) The meter will not respond to a command if the command’s recognition character
does not match the meter’s recognition character.
2) When in multipoint mode, the meter will test the command’s address with the one
previously assigned after the recognition character has been matched. The meter will
not respond to the command if addresses do not match, even if an error has occurred.
3) If the meter is in the Menu or Setpoint mode and receives any transmitted data, it
quits that routine, displays “SERIAL” for up to two seconds, completes its
Communication job, and then resets the meter, i.e., hard reset (RESET 2) from
Menu, or soft reset (RESET 1) from Setpoint.
4) Any attempt to use push buttons when meter is in Transmit/Receive mode will be denied
and followed by the display of “SERIAL”, indicating that Communication is in process.
Page 39
8-13
8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure
8.6 STATUS CHARACTER FORMATS
The meter upon receiving U01 or U02 Command will transmit alarm or peak/valley
status characters respectively.
8.6.1 ALARM STATUS CHARACTERS
Table 8.4 shows the transmitted character for each of the sixteen possible
setpoint/alarm states. (Note the binary progression.)
8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure
8.6.2 PEAK/VALLEY (HI/LO) STATUS CHARACTERS
Table 8.5 gives the characters transmitted to show changes in Peak/Valley readings.
The meter keeps track of Peak and Valley changes at the completion of each
measurement, so that the occurrence of new values can be signaled. However,
transmissions of PEAK/VALLEY status may be commanded less often: therefore, the
meter also monitors if Peak or Valley values have changed since the last status
transmission.
TABLE 8.5 PEAK/VALLEY STATUS CHARACTERS
PEAK LARGERVALLEY LESSPEAK LARGERVALLEY LESS
THAN LATESTTHAN LATESTTHAN LATESTTHAN LATEST
CHARACTERTRANSMISSION TRANSMISSIONREADINGREADING
@NONONONO
DNOYESNONO
ENOYESNOYES
HYESNONONO
JYESNOYESNO
LYESYESNONO
MYESYESNOYES
NYESYESYESNO
Page 41
8-15
8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure
8.7 "VO1" RESPONSE DATA FORMAT
As described in Section 8.3 response to the “V01” Command has the following format
if in echo mode:
“nnV01” is omitted from the response format if in no-echo mode; where:
TABLE 8.6 SPECIAL CHARACTERS
CHARACTERS
aAlarm status character
bPeak/valley status character
first<value>Value of current reading
second<value>Value of filtered reading
third<value>Value of peak reading
fourth<value>Value of valley reading
<SP>Space
SSpace or <CR>
The length of the message transmitted by the meter in response to the “V01” command
is variable and controlled by the two menu items as “dAt FMt” (Data Format) and
“bUS.FMt” (Bus Format). (See Sections 10.12 and 10.13).
Page 42
8-16
8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure
8.8 “^AE” RESPONSE FORMAT
The meter’s response to “^AE[nn]<CR>” is 4 bytes of data, sent as 8 HEX-ASCII
characters, followed by a carriage return (no other characters even when programmed
to echo). These four bytes are:
1: Serial Recognition Character below; e.g., “*”, sent HEX-ASCII “2A”)
2: Device ID (INF-B)
3: Bus Format Byte (“bUS.FMt”; e.g., HEX-ASCII “5C” for multipoint mode with echo)
4: Serial Communications Configuration Byte (“COMM”: e.g., HEX-ASCII “56” for
2 stop bits, even parity, and 19200 baud)
8.9 EXAMPLES:
The following are examples of the different commands and their proper responses from
meters. For the following examples assume that:
a) echo mode
b) “*” as the recognition character of the meter
c) meter’s address is “15 HEX” if it is used in the multipoint mode
d) no line feed or checksum characters are included
1. Read serial recognition character from EEPROM in point-to-point mode:
Command format*R1E<CR>
Response formatR1E2A<CR>
(Since “2A” is HEX-ASCII value of “*” in the table).
2. Read serial address from the RAM of the meter number “15 HEX” in the multipoint
mode:
where 56, 4C, 54 are the three HEX ASCII values for V, L, and T respectively.
Page 43
8-17
8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure8. Command and Response Structure
4. Read alarm status character from the meter number 15 HEX:
As detailed before, the meter can receive and transmit at baud rates up to 19,200. No
data is ever lost by the meter even at the highest rate with the most complex meter
program, provided that the computer does not attempt to interrupt a transmission from
the meter by transmitting at the same time.
When not transmitting, the meter continually looks for a new character on the bus.
When any character is received, the meter drops out of ALARM mode; (if in that mode)
checks for the Recognition Character, the start of a new message.
9.1 POINT-TO-POINT OR MULTIPOINT COMMAND MODE
If the recognition character is correct, the meter now checks for the address in the
Multipoint mode.
When a match is obtained, the meter then decodes the Command Code and fulfills that
command. Otherwise, the meter ignores the command and continues to look for
another recognition character.
9. Meter Bus Response
Page 45
9-2
9.1.1 METER’S RESPONSE TIME
RESPONSE TIME: this is the period from the time the meter detects the first command
character to the time that it starts transmitting proper response.
Response time = Transmit command time + program delay time + turn around delay time.
Where:
Transmit Command Time = the transmission period of full command from the host
computer to the meter.
[(# of bits in a character) * (# of characters)] – [baud rate] (in seconds)
where: * = Multiply
# of bits in a character = 10 or 11 (see Sections 4.12 and 6)
Turn around delay = Receive to transmit delay and can be programmable to 0, 30,
100, 300 ms. For the following data turn around delay assumed 0.
Test with Command Mode (Baud Rate at 19200 bps, Command Mode)
For the Command Mode, if the command-sending turn-around time is shorter than the
turn-around time in the above table (Refer to Process or TC), the response will have
some duplicate readings. For example, if the sample rate is 1 in process, the command
sending turn-around time should be larger than 68 ms.
Although single long transmission’s delay seems longer than chunk
transmission, in most cases total transmission time will be shorter, especially
using 19200 baud rate.
9. Meter Bus Response
Page 46
9-3
9.2 POINT-TO-POINT CONTINUOUS MODE
As described before, the meter transmits its different measurement values in strings of
characters continuously on the bus. The length of the string is variable and is
controlled by two menu items: “DAt.FMt” and “bUS.FMt” (see Sections 10.12 and
10.13). The time between consecutive transmission is also controlled by another menu
item: “SERCNt”. This item is in units of “numbers of readings” (Section 10.20).
9.2.1 METER’S RESPONSE TIME
This is the difference in time from the moment when the Serial Count (“SERCNt”)
value is reached to the time of transmission of the first character of the data string.
Test with Communication (Baud Rate at 19200 bps, Continuous Mode)
Although transmission’s program delay seems longer than chunk
transmission, in most cases total transmission time will be shorter, especially
using 19200 baud rate.
9.2.2 COMMUNICATING WITH THE METER WHEN IN CONTINUOUS MODE
If the meter is in point-to-point continuous mode, it ignores any transmitting command.
On the other hand, transmitting “X-OFF” character (13 Hex) which is equivalent to the
“RTS line false” will halt continuous transmission. Transmitting “X-ON” character
(11 hex) or making “RTS line true” will resume continuous transmission. Specifically, if
command “^AE” is transmitted, it will cause the meter to switch to COMMAND mode.
To be able to communicate with the meter when in Continuous Mode, do the following:
1. Transmit “X-OFF” character or make “RTS” line false.
2. Transmit “^AE” command. Now your meter is in Command Mode.
3. Do the communication with the meter.
4. Use “P1C” command to change BUS FORMAT (see Section 10.13) i.e., change
bit #4 of “bUS FMt” from 1 to 0 to go back to Continuous Mode
9. Meter Bus Response
Page 47
9-4
9. Meter Bus Response
9.3 MULTIPOINT ALARM MODE RESPONSE
The meter is commanded into the ALARM mode by detecting the alarm code–E03 after
its own address or the common 00 address. It stays silent unless an alarm already
exists. If an alarm is detected, it immediately transmits its own address with its alarm
status characters. No turnaround time delay is used. All devices on the bus which are
in the ALARM mode drop out of that mode if any character is detected on the bus, so
that bus contention is minimized.
The program for the controlling device (computer) is usually written to poll the alarm
status of all devices once bus activity is detected after an alarm command, so that
nearly-simultaneous alarm conditions are properly detected. Such a meter poll by the
computer after an alarm response usually starts at the detected device address, or at
device 01 in case of a garbled address (if two or more devices alarm at once).
If there is adequate time allowance in the data acquisition program, the computer may
poll the alarm status of all meters before commanding the ALARM mode to reduce the
probability of bus contention and garbled transmissions.
a) Slow mode = 0 to 300 ms
b) fast mode = 0 to 100 ms
Although transmission’s program delay seems longer than chunk
transmission, in most cases total transmission time will be shorter, specially
using 19200 baud rate.
9.4 WATCHDOG TIMER FOR COMMUNICATION
There is an eight second watchdog timer available in the communication portion of the
meter. When the computer starts sending a command to the meter, meter enables its
receive mode and starts getting the incoming characters, until a carriage return
completes the command string. Then the meter disables its receive mode and enables
its transmission mode to transmit or act according to the command information.
Receive mode time is the period that the meter is in receive mode. Receive time
should always be less than eight seconds, otherwise meter will ignore the command
and will finish the receive mode (there will be no affect on the performance of the
meter). In this case command should be executed again.
Watchdog timer is disabled when meter is in continuous communication
mode.
Page 48
10-1
10. Data Format Commands (P, G, R, W)
This section introduces data formats in detail. The following conditions are assumed in
the text and in examples in this section
1. The recognition character is the asterisk(*).
2. The meter address number is 15 HEX (21 decimal)
3.
When “W” command is given, a reset is necessary to initiate the command.
4.
“X” in bit pattern information means the bit is not related to that parameter.
5. Each byte consists of 8 bits.
6. Each byte consists of 2 nibbles; Most Significant Nibble (MSN) and Least
Significant Nibble (LSN)
Page 49
10-2
10. Data Format Commands (P, G, R, W)
10.1 READING CONFIGURATION (“RdG.CNF”)
TABLE 10.1 READING CONFIGURATION
BIT POSITIONRdG.CNF
76543210
0dIRECt Direct Format for Rd.SC.OF
12.CdINt 2-Coordinate Format for Rd.SC.OF
0dP.ACtV yES Active Decimal Point
1dP.ACtV NO Independent Decimal Point
00H.bRt HIGH BRIGHTNESS
01M.bRt MEDIUM BRIGHTNESS
10L.bRt LOW BRIGHTNESS
11(Not Used)
EXAMPLE: To set Rd.SC.OF direct format, Decimal Point active, Display flashing as
input value reaches SP1 or Alarm1 (SP3) and Display LED’s at high brightness level:
The command data is 00010100 BIN. = 14 HEX. Then send *W0714
Page 50
10-3
10. Data Format Commands (P, G, R, W)
10.2 INPUT CONFIGURATION (“INP.CNF” and “INPUt”)
TABLE 10.2 INPUT CONFIGURATION
BIT POSITIONINP.CNF and INPUt
76543210
060 Line Frequency 60Hz
150 Line Frequency 50Hz
0SLOW (14/SEC) Reading Rate
1FAST (100/SEC) Reading Rate
0UNIPOL Voltage Unipolar; tC
1BIPOL Voltage Bipolar
00C Unit of Temperature Degree C
01F Unit of Temperature Degree F
10k Unit of Temperature Degree K
11(Not Used)
0tC.CO.JC ENAbLE TC Cold Junction;
3.LINR 3 wire linear RTD;
NORMAL Bridge Limit; Process (Not Used)
1tC.CO.JC dISABL TC Cold Junction;
4.LINR 4 wire linear RTD ;
SP1.L2.H SP1 lower overload limit and SP2
EXAMPLE: To set the meter with line frequency of 50 Hz, slow reading rate (in case of
MENU 2), degree K unit of measure, TC Cold-Junction enabled (in case of TC mode)
and input scale and offset enabled:
The command data is 01010001BIN. = 51 HEX. Then send *W0A51
Page 51
10-4
10. Data Format Commands (P, G, R, W)
10.3SETTING COUNT BY (“CNtby”) AND DECIMAL POINT (“SEt dP”)
TABLE 10.3 COUNT BY and DECIMAL POINT
BIT POSITIONCNtby and SEt dP
76543210
000001 Count By 1
001002 Count By 2
010005 Count By 5
011020 Count By 10
100020 Count By 20
101050 Count By 50
110100 Count By 100
111(Not Used)
EXAMPLE: To set the meter’s display decimal point at the 4th position (FFF.FFF) and
reading value counted by 2:
The command data is 01000001BIN. = 41 HEX. Then send *W0C41
Page 52
10-5
10. Data Format Commands (P, G, R, W)
10.4
FILTER CONFIGURATION “FILtER” AND “
OUt.tyP”
TABLE 10.4 FILTER CONFIGURATION and OUTPUT TYPE
BIT POSITIONFILtER and OUt.tyP
76543210
000001 Filter Time 1
001002 Filter Time 2
010004 Filter Time 4
011008 Filter Time 8
100016 Filter Time 16
101032 Filter Time 32
110064 Filter Time 64
111128 Filter Time 128
X(Not Used)
0A.b.C.FIL ABC Filter Type
1MOV.AVE Moving Average Filter Type
1FILtRd Filtered Value on the Display
00UNFILt Unfiltered Value to Analog Output
01FILtRd Filtered Value to Analog Output
10PEAk Value to Analog Output
11VALLy Value to Analog Output
EXAMPLE: To set the meter’s display with a rapid changing input signal the filter time
constant should be higher (for example FILt.tM = 32), switch Filter Type to MOV.AVE,
and set Output Type to be filtered:
The command data is 01110101BIN. = 75 HEX. Then send *W0E75
Page 53
10-6
10. Data Format Commands (P, G, R, W)
10.5SETPOINT 1 AND 2 CONFIGURATION (“SP.CNF”)
Table 10.5 Setpoint Configuration
BIT POSITIONSP.CNF
76543210
0AbOVE SP1 Active Above
1bELOW SP1 Active Below
0N.OPEN SP1 Normal Open
1N.CLOSE SP1 Normal Close
0SP1 Use Un-filtered Value
1SP1 Use Filtered Value
0AbOVE SP2 Active Above
1bELOW SP2 Active Below
0N.OPEN SP2 Normal Open
1N.CLOSE SP2 Normal Close
0SP2 Use Un-filtered Value
1SP2 Use Filtered Value
EXAMPLE: Set Setpoint 1 (SP1) active above, Relay 1 at normal close, Setpoint 2
(SP2) active below, Relay 2 at normal open, enable SP1 and SP2’s function, and
LED’s light up when input signal filtered value reaches the Setpoint 1 and 2:
The command data is 00101110BIN. = 2E HEX. Then send *W102E
Page 54
10-7
10. Data Format Commands (P, G, R, W)
10.6 ALARM (SETPOINTS 3 AND 4) CONFIGURATION (“AL.CNF”)
TABLE 10.6 ALARM CONFIGURATION
BIT POSITIONAL.CNF
76543210
0AbOVE AL1 Active Above
1bELOW AL1 Active Below
0N.OPEN AL1 Normal Open
1N.CLOSE AL1 Normal Close
0AL1 Use Un-Filtered Value
1AL1 Use Filtered Value
0AbOVE AL2 ACTIVE Above
1bELOW AL2 ACTIVE Below
0N.OPEN AL2 Normal Open
1N.CLOSE AL2 Normal Close
0AL2 Use Un-Filtered Value
1AL2 Use Filtered Value
0AL1 & AL2 Enable
1AL1 & AL2 Disable
0ALARM RESET Enable AT P2-11
1ALARM RESET Disable AT P2-11
EXAMPLE: To enable Alarm 1 & 2 and setup Alarm1 to activate above Alarm 1 value,
Relay at normal open and use of filtered input value. However, set Alarm 2 to activate
below Alarm 2 value, Relay at normal close, use of unfiltered input value and Alarm
reset disabled at pin#11 of rear terminal P2:
The command data is 10011100 BIN. = 9C HEX. Then send *W119C
Page 55
10-8
10. Data Format Commands (P, G, R, W)
10.7 ALARM FUNCTIONS (“AL.CNF and AL.MOdE”)
TABLE 10.7 ALARM CONFIGURATION AND MODE
BIT POSITIONAL.CNF and AL.MOdE
76543210
00PROC AL1 Process
01HI dEV AL1 HIGH Deviation
10LO dEV AL1 LOW Deviation
EXAMPLE: Set Alarm 1 function mode as Band Deviation, latched and Alarm 2
function mode as Process, latched.
The command data is 01000111 BIN. = 47 HEX. Then send *W1247
10.8 ALARM DELAY: (“NUM.dLy”)
TABLE 10.8 ALARM DELAY
BIT POSITIONNUM.dLy (ALARM DELAY)
76543210
XXXX0-15 for AL2
XXXX0-15 for AL1
EXAMPLE: These 2 bytes enable users to select the number of input readings
required to trigger Alarm 1 (SP3), and Alarm 2 (SP4) action that will delay the alarm
activation. Choose 7 for Alarm 2 and 9 for Alarm 1 as the number of input readings
before meter activates the alarm:
The command data is 10010111 BIN. = 97 HEX. Then send *W1397
Page 56
10-9
10. Data Format Commands (P, G, R, W)
10.9 OUTPUT CONFIGURATION (“OUt.CNF”) and A to D RATE (“Ad.RAtE”)
TABLE 10.9 OUTPUT CONFIGURATION
BIT POSITIONOUt.CNFand Ad.RAtE
76543210
0dISABLE Analog Output
1ENAbLE Analog Output
00-10 V Output
10-20 mA Output
0Parallel BCD dISABL (not used)
1Parallel BCD ENAbLE (not used)
0BCD Output Display Value (not used)
1BCD Output Peak Value (not used)
0Standard Print (Desktop) (not used)
1
Special Printer (Panel Printer) (not used)
0000 A to D Convert Rate 0
0011 A to D Convert Rate 1
0102 A to D Convert Rate 2
0113 A to D Convert Rate 3
1004 A to D Convert Rate 4
1015 A to D Convert Rate 5
110(Not Used)
111(Not Used)
EXAMPLE: Enable Analog Output, which produces a 0-20 mA current source and set
the A to D conversion rate to 2:
The command data is 01000011 BIN. = 43 HEX. Then send *W1643
Page 57
10-10
10. Data Format Commands (P, G, R, W)
10.10 INPUT TYPE (“INPUt”) and READING SCALE & OFFSET (“Rd.SC.OF”)
EXAMPLE: To set the baud rate to 19200, enable Modbus, None Parity and one stop bit:
The command data is 00001110 BIN. = 0E HEX. Then send *W180E
Page 59
10-12
10. Data Format Commands (P, G, R, W)
10.12 DATA FORMAT (“dAt.FMt”)
TABLE 10.12 DATA FORMAT
BIT POSITIONDAt.FMt
76543210
0Alarm Status - EXCLUDED
1Alarm Status - INCLUDED
0Peak / Valley Status - EXCLUDED
1Peak / Valley Status - INCLUDED
0Current Reading - EXCLUDED
1Current Reading - INCLUDED
0Filtered Value - EXCLUDED
1Filtered Value - INCLUDED
0Peak Value - EXCLUDED
1Peak Value - INCLUDED
0Valley Value - EXCLUDED
1Valley Value - INCLUDED
0Use Space as Separator
1Use <CR. as Separator
0Units of Measurement - EXCLUDED
1Units of Measurement - INCLUDED
EXAMPLE: To format the data string, which includes Alarm status, Peak/Valley,
Current, Filtered input value status, units of measure and listed by underline instead of
space separated:
The command data is 11001111 BIN. = CF HEX. Then send *W1BCF
Page 60
10-13
10. Data Format Commands (P, G, R, W)
10.13 COMMUNICATIONS BUS FORMAT (“bUS.FMt”)
TABLE 10.13 BUS FORMAT
BIT POSITIONbUS.FMt
76543210
0Checksum - EXCLUDED
1Checksum - INCLUDED
0NO Line Feed
1Line Feed following with <CR.
0NO ECHO
1ECHO
0Point to Point Mode (RS-232)
1Multi-Point (RS-485)
EXAMPLE: To configure communication protocol and bus format as following:
checksum excluded, no line feed, echo mode on, point to point, command mode and
RS-232 protocol:
The command data is 00010100 BIN. = 14 HEX. Then send *W1C14
Page 61
10-14
10. Data Format Commands (P, G, R, W)
10.14 LOCKOUT CONFIGURATION (“LCk.CNF”)
TABLE 10.14 LOCKOUT CONFIGURATION
BIT POSITIONLCk.CNF
76543210
0SP1 LOCKOUT: UNLOCK
1LOCK
0SP2 LOCKOUT: UNLOCK
1LOCK
0AL1 LOCKOUT: UNLOCK
1LOCK
0AL2 LOCKOUT: UNLOCK
1LOCK
0INPUt LOCKOUT: UNLOCK
1LOCK
0RdG.CFG LOCKOUT: UNLOCK
1LOCK
0INP.CFG LOCKOUT: UNLOCK
1LOCK
0MP.SC.OF LOCKOUT: UNLOCK
1LOCK
EXAMPLE: To prevent unauthorized modification of Setpoint 1 (SP1), Input type,
Reading Configuration menu and Multi-Point Scale and Offset menu:
The command data is 10110001 BIN. = 14 HEX. Then send *W01B1
Page 62
10-15
10.15 LOCKOUT CONFIG. (“LCk.CNF”) and NORMAL COLOR (“N.COLOR”)
TABLE 10.15 LOCKOUT CONFIGURATION and NORMAL COLOR
BIT POSITIONLCk.CNF and N.COLOR
76543210
0OUt.CNF LOCKOUT: UNLOCK
1 LOCK
0SP.CNF LOCKOUT: UNLOCK
1LOCK
0AL.CNFG LOCKOUT: UNLOCK
1LOCK
0COMM LOCKOUT: UNLOCK
1LOCK
0COLOR LOCKOUT: UNLOCK
1LOCK
0/1(Not Used)
00NORMAL COLOR: GREEN
01NORMAL COLOR: RED
10NORMAL COLOR: AMBER
11(Not Used)
EXAMPLE: To prevent unauthorized access to Output Configuration menu,
Communication menu and select Normal color of the LED’s display as Green:
The command data is 00001001 BIN. = 09 HEX. Then send *W0209
10. Data Format Commands (P, G, R, W)
Page 63
10-16
10. Data Format Commands (P, G, R, W)
10.16 COLOR CONFIGURATION (“COLOR”)
TABLE 10.16 COLOR CONFIGURATION
BIT POSITIONCOLOR
76543210
00SP1 COLOR: HOLD
01SP1 COLOR: GREEN
10SP1 COLOR: RED
11SP1 COLOR: AMBER
00SP2 COLOR: HOLD
01SP2 COLOR: GREEN
10SP2 COLOR: RED
11SP2 COLOR: AMBER
00AL1 COLOR: HOLD
01AL1 COLOR: GREEN
10AL1 COLOR: RED
11AL1 COLOR: AMBER
00AL2 COLOR: HOLD
01AL2 COLOR: GREEN
10AL2 COLOR: RED
11AL2 COLOR: AMBER
EXAMPLE: To setup LED’s display change color to RED then AMBER when reading
reaches SP1 value then AL1 (SP3) value respectively, but hold the color for SP2 or
AL2:
The command data is 00110010 BIN. = 32 HEX. Then send *W0332
Page 64
10-17
10. Data Format Commands (P, G, R, W)
10.17 BLOCK A
BLOCKCOMMAND PREFIXCOMMAND SUFFIX (HEX)
AR,W40
NOTE: R,W means “R” or “W”
This block consists of ten (10) items and thirty bytes (60 ASCII characters):
1,2Analog out mA Scale factor20000
3,4Analog out mA offset factor20000
5,6Analog out Volt Scale factor20000
7,8Analog out Volt offset factor20000
9,10QD-Online20000
11,12Cal. Current Scale28000
13,14Cal. Current Offset20000
15,16(Reserved)20000
17,18Cal. Bridge28000
19,20Cal. Ratio Scale28000
21,22Cal. Ratio Offset20000
23,24Cal. Quasi Scale28000
25,26Cal. Quasi Offset20000
27,28Cal. Howland Pump fine28000
29,30Cal. Howland Pump20640
1,2500mV Scale28000
3,4500mV Offset20000
5,65 V Scale28000
7,85 V Offset20000
9,1050V Scale28000
11,1250V Offset20000
13,141 V Scale28000
15,161 V Offset20000
17,1810 V Scale28000
19,2010 V Offset20000
21,22100 V Scale28000
23,24100 V Offset20000
10.22 R/W45 (BLOCK F)
To write default value: W450000
TABLE 10.22 R/W45 (BLOCK F)
BYTE NUMBERDESCRIPTIONNUMBER OFDEFAULT
& ORDERVALUE
1,2Cal. Quasi Offset20000
10.23 R46
This command is for the channel one of A/D.
10.24 R47
This command is for the channel two of A/D
10.25 R48
This command is for the channel three of A/D
Page 71
10-24
10. Data Format Commands (P, G, R, W)
10.26 R/W50TABLE 10.23 R/W50
Hex NumberDefault
Command DESCRIPTION of Byte Value
Suffix
1st Byte: MENU1 and MENU2
50(SetColor.CNF) selector20400
2nd Byte: NUM.PNt value of MP.SC.OF
TABLE 10.24 R/W50 NUM.PNt and MENU selection
BIT POSITIONFUNCTION
15141312111098765 43210
2nd Byte:
NUM.PNt value of
000 00000MP.SC.OF
1st Byte:
MENU1 &
MENU2
(Set Color Config)
00GREEN
01REd
10AMbER
11(Not Used)
0MENU1
1MENU2
00000Normal default
Operation/Menu
selection disabled
11111NEW Menu default
UPDATE / Enabled
Menu Type selection
Initialization. (*)
(*) Menu Type Selection Initialization:
If the 1st byte of command data is set (remotely) 11111XXX, the selected menu (either
MENU1 or MENU2) will be written to the EEPROM and default configuration is
automatically loaded. This 1st byte also resumes the state (00000XXX) of normal
default operation or disables the Menu Type selection mode after the selected menu
embedded.
EXAMPLE: To select MENU1 from MENU2, send this following command:
*W50FC00
That will update the menu to new menu with default value items. The last two
characters represent the default value of NUM.PNt for MP.SC.OF (Multi-Point Scale &
Offset).
To enter the values of Pointer, the Sign and Decimal point must follow the manner
shown in Table 10.26.
Page 73
10-26
10. Data Format Commands (P, G, R, W)
10.28 SET SIGN AND DECIMAL POINT FORMAT
Command suffixes “21”, “22”, “23” and “24” set the value of Setpoints 1, 2, 3 and 4
respectively (the last two often used as Alarm 1 and 2). Each setpoint is described by
three bytes (six HEX-ASCII characters), with the sign and decimal point encoded in the
MSN:
(Here, “FFFFFF” represents the 6 displayed decimal digits, the magnitude of the 20
least-significant bits of these 3 bytes.)
1. Bits 0 to 19 belong to the absolute value (99999 for negative values and 999999 for
positive values)
2. Bits 20, 21, 22 belong to the decimalpoint as in Table 10.26
3. Bit 23 belongs to sign where 0 is positive and 1 is negative as in Table 10.26
TABLE 10.26 SETPOINT VALUES, BITS 23, 22, 21, AND 20
BIT PATTERNSIGN AND
23222120DECIMAL POINT
0000 Not used
0001 +FFFFF.
0010 +FFFFF.F
0011 +FFFF.FF
0100 +FFF.FFF
0101 +FF.FFFF
0110 +F.FFFFF
0111 Not used
1000 Not used
1001 –FFFFFF
1010 –FFFFF.F
1011 –FFFF.FF
1100 –FFF.FFF
1101 –FF.FFFF
1110 –F.FFFFF
1111 Not used
The following 5 nibbles (HEX-ASCII characters) give the binary magnitude.
Since Setpoint value decimal point is directly related to the system decimal
point (see Section 10.3), select the same decimal for setpoints as selected
for system decimal point.
EXAMPLE: The computer inquires of meter #15 hex what value for Setpoint #3 is
stored in EEPROM (usually the same value as in RAM):
“*15R23<CR>”, and if set for echo (“BUS.FMt”), the meter replies:
“15R23A12345<CR>”, where the magnitude is “12345” in hex, or “74565” in decimal,
and the MSN “A”, from the Table 10.28, sets the final decimal value of Setpoint #3 as
“–7456.5”.
Page 74
10-27
10. Data Format Commands (P, G, R, W)
10.29 RS-485 METER “AddRES”
This “1A” command suffix uses 2 HEX-ASCII characters for the device address, but
that number is limited to the 1 to 199 decimal range (many more numbers than the 32device hardware limit).
EXAMPLE: The computer wants to renumber meter #15 HEX (#21 decimal) to #25
HEX(#37 decimal); it then puts the new address into EEPROM with:
“*15W1A25<CR>”
Which, if “BUS.FMt”, would be echoed by the meter with “15W1A<CR>”.
This new address would then be put into action by giving the meter a hard reset,
“RESET2”, from the front-panel, by external contact closure (see Section 10.12), or by
sending the reset with:
“*15Z04<CR>”.
That meter will no longer answer to the “15” hex address; it now responds commands
preceded by “*25”.
10.30 NUMBER OF READINGS BETWEEN EACH TRANSMISSION (“SER CNt”)
The “1D” command suffix data is the number of readings between transmissions; this
is used only for point-to-point continuous transmission. Four nibbles (2 bytes or 4 HEXASCII characters) are used; overflow detection limits the number of readings between
transmissions to 59999 (decimal).
“1D” values reside only in EEPROM, so only “R/W” command letters apply.
EXAMPLE: If you were on SLOW (approximately 3 readings/second) and wanted a
transmission every hour, the number of readings between transmissions would be
approximately 3*60*60 = 10800, or hex 2A30: to tell the meter, send:
“*W1D2A30<CR>”, which places the 2A30 into the EEPROM memory of the meter
(add a Hard Reset, “*Z04<CR>” to move this into RAM). If you have set “BUS.FMt”,
the meter will echo “W1D<CR>”.
Page 75
10-28
10. Data Format Commands (P, G, R, W)
10.31 RECOGNITION CHARACTER (SER.RCG)
You can change the security code for commands with this “1E” command suffix; the
ASCII table address (two HEX-ASCII characters) of the selected character is
transmitted.
Valid character addresses are from 20 hex to 7F hex (32 to 127 decimal) with the
exception of “^”, “A”, “E” characters.
EXAMPLE: To change the recognition character from “*” to “!” for all meters on the bus,
send:
“*00W1E21<CR>”, which puts that new code into EEPROM (but not automatically into
RAM), followed by “*00Z04<CR>”, which gives a hard reset to all the meters, moving
the new code into RAM. All meters will now ignore commands preceded by “*”, and
recognize those preceded with “!”.
10.32 UNITS OF MEASURE (SER.UOM)
When instructed with this “1F” command suffix, the meter will label its transmitted
values with three letters representing the units of the measured quantity (these are for
screen or printer labels, not for the meter display; the right-hand digit F, C or K units for
temperature are selected by “RdG.CNF”, Section 10.1).
Each letter is represented by the two HEX-ASCII characters giving its ASCII table
address, from “41” to “79” (all upper and lower case letters) or the <SP> address, “20”,
for a total of six transmitted characters (do not select any control characters for unitsof-measure).
When the desired units-of-measure to be printed have fewer than 3 characters, send
the <SP> address (“20”) to put the blank(s) in the chosen spot(s).
Note that the units-of-measure letters transmitted in the “V01” response are in plain
ASCII (one character each) in contrast with this command, where the six characters of
the addresses are sent.
EXAMPLE: The computer requests the RAM setting for the measurements underway
at meter #15 hex with:
“*15G1F<CR>”, and that meter, if “BUS.FMt”, responds with:
“15G1F6B5061<CR>”; the <data> here are “6B5061”, which is HEX-ASCII for “kPa”
(kiloPascals).
“00” is equivalent to “nul” and meter will transmit nothing for units of measure
if the first character is “0”.
The four choices provided by the meter for this “20”
command suffix only need two bits of storage, but the
standard byte (two nibbles) is used, so that the MSN = 0.
Turn-around delay is normally used on half-duplex
systems (e.g., RS-485), not on full duplex (for the
meter, RS-232 or RS-422), but the chosen amount is
applied to any of these by the meter. The delay can
be useful in eliminating the effects of ringing,
reflections or line drop.
EXAMPLE: The computer wants meter #15 hex to use a turn-around delay of 100
milliseconds:
“*15W2002<CR>”, and if set for echo with “BUS.FMt”, the meter replies:
“15W20<CR>”. If point-to-point (only one meter), the “15” address is not used. The
chosen delay is now stored in the EEPROM. To put it into use (move to RAM), send a
hard reset, “*15Z04<CR>”.
These items are 3 bytes each (6 HEX- ASCII characters) and their corresponding
command suffixes are:
ITEMCOMMAND SUFFIX (HEX)
RdG SC08
IN SC0B
OUt SC17
All three scale factors can be calculated by the meter from entry of two data points (via
pushbutton or diskette); only Reading Scale permits direct entry (to facilitate 1.00000
and other straight-forward values). Scale factor and Offset values, however, are stored
separately inside the meter. If your scale/offset information is in the form of two data
points (O2,I2 and O1,I1, where the O’s are the Outputs for the I’s, Inputs), then
SC = (O2-O1) / (I2-I1)
This value is entered/read with these “08”, “0B” and “17” command suffixes, and also
used in calculating the corresponding Offsets (see Section 10.5 ).
True value for output scale factor is stored in its location in EEPROM. When
the program is running, it combines this value with calibration scale of analog
out board and stores new value in output scale’s RAM location (CALLED
MODIFIED OUTPUT SCALE). Therefore, “P17” for this scale factor should be
used very carefully (avoid using if possible). But with “G17”, the value of
modified output scale factor can be read.
Milliseconds of
BIT #Turnaround delay
000
0130
02100
03300
TABLE 10.27.
SERIAL DELAY (“SER.dLy”)
Page 77
10-30
10. Data Format Commands (P, G, R, W)
10.34 READING, INPUT, or OUTPUT SCALE FACTOR continued
The most significant nibble of the scale factor data sets the decimal point (power of 10
multiplier) for the least-significant nineteen bits, which give the magnitude using a righthand decimal point (decimal 499,999 full scale). The bit in between, #19, is the sign
bit, “0” for “+” and “1” for “-”, which is OR’d with the magnitude to get the HEX value of
the second nibble. The decimal-point code is given in Table 10.28. The figure “4”
indicates the maximum value in that position and “x” is any chosen decimal digit.
Bit pattern information is as follows:
1) Bits 0 to 18 belong to the absolute value.
2) Bits 20, 21, 22, 23, belong to decimal point as shown in Table 10.28.
3) Bit number 19 belongs to the sign and is “0” for positive and “1” for negative.
EXAMPLE: Desired reading scale factor is 123.45. The magnitude is 12345, which is
hex 03039. The polarity is negative, so the 19th bit is a “1”, giving hex “80000”; when
OR’2 with the magnitude, the least-significant 5 nibbles are hex “83039”.
The decimal-point is two places to the left of the right-hand position (e.g., of the 6-digit
display). The decimal point is thus -2, which is a MSB of 3 from the Table 10-28.
OR’d with the other 5 nibbles, hex “383039”, write this factor to the EEPROM of meter
hex #15 with: *15W08383039<CR>. The meter will echo 15W08<CR> if you have set
“BUS.FMt”.
These 3 (“09”, “25” and “26” command suffixes) all use the same 3-byte (6-nibble or 6
character) format. The most significant bit is the sign bit, “=0” for a positive value, “=1”
for a negative value. The other 3 bits of the MSN are used for decimal point
(referenced to the right-hand display dp position) as given in the Table 10.29. The
remaining 5 nibbles (20 bits) are the magnitude (resolution one ppm).
Your data might be in the form of two data points (O2,I2 and O1,I1); since the meter
stores this information as separate scale and offset values, it is necessary to calculate
the offset:
OF = O1 - SC*I1,
where the scale factor SC is that calculated by the equation in Section 10.34.
In Table 10.29, “9” represents the maximum leading digit, and “x” is any desired
decimal.
Bit pattern information is as follows:
1) Bits 0 to 19 belong to the absolute value (99999 when value is negative and
999999 when value is positive).
2) Bits 20, 21, 22, belong to decimal point as shown in Table 10.29.
3) Bit number 20 is assigned to sign and is equal to “0” for positive and “1” for
EXAMPLE: The computer requests the current display (reading) offset value from the
meter hex #15 with: *15G09<CR>.
Page 79
10-32
10.35 READING OFFSET, INPUT OFFSET, or OUTPUT OFFSET continued
The meter (set to echo with “BUS.FMt”) responds: 15G09D17618<CR>. To translate
this, the 6 data nibbles are stripped out: “D17618”. The most significant bit (of the “D”
nibble) is a “1”, so the offset is negative. Decimal point is at position 4.
The magnitude, HEX “17618”, is decimal 95768, so the meter’s decimal reading offset
is -95.768.
True value for Output Offset is stored in its location in EEPROM. When
program is running, it combines this value with calibration offset of the Analog
Output Board and stores new value (called Modified Output Offset) in Output
Offset’s RAM location. Therefore, “P26” for this offset should be used very
carefully (avoid using if possible). But, with “G26”, value of modified output
offset can be read.
10.36 SETPOINT 1
AND 2 HYSTERESIS (“SP db”)
Command Suffix “14” uses two bytes (four nibbles, or four characters) for this binary
positive-only value. Both setpoints use this same hysteresis, applied 50% on either
side of the respective setpoint. This value is not kept in RAM (only in the EEPROM),
so that only “R” and “W” commands apply.
EXAMPLE: If the computer wants to know the hysteresis value stored by meter #15
hex, it sends:
“*15R14<CR>”, to which the meter replies:
“15R141A90<CR>” if it was programmed to echo with “BUS.FMt” and had decimal
hysteresis of 6,800 counts.
Maximum allowable value for hysteresis is 9999 counts.
10.37
ALARM (SP 3 AND SP 4) HYSTERESIS (“AL db”)
Identical with Section 10.36, suffix “15” commands use two bytes (four characters) for
this binary positive-only value. Both alarms use this same hysteresis, applied 100% on
the inactive side of the respective alarm point (setpoint), so that you get fast alarm
action and slower exit from that alarm. This value is not kept in RAM; “R” and “W”
interact with the EEPROM.
EXAMPLE: The computer sends “*15W1A90<CR>”, giving both alarms the hysteresis
value of hex 6800 Counts.
Maximum allowable value for hysteresis is 9999 counts.
10. Data Format Commands (P, G, R, W)
Page 80
ModBus Communication Option Supplement
Note: To Enable the MODBUS PROTOCOL via Front LED Display Panel Push Button
Menu, enter MOdbUS submenu and select option “yES” in the “COMM” Communication
Configuration Menu.
1. Introduction
Modbus protocol defines a message structure that this Universal Input Meter will
recognize and use, regardless of the type of networks over which they communicate. It
describes the process a meter uses to request access to another device, how it will
respond to requests from the other devices, and how errors will be detected and reported.
It establishes a common format for the layout and contents of message fields.
The Modbus protocol provides the internal standard that this Universal Input Meter uses
for parsing messages. During communications on a Modbus network, the protocol
determines how each meter will know its device address, recognize a message
addressed to it, determine the kind of action to be taken, and extract any data or other
information contained in the message. If a reply is required, the meter will construct the
reply message and send it using Modbus protocol.
Modbus defines a digital communication network to have only one MASTER and one or
more SLAVE devices. Either a single (point-to-point) or multi-drop network (multipoint) is
possible.
This Universal Input Meter communicates on standard Modbus networks using RTU
(Remote terminal unit) transmission mode.
2. RTU mode
In RTU mode, each eight-bit byte in a message contains two four-bit hexadecimal
characters. The main advantage of this mode is that its greater character density allows
better data throughput than ASCII for the same baud rate. Each message must be
transmitted in a continuous stream.
The following format used for each byte sent and received by this Meter in RTU
mode:
2.1. Eight-bit binary, Hexadecimal (0 ... 9, A ... F)
2.2. Two hexadecimal characters contained in each eight-bit field of the message
2.3. 1 start bit, 8 data bits, 1 Stop Bit (No Parity Bit)
The figure below shows the bit sequences when byte transmitted in RTU mode.
LSB MSB
START 1 2 3 4 5 6 7 8 STOP
•LSB – Least Significant Bit sent first
M - 1
Page 81
The Modbus Message frame is shown below
DEVICE ADDRESS FUNCTION CODE DATA CRC CHECK
8 BITS
hh
8 BITS
hh
k x 8 BITS
hhh….
16 BITS
hhhh
where:
• h (hex. Number) – character,
• k – integers depend on the contents of the data format.
Device Address Code
•The address message frame contains eight bits. The slave device addresses are
in the range of 1 ... 199 decimal. A master addresses a slave by placing the slave
address in the address field of the message. When the slave sends its response,
it places its own address in this address field of the response to let the master
know which slave is responding.
•Address 0 is used for the write command broadcast that commands all controllers
on network, which all slave devices recognize
4. Function Code
•The function code field of a message frame contains eight bits (RTU). Valid
codes are in the range of 1 ... 255 decimal. Of these, some codes are applicable
for the Universal Input Meters.
•When a message is sent from a master to a slave device the function code field
tells the slave what kind of action to perform.
•The following functions are supported by the Universal Input Meters:
Function
Code
03
04
06
08 Diagnostic
Function Description
Read holding
register
Read input
register
Preset (Write to)
Reads the binary contents of holding registers in the
slave
Reads the binary contents of input register in the
slave
Preset (Write) a value into single holding register
single register
Series of tests for checking communication between
master and slave
•When the slave responds to the master, it uses the function code field to indicate
either a normal (error-free) response or that some kind of error occurred (called
an exception response). For a normal response, the slave simply echoes the
original function code. For an exception response, the slave returns a code that is
equivalent to the original function code with its most significant bit set to a logic 1.
M - 2
Page 82
5. Data Field
The data field is constructed using sets of two hexadecimal digits, in the range of 00 to FF
hexadecimal. The data field of messages sent from a master to slave devices contains
additional information, which the slave must use to take the action defined by the function
code. This can include items like discrete and register addresses, the quantity of items to
be handled, and the count of actual data bytes in the field.
6. CRC Checking
With RTU mode the error checking field contains a 16-bit value implemented as two eightbit bytes (HI-order byte and Low-order byte). The error check value is the result of a
Cyclical Redundancy Check (CRC) calculation performed on the message contents.
After building a message (address, function code, data) the transmitting device calculates
a CRC code and puts it to the end of the message. A receiving device will calculate a
CRC code from the message it has received and compare against transmitted CRC code.
If these CRC codes are different, there has been a communication error. The Universal
Input Meters will not reply if they detect a CRC error.
Sequences of CRC calculation:
6.1 Load a 16 bit CRC register with all 1’s.
6.2 Apply first 8 bit byte of the message to the least significant bit (LSB) of the
contents of the register.
6.3 Exclusive OR these 8 bit with the register contents.
6.4 Shift the result one bit to the right with zero entering into the most
significant bit (MSB) position and evaluate the LSB.
6.5 If over flow bit in LSB is 1, exclusive OR the latest register contents with
A001 Hex value.
6.6 If over flow bit in LSB is 0, no exclusive OR occurs (repeat step 4).
6.7 Repeat steps 4, 5 and 6 until 8 shifts have been performed.
6.8 Apply next 8 bit byte of the message to the LSB contents of the register.
6.9 Exclusive OR these 8 bit with the register contents.
6.10 Repeat steps 4 to 9 until all bytes of the message have been processed.
6.11 The final content of the register is the CRC value.
Note
: When CRC is placed into the end of the message, the low order byte of the
CRC will be transmitted first, followed by the high order byte.
M - 3
Page 83
7. Modbus RTU Registers
•The table below shows the Modbus registers supported by the Universal
Input Meters:
SP1: SETPOINT 1 VALUE
SP2: SETPOINT 2 VALUE
SP3: SETPOINT 3 VALUE
SP4: SETPOINT 4 VALUE
RdG.SC : READING SCALE VALUE
RdG.OF : READING OFFSET VALUE
INPUT SCALE VALUE
INPUT OFFSET VALUE
OUTPUT SCALE VALUE
OUTPUT OFFSET VALUE
MAIN READING VALUE
HI RdG : PEAK READING VALUE
LO RdG : VALLEY READING VALUE
dAt.FMt : DATA FORMAT
bUS.FMt : BUS FORMAT
INP.CNF : INPUT CONFIG.
FILtER : FILTER SETUP
RdG.CNF : READING CONFIG.
Out.CNF : OUTPUT CONFIG.
dEC.Pt & CNt.by :
The following formats are used to SEND commands by computer and RETURNED by
device.
8.1. Read Multiple Register (03 or 04)
Send to device Command string format:
DEVICE
ADDRESS
1 BYTE
hh
FUNCTION CODE
03 or 04
1 BYTE
03
STARTING REGISTER NUMBER OF REGISTERS
HB
00
LB
hh
Returned by device Command string format:
DEVICE
ADDRESS
1 BYTE
hh
FUNCTION
CODE
03 or 04
1 BYTE
03
NUMBER OF
BYTES
1 BYTE
hh
First REGISTER…… n REGISTERS
HB
hh
Where: HB – High Order Byte
LB – Lower Order Byte
Unused bits are set to zero
hh : Hex. Numbers
DATA
DATA
LB
hh
HB
00
…..
CRC
LB
hh
HB
hh
LB
hh
LB
hh
LB
hh
HB
hh
CRC
HB
hh
M - 5
Page 85
Note: the Universal Input Meters support only Read Single Register, so the
number of registers should always set to 1.
Screenshot for following examples 1- 3:
Figure 8.1: Read Command Samples via Infinity Configuration Software.
Example 1: For one byte data registers: 1
st
data string of Command sent section as
shown on the Figure 8.1:
01 03 0010 0001 85CF : is to read INPUT CONFIGURATION ( INF.CNF and INPUt ).
DEVICE
ADDRESS
FUNCTION
CODE
03 or 04
DATA
STARTING REGISTER NUMBER OF REGISTERS
CRC
01 03 00 10 00 01 85 CF
01 03 02 0000 B844 : 1st Command Response on Figure 8.1 which device
responded to the 1
DEVICE
ADDRESS
01 03 02
st
read command.
FUNCTION
CODE
NUMBER OF
BYTES
VALUES OF
REGISTERS
(1 Byte)
00
(N/A)
20
CRC
B9 9C
For detail description of the VALUES OF THE REGISTER above, refer to Table 10.2 of
Communication Manual.
M - 6
Page 86
Example 2: For 2 bytes data registers: as shown on the Figure 8.1 as 2
the Command sent section:
01 03 0022 0001 2400: is to read the value of Alarm Deadband (AL.db).
nd
data string of
DEVICE
ADDRESS
FUNCTION
CODE
03 or 04
DATA
STARTING REGISTER NUMBER OF REGISTERS
CRC
01 03 00 22 00 01 24 00
01 03 02 01F4 B853 : 2
responded to the 2
nd
nd
Command Response on Figure 8.1 which device
read command.
DEVICE
ADDRESS
FUNCTION
CODE
NUMBER OF
BYTES
01 03 02
VALUES OF
REGISTERS
(2 Bytes)
01 F4
CRC
B8 53
For detail description of the VALUES OF THE REGISTER above, refer to Section 10.37
of Communication Manual.
M - 7
Page 87
Example 3: For 3 bytes data registers: as shown on the Figure 8.1 as 3
rd
data string of
the Command sent section:
01 03 0001 0001 D5CA: is to read Setpoint 1 value (SP1).
DEVICE
ADDRESS
01 03 00 01 00 01 D5 CA
FUNCTION
CODE
03 or 04
DATA
STARTING REGISTER NUMBER OF REGISTERS
CRC
01 03 04 0010 0064 FA1D: 3rd Command Response on Figure 8.1 which device
responded to the 3
rd
read command.
DEVICE
ADDRESS
FUNCTION
CODE
01 03 04
NUMBER
OF BYTES
VALUES OF REGISTERS
(3 Bytes)
00
(N/A)
10 00 64
CRC
FA 1D
NOTE: SetPoints, In/Output Offset and process values (Main, Peak and Valley
Reading Values) must be determined in following manner: (using above example)
Value
Format
Hex. 00
Binary bits
pattern
N/A
Binary N/A
XXXX
(binary bits)
0001 0000 0000 0000 0110 0100
VALUES OF REGISTERS
(3 Hex. Bytes)
10 00 64
XXXX
(binary
bits)
XXXX XXXX
(binary bits)
XXXX XXXX
(binary bits)
X XXX
Setpoints,
In/Output
Offset,
Main/ Peak/
Valley
Readings
Equivalent
Decimal
N/A
0 001
+
DECIMAL
POINT
FFFF. 100 (decimal)
SIGN
Absolute
Value
Absolute Value Absolute Value
+100.
Table 8.1 Format of 3 bytes Data Value Description of SetPoints,
In/Output Offset and process values.
For detail description of How to determine Sign (+ or -) and Decimal Point Position,
refer to Section 10.28 and Table 10.16 of Communication Manual.
M - 8
Page 88
NOTE: Following bits patterns is the format for 3 bytes data registers of
READING SCALE (“RdG.SC”), INPUT SCALE (“INP.SC”), AND
OUTPUT SCALE (“Out.SC”) which are determined differently than the
above example.
Value
Format
Hex.
Pattern
Binary bits
pattern
00
(2 hex.characters)
XXXX
N/A
(binary
bits)
VALUES OF REGISTERS
(3 Hex. Bytes)
hh
(2 hex.characters)
XXXX
(binary bits)
XXXX XXXX
(binary bits)
hh
hh
(2 hex.characters)
XXXX XXXX
(binary bits)
X XXX
Decimal N/A
DECIMAL
POINT
SIGN
Absolute
Value
Absolute Value Absolute Value
Table 8.2 : Format of 3 bytes Data Value Description of all type of Scale Function.
For detail description of How to determine Sign (+ or -), Decimal Point Position and
absolute value, refer to Section 10.34 and Table 10.28 of Communication Manual.
8.2. Write to Single Register (06)
The following command will write a parameter to the single register.
Send / Response Command string format:
DEVICE
ADDRESS
1 BYTE
hh
FUNCTION
CODE
06
1BYTE
06
REGISTER
HB
00
LB
hh
DATA
DATA
VALUE
HB
00
LB
hh
LB
hh
CRC
HB
hh
M - 9
Page 89
Example 4: For Write Command of one byte
Table 10.1 of Serial Communication Option Operator’s manual to learn how to modify
Reading configuration (RdG.CNF), sent/responded data string as following:
data registers: using example on Section &
DEVICE
ADDRESS
1 BYTE
01
FUNCTION
CODE
06
1BYTE
06
REGISTER
HB
00
Here is the screenshot of the Example 4:
LB
12
DATA
DATA VALUE
(1valid byte)
HB
00
LB
14
LB
29
CRC
HB
C0
Figure 8.2: Write (1 valid Data byte) Command Sample via
Infinity Configuration Software.
M - 10
Page 90
Example 5: For Write Command of two bytes
in this format: Setpoint Deadband (SP.db): Register #21 and Alarm Deadband (AL.db)
Register #22.
Using Example on Section 10.36 of Serial Communication Option Operator’s manual to
write new value of SetPoint Deadband as 6,800 count.
data registers: There are only two registers
DEVICE
ADDRESS
1 BYTE
01
FUNCTION
CODE
06
1BYTE
06
REGISTER
HB
00
LB
21
DATA
DATA VALUE
(2 valid bytes)
HB
1A
LB
90
LB
D2
CRC
HB
C2
Figure 8.3: Write (2 valid Data bytes) Command Sample via
Infinity Configuration Software.
M - 11
Page 91
Example 6: For Write Command of three bytes
configure, users must send two write commands to accomplish this task. First one only
change register’s 2 Low Order Bytes (LB)and is just similar to the previous example ,
However second command must write on converted register of original one to write or
modify value of High Order Byte (HB)(as example below illustrate How to set decimal
point and sign of value for detail description of Sign & Decimal Point configuration, refer to
Table 10.26 of Communication).
Following Table illustrates how to convert the register:
data registers: In order to modify or
Format
Register
Register
(Hex. Number)
Register
(Binary Number)
Method: change MSB of
character 0 of Register to 1
Example:
Table 8.3: Conversion Method of 3 Bytes Register for Write Function.
Lets examine how to write SP1 with different values: +1000 and –100.0:
Send / Response Command string format:
Value +1000:
Desired
Values:
+1000
1st command
(for absolute
value)
2nd command
(for Sign &
dec.point)
Reg. ofSP1 value01 0000 0001
ConvertedSP1 value:
DEVICE
ADDRESS
1 BYTE
01
1 BYTE
01
FUNCTION
CODE
06
1BYTE
06
1BYTE
06
HB
00
HB
00
hh MSB x x x x x x x
81
DATA
REGISTER
LB
01
LB
81
1000 0001
DATA VALUE
(2 bytes used)
HB
03
HB
00
LB
E8
LB
10
LB
D8
LB
D8
CRC
HB
B4
HB
2E
Figure 8.4: Write (3 Data bytes) Commands Sample via
Infinity Configuration Software.
M - 12
Page 92
Value -100:
Desired
Values:
-100
1st command
(for absolute
value)
2nd command
(for Sign &
dec. point)
DEVICE
ADDRESS
1 BYTE
01
1 BYTE
01
FUNCTION
CODE
06
1BYTE
06
1BYTE
06
REGISTER
HB
00
HB
00
LB
01
LB
81
DATA
DATA VALUE
(2 bytes used)
HB
00
HB
00
LB
64
LB
90
LB
D8
LB
D8
CRC
HB
B4
HB
2E
Figure 8.5: Write (3 Data bytes) Commands Sample via
Infinity Configuration Software.
8 Diagnostic command.
This command echoes the sent message to indicate that the communication link is
established correctly.
Send to/Return from device:
DEVICE
ADDRESS
1 BYTE
hh
FUNCTION
CODE
1 BYTE
08
DIAGNOSTIC
CODE
HB
00
LB
00
LOOPBACK
DATA
HB
hh
LB
hh
CRC
LB
hh
where:
o Diagnostic Code is two byte code to determine the type of test to be performed.
o Universal Input Meters supported only “00” code which requested slave to echo
sent command back to the master.
M - 13
HB
hh
Page 93
WARRANTY/DISCLAIMER
OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for a period of one (1) year
from the date of purchase. In addition to OMEGA’s standard warranty period, OMEGA Engineering will extend the warranty period
for four (4) additional years if the warranty card enclosed with each instrument is returned to OMEGA.
If the unit malfunctions, it must be returned to the factory for evaluation. OMEGA’s Customer Service Department will issue an
Authorized Return (AR) number immediately upon phone or written request. Upon examination by OMEGA, if the unit is found
to be defective, it will be repaired or replaced at no charge. OMEGA’s WARRANTY does not apply to defects resulting from any
action of the purchaser, including but not limited to mishandling, improper interfacing, operation outside of design limits, improper
repair, or unauthorized modification. This WARRANTY is VOID if the unit shows evidence of having been tampered with or shows
evidence of having been damaged as a result of excessive corrosion; or current, heat, moisture or vibration; improper
specification; misapplication; misuse or other operating conditions outside of OMEGA’s control. Components which wear are not
warranted, including but not limited to contact points, fuses, and triacs.
OMEGA is pleased to offer suggestions on the use of its various products. However, OMEGA neither assumes
responsibility for any omissions or errors nor assumes liability for any damages that result from the use of its products
in accordance with information provided by OMEGA, either verbal or written. OMEGA warrants only that the parts
manufactured by it will be as specified and free of defects. OMEGA MAKES NO OTHER WARRANTIES OR
REPRESENTATIONS OF ANY KIND WHATSOEVER, EXPRESS OR IMPLIED, EXCEPT THAT OF TITLE, AND ALL IMPLIED
WARRANTIES INCLUDING ANY WARRANTY OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
HEREBY DISCLAIMED. LIMITATION OF LIABILITY: The remedies of purchaser set forth herein are exclusive, and the
total liability of OMEGA with respect to this order, whether based on contract, warranty, negligence, indemnification,
strict liability or otherwise, shall not exceed the purchase price of the component upon which liability is based. In no
event shall OMEGA be liable for consequential, incidental or special damages.
CONDITIONS: Equipment sold by OMEGA is not intended to be used, nor shall it be used: (1) as a “Basic Component”
under 10 CFR 21 (NRC), used in or with any nuclear installation or activity; or (2) in medical applications or used on
humans. Should any Product(s) be used in or with any nuclear installation or activity, medical application, used on humans,
or misused in any way, OMEGA assumes no responsibility as set forth in our basic WARRANTY/DISCLAIMER language,
and, additionally, purchaser will indemnify OMEGA and hold OMEGA harmless from any liability or damage whatsoever
arising out of the use of the Product(s) in such a manner.
RETURN REQUESTS/INQUIRIES
Direct all warranty and repair requests/inquiries to the OMEGA Customer Service Department. BEFORE RETURNING
ANY PRODUCT(S) TO OMEGA, PURCHASER MUST OBTAIN AN AUTHORIZED RETURN (AR) NUMBER FROM
OMEGA’S CUSTOMER SERVICE DEPARTMENT (IN ORDER TO AVOID PROCESSING DELAYS). The assigned AR
number should then be marked on the outside of the return package and on any correspondence.
The purchaser is responsible for shipping charges, freight, insurance and proper packaging to prevent breakage in
transit.
FOR WARRANTY RETURNS, please have the following
information available BEFORE contacting OMEGA:
1. Purchase Order number under which the product was
PURCHASED,
2. Model and serial number of the product under warranty,
and
3. Repair instructions and/or specific problems relative to
the product.
FOR NON-WARRANTY REPAIRS,
consult OMEGA for current
repair charges. Have the following information available
BEFORE contacting OMEGA:
1. Purchase Order number to cover the COST of the repair,
2. Model and serial number of product, and
3. Repair instructions and/or specific problems relative to the
product.
OMEGA’s policy is to make running changes, not model changes, whenever an improvement is possible. This affords our
customers the latest in technology and engineering.
PATENT NOTICE: This product is covered by one or more of the following patents: U.S. Pat. No. Des. 336,895; 5,274,577;
6,243,021 / CANADA 2052599; 2052600 / ITALY 1249456; 1250938 / FRANCE BREVET No. 91 12756 / SPAIN 2039150;
2048066 / UK PATENT No. GB2 249 837; GB2 248 954 / GERMANY DE 41 34398 C2. The “Meter Bezel Design” is a Trademark
of NEWPORT Electronics, Inc. Used under License. Other US and International Patents pending or applied for.