beautypg.com

Part 2 programs, Chapter 1 sel language data, Part 2 – IAI America PSEL User Manual

Page 85: Programs, Chapter 1, Sel language data, Values and symbols used in sel language, List of values and symbols used, Caution

background image




75

Part 2 Programs

Part 2 Programs

Chapter 1 SEL Language Data

1. Values and Symbols Used in SEL Language

1.1 List of Values and Symbols Used

The various functions required in a program are represented by values and symbols.

Function

Global range

Local range

Remarks

Input port

000 ~ 299 (300)

Varies depending on the
function.

Output port

300 ~ 599 (300)

Varies depending on the
function.

Flag

600 ~ 899 (300)

900 ~ 999 (100)

Variable (integer)

200 ~ 299 (100)

1200 ~ 1299 (100)

1 ~ 99 (99)

1001 ~ 1099 (99)

99 is used for IN, INB,
OUT, OUTB, etc.

Variable (real)

300 ~ 399 (100)

1300 ~ 1399 (100)

100 ~ 199 (100)

1100 ~ 1199 (100)

199 is used for PPUT,
PGET, PARG, etc.

String

300 ~ 999 (700)

1 ~ 299 (299)

Tag number

1 ~ 256 (256)

Subroutine number

1 ~ 99 (99)

Zone number

1 ~ 4 (4)

Pallet number

1 ~ 10 (10)

Axis number

1 ~ 2 (2)

Varies depending on the
function.

Axis pattern

0 ~ 11

Position number

1 ~ 1500 (1500)

Program number

1 ~ 64 (64)

Step number

1 ~ 2000 (2000)

Task level

NORMAL/HIGH (2)

SIO channel number

0 (1)

Wait timer

1

1-shot pulse timer

16 (Number of timers that

can be operated

simultaneously)

Ladder timer

Local flag (100)

Virtual input port (SEL

system

 SEL user

program)

7000 ~ 7299 (300)

Virtual output port (SEL user

program

 SEL system)

7300 ~ 7599 (300)

Number of symbol definitions

500

Number of times symbol can

be used in commands

2500 (including literals)

Used in common from any

program.

Referenced separately in
each program.
Cleared when the program
is started.

 Variables 99 and 199 are special variables this system uses in operations.

Avoid using these two variables for general purposes.

 The values in the table represent ranges that can be processed by software.

Items that require physical devices, such as I/O ports and functions relating
to axis number and SIO, will be determined by possible combinations and
models of commercial boards, etc., available for each device application.

Caution