Programmer (HHP) User guide
Chapter 12
Using Program Flow Control Instructions
12–8
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 I0. For 16 I/O controllers, I0/0–9 are valid
and I0/10–15 are considered unused inputs (they do not physically exist).
For 32 I/O controllers, I0/0–15 and I1/0–3 are valid. Specify I1 if you want
to immediately update the last four input bits.
Mask – Specify a Hex constant or register address.
Entering the Instruction
You enter the instruction from within the program monitor functional area.
The following items apply when entering the instruction:
• Whenever you see asterisks on the display, the HHP is waiting for data
entry (i.e., a number).
• You can return to previously entered operands by pressing this key:
Then if you want to edit that operand, press DEL or FUN-DEL and enter
new parameters. Press
ENT to accept the operand and move on to the next
one. Once the entire instruction is entered, if you want to edit the
instruction’s parameters, you must go into the overwrite mode. (See page
17–4.)
P
0 0 7 I I M A D D R
I 0 0 0 0 0 H
P
0 0 7 I I M M A S K
O O O B H
IIM
IMMEDIATE INPUT w MASK
Slot I:O.O
Mask 000B
Execution Times (µ
sec) when:
True False
35.72 6.78
Ladder representation:
Imm
e
diat
e
Input
with
Ma
s
k
(IIM)
8
3
U
ENT
1
FUN
To enter the function code, press: