Communications software design, Communications software design -52 – CONTREX ML-Drive User Manual

Page 86

Advertising
background image

3 - 52

Communications Software Design

The ML-Drive Serial Communications Interface uses a polling technique to establish a
link with the host computer. With the exception of Keypad Lockout (CP-98), all of the
Control Parameters and Monitor Parameters that are accessible through the ML-Drive's
front panel keypad are also accessible through the Serial Communications Interface.
The host computer sends a twelve character record to the ML-Drive to establish the link
and the ML-Drive responds with either a conformation or an error message. Once the
ML-Drive responds, the host computer can send additional transmissions.

All of the ML-Drive's messages use the USA Standard Code for Information
Interchange (ASCII). The host computer sends three types of messages;

Parameter Send - To change CPs.
Control Command Send - To control operating states.
Data Inquiry - To monitor CPs and MPs.

These three message types, their character level descriptions in binary and ASCII, as
well as the ML-Drive's response record, are outlined in the sections that follow.

Advertising