Clear (clr) -24, 4 clear (clr) ! ! ! ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 156: Program example
Advertising
MotionSuite™ Series Machine Controller Motion Programming Manual
Chapter 4: Sequence Commands
4-24
4.5.4
Clear (CLR)
!
!
!
! Outline
The Clear (CLR) command clears the word data in designated blocks to 0, from the
heading register of the data to be cleared.
!
!
!
! Detailed Explanation
Command Method
Data Type
$ = Yes
× = No
!
!
!
! Program Example
Bit (B)
Integer (W)
32-bit Integer (L)
Real (F)
Constant
Heading of the data to be cleared
×
$
×
×
×
Number of Transfer Blocks
×
$
×
×
$
Type
Motion Program
Ladder Program
B
—
—
W
CLR MW00100 W=10;
SETW MW001000
DW0000 W=10
L
—
—
F
—
—
CLR MW001000
W10;
A
C
A: Heading of the data to be cleared
C: Number of blocks
Advertising