- 62 -
8-2. ADDRESS COUNTER Function
(1) In order to control current address, the ADDRESS COUNTER offers absolute address of the output pulse from
the MCC05v2.
(2) The count data can be read from the DRIVE DATA1, 2 and 3 PORTs any time you want (as long as the ADDRESS
COUNTER PORT is selected).
The ADDRESS READ command can also be used for reading the data.
The data guarantee range is pulse area of +8,388,607 to -8,388,607.
(3) The counter value is reset to 0 at POWER ON/RESET.
Using the ADDRESS INITIALIZE Command allows you to set optional value on the counter.
8-3. PULSE COUNTER Function
(1) Pulse counting function
a. The PULSE COUNTER offers counting of output pulse or external input clock to the MCC05v2.
b. Count data can always be read out from DRIVE DATA1, 2 and 3 PORT.
The data guaranty range is a pulse area of +8,388,607 to -8,388607.
The data reaches (8,388,608, an
overflow occurs.
When an overflow occurs, OVF BIT in STATUS3 PORT becomes 1.
c. The counter value is reset to 0 at POWER ON /RESET and can also be set to an optional value by the COUNTER
PRESET command.
d. When inputting external signal such as feed back pulses from the servo driver, a 90゚ phase difference
signal or CW/CCW independent clock can be used as an input clock. When the 90゚ phase difference signal
is selected, a count multiplier can also be set.
The above input clock selection and count multiplier selection are performed by the PULSE COUNTER
INITIALIZE command.
At RESET, output pulses of MCC05v2 are selected as input clocks.
(2) PULSE COUNT COMPARE Function
a. Five COMPARE REGISTERs and COMPARATORs connected to the PULSE COUNTER allows you to detect any count value.
b. Detection of matching between the counter and comparator is done with the STATUS signal or interrupt
request signal. You can select the through mode (detection done by the comparator is output as it is) or
the latch mode (holds the detection) for the STATUS and interrupt request signals.
In the latch mode, you can reset the STATUS signal or interrupt request signal by reading the STATUS3 PORT.
And, you can select a mode that enables the reset or another mode that disables it even when the condition
(matching established between the counter and comparator).
For details, refer to 8-5.
The interrupt request signal (XCNTINT) is output from five comparators. You can enable or disable the
output on individual comparator basis.
c. The pulse output can also be stopped by match among comparators. You can specify the immediate output
stop or gradual stop through deceleration.
The immediate stop sets the FSEND BIT to 1 and the SSEND BIT
is set to 1 when the gradual stop is specified.
d. The PULSE COUNTER INITIALIZE command is used for controlling the every PULSE COUNT COMPARE function.
Data for the COMPARE REGISTER is set on the COUNTER PORT. The COUNTER PORT is independent from the DRIVE
PORT, thus rewriting of the compare data is available any time.
e. Specific functions of COMPARE REGISTER1
Specific functions that are not provided in the other COMPARE REGISTERs are assigned to COMPARE REGISTER1.
The following functions can be automatically performed by a match of COMPARE REGISTER1.
These functions are also controlled by the PULSE COUNTER INITIALIZE command.
*AUTO CLEAR function
The PULSE COUNTER value is cleared to 0 concurrently with a match of COMPARE REGISTER1.
*RELOAD function
The data written in COUNTER DATA1 PORT, COUNTER DATA2 PORT and COUNTER DATA3 PORT is reset to COMPARE
REGISTER1 concurrently with a match of COMPARE REGISTER1.
Summary of Contents for C-875
Page 98: ... 98 2 M TYPE 3 H TYPE ...