beautypg.com

Application program running, Application program runtime fault, Illegal command in block transfer – Rockwell Automation GMLC Reference Manual User Manual

Page 738

background image

Publication GMLC-5.2 - November 1999

Using the Dedicated Discrete Outputs

701

Application Program Running

Running the application program in the motion controller (generated from
a GML Commander diagram and previously downloaded) sets either SLC
input bit 8, or PLC input bit 10. This bit is cleared when the program stops
running. The PLC can use this bit to:

Verify that the program has started or stopped before clearing the run
or stop application program bits.

Disable block transfers when the program is not running.

See Running and Stopping the Program in this chapter and Using Block
Transfers
in this chapter for more information.

Specifically, the application program running output is set whenever the
Program_status General System variable in GML Commander has a value
greater than 0, and is cleared whenever it has a value of 0. See the Status
Variables
chapter of this manual for more information on Program_status.

Application Program Runtime Fault

The application program runtime fault output from the motion controller
(SLC input 9; PLC input 11) is set whenever a runtime fault occurs during
execution of a program by the motion controller.

Specifically, the application program runtime fault output is set whenever
the Runtime_fault General System variable in GML Commander has a
value greater than 0, and is cleared whenever this variable has a value of
0. See the Status Variables chapter of this manual for more information on
Runtime_fault.

Illegal Command in Block Transfer

The illegal command in block transfer output from the motion controller
(SLC input 11; PLC input 13) is set if the last block transfer write to the
motion controller contained an illegal value. See Using Block Transfers in
this chapter for more information.