Division (/) -10, 5 division (/) ! ! ! ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 142: Program example

MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-10
4.2.5
Division (/)
!
!
!
! Outline
The division function performs integer and real number division on the right side, and
stores the result in the register on the left side. For the right-side division, a constant can
also be used instead of the register. Even if the integer and real numbers are mixed, the
result can still be stored by the data type on the left side.
!
!
!
! Detailed Explanation
Command Method
Data Type
!
!
!
! Program Example
Bit (B)
Integer (W)
32-bit Integer (L)
Real (F)
×
$
$
$
Type
Motion Program
Ladder Program
B
—
—
W
MW00102=MW00100/MW00101;
L
ML00106=ML00102/ML00104;
F
MF00202=MF00200/1.23456;
MW
–
=MW
– /
MW
–
;
MW00100/MW00101
⇒MW00101
ML00102/ML00104
⇒ML00106
MF00200/1.23456
⇒MF00202