Instruction Manual

Language Reference Reference 217
Publication 1398-PM601A-EN-P October 2000
WORDS
HVEL
Home Velocity Home
Purpose Set the velocity used by the Home program.
Syntax HVEL = value
variable = HVEL
value The velocity in user units per user Timebase. User units are
defined by the SCALE parameter. Value can be a constant, a
nonvolatile variable Gn, a volatile variable Vn, or a system
variable.
variable The variable may be a nonvolatile variable Gn, a volatile vari-
able Vn, or a system variable.
Remarks 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 JVEL, VEL, Appendix A, System Programs
Example
HVEL = 10
G4 = HVEL
Im
Input Inputs
Purpose Read or test a digital input.
Syntax variable = Im
m The number of the input: m = 1, 2, ,16. If the controller is
equipped with an I/O Expansion card or a Memory and I/O
Expansion card, m = 1, 2, ,48.
Remarks
See Also Om
Example
F1 = I1
IF I1 = ON
WAIT I1 = ON