Athome – 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 204
182
Language Reference • Reference
Publication 1398-PM601A-EN-P — October 2000
WORDS
ATHOME
At Home Flag
Home
Purpose
When the flag is ON it indicates that the motor is within the In-Position window of the
zero position. ATHOME is used in Absolute mode only.
Syntax
variable = ATHOME
variable
The variable may be a nonvolatile flag Bn, a volatile flag Fn, or
another system flag.
Remarks
WINDOW, INPOSN
See Also
Example
IF ATHOME = ON O2 = ON
F1 = ATHOME
Bn
Nonvolatile User Flag
Variable
Purpose
Set a user flag ON or OFF with another flag or constant.
Syntax
Bn = ON/OFF/Fm/Bn
variable = Bn
n, m
The number of the flag. n = 1, 2, 3, ..., 8 or m = 1, 2, 3, ..., 64.
variable
Variable may be a nonvolatile flag Bn, a volatile flag Fn, or
another system flag.
Remarks
The changes made to Bn remain in effect even after the power is turned OFF. Changes
made to Bn by one program will be seen by other programs.
TIP: Variables can be assigned names using the ASSIGN command and then refer-
enced by those names to make the program easier to read.
See Also
Gn, Fn, Vn
Example
B1 = ON
B2 = OFF
IF B1 = ON MOVD = 2
B3=F63