![Melec C-875 Instruction Manual Download Page 34](http://html1.mh-extra.com/html/melec/c-875/c-875_instruction-manual_1767048034.webp)
- 34 -
The contents of DRIVE DATA2 WRITE PORT are as follows.
DATA2 PORT
7
0
D
D
COUNT CLOCK TYPE
COUNT PATTERN TYPE
AUTO CLEAR ENABLE
RELOAD ENABLE
COMP1 INT ENABLE
COMP1 STOP ENABLE
The bit marked slash may be set 0 or 1.
The details of each bit are shown below.
The bit is set to the underlined side at POWER ON/RESET.
(1) COUNT CLOCK TYPE (D )
0
Selects an operation clock of the PULSE COUNTER.
0: Operated by DRIVE PULSE (XCWP, XCCWP) of the X axis MCC05v2.
1: Operated by external clocks from XEA (X axis encoder A phase signal) and XEB (X axis encoder
B phase signal).
(2) COUNT PATTERN TYPE (D , D )
1
2
These bits become effective only when D BIT=1, selecting an external input clock count method.
0
D
D
Count pattern
Input clock type
2
1
0
0
Count by multiplying the XEA and XEB inputs by 1.
90゚ phase
0
1
Count by multiplying the XEA and XEB inputs by 2.
difference clock
1
0
Count by multiplying the XEA and XEB inputs by 4.
1
1
Count-up by XEA and count-down by XEB.
Independent clock
for each direction
(3) AUTO CLEAR ENABLE (D )
3
Sets the AUTO CLEAR function.
0: No AUTO CLEAR is executed.
1: AUTO CLEAR is executed.
(4) RELOAD ENABLE (D )
4
Sets the RELOAD function.
0: No RELOAD is executed.
1: RELOAD is executed.
(5) COMP1 INT ENABLE (D )
5
Determines whether or not to output the match output XCNTINT of COMPARE REGISTER1.
0: XCNTINT is not output.
1: XCNTINT is output.
(6) COMP1 STOP TYPE (D )
6
Determines whether or not to put the pulse output into stop by the match output of COMPARE REGISTER1.
0: Not put into stop.
1: Put into stop.
Summary of Contents for C-875
Page 98: ... 98 2 M TYPE 3 H TYPE ...