Rockwell Automation 193 Drives and Motion Accelerator Toolkit Quick Start User Manual
Page 86

86
Rockwell Automation Publication IASIMP-QS019E-EN-P - August 2013
Chapter 4
Logic Configuration
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, motion instructions, drive 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 (i.e. "MachineName".Cmd.STOP).
Refer to the Machine Commands rungs located 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.
By default, StopSEQ[0] is initially set to 1 following a Machine STOP command (i.e. "MachineName".Cmd.STOP).
Refer to the Machine Commands rungs located in the R03_Control routine of the Application Module.
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 located in the R02_Monitor routine of the Application module to modify the
conditions that detemine when the Application is STOPPED (i.e. "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.
Refer to the Application Status rungs located in the R02_Monitor routine of the Application module to modify the
conditions that detemine when the Application is STOPPED (i.e. "ApplicationName".Stopped).
(End)
Logic Placeholder
- 150 Drives and Motion Accelerator Toolkit Quick Start 21G Drives and Motion Accelerator Toolkit Quick Start 20G Drives and Motion Accelerator Toolkit Quick Start 20F Drives and Motion Accelerator Toolkit Quick Start 2097 Drives and Motion Accelerator Toolkit Quick Start 2094 Drives and Motion Accelerator Toolkit Quick Start