Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 217

Advertising
background image

15–29

ASCII Host Commands

Publication 2755-833

OC - Set Output Condition and Output Duration

Command Format:

OCnctttt

Function:

Sets the condition that will activate an output
and the length of time (in milliseconds) the
output is activated.

Parameters:

nctttt

Command

Parameters

Parameter Function

Valid Values

n

Output number

1 through 8

c

Condition activates output

0= None
1= Read (Package)
2= No-Read (Package)
3= Match Complete
4= Match Entry
5= Read and No-Match
6= No-Read or
No–Match
7= Auto Load
8= Auto Load (Input)

9= Host buffer full
A= Host buffer overflow

tttt

Time (in milliseconds) that
output is activated.

0000, 0010 to 9999
(milliseconds)
0000 disables condition

① The AutoLoad (Input) function applies only to output 8.

Response:

= rr <end>

rr =

response code

<end> =

end of message control code

Advertising