5 serial remote control, Introduction, Eia-485 – Mocomtech CIM-550 User Manual

Page 81: Chapter 5. serial remote control, 1 introduction, 2 eia-485

Advertising
background image

55

Chapter 5. Serial Remote Control

EIA-485 55

EIA-232 56

Basic Protocol

56

Packet Structure

57

5.1 I

NTRODUCTION

This section describes the protocol and message command set for remote monitor and
control of the CiM-550 Modem.

The electrical interface is either an EIA-485 multi-drop bus (for the control of many
devices) or an EIA-232 connection (for the control of a single device), and data is
transmitted in asynchronous serial form, using ASCII characters. Control and status
information is transmitted in packets, of variable length, in accordance with the structure
and protocol defined in later sections.

5.2 EIA-485

For applications where multiple devices are to be monitored and controlled, a full-duplex
(or 4-wire plus ground) EIA-485 is preferred. Half-duplex (2-wire plus ground) EIA-
485 is possible, but is not preferred.

In full-duplex IA-485 communication there are two separate, isolated, independent,
differential-mode twisted pairs, each handling serial data in different directions. It is
assumed that there is a ‘controller’ device (a PC or dumb terminal), which transmits data,
in a broadcast mode, via one of the pairs. Many ‘target’ devices are connected to this
pair, which all simultaneously receive data from the controller. The controller is the only
device with a line-driver connected to this pair - the target devices only have line-
receivers connected.

In the other direction, on the other pair, each target has a tri-state line driver connected,
and the controller has a line-receiver connected. All the line drivers are held in high-
impedance mode until one (and only one) target transmits back to the controller.

Each target has a unique address, and each time the controller transmits, in a framed
‘packet’ of data, the address of the intended recipient target is included. All of the targets
receive the packet, but only one (the intended) will reply. The target enables its output
line driver, and transmits its return data packet back to the controller, in the other
direction, on the physically separate pair.

Advertising