6 - 20
6 MOTION PROGRAMS FOR POSITIONING CONTROL
Table 6.1 Instruction Symbol/Character List (Continued)
Symbol/character Function
Description
G
Preparatory function (G-code)
Refer to Section "6.3 G-code List".
L
Subprogram repeat count
Used in M98
M
Auxiliary function (M-code)
Refer to Section "6.4 M-code List".
N
Sequence No.
Indicates a sequence No.
O
Program No.
Indicates a Motion program No.
Dwell timer
Used in G04.
Start program No.
Used in G24.
Subprogram call number
Used in M98, GOSUB/GOSUBE or CALL instruction.
P
Waiting time
Used in TIME instruction.
PB
Parameter block No.
Change the parameter block.
TL
Torque limit value
Change the torque limit value.
+ Addition
- Subtraction
* Multiplication
Division
Used in arithmetic operation commands.
/
Optional block skip
Optional block skip is specified for a block which is
headed by this symbol. (Refer to Section 4.1.4 (3).)
MOD
Remainder
Used in arithmetic operation commands.
(,)
Comment
Gives comment in the inside of parentheses.
[,]
Brackets
Used in conditional expressions.
Variable
#
Device designation
Symbols used for indirect designation.
%
Program end
Indicates the end of a program.
;
Block separation
Indicates separation of blocks.
IF
THEN
ELSE
Condition
GOTO Jump
WHILE
DO
END
Repeat
Used in conditional branch instructions.
EQ
Comparison instruction (=)
NE
Comparison instruction (!=)
GT
Comparison instruction (>)
LT
Comparison instruction (<)
GE
Comparison instruction (>=)
LE
Comparison instruction (<=)
Used in comparison instructions.
OR
Logical operation instruction (OR)
XOR
Logical operation instruction (Exclusive OR)
AND
Logical operation instruction (AND)
Used in arithmetic operation commands.
•
Multiple operators cannot be used in one block.
• Refer to Section 6.11.4 for the setting range of instruction symbols.