Publication 1763-RM001C-EN-P - October 2009
Input and Output Instructions 257
IOM - Immediate Output
with Mask
Instruction Type: output
The IOM instruction allows you to selectively update output data without
waiting for the automatic output scan. This instruction uses the following
operands:
• Slot - The slot is the physical location that is updated with data from
the output file.
• Mask - The mask is a hex constant or register address containing the
mask value to be applied. If a given bit position in the mask is a “1”,
the corresponding bit data is passed to the physical outputs. A “0”
prohibits corresponding bit data from being passed to the outputs.
The mask value can range from 0 to 0xFFFF.
• Length - This is the number of masked words to transfer to the
outputs.
Addressing Modes and File Types can be used as shown below:
IOM
Immediate Output w/Mask
Slot O:0.0
Mask N7:0
Length 1
IOM
TIP
This instruction is used for embedded I/O only. It is not
designed to be used with expansion I/O.
Execution Time for the IOM Instruction
Controller When Rung Is:
True False
MicroLogix 1100 43.59 μs 0.87 μs
IMPORTANT
Slot 0 is the only valid slot number that can be used
with this instruction. IOM cannot be used with
expansion I/O.
Bit 1514131211109 8 7 6 5 4 3 2 1 0
Output Data Output Word
Mask 0000000011111111
Real Outputs Data is Not Updated Updated to Match Output Word
IOM Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
DLS - Data Log
Address
Mode
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Slot • • • •
Mask • • • • •
• • ••
Length
•
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive