![Allen-Bradley 1763-L16AWA Скачать руководство пользователя страница 257](http://html.mh-extra.com/html/allen-bradley/1763-l16awa/1763-l16awa_instruction-set-reference-manual_2900141257.webp)
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
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
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
C
S
-
Comms
IO
S - I/O
DL
S
-
D
a
ta
L
o
g
Address
Mode
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG, PD
R
I/RIX
PL
S
RT
C
HS
C
PT
O,
P
W
M
ST
I
EII
BH
I
MM
I
LC
D
Immediate
Dir
ect
In
di
re
c
t
Bi
t
Wo
rd
Lo
ng W
o
rd
Elemen
t
Slot
•
•
•
•
Mask
•
•
•
•
•
•
•
•
•
Length
•
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive