Command Reference
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.
Input number
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
Input condition
Only the equal to condition is available:
Condition Code
== 0
Serial
1 U
Input state
Can be set to either 0 OR 1.
Serial
1 U V
Syntax
Arguments
then
Specifies the action to take:
Setting Code
CALL: Call subroutine
with specified <label>;
when finished, return.
0
GO_TO: Continue from
the specified <label>.
1
Serial
1 U
XtraWare User Manual
125
Summary of Contents for XTRAWARE - V3.0
Page 2: ......
Page 4: ......
Page 12: ......
Page 79: ...Operating the XtraDrive Using XtraWare Table 14 Sample ECAM Table XtraWare User Manual 69 ...
Page 202: ......
Page 220: ......
Page 258: ...List of Operation Codes 248 XtraWare User Manual versions use STOP_EX ...