Installation manual
Publication 1747-RM001G-EN-P - November 2008
6-8 Program Flow Instructions
Suspend (SUS)
When this instruction is executed, it causes the processor to enter the Suspend
Idle mode and stores the Suspend ID in word 7 (S:7) of the status file. All
outputs are de-energized.
Use this instruction to trap and identify specific conditions for program
debugging and system troubleshooting.
Entering Parameters
Enter a suspend ID number from -32,768 to + 32,767 when you program the
instruction.
When the SUS instruction is executed, the programmed suspend ID, S:7 (word
7), as well as the program file ID, S:8 (word 8), from which the SUS instruction
executed is placed in the system status file.
Immediate Input with Mask
(IIM)
This instruction allows you to update data prior to the normal input scan.
When the IIM instruction is enabled, the program scan is interrupted. Data
from a specified I/O slot is transferred through a mask to the input data file,
making the data available to instructions following the IIM instruction in the
ladder program.
Entering Parameters
Slot - Specify the input slot number and the word number pertaining to the
slot. Word 0 of a slot need not be specified. Fixed and SLC 5/01 processors
can have up to 8 words associated with the slot. The SLC 5/02 and higher
processors can have up to 32 words associated with the slot (0 to 31).
For 16 I/O controllers, O:0/0 to 5 are valid and O:0/6 to 15 are considered
unused outputs. (They do not physically exist). For 32 I/O controllers, O:0/0
to 11 are valid and O:0/12 to 15 are considered unused outputs.
Example
Mask - Specify a hexadecimal constant or register address.
For the mask, a 1 in an input’s bit position passes data from the source
(physical input) to the destination (input image table). A 0 inhibits data from
passing from the source to the destination.
SUS
Suspend
Suspend ID 0
SUS
Output Instruction
Fixed SLC
5/01
SLC
5/02
SLC
5/03
SLC
5/04
SLC
5/05
• •••••
IIM
Immediate Input w/Mask
Slot I:1.0
Mask 0FF00h
Length 1
IIM
Input Instruction
Fixed SLC
5/01
SLC
5/02
SLC
5/03
SLC
5/04
SLC
5/05
• •••••
I:2 Inputs of slot 2, word 0
I:2.1 Inputs of slot 2, word 1
I:1 Inputs of slot 1, word 0