Input_Case - YASKAWA XTRAWARE - V3.0 Manual

Supporting xtradrive versions 3.04 - 3.23
Table of Contents

Advertisement

INPUT_CASE

Table explanation
Group
Program Flow Control
Syntax
INPUT_CASE <input mask> <input state>
Op. Code
97
Modes
Program
Range
<input mask> – 1 to 0x00FFFFFF
<input state> – 0 to 0x00FFFFFF
Description
The program flow is conditional on the state of a combination of
digital inputs. If the condition is True, the next program line is
executed. Otherwise, the next program line is skipped.
<input mask> is used to define which inputs are detected and
which are ignored (1 - detected, 0 - ignored). For example, if
<input mask> is set to 5 (in binary: 0101) only inputs 0 and 2 are
checked; the rest are ignored.
<input state> defines the logical combination to be detected as
True. For example, if <input state> is set to 4 (in binary: 0100),
True means input 0 OFF, input 1 OFF, input 2 ON and input 3 OFF.
Syntax
Input mask
Arguments
Input state
XtraWare User Manual
Input Mask
...
0
0
0
Input State
...
0
0
0
Input mask (decimal value). Defines which
inputs are detected and which are ignored:
Input State (decimal value). A bit string
represents the digital input state. The leftmost
is input 0 related to pin 40 on CN1, etc. The
eighth bit is not in use.
1
0
1
1
0
1
Setting
Ignore the input
Check the input
Serial
4
U
Serial
4
U
Command Reference
Code
0
1
V
V
127

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xtraware 3.0

Table of Contents