beautypg.com

5 flag fn, Flag fn – Festo Кабели и принадлежности User Manual

Page 287

background image

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