beautypg.com

Program switching – IAI America XSEL-KE User Manual

Page 286

background image

271

Part 5 Multi-Tasking

5. Program Switching

Various methods are available to switch between programs, depending on the purpose of programs.
The representative methods are explained below.

External start

Program switching

Program

Single-tasking

EXIT command

Multi-tasking

EXPG command

First, the program switching methods are largely divided into switching by external start and switching
by application program.

(1) External start method

5HIHUWR&KDSWHU³2SHUDWLRQ´6WDUWLQJYLD([WHUQDO
6LJQDO6HOHFWLRQLQ3DUW³2SHUDWLRQ´

(2) Program method
{ Single-tasking

Executing an EXIT command (end program) at the end of each program will end the program and
cause the system to return to the condition immediately after the power is turned on. However,
since the home position is retained, another program can be started by an external start input with
the corresponding program number specified.

{ Multi-tasking

Creating a management program and executing EXPG commands (start other program) will allow
a series of programs to be run in parallel.

This manual is related to the following products: