System program 19 - monitor rfdr, 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 364

Advertising
background image

342

System Programs • System Program 19 - Monitor RFDR

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

System Program 19 - Monitor RFDR

This program sets the system variable OTMON to the proper value which displays the system variable
RFDR 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: MONRFDR.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

;runtime feedrate RFDR.

;This program is saved as System Program #19 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 RFDR 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 RFDR.

;

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

;none

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

;none

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

;none

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

;Operator Terminal - REQUIRED

;RFDR will be displayed on the operator terminal screen.

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

TITLE "Mon RFDR"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

IF (OTMON = 16) ;If already on,

OTMON = 0 ; turn it off,

ELSE OTMON = 16 ; otherwise activate monitor.

END

Advertising