Jump, Jvel – 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 251

Advertising
background image

Language Reference • Reference

229

Publication 1398-PM601A-EN-P — October 2000

WORDS

JUMP

Jump

Program Structure

Purpose

Transfer program execution to the instruction following the label.

Syntax

JUMP = label

label

The label must be located within the same program as the jump
but may be located before or after the jump statement.

Remarks

The label must be located within the same program as the jump but may be located
before or after the jump statement.

See Also

LABEL, SUB

Example

Begin:

... statements

JUMP BEGIN

JMP LABEL1

... statements

LABEL1:

JVEL

Jog Velocity

Velocity

Purpose

Set the Jog velocity.

Syntax

JVEL = value
variable =
JVEL

value

The value is specified in user units per user Timebase. User
units are defined by the SCALE parameter. Value can be a con-
stant, a nonvolatile variable Gn, a volatile variable Vn, or a sys-
tem variable.

variable

The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.

Remarks

By default, Jog velocity is set to 0 in a program unless the program contains a JVEL
statement. Setting Jog velocity to 0 has the same effect as disabling the Jog inputs.
Once the program is stopped, the Jog velocity will return to what it was before the pro-
gram was run. After executing a MOVV move, JVEL will be changed to the value of
the MOVV statement.

Changes made to this variable by a program are only in effect while the program is
running. When the program ends it will return to the value stored in the Personality
Module. If no change is made to this variable by the program, the value in the Person-
ality Module is used. The value in the Personality Module is set in the Parameter
menu, Velocity/Accel dialog box.

See Also

VEL, HVEL, JOGF, JOGR, MOVV, JACCEL, JDECEL

Example

JVEL = 10

;establish a jog speed of 10

V3 = JVEL

Advertising