beautypg.com

Pausing and resuming the program – Rockwell Automation GMLC Reference Manual User Manual

Page 734

background image

Publication GMLC-5.2 - November 1999

Using the Dedicated Discrete Inputs

697

Program Listing Report

PLC-5/30

Rung 2:0
|

Program

Run

|

| Run/Stop

Running

Program |

|

I:002

I:051

O:051 |

+----] [------]/[-------------------------------------------------( )--+
|

17

10

04 |

Rung 2:1
|

|

|

Program

Stop

|

|

Run/Stop

Running

Program |

|

I:002

I:051

O:051 |

+----]/[-------] [------------------------------------------------( )--+
|

17

10

05 |

When the run/stop input to the PLC (

I:002/17

) is activated, the run

application program bit in the motion controller is set, starting the
program. Then, when the motion controller confirms that the application
program is running by setting the application program running bit, the run
application program bit is cleared. When the run/stop input is deactivated,
the stop application program bit in the motion controller is set, stopping
the program. Then, when the motion controller confirms that the
application program is no longer running by clearing the application
program running bit, the stop application program bit is cleared.

Pausing and Resuming the Program

Setting SLC or PLC bit 6 pauses the application program running in the
motion controller (generated from a GML Commander diagram and
previously downloaded).

Note: Only the program pauses. Any ongoing machine motion—

caused, for example, by a Jog or a Move function block—
continues until the end of that program block.

Clearing this bit resumes the application program from where it was
paused. If the application program is not running, the motion controller
ignores this input.