4-5
2.
Function modes 0, 2 and 3
4. TSC Functions
TSC
2-1
Specify and execute STEP No.
To specify STEP No. in the function mode 0, 2 and 3, convert STEP No. into a binary number
and turn ON/OFF the inputs of PI 1 to PI 8.
①
Function mode 0: STEP No.0 to 63
→
PI 0 to PI 5 are used.
②
Function mode 2: STEP No.0 to 255
→
PI 0 to PI 7 are used.
③
Function mode 3: STEP No.0 to 511
→
PI 0 to PI 8 are used.
Turing the STRT ON after specifying it (after 10 ms) will execute the specified STEP No. program.
2-2
How to specify STEP No.
Break down STEP No. into a binary number to obtain the PI to be turned ON.
Break down STEP No. into the sum of the decimal numbers in the above table and then turn the
corresponding PI(s) ON.
Example) To specify STEP No. = 22
22 = 16 + 4 + 2, so turn PI 4 (= 16), PI 2 (= 4), and PI 1 (= 2) ON.
Example) To specify STEP No. = 101
101 = 64 + 32 + 4 + 1, so turn PI 6 (= 64), PI 5 (= 32), PI 2 (= 4) and PI 0 (= 1) ON.
PI
0
1
2
3
4
5
6
7
8
Binary number digits
20
21
22
23
24
25
26
27
28
Decimal number
1
2
4
8
16
32
64
128
256
2-3
How to obtain STEP No. whose operation has been completed
Assuming the PO is equivalent to each binary number digit, convert them into decimal numbers
to obtain STEP No.
Obtain the decimal numbers of the PO being ON from the above table, and add all the numbers
up to determine the STEP No. whose operation has been completed.
Example) When PO 5 (= 32), PO 3 (= 8), PO 1 (= 2) and PO 0 (= 1) are ON
32 + 8 + 2 + 1 = 43, so STEP No. = 43.
Example) When PO 8 (= 256), PO 5 (= 32) and PO 0 (= 1) are ON
256 + 32 + 1 = 289, so STEP No. = 289.
PI
0
1
2
3
4
5
6
7
8
Binary number digits
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
Decimal number
1
2
4
8
16
32
64
128
256
Summary of Contents for TSC Series
Page 98: ...MEMO ...