12
RS-232 Serial Connection
The Remote Display supports an RS-232 connection to data consumers, such as a computer or PLC. To
connect the Remote Display to an external RS-232 device, use the following procedure:
1.
Find the female RS-232 connector on the rear panel of the Remote Display Mux Box.
2.
Using a shielded RS-232 cable, connect the Mux Box to the external data consumer.
a.
Depending on the device and cable configuration, it may be necessary to use a female-
to-male gender changer. They can be used freely without any impact on the Remote
Display functionality.
3.
Use the following RS-232 settings on the external device to establish communication with the
Remote Display Mux Box.
Speed (baud)
9600
Data Bits
8
Stop Bits
1
Parity
None
Flow Control
XON/XOFF
4.
Refer to the
section below for a list of available commands. Many
modern computers use USB ports in lieu of RS-232 ports. The Remote Display can still
communicate to these devices over RS-232 by using a Serial-to-USB converter. There are many
such devices available. When searching, ensure that the device is compatible with the Operating
System version that is being used on the computer.
Communication Protocol
The following list summarizes the serial commands available for exchanging data with the Remote
Display Mux Box. These commands apply to both the RS-232 and PC USB communication modes. Type
“enter or return” after command.
Command
Description
A
Print current gauge readings for all channels
N:A
Print current gauge reading for Channel “N”. ex: 1:A for channel 1
D
Print data packet* for all channels
N:D
Print data packet* for channel “N”
R
Request a measurement update on all Digimatic channels on Tablet
N:R
Request a measurement update for channel “N” on Tablet
C
Clear gauge measurements for all channels (quadrature only)
N:C
Clear gauge measurement for channel “N” (quadrature only)
rstErr
Resets global errors
N:pXXX=?
Get the value of configuration parameter “XXX” for channel “N”
N:pXXX=<new value>
Set the value of parameter “XXX” for channel “N” to “<new value>”
Save
Saves any modified parameters to retentive flash
help
Show help text and command list
* Data Packet format:
Channel:Reading:Analog Scale:New Data:Max:Min
Note that the Analog Scale field has a maximum value of 1000Note N = channel number