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

Page 140
EXPG (Start another program)
[Function]
Starts another program and processes it in parallel.
When that program (task) has been started, the port and flag in the post section is output.
[Example]
EXPG
2
Start program No. 2 and process it in parallel.
2-5 Program Control Commands
EXIT (Exit Program)
After this step, program 1 and
program 2 run in parallel.
Chapter 4. Programming
Start
[Function]
Finishes the program.
* The status when the program is complete
• Output Port ..................... Valid
• Local Flag .................... Invalid
• Local Variable .............. Invalid
• Current Value ................. Valid
• Global Flag ..................... Valid
• Global Variable ............... Valid
[Example]
EXIT
Finish the program.
E x p a n s i o n
c o n d i t i o n
( A N D · O R )
I n p u t
c o n d i t i o n
( I / O · F l a g )
C o m m a n d
P o s t
( O u t p u t p o r t · F l a g )
C o m m a n d
O p e r a n d 1
O p e r a n d 2
O p t i o n a l
O p t i o n a l
E X I T
E x p a n s i o n
c o n d i t i o n
( A N D · O R )
I n p u t
c o n d i t i o n
( I / O · F l a g )
C o m m a n d
P o s t
( O u t p u t p o r t · F l a g )
C o m m a n d
O p e r a n d 1
O p e r a n d 2
O p t i o n a l
O p t i o n a l
E X P G
P r o g r a m n o .
O p t i o n a l
Program 1
EXPG 2
Program 2