beautypg.com

Rockwell Automation IASIMP Computer Numerical Control (CNC) Machining Accelerator Toolkit Quick Start User Manual

Page 124

background image

124

Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012

Chapter 4

GuardLogix Configuration

Figure 12 - Stop Sequence Template

The stop sequence is initiated by a machine STOP command via the stop logic in the R03_Control routine of
the application module. By default, the stop sequence is initiated by placing a value of 1 in the StopSEQ[0] tag.
When the StopSEQ[0] tag is set to 1, the first step in the stop sequence is executed, starting the stop sequence.
Each of the rungs in stop sequence provides a placeholder where application specific step logic can be inserted.
The stop sequence logic may include, for example, CNC commands and/or other conditional diagnostic logic.

============================================

STOP SEQUENCE

============================================

5

NOP

============================================

STOP SEQUENCE

============================================

SEQUENCE INITIATE

This rung is a placeholder where Application specific logic can be inserted.

By default, StopSEQ[0] is initially set to 1 following a Machine STOP command (that is, "MachineName".Cmd.STOP).

Refer to the Machine Commands rungs in the R03_Control routine of the Application Module.

6

e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e
e

Equal
Source A

StopSEQ[0]

0

Source B

1

EQU

Move
Source

10

Dest

StopSEQ[0]

0

MOV

SEQUENCE INITIATE

This rung is a placeholder where Application specific logic can be inserted.

SEQUENCE PLACEHOLDER

This rung is a placeholder where Application specific logic can be inserted.

This rung can easily be dulpicated if addtional sequence steps are needed.

7

e
e
e
e
e
e
e
e
e
e
e
e
e
e

Equal
Source A

StopSEQ[0]

0

Source B

10

EQU

Move
Source

20

Dest

StopSEQ[0]

0

MOV

SEQUENCE PLACEHOLDER

This rung is a placeholder where Application specific logic can be inserted.

This rung can easily be dulpicated if addtional sequence steps are needed.

SEQUENCE COMPLETE

By default, the Application is STOPPED when StopSEQ[0] reaches 999.

Refer to the Application Status rungs in the R02_Monitor routine of the Application module to modify the

conditions that detemine when the Application is STOPPED (that is, "ApplicationName".Stopped).

8

Equal
Source A

StopSEQ[0]

0

Source B

20

EQU

Move
Source

999

Dest

StopSEQ[0]

0

MOV

SEQUENCE COMPLETE

By default, the Application is STOPPED when StopSEQ[0] reaches 999.

(End)

Logic Placeholder