beautypg.com

Chapter 4. programming – IAI America S-SEL-E User Manual

Page 113

background image

Page 108

3.

Flags

The function of flags is to set and reset data within "Memory." This is analagous 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 can be 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

Chapter 4. Programming

Flag Number

600~887

Global flag: Can be used in all programs

Flag Number

900~999

Local flag: Can be used only within an individual program

This manual is related to the following products: