Command
Description
Range
Min.
Max.
C
O
U
N
T
E
R
M26
* GENERAL-PURPOSE COUNTER EQUAL JUMP
If the counter value is equal to the designated number after "M29" is
executed, jump to the designated step. Otherwise, go to the next step.
0
95
[Example]
File Step Code
Data
Description
00
13
M23
+00000
Initial value of counter0 is set in "0"
00
14
G00
+1000
Move 10.00 mm
00
15
M24
+0
Counter0 up by 1
00
16
M29
+00100
Compare counter0 with 100
00
17
M26
+19
If equal 100, go to step 19
00
18
M50
+14
If not equal 100, then go to step 14
00
19
M30
Program end
M27
* GENERAL-PURPOSE COUNTER ABOVE JUMP
If the counter value is greater than the designated number after "M29" is
executed, jump to the designated step. Otherwise, go to the next step.
0
95
[Example]
File Step Code
Data
Description
00
13
M23
+00000
Initial value of counter0 is set in "0"
00
14
G00
+1000
Move 10.00 mm
00
15
M24
+0
Counter0 up by 1
00
16
M29
+00100
Compare counter0 with 100
00
17
M27
+19
If greater than 100, go to step 19
00
18
M50
+14
If not, go to step 14
00
19
M30
Program end
M28
* GENERAL-PURPOSE COUNTER BELOW JUMP
If the counter value is less than the designated number after "M29" is
executed, jump to the designated step. Otherwise, go to the next step.
0
95
[Example]
File Step Code
Data
Description
00
13
M23
+00000
Initial value of counter0 is set in "0"
00
14
G00
+1000
Move 10.00 mm
00
15
M24
+0
Counter0 up by 1
00
16
M29
+00100
Compare counter0 with 100
00
17
M28
+14
If less than 100, go to step 14
00
18
M30
Program end
M19
* COUNTER SET BY EXTERNAL DECIMAL ROTARY SWITCH (optional)
The initial value of designated general-purpose counter (0~3) is set by
external decimal rotary switch speed unit. The setting value means the
counter number to be initialized.
0
3
Summary of Contents for Tango-B series
Page 68: ......
Page 111: ...APPENDIX ...