Publication 1766-RM001A-EN-P - October 2008
Input and Output Instructions
305
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…0xFFFF.
•
Length -
This is the number of masked words to transfer to the
outputs.
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 1400
10.4010 µs
0.3220 µ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
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Output Data
Output Word
Mask
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Real
Outputs
Data is Not Updated
Updated to Match Output Word
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive