Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 216

Advertising
background image

15–28

ASCII Host Commands

Publication 2755-833

OS - Set Output Normally Open/Closed

Command Format:

OSnf

Function:

Sets the state of a discrete output to normally
open or normally closed.

Parameters:

nf

Command

Parameters

Parameter Function

Valid Values

n

Discrete output number

1 through 8

f

Switch operation normally
open or normally closed

0= Normally Open
1= Normally Closed

Response:

= rr <end>

rr =

response code

<end>=

end of message control code

Example:

Command:

OS20

Parameters:

20

Command

Parameters

Parameter Function

Values

n

Discrete output number

2

f

Switch operation normally
open or normally closed

0= Normally Open

Response:

=00CR

00 =

command complete
response code

CR =

end of message control code
for Carriage Return

Advertising