System program 14 - monitor posn, 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 359

Advertising
background image

System Programs • System Program 14 - Monitor POSN

337

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

System Program 14 - Monitor POSN

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

;feedback position POSN.

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

;

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

;none

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

;none

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

;none

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

;Operator Terminal - REQUIRED

;POSN will be displayed on the operator terminal screen.

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

TITLE "Mon POSN"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

IF (OTMON = 2) ;If already on,

OTMON = 0 ; turn it off,

ELSE OTMON = 2 ; otherwise activate monitor.

END

Advertising