beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 178

background image

9Ć4

9.1.1

Input Parameters for the Shift Left Instruction

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

type/range that each input supports.

Parameter

Description

Variable Type

Data/Type Range

EN

While 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.

In

Enter the name of the variable containing the bits you

want to shift.

D Boolean array
D simple integer or

double integer

D element of an

integer or double

integer array

D 1 or 0
D integer (0ĆFFFF)
D double integer

(0ĆFFFFFFFF)

BIT

This input provides the state of the least significant bit

after the shift occurs.
To place a 1 in the least significant bit location, the

Boolean parameter connected to BIT must be true.
To place a 0 in the least significant bit location, the

Boolean parameter connected to BIT must be false.
If no Boolean parameter is programmed, a 0 is loaded

into the least significant bit location.

Connect a Boolean input or output.