IOM (immediate output)

Update outputs prior to normal output scan.
Operation details: Typically used at the end of an interrupt program to select or mask which outputs are immediately scanned and updated.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L50E and L70E controllers.
IOM
IOM
IOM parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Instruction block enable.
  • TRUE: Execute instruction
  • FALSE: Do not execute
OutputType
Input
USINT
Identifies the type of output:
  • 0: Embedded output
  • 1: Plug-in output
OutputSlot
Input
USINT
Identifies the output slot:
  • 0: Embedded output
  • 1,2,3,4,5: Plug-in slot number (Slots are numbered from left to right, starting with number 1.)
For embedded output, always 0.
For Plug-in output, output slot is 1,2,3,4,5 (Plug-in slot number, starting with left-most slot = 1).
Sts
Output
USINT
Immediate output scan status.
IOM (Sts) status codes:
  • 0x00: Not enabled (no action taken)
  • 0x01: Input/output scan success
  • 0x02: Input/output type invalid
  • 0x03: Input/output slot invalid
ENO
Output
BOOL
Enable output.
  • TRUE: Output updated
  • FALSE: Output not updated
Applies only to ladder diagram programs.

IOM examples

IOM function block diagram example
IOM function block diagram example
IOM ladder diagram example
IOM ladder diagram example
IOM structured text example
IOM structured text example
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal