Set package detect input filter and sense, Write source identification message – Rockwell Automation 2755-DM9, -DM9E High Speed Decoder User Manual

Page 101

Advertising
background image

Interface

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

7–9

Command:

IFf

Function:

When sent, this command will enable or disable the 10 msec
input filter and determine the sense of the package detect
input signal.

Response:

=rr<end>

Comments:

IF =

Set input filter command.

f =

disable or enable filter/select sense.

0 -

disable filter, LO when package is present.
1-enable filter, LO when package is present.
2-disable filter, HI when package is present.
3-enable filter, HI when package is present.

rr =

response code, refer to Table 7.B.

<end> = end of message code.

Example:

Command:

IF1

Response:

= 00CR

Comments:

1 = enable filter, LO = package.
00 = “command complete” response code.
CR = end of message control code for Carriage Return.

Command:

IMlstring

Function:

Write source code identification message.

Response:

=rr<end>

Comments:

IM = Write source identification command.

l

= length of the source identification message. Must be

from 0 to 4.

string = source identification message, up to four characters
can be specified.

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

<end> = end of message control code.

7. Set Package Detect Input
Filter and Sense

8. Write Source Identification
Message

Advertising