TOMATECH AUTOMATION
G65 H27 P#I Q#J R#K
(Example) G65 H27 P#101 Q#102 R#103; (#101 =
#1022 +#1032 )
16) Sine: # I = # J•SIN(# K) (Unit: ‰)
G65 H31 P#I Q#J R#K
(Example) G65 H31 P#101 Q#102 R#103; (#101 = #102•SIN(#103) )
17) Cosine: # I = # J•COS(# K) (Unit: ‰)
G65 H32 P#I Q#J R# k
(Example) G65 H32 P#1Q#102 R#103; (#101 =#102•COS(#103) )gramming
18) Tangent: # I = # J•TAM(# K) (Unit: ‰)
G65 H33 P#I Q#J R# K
(Example) G65 H33 P#101 Q#102 R#103; (#101 = #102•TAM(#103) )
19) Cosine: # I = ATAN(# J /# K) (Unit: ‰)
G65 H34 P#I Q#J R# k
(Example) G65 H34 P#101 Q#102 R#103; (#101 =ATAN(#102/#103) )
2 Jump commands
1) Unconditional jump
G65 H80 Pn; n: Block number
(Example) G65 H80 P120; (jump to N120)
2) Conditional jump 1 #J.EQ.# K ( = )
G65 H81 Pn Q#J R# K; n: Block number
(Example) G65 H81 P1000 Q#101 R#102;
The program jumps N1000 when # 101= #102 and executes in order when #101 ≠#102.
3) Conditional jump 2 #J.NE.# K ( ≠ )
G65 H82 Pn Q#J R# K; n: Block number
(Example) G65 H82 P1000 Q#101 R#102;
The program jumps N1000 when # 101 ≠ #102 and executes in order when #101 = #102.
4) Conditional jump 3 #J.GT.# K ( > )
G65 H83 Pn Q#J R# K; n: Block number
(Example) G65 H83 P1000 Q#101 R#102;
The program jumps N1000 when # 101 > #202 and executes in order when #101 ≤
#102.
5) Conditional jump 4 #J.LT.# K ( < =)
G65 H84 Pn Q#J R# K; n: Block number
(Example) G65 H84 P1000 Q#101 R#102;
The program jumps N1000 when # 101<#102 and executes in order when #101≥#102.
6) Conditional jump 5 #J.GE.# K ( ≥ )
G65 H85 Pn Q#J R# K; n: Block number
(Example) G65 H85 P1000 Q#101 R#102;
The program jumps N1000 when # 101 ≤ #1 and executes in order when #101 < #102.
7) Conditional jump 6 #J.LE.# K ( ≤ )
G65 H86 Pn Q#J R# K; n: Block number
(Example) G65 H86 P1000 Q#101 R#102;