6) end of block, 7) comments, 6 (6) end of block – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual
Page 94
7 Programming
7.1.2 Block Format
7-6
(6) End of Block
Insert a semi-colon at the end of block. There is no limitation on the number of lines in a block. Code the end of
a block to specify its end.
Always insert Line Feed after the end of a block.
End of Block Coding Example
(7) Comments
Either of the following two formats can be used.
• Code a Character String Enclosed in Double Quotation Marks
A character string enclosed in double quotation marks is interpret as a comment.
Comment Coding Example 1
• Code a Character String after One Double Quotation Mark
The characters from the double quotation mark to a Line Feed (until the Enter key is pressed) are interpret
as a comment.
Comment Coding Example 2
MPS
Motion
subprogram
number
MSEE MPS002;
8.4.5 Motion Subprogram Call (MSEE)
SPS
Sequence
subprogram
number
SSEE SPS002;
8.4.6 Sequence Subprogram Call (SSEE)
Character
Meaning
Application Examples
Reference Section
EXAMPLE
MOV [A1]1000;
̌Moves Axis A1
”
̌Moves Axis A1̍
̌Moves Axis B1̍
̌Moves Axis C1̍
Block end code
MOV [A1]1000
[B1]2000
[C1]3000;
Block end code
Line Feed
Line Feed
“ Character string ”
ZRN [A1]0 [B1]0 [C1]0; ” Zero point return of all axes ”
MVS [A1]100.0 [B1]200.0 [C1]300.0; ” 3-axis linear interpolation ”
Line Feed
“ Character string
“ Zero point return of all axes
ZRN [A1]0 [B1]0 [C1]0;
“ 3-axis linear interpolation
MVS [A1]100.0 [B1]200.0 [C1]300.0;
EXAMPLE
EXAMPLE