If_Input - YASKAWA XTRAWARE - V3.0 Manual

Supporting xtradrive versions 3.04 - 3.23
Table of Contents

Advertisement

IF_INPUT

Table explanation
Group
Program Flow Control
Syntax
IF_INPUT <input number> <input condition> <input state>
<then> <label>
Op. Code
108
Modes
Program
Range
Input number 0 to 7 and 8 to 24 (depending on Option board type,
if any).
Description
The program flow is conditional on the state of a digital input. If
the condition is True, the action specified by <then> will occur.
Otherwise, the next program line is executed.
Syntax
Input number
Arguments
Input condition
Input state
then
XtraWare User Manual
Digital input number according to the pin
on CN1. Pin 40 is related to <input
number>, 0 and 41 to 1, etc.
Serial
1
U
Only the equal to condition is available:
Condition
==
Serial
1
U
Can be set to either 0 OR 1.
Serial
1
U
Specifies the action to take:
Setting
CALL: Call subroutine
with specified <label>;
when finished, return.
GO_TO: Continue from
the specified <label>.
Serial
1
U
Command Reference
Code
0
V
Code
0
1
125

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xtraware 3.0

Table of Contents