User Manual

7. Description of the commands
7−21
Festo P.BE−SPC200−EN en 0901d
7.2.5 Flag Fn
In the SPC200 64 flags can be used for controlling the
program sequence. They have the identifier Rn {n=0...63},
are 1−bit variables and can accept the values 0 or 1.
Flags are saved remanently, i.e. they are saved in the event of
Power−off and loaded back into the work memory with
Power−on.
The
flags can be read and overwritten with the MMI and
WinPISA.
The flags can be modified within a program or via the field
bus
1)
, i.e. they can be read and overwritten.
1)
For PROFIBUS this applies only as from operating system
version 4.63 together with the PROFIBUS software ver
sion2.0. For DeviceNet as from operating system 4.90 to
gether with the software version as from 2.01 (DN2). Inter
bus does not permit this feature.
The flags are used in conjunction with the following NC com
mands
for influencing the program sequence.
NC
command
Function Register
contents
As from operating
system version
#S Set flag 1 3.8
#R Reset flag 0 3.8
#T Test flag 1 or 0 3.8
#TN Test flag 1 or 0 3.8
New feature
as from OS 4.63