beautypg.com

Immediate input with mask (iim), Immediate output with mask (iom), Programming – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 187: Entering parameters

background image

Using Program Flow Control Instructions

10–9

Immediate Input with Mask (IIM)

This instruction allows you to update data prior to the normal input scan. Data from
a specified input is transferred through a mask to the input data file, making the data
available to instructions following the IIM instruction in the ladder program.

For the mask, a 1 in an input’s bit position passes data from the source to the
destination. A 0 inhibits data from passing from the source to the destination.

Entering Parameters

For all micro controllers specify I1:0.0. For 16 I/O controllers, I1:0/0–9 are valid
and I1:0/10–15 are considered unused inputs. (They do not physically exist.) For
32 I/O controllers, I1:0/0–15 and I1:1/0–3 are valid. Specify I1:1 if you want to
immediately update the last four input bits.

Mask – Specify a Hex constant or register address.

Immediate Output with Mask (IOM)

This instruction allows you to update the outputs prior to the normal output scan.
Data from the output image is transferred through a mask to the specified outputs.
The program scan then resumes.

Entering Parameters

For all micro controllers specify O0:0.0. For 16 I/O controllers, O0:0/0–5 are valid
and O0:0/6–15 are considered unused outputs. (They do not physically exist.) For
32 I/O controllers, O0:0/0–11 are valid and O0:0/12–15 are considered unused
outputs.

Mask – Specify a Hex constant or register address.

Programming

Execution Times

(

µ

sec) when:

True

False

35.72

6.78

IIM

IMMEDIATE INPUT w MASK
Slot
Mask

Execution Times

(

µ

sec) when:

True

False

41.59

6.78

IOM

IMMEDIATE OUT w MASK
Slot
Mask