Chapter 15
Input/Output instructions
IIM
Parameter
Enable
InputType
InputSlot
Sts
ENO
376
IIM executes an immediate input instruction to update the input data without
having to wait until the beginning of the next input scan.
Arguments
Parameter type
Data type
Input
BOOL
Input
USINT
Input
USINT
Output
USINT
Output
BOOL
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function block enable.
When Enable = TRUE, execute function.
When Enable = FALSE, do not execute function.
Type of input:
0 - Embedded input.
1 - Plug-in input.
Input slot:
Used to effectively select or mask which inputs are immediately scanned.
IIM is typically used at the beginning of an interrupt program to get the current inputs.
For embedded input, always 0.
For Plug-in input, input slot is 1,2,3,4,5 (Plug-in slot number, starting with left-most slot = 1).
Immediate input scan status.
See
IIM status codes
on
page
378.
Enable out.
Applies only to LD programs.