Instruction Manual
Language Reference • Reference 281
Publication 1398-PM601A-EN-P — October 2000
WORDS
WINDOW
In-Position Window System
Purpose Change the present In-Position Window used in the program.
Syntax WINDOW = value
variable = WINDOW
value Specifies a distance around the commanded position in user
units. User units are defined by the SCALE parameter. The dis-
tance 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 The WINDOW setting in conjunction with the In-Position mode determine the opera-
tion of the INPOSN flag and the In-Position output (Output 07 if assigned). If the
In-Position mode is set to relative, when the Following Error (FE) is less than WIN-
DOW, the INPOSN flag is set ON and the INPOSN output is turned ON if assigned. If
the In-Position mode is set to Absolute, motion will also have to be stopped for the
flag and the output to be set. The In-Position mode is set in the Parameter menu, Out-
puts dialog box.
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, Gains/Limits dialog box.
See Also INPOSN
Example
WINDOW = 0.005
WINDOW = V7
WNUM
Warning Number System
Purpose Currently active warning number.
Syntax variable = WNUM
variable Variable can be a nonvolatile flag Bn, a volatile flag Fn, or
another system flag.
Remarks Refer to the appendix “Error Messages” on page 418 for a list of errors.
See Also EFLAG, ENUM, WFLAG, SYSERROR, SYSWARN
Example V4 = WNUM