beautypg.com

Waiting multiple inputs – IAI America ASEL User Manual

Page 311

background image

Part 2 Programs

Chapter 10 Example of Building a System

289

Part 2 Programs

21. Waiting Multiple Inputs

Description

The controller waits for multiple different inputs and performs processing upon reception of any of these

inputs.

Point

A WTON command permits processing only when the specified input is received. The controller cannot

wait for multiple inputs.

Example of Use

Inputs 10 and 11 are monitored, and the actuator will proceed to the next step when either input is

received (OR logic).

Program a

Program b

As shown in the sample, the controller waits for input without using a WTON command.

This method can also be used when multiple input conditions must be combined.

Input 10

Input 11

Next processing

* Both programs a and b perform the same processing.

Next processing

Next processing