beautypg.com

Flags – IAI America DS-S-C1 User Manual

Page 12

background image

10

3.

Flags

The function of flags is to set and reset data within "Memory." This is analogous to "internal relays" or "coils" in a PLC.

In general, there are two (2) types of flags: Global flags 600 ~ 887 which can be used in all programs and local flags 900 ~ 999 which
can be used only in individual programs.

Global flags are saved when the power is turned OFF (battery backup). Local flags are erased when the power is turned OFF.

Program 1

Program n

WTON 600

Communicates signals
by using global flags
which are visible in all
programs.

Turn Flag 600 ON

Waiting for Flag 600 to turn ON

Even though these are the same
command, these local flags exist
individually in each program.

BTON 900

BTON 900

BTON 600

3.

Flags

r

e

b

m

u

N

g

a

l

F

7

8

8

~

0

0

6

s

m

a

r

g

o

r

p

ll

a

n

i

d

e

s

u

e

b

n

a

C

:

g

a

l

f

l

a

b

o

l

G

r

e

b

m

u

N

g

a

l

F

9

9

9

~

0

0

9

m

a

r

g

o

r

p

l

a

u

d

i

v

i

d

n

i

n

a

n

i

h

t

i

w

y

l

n

o

d

e

s

u

e

b

n

a

C

:

g

a

l

f

l

a

c

o

L