beautypg.com

Suspend (sus), Entering parameters – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 341

background image

Chapter 25
Control Instructions

25–9

Important: Use of this instruction inside a nested subroutine or interrupt

subroutine terminates execution of all nested subroutines.

Suspend

SUS

Output Instruction

(SUS)

SUS

SUSPEND
Suspend ID

1

F1

F2

F3

F4

F5

ZOOM on SUS –(SUS)– 2.3.0.0.2
NAME: SUSPEND
SUS ID: 1

EDT_DAT

HHT Ladder Display:

HHT Zoom Display:

Ladder Diagrams and APS Displays:

(online monitor mode)

This instruction, when the rung is true, places the controller in the Suspend
Idle mode. The suspend ID is placed in word 7 (S:7) of the status file. The
suspend file (program or subroutine number identifying where the executed
SUS instruction resides) is placed in word 8 (S:8) of the status file. All
outputs are de-energized.

This instruction can be used to trap and identify specific conditions for
program debugging and system troubleshooting.

Entering Parameters

SUSPEND ID – an integer in the range of –32,768 to 32,767 that is entered
when the instruction is programmed.

When the SUS instruction is executed, the programmed ID as well as the
program file ID from which the SUS instruction executed is placed in the
system status file.

Suspend (SUS)