Substitution (=) -6, 2 arithmetic calculations, 1 substitution (=) ! ! ! ! outline – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 138: Detailed explanation, Program examples

MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-6
4.2
Arithmetic Calculations
In this section, the Arithmetic Calculation commands are explained.
4.2.1
Substitution (=)
!
!
!
! Outline
Substitute the calculation result on the right side with the register on the left side.
Priorities for the arithmetic calculations and the logical calculations vary. Refer to items
4.1.2 Arithmetic Calculation Combinations and 4.1.3 Logical Calculation Combinations
for details.
!
!
!
! Detailed Explanation
Command Method
Data Type
!
!
!
! Program Examples
Bit (B)
Integer (W)
32-bit Integer (L)
Real (F)
$
$
$
$
Type
Motion Program
Ladder Program
B
MB001000=1;
W
MW00100=12345;
L
ML00100=1234567;
F
MF00100=1.2345;
(Results) = (Calculation Format);
$
SB000004
MB001000
12345
⇒MW00100
1234567
⇒ML00100
1.2345
⇒MF00100