Rs-232 Serial Connection; Communication Protocol - CDI EMS 4 User Manual

Remote display
Table of Contents

Advertisement

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.
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.
4. Refer to the Communication Protocol 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:
Command
A
N :A
D
N :D
R
N :R
C
N :C
rstErr
N :pXXX=?
N :pXXX=<new value>
Save
Help
* Data Packet format: Channel: Reading: Analog Scale: New Data: Max: Min
Note that the Analog Scale field has a maximum value of 1000.
Note N = channel number
Speed (baud)
9600
Data Bits
8
Bits Stop
1
Bits Parity
None
Flow Control
XON/XOFF
or "Return"
"Enter"
Print current gage readings for all channels
Print current gage reading for Channel "N". ex: 1:A for channel 1
Print data packet* for all channels
Print data packet* for channel "N"
Request a measurement update on all Digimatic channels on Tablet
Request a measurement update for channel "N" on Tablet
Clear gage measurements for all channels (quadrature only)
Clear gage measurement for channel "N" (quadrature only)
Resets global errors
Get the value of configuration parameter "XXX" for channel "N"
Set the value of parameter "XXX" for channel "N" to "<new valueх"
Saves any modified parameters to retentive flash
Show help text and command list
after command.
Description
12

Advertisement

Table of Contents
loading

Table of Contents