beautypg.com

Set configuration to default values, Set host communications – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 99

background image

Interface

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

7–7

Command:

DD

Function:

Set decoder to default configuration.

Response:

=00CRLF

Note: Host communication port parameters and the contents of the EEPROM
are not changed with this command.

Command:

HCaaannnssspppfr

Function:

Set host communication parameters.

Response:

=rr

Comments:

HC = Set host communications command.

aaa = ACK (positive acknowledgment) character.
Must be ASCII decimal value from 000 to 254. A
value of 255 = None.

nnn = NAK (negative acknowledgment) character.
Must be ASCII decimal value from 000 to 254. A
value of 255 = None.

sss = start scan character. Must be ASCII decimal
value from 000 to 254. A value of 255 = None.

ppp = stop scan character. Must be ASCII
decimal value from 000 to 254. A value of 255 =
None.

f = large buffer enable
1 = YES
0 = NO

r = selects response mode
0 = End of Trigger
1 = After Valid Package

rr = response code, refer to table on Page 7-3.

= end of message control code.

Note: The ACK/NAK, start scan, and stop scan characters will not be
entered into the operating system until the configuration is saved to
EEPROM and the decoder is restarted (ESC = ! RN). After setting new
ACK/NAK characters, the host must begin sending the new characters with
each transmission.

4. Set Configuration to Default
Values

5. Set Host Communications