beautypg.com

Reference – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 319

background image

Valid Addressing Modes and File Types for Instruction Parameters

C–5

Instruction

Valid Value

Ranges

Valid File Types

Valid Addressing

Mode(s)

Instruction

Parameters

Description

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

CTU

Count Up

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

DCD

Decode 4 to 1 of 16

source

direct, indexed direct

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

Not Applicable

destination

direct, indexed direct

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

Not Applicable

DDV

Double Divide

source

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

DIV

Divide

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

ENC

Encode 1 of 16 to 4

source

direct, indexed direct

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

Not Applicable

destination

direct, indexed direct

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

Not Applicable

EQU

Equal

source A

direct, indexed direct

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

Not Applicable

source B

immediate, direct,
indexed direct

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

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

Reference