beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 301

background image

CĆ3

To determine if a counter has reached its preset by monitoring element QU in a

BASIC program

D Use the BASIC function BIT_SET@ to test the value of QU.

Example:
IF BIT_SET@(COUNTER1!(3),31) THEN 250
This statement examined bit 31 of element 3 in the global variable COUNTER1.