- 75 -
12-13.CNTINT Timing (INTA#)
The interrupt request signal (XCNTINT) and STATUS signals (COMP1 to COMP5) are output and reset at the
following timing.
(1) When the CNTINT LATCH TRIGGER TYPE=0 is specified by the PULSE COUNTER INITIALIZE Command.
PLS COMPARE
①
10
REGISTER
Counter value
7
8
9
10
11
12
IOR#
XCNTINT
②
③
④
COMP1 to 5 in STATUS3
COMP1~5 in STATUS3
①: Indicates that the interrupt generation counter value is written by the COMPARABLE REGISTER SET command.
(In the example, the interrupt generation counter value is set to 10.)
②: When the counter value reaches the value set in ①, a XCNTINT output is generated.
③: When COMPARABLE REGISTER matches the counter value,the XCNTINT output and STATUS signal are not cleared.
④: The XCNTINT output is cleared by STATUS3 PORT is accessed when COMPARABLE REGISTER not matches the
counter value.
(2) When CNTINT LATCH TRIGGER TYPE=1 is specified by PULSE COUNTER INITIALIZE command.
PLS COMPARE
①
10
REGISTER
Counter value
7
8
9
10
IOR#
XCNTINT
②
③
COMP1 to 5 in STATUS3
COMP1~5 in STATUS3
①: COMPARE REGISTER SET Command causes writing of the interrupt generating counter value.
②: As the counter value reaches the level specified in ① above, XCNTINT is output.
③: CNTINT output is maintained until the STATUS3 PORT is accessed (reading the STATUS3 PORT clears
XCNTINT even when the counter value is in agreement with the COMPARE REGISTER).
(3) When CNTINT OUTPUT TYPE=1 (through-output) is specified by PULSE COUNTER INITIALIZE Command.
PLS COMPARE
①
10
REGISTER
Counter value
7
8
9
10
11
12
XCNTINT
②
③
④
COMP1~5 in STATUS3
①: COMPARE REGISTER SET Command causes writing of the interrupt generating counter value.
②: As the counter value reaches the level specified in ① above, XCNTINT is output.
③: When the counter value is in agreement with the COMPARE REGISTER, XCNTINT is output.
④: When the counter value is not matching, XCNTINT is cleared without requiring access to the STATUS3
PORT.
Example: When C-875 X axis drive pulse is used as the operation clock for the drive in +(CW) direction.
XCWP
IOR#
Note:Indicates the STATUS3 read timing.
XCNTINT
Note: When the through
t1
t2
t3
-output is selected.
t1<200ns
t2<200ns
t3<200ns
Summary of Contents for C-875
Page 98: ... 98 2 M TYPE 3 H TYPE ...