
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
182
CTR is used as a counter. Counters are used for various purposes for NC
Machine tools.
Numerical data such as preset values and count values can be used with
either BCD format or binary format by a system parameter.
WARNING
When a incollect BCD data was set to a BCD type counter,
the morement of CTR cannot be sured.
If changing the counter type, be sure to reconfigure the
counter data.
This counter has the following functions to meet various applications.
(a) Preset counter
Outputs a signal when the preset count is reached. The number can
be preset from the CRT/MDI panel, or set in the sequence program.
(b) Ring counter
Upon reaching the preset count, returns to the initial value by issuing
another count signal.
(c) Up/down counter
The count can be either up or down.
(d) Selection of initial value
Selects the initial value as either 0 or 1.
A combination of the preceding functions results in the ring counter
below.
8
1
2
3
45
6
7
Presetting : 8
Initial value : 1
Such a counter permits the position of a rotor to be memorized.
5.9
CTR (COUNTER)
5.9.1
Function