Chapter 5 Serial Communications; Protocol - Ametek 5800 User Manual

Moisture
Table of Contents

Advertisement

Protocol

Figure 5-1.
Message format for
transfers initiated by
the master.
SERIAL COMMUNICATIONS
The protocol used for the 5830 Moisture Analyzer is a master/slave, com-
mand/response communication with the master initiating all transfers.
The message format for transfers initiated by the master is seen in Figure
5-1.
Node Address
Start Flag
Command Byte
All elements of this protocol are sent as ASCII characters.
The Start Flag is the character '>', $3E.
The End Flag is a carriage return, $0D.
The Node address is a two byte hexadecimal ASCII value in the range
$00 through $EF.
Addresses $F0 through $FF are reserved.
The command byte is a single ASCII character.
The Data field is of variable length and contains ASCII characters.
The checksum is a two byte ASCII hexadecimal field representing the
modulo 256 sum of Node Address, Command Byte, and Data fields
(excludes the start flag).
A master can issue a wildcard in lieu of a checksum.
Data
Check Sum
Serial Communications
End Flag
|
5-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

583058122850

Table of Contents