Input_case – Yaskawa FSP Amplifier FlexWorks User Manual

Page 142

Advertising
background image

Command Reference

142

INPUT_CASE

G

ROUP

Program Flow Control

S

YNTAX

INPUT_CASE <input mask> <input state>

O

P

. C

ODE

97

M

ODES

Program

R

ANGE

<input mask> – 1 to 0x00FFFFFF
<input state> – 0 to 0x00FFFFFF

D

ESCRIPTION

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+2 are checked; the rest
are ignored.

Input Mask

…. 0 0 0 1 0 1

<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.

Input State

…. 0 0 0 1 0 1

S

YNTAX

A

RGUMENTS






Input mask

Input mask (decimal value). Defines
which inputs are detected and which
are ignored:

Setting Code

Ignore the input

0

Check the input

1

Serial

4 U V

Advertising
This manual is related to the following products: