beautypg.com

Rs-232 serial connection, Communication protocol – Checkline EMS4 User Manual

Page 12

background image

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

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

e te or return afte o

a d.

Command

Description

A

Print current gauge readings for all channels

N:A

P i t cu e t gauge eadi g fo Cha el N . ex: 1:A for channel 1

D

Print data packet* for all channels

N:D

P i t data packet* fo cha el N

R

Request a measurement update on all Digimatic channels on Tablet

N:R

Re uest a easu e e t update fo cha el N on Tablet

C

Clear gauge measurements for all channels (quadrature only)

N:C

Clea gauge easu e e t fo cha el N (quadrature only)

rstErr

Resets global errors

N:pXXX=?

Get the alue of co figu atio pa a ete XXX fo cha el N

N:pXXX=

“et the alue of pa a ete XXX fo cha el N to < e alue>

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