beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 87

background image

4Ć27

4.7.1

Input Parameters for the Mask Compare Instruction

This table lists the inputs for the MSK instruction and the variable type and data

type/range that each input supports.

Parameter

Description

Variable Type

Data Type/Range

EN

When this input is true, the instruction executes. When this

input is false, the instruction is not executed, and ENO is

false.

Connect a Boolean input or output.

In1
In2

Enter the variables to which you want to apply the bit

mask. These variables are treated as unsigned integers.

D simple
D constant
D element of an array

D integer
D double integer
D timer (name.TPreset

and name.Elapsed)

D counter

(name.CPreset and

name.Current)

Mask

The Mask specifies which bits to pass or block. Enter the

parameter that you want to use as the bitĆmask. The mask

passes bits equal to 1 and blocks bits equal to 0.

D constant
D element of an array

D integer (0 to FFFF)
D double integer

(0 to FFFFFFFF)