beautypg.com

Preface – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 318

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

C–4

Instruction

Description

Instruction

Parameters

Valid Addressing

Mode(s)

Valid File Types

Valid Value

Ranges

ADD

Add

source A

immediate, direct,
indexed direct

O, I, S, B, T, C, R, N

–32,768–32,767
f-min–f-max

source B

immediate, direct,
indexed direct

O, I, S, B, T, C, R, N

–32,768–32,767
f-min–f-max

destination

direct, indexed direct

O, I, S, B, T, C, R, N

Not Applicable

AND

Logical AND

source A

immediate, direct,
indexed direct

O, I, S, B, T, C, R, N

–32,768–32,767

source B

immediate, direct,
indexed direct

O, I, S, B, T, C, R, N

–32,768–32,767

destination

direct, indexed direct

O, I, S, B, T, C, R, N

Not Applicable

BSL

Bit Shift Left

file

indexed direct

O, I, S, B, N

Not Applicable

control

direct

R (element level)

Not Applicable

bit address

direct

O, I, S, B, T, C, R, N
(bit level)

Not Applicable

length

(contained in the
control register)

0–2048

BSR

Bit Shift Right

file

indexed direct

O, I, S, B, N

Not Applicable

control

direct

R (element level)

Not Applicable

bit address

direct

O, I, S, B, T, C, R, N
(bit level)

Not Applicable

length

(contained in the
control register)

0–2048

CLR

Clear

destination

direct, indexed direct

O, I, S, B, T, C, R, N

Not Applicable

COP

Copy File

source

indexed direct

O, I, S, B, T, C, R, N

Not Applicable

destination

indexed direct

O, I, S, B, T, C, R, N

Not Applicable

length

immediate

1–128; 1–42
when destination
is T,C,R