How a routine executes, How a routine executes -6, Controlling a routine -6 – Rockwell Automation 1753-PCS-PAR Using RSLogix Guard PLUS! with GuardPLC Controllers User Manual

Page 70: Controlling a routine

Advertising
background image

Publication 1753-UM001B-EN-P - November 2005

4-6 Check, Download, Start, and Test a Routine

How a Routine Executes

A controller has only one routine. A routine can be in any one of
these states:

Controlling a Routine

You can control a routine using the actions described below:

Routine State

Description

RUN_RUN

The controller is in the RUN mode.

• The routine is executed cyclically by the controller.

• Input data are processed in the routine.

• Output data of the routine are operated.

RUN_FREEZE

The controller is in the RUN mode.

• The routine is not executed.

• No input data are processed by the routine.

• No output data of the routine are operated.

IMPORTANT: This mode is not permissible for safety-related
operation!

STOP

The controller is in the STOP mode.

• The routine is not (no longer) executed.

• All outputs have been reset.

FAILURE_STOP

The controller is in the STOP mode.

• The routine was stopped due to an error.

• All outputs have been reset.

Control Action

Description

Start the routine from STOP

Starting the routine is the same as transferring the controller from the STOP mode into the RUN mode. The
routine is then transferred into the RUN_RUN mode. If Freezing is activated while starting, the routine will
be in the RUN_FREEZE mode. However, freeze operation is only possible if the Freeze Enable software
switch has been enabled. In addition to starting in freeze mode, cold start is also possible.

Starting a routine is only possible when both the controller restart switch and the routine restart switch
are enabled.

Start the routine from RUN

The routine is transferred into the RUN_RUN mode if it has not already been operating in this mode.
Starting is also possible in cold start, hot start, and no-freeze modes.
IMPORTANT: This function is not allowed for safety operations of the controller!

Single cycle the routine

The routine must be in the RUN_FREEZE mode. Exactly one RUN cycle of the routine is executed, and the
routine is then put back into the RUN_FREEZE mode. The command for the single cycle is the start
command with the attributes hot start and freeze. This does not have any effect on the mode of the
controller. Single cycle is only performed by the controller for the routine if freeze mode is enabled.
IMPORTANT: This function is not allowed for safety operations of the controller!

Restart the routine

If the routine is in the FAILURE_STOP mode, it can be restarted via the programming software using a start
command. After the restart, the entire routine is checked again.

Stop the routine

Stopping the routine is the same as transferring the controller from RUN mode into STOP mode. The
routine is then transferred from RUN into the STOP mode.

Freeze the routine

The routine is transferred from the RUN_RUN mode into the RUN_FREEZE mode. This does not affect the
mode of the controller. Freeze mode must be enabled for the routine.
IMPORTANT: This function is not allowed for safety operations of the controller!

Advertising
This manual is related to the following products: