Write header message – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 100

Advertising
background image

Interface

Chapter 7
Host Commands Using the RS-232 or RS-422

7–8

Example:

Command:

HC03603703504311

Response:

= 00CR

Comments:

036 =¤ character for the ACK character.
037 =% character for the NAK character.
035 =# character for start scan character.
043 = + character for stop scan character.
1 = enables the large buffer.
1 = end of trigger response mode.
00 = “command complete” response code.
CR = end of message control code for Carriage Return.

Command:

HMllstring

Function:

Write header message.

Response:

=rr<end>

Comments:

HM = Write header message command.

ll

= length of the header message. Must be from 00 to 32.

string = header message, up to 32 characters can be

specified.

rr = response code, refer to Table 7.B.

<end> = end of message control code.

Example:

Command:

HM03A-B

Response:

=00LF

Comments:

0

3 =

message length.

A-B = header message.
00 = “command complete” response code.
LF = end of message control code for Line Feed.

6. Write Header Message

Advertising