System programs 9-12, System program 13 - monitor vel1, Program listing – 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 358: Appendixes

Advertising
background image

336

System Programs • System Programs 9-12

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

System Programs 9-12

These program locations may be used for other Operator Terminal function key programs as needed.
Future standard Personality Modules may contain default programs in these locations.

System Program 13 - Monitor VEL1

This program sets the system variable OTMON to the proper value which displays the system variable
VEL1 on the top line of the Operator Terminal screen. This display is continuously updated. If this pro-
gram is run again, the display will be cleared. If other Fkey programs using OTMON are run, the dis-
play will switch to monitor the proper variable.

Program Listing

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

;motor velocity VEL1.

;This program is saved as System Program #13 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 will cause VEL1 to be displayed on the top line of the

;operator terminal screen. This monitor display is continuously updated.

;Running this program will act as a toggle. If the monitor display is on,

;it will be turned off. If it is off or monitoring another variable, it

;will turn on and display VEL1.

;

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

;none

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

;none

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

;none

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

;Operator Terminal - REQUIRED

;VEL1 will be displayed on the operator terminal screen.

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

TITLE "Mon VEL1"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

IF (OTMON = 12) ;If already on,

OTMON = 0 ; turn it off,

ELSE OTMON = 12 ; otherwise activate monitor.

END

Advertising