System program 4 - stop, Program listing, Appendixes – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 353

Advertising
background image

System Programs • System Program 4 - Stop

331

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

System Program 4 - Stop

This program stops motion and program execution by setting the system flag STOP. This duplicates the
action of activating the X-Killmotion input or sending the X host command.

Program Listing

;Source File Name: STOP.QPS

;Version: 3.00

;Tested with IQMaster Version: 3.00

;Tested with IQ firmware Version: 3.00

;------------------------------ Description ------------------------------

;This is the default operator terminal function key program to stop motion

;and program execution.

;This program is saved as System Program #4 in standard personality modules.

;It may also be saved as any Function Key System Program (range is 1-24).

;The source is NOT saved in standard personality modules.

;

;This program stops motion and program execution. It duplicates the

;action of the X-Killmotion input and the ’X’ host command.

;

;---------------------------- Variables used -----------------------------

;none

;-------------------------------- Inputs ---------------------------------

;none

;-------------------------------- Outputs --------------------------------

;none

;---------------- Optional Accessories Required/Supported ----------------

;Operator Terminal - SUPPORTED

;An operator terminal function key may be used to run this program.

;----------------------------- Begin Program -----------------------------

TITLE "Stop"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

STOP = ON ;Set the system flag STOP. This stops motion and

; program execution. This duplicates the action of

; the X-Killmotion input or the ’X’ host command.

END

Advertising