Waiting for multiple inputs – IAI America XSEL-KE User Manual

Page 319

Advertising
background image

304

Appendix

22. Waiting for Multiple Inputs

Description

The program waits for several different inputs and proceeds with an applicable processing when one of
them is received.

Point

With a WTON command, processing will not proceed unless one of the specified inputs is received, which
means that the program cannot wait for multiple inputs.

Example of Use

The program monitors inputs 10 and 11 and if either one receives an input (OR condition), proceeds to the
next step.

As shown in the sample, you can cause the program to wait for input without using a WTON command.
This way, cases where multiple input conditions must be combined can also be supported.

Input 10

Input 20

Next processing

Program a

Program b

Next processing

Next processing

* Both programs a and b perform the same processing.

Advertising
This manual is related to the following products: