Suspend (Sus); Entering Parameters; Immediate Input With Mask (Iim) - Allen-Bradley SLC 500 Series Reference Manual

Hide thumbs Also See for SLC 500 Series:
Table of Contents
6-8
Program Flow Instructions

Suspend (SUS)

SUS
SUS
Suspend
Suspend ID
Fixed SLC
SLC
SLC
5/01
5/02
5/03
Output Instruction
Immediate Input with Mask
(IIM)
IIM
IIM
Immediate Input w/Mask
Slot
I:1.0
Mask
0FF00h
Length
Fixed SLC
SLC
SLC
5/01
5/02
5/03
Input Instruction
Publication 1747-RM001G-EN-P - November 2008
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.
0

Entering Parameters

SLC
SLC
5/04
5/05
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.
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
1
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).
SLC
SLC
5/04
5/05
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
I:2
I:2.1
I:1
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.
Inputs of slot 2, word 0
Inputs of slot 2, word 1
Inputs of slot 1, word 0
Table of Contents
loading

Table of Contents