Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 419

Advertising
background image

Appendix C
Valid Addressing Modes and File Types
for Instruction Parameters

C–3

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

And (bit input)

source bit

direct

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

Not Applicable

AND

And (word output)

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

ANI

And Inverted

source bit

direct

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

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

CTD

Count Down

counter

direct

C (element level)

Not Applicable

preset

(contained in the
counter register)

–32,768–32,767

accum

(contained in the
counter register)

–32,768–32,767

Advertising