3
– 11
Tag No.
In sequential mode, the tag No. (1 to 999) can be written in steps from No. 0001 to No. 2000.
Tag Nos. have the following uses:
(1) Designating the step to jump to in a JMP command.
(2) Fetching a subroutine. Enter a tag No. at the beginning of a subroutine, then you can
fetch it by using a subroutine call command. To end a called subroutine, enter RET.
(3) Selecting a program No. A tag No. (1 to 8) can be selected by PSEL (program selection)
command as a program No.
Counter
A counter (01 to 99) is a type of variable. Counter contents can be added or subtracted in a
rate of 0 to 9999. In the above example, counter No. 01 is defined at step 0006, and the
counter initial value is set to 1.
Timer
Four timers can be used to count time. The maximum value is 999.9 seconds. In the above
example, timer No. 1 is used at program step No. 0008, and a 5-second wait is set.
[
P
R
G
M
]
0
0
0
8
T
I
M
P [
1
]
=
0
0
5
.
0
s
[
P
R
G
M
]
0
0
0
6
C
N
T [
0
1
]
=
0
0
0
1
[
P
R
G
M
]
0
0
0
2
T
A
G 0
0
1
Tag No.
Counter initial value
Counter No.
Timer No.
Timer initial value
Summary of Contents for CA20-M10
Page 2: ......
Page 14: ...XII 21 6 Spare parts 21 5 21 6 1 Controller spare parts 21 5 21 6 2 Axis spare parts 21 5...
Page 24: ...1 10 This page is blank...
Page 104: ...4 20 This page is blank...
Page 112: ...5 8 This page is blank...
Page 152: ...7 20 This page is blank...
Page 190: ...10 20 This page is blank...
Page 234: ...11 44 This page is blank...
Page 244: ...12 10 This page is blank...
Page 286: ...15 4 This page is blank...
Page 300: ...17 12 This page is blank...
Page 352: ...18 52 This page is blank...
Page 382: ...21 6 This page is blank...
Page 383: ......
Page 384: ...Back cover Q3178E 03 APR 20...