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 225
Language Reference • Reference
203
Publication 1398-PM601A-EN-P — October 2000
WORDS
Fn
Volatile User Flag
Variable
Purpose
Set a user flag ON or OFF with another flag, or a constant.
Syntax
Fn = ON/OFF/Fn/Bm
variable = Fn
n, m
The number of the flag. n = 1, 2, 3, ..., 64. m = 1, 2, 3,
…
, 8
variable
Variable may be a nonvolatile flag Bn, a volatile flag Fn, or a
system flag.
Remarks
The changes made to Fn remain in effect as long as power is maintained. On power-up
or HRESET all Fn flags are set to OFF. If a flag needs to be maintained during a power
failure use a Bn flag. Changes made to Fn flags 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, Bn, Vn
Example
F1 = ON
F2 = OFF
IF F1 ON MOVD = 5