System program 2 - jog reverse, 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 351

Advertising
background image

System Programs • System Program 2 - Jog Reverse

329

Publication 1398-PM601A-EN-P — October 2000

APPENDIXES

TITLE "Jog Fwd"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

JOGF = ON ;Initiate jog motion

WAIT FNACTIVE = OFF ;Wait for release of key

JOGF = OFF ;Stop jog motion

END

System Program 2 - Jog Reverse

This program activates jog motion in the reverse direction. Motion will continue as long as the Fkey is
pressed. When the Fkey is released, motion will stop. The Jog Velocity, Jog Acceleration, and Jog
Deceleration parameters are used for jog motion. NOTE: Run this program only by pressing an Fkey.
This program will not cause any motion if run using the FNPGM or SRUN commands.

Program Listing

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

;jog in the reverse direction.

;This program is saved as System Program #2 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 initiate jog motion in the reverse direction using the

;Jog Velocity, Jog Accel,and Jog Decel parameters.

;This program simulates activating the Jog Reverse input.

;

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

;none

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

;none

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

;none

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

;Operator Terminal - REQUIRED

;An operator terminal function key is used to run this program and initiate

;jog motion. Motion will stop when the key is released.

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

TITLE "Jog Rev"

PGMTYPE = FKEYPGM;Set compiler options

DEBUG = OFF

JOGR = ON ;Initiate jog motion

WAIT FNACTIVE = OFF ;Wait for release of key

JOGR = OFF ;Stop jog motion

END

Advertising