Yaskawa FSP Amplifier FlexWorks User Manual

Page 155

Advertising
background image

Command Reference

155

Operation

Available operations:

Operator Code

* 6

/ 7

MOD 8

+ 9

- 10

AND 13

XOR 14

OR 15

Serial 1 U



S

YNTAX

A

RGUMENTS

(C

ONT

.)

Value

Long type.

Serial 4 V

E

XAMPLE

LABEL 1
SET_VAR Var_01 8192
MATH ECAM_Shift =
Actual_position_registration / Var_01
ECAM_ENGAGE 1 Non Cyclic
END

E

XAMPLE

E

XPLANATION

The ECAM_SHIFT variable is calculated by dividing the
Actual_position_registration by the value of Var_01.
For example, if Actual_position_registration is 19300,
ECAM_SHIFT will be set to 2, since 19300 / 8192 =
2.36 and only the integer part is considered.

S

EE

A

LSO

SET_VAR

Advertising
This manual is related to the following products: