System program 3 - start, 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 352

Advertising
background image

330

System Programs • System Program 3 - Start

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

System Program 3 - Start

This program will run a motion program by simulating the Start input. Parameters are used to determine
which program to run. If parameters are set to run a specific program, that program will run. If parame-
ters are set to read a program number from the Program Select Inputs, those inputs will be read to deter-
mine which program to run.

Program Listing

;Source File Name: START.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

;run a program by simulating pressing the start input.

;This program is saved as System Program #3 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 simulates the ’Start’ switch input. If the ’Default Run

;Program’ parameter is set to a specific program number, that program is

;run. If parameters are set to read a program number from the program

;select inputs, the select inputs are used to determine which program to

;run.

;

;---------------------------- 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 "Start"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

PGMNUM = 255 ;Setting a program number of 255 causes the IQ to

; check parameters to determine which program to run.

STARTP = ON ;Run the program.

END

Advertising