Ansi x3.28, Ansi x3.28 protocol for rs-422 & eia-485, Device address – Black Box 945 User Manual

Page 16: Starting communications in ansi x3.28, Ansi x3.28 "=" command example

Advertising
background image

How to Use Data Communications

16

WATLOW Series 945

ANSI X3.28 "="

Figure 8 -
ANSI X3.28 "="
Command Example.

ANSI X3.28 "=" Command Example

The "=" Command sets a specific 945 parameter to a specific value. The general
command syntax applies to all commands. The definition and number of argu-
ments depends on the command itself. See Table 6, Pages 20 - 21.

In this example, you want to change the Alarm 1 Low value to 500

°

. Here, the "="

command will do the job.

'"=" command Syntax with ANSI X3.28 Protocol:
<STX> = <space> Data.1 <space> Data.2 <ETX>

With the "=" command, Data.1 is the Series 945 parameter, in this case Alarm 1
Low , A1LO. Data.2 is the value you want to set for that parameter, in this ex-
ample, 500.

Enter in ASCII:
<STX> = <space> A1LO <space> 500 <optional carriage return> <ETX>
The hex string is:
023D2041314C4F2035303003

Stopping Communications in ANSI X3.28 Protocol

The master device, your computer, must end communications with Device #4 by
using Data Link Escape (DLE) and End of Transmission (EOT) characters.

Enter in ASCII: <DLE><EOT>

Response from the 945:
None

10

04

<DLE>

<EOT>

ASCII
Characters

HEX Value

ASCII
Character

HEX
Value

1

Space

5

0

0

41

4C

31

20

35 30 30

<Space>

=

3D 20

A

L

<STX>

<ETX>

02

03

Optional

Carriage

Return

4F

O

Advertising