Conditional jump – IAI America XSEL-KE User Manual

Page 318

Advertising
background image

303

Appendix

21. Conditional Jump

Description

Select the destination of jump via GOTO by using the status of an external input, output or internal flag as
a condition.
The program waits for multiple inputs and performs a different processing depending on the received input.

Example of Use 1

,ILQSXWLV21WKHSURJUDPMXPSVWR³7$*´If input 10 is OFF, the program performs the next
processing.

Example of Use 2

The program waits for input at two input ports of 10 and 11 and if an input is received by 10, processing a
will be performed. If an input is received by 11, processing b will be performed.

If inputs 10 and 11 are both ON, processing a is performed.

Input 10

Processing a

TAG 1

Processing a

Processing b

If input 10 is ON,
H[HFXWH³*272´

* If input 10 is ON, processing a is skipped and

processing b is performed.
If input 10 is OFF, processing a is performed and then
processing b is performed.

Input 10

Input 11

Processing a

Processing b

Processing a

Processing b

No input.

Input 10 is ON.

Input 11 is ON.

Advertising
This manual is related to the following products: