Stepping & Servo Motor Controller

C-875
Instructions Manual(For designers' use)

Please ensure to read and understand thisInstructions Manual before using the Product.
Please keep this Instructions Manual at handso that it is always available for reference.

PR0815-1

Introduction
This User's Manual describes the method of dealing with "STEPPING AND SERVO MOTOR CONTROLLER C-875",
which set weight in specification in order to have a product used safely correctly for the designerof the control system using the stepping motor or servo motor.
Before using this product, carefully read this User's Manual to have a sufficient understandingof the functions.
Keep this User's Manual on hand so that you can refer to it whenever you want.

Description of Safety
Correct operation procedures are essential.
If you use in a wrong way, an unexpected accident may occur to cause personal injuries
or damage of your properties.
Many of the possible accidents can be avoided if you have a preliminary knowledge about
dangerous situations. For this purpose, this User's Manual describes the precautions if
any dangerous situation can be anticipated.
Such descriptions are given in terms of the following symbols and signal words.

 WARNING

Death or serious injury may be caused byincorrect handling.

 CAUTION

Slight injury or damage of your properties
may be caused by incorrect handling.

Before use■ This product is not designed for use in the equipment related to nuclear power,
aerospace equipment, vehicles, marine vessels, medical equipment directly intouch with human body, equipment anticipated to give a serious impact toproperties, and other equipment required to provide high reliability.
■ This product is provided with a LIMIT (overtravel) signal to prevent mechanicaldamage.
This signal is an ACTIVE OFF input. Accordingly, even if the system does not
use the LIMIT signal, connect an external power supply for coupler so that the
LIMIT signal may be put into the NORMAL ON state to output pulses.
For details, refer to 14-2.
■ This product is surely used for within this description of the specification methodof this manual, and the limits of specification.
■ Before connecting this product to the expansion slot, certain setting operations must
be done for the circuit board. Refer to the following sections for the setting:
４－２． Board identifier port
１０． Initial Specification
１１． Interrupts
１５－２． Board Shape and Dimensions

page １４
page ６８
page ６９
page ８７■ For details of applied functions referred to in this manual, see the separately issued
the User's Manual [Applied Functions Part].

- 2 -Ｃｏｎｔｅｎｔｓ
Page.
７

１．ＯＶＥＲＶＩＥＷ
２．ＢＡＳＩＣ ＣＯＮＦＩＧＵＲＡＴＩＯＮ
2-1. Function Block Diagram
2-2. Description of Blocks

７８

３．ＳＰＥＣＩＦＩＣＡＴＩＯＮＳ
3-1. PCI Local bus Specification
3-2. Basic Functions
3-3. Ratings
3-4. Options
3-5. Applied Functions

９
９
１０
１０
１１

４．Ｉ／Ｏ ＰＯＲＴＳ
4-1. I/O Port Table
4-2. Setting the board identifier port and rotary switch
4-3. DRIVE COMMAND PORT
4-4. DRIVE DATA1,2,3 PORT (WRITE)
4-5. DRIVE DATA1,2,3 PORT (READ)
4-6. COUNTER COMMAND PORT
4-7. COUNTER DATA1,2,3 PORT (WRITE)
4-8. STATUS1 PORT
4-9. STATUS2 PORT
4-10. STATUS3 PORT
4-11. STATUS4 PORT
4-12. STATUS5 PORT
4-13. General-purpose I/O PORT
4-14. I/O INT SET PORT(Additional I/O)
4-15. IN10_20INT STATUS PORT(Additional I/O)
4-16. IN30_40INT STATUS PORT(Additional I/O)
4-17. IN10 PORT(Additional I/O)
4-18. IN20 PORT(Additional I/O)
4-19. IN30 PORT(Additional I/O)
4-20. IN40 PORT(Additional I/O)
4-21. OUT10 PORT(Additional I/O)
4-22. OUT20 PORT(Additional I/O)
4-23. OUT30 PORT(Additional I/O)

１３
１４
１４
１４
１４
１４
１４
１５
１６
１６
１６
１７
１７
１８
１８
１８
１９
１９
１９
１９
２０
２０
２０

５．ＤＥＴＡＩＬＳ ＯＦ ＤＲＩＶＥ ＦＵＮＣＴＩＯＮＳ
5-1. JOG DRIVE Function
5-2. SCAN DRIVE Function
5-3. INDEX DRIVE Function
5-4. Drive Speed Change Function
5-5. Machine Origin Detecting Function (ORIGIN DRIVE)
5-6. Machine Origin Detecting Function Using Limit Sensor
5-7. S-RATE SCAN DRIVE Function
5-8. S-RATE INDEX DRIVE Function
5-9. S-RATE DRIVE Parameter Adjusting Function
5-10 Slow Stop Function
5-11. Fast Stop Function
5-12. LIMIT Stop Function
5-13. Function for Servo Driver
5-14. Current Position Reading Function
5-15. Interrupt Request Function
5-16. Speed Data Hz Unit Setting Function
5-17. DRIVE TYPE Switching Function
5-18. Present Speed Reading Function
5-19. Set Data Reading Function

２１
２１
２２
２２
２３
２３
２４
２４
２５
２７
２７
２７
２７
２７
２８
２８
２９
２９
２９

- 3 -

６．ＤＥＳＣＲＩＰＴＩＯＮ ＯＦ ＢＡＳＩＣ ＦＵＮＣＴＩＯＮ ＤＲＩＶＥ
ＣＯＭＭＡＮＤＳ ＡＮＤ ＯＰＥＲＡＴＩＯＮ ＳＥＱＵＥＮＣＥＳ
6-1. Basic Function DRIVE Command Table
３０
6-2. Special Command Table
３１
6-3. NO OPERATION Command
３１
6-4. SPEC INITIALIZE1 Command
３２
6-5. PULSE COUNTER INITIALIZE Command
３３6-6. ADDRESS INITIALIZE Command
３６6-7. ADDRESS READ Command
３６6-8. SERVO RESET Command
３７6-9. RATE SET Command
３７6-10. LSPD SET Command
３７6-11. HSPD SET Command
３８6-12. DFL COUNTER INITIALIZE Command
３９6-13. SET DATA READ Command
４１
6-14. +/-JOG Command
４２
6-15. +/-SCAN Command
４２
6-16. INCREMENTAL INDEX Command
４２
6-17. ABSOLUTE INDEX Command
４３
6-18. CSPD SET Command
４３
6-19. OFFSET PULSE SET Command
４４6-20. ORIGIN DELAY SET Command
４４
6-21. ORIGIN FLAG RESET Command
４４6-22. ORIGIN Command
４５6-23. SRATE SET Command
４５6-24. SLSPD SET Command
４６6-25. SHSPD SET Command
４６6-26. SSRATE ADJUST Command
４７6-27. SERATE ADJUST Command
４７6-28. SCSPD1 ADJUST Command
４８6-29. SCSPD2 ADJUST Command
４８6-30. +/-S-RATE SCAN Command
４９6-31. S-RATE INCREMENTAL INDEX Command
４９6-32. S-RATE ABSOLUTE INDEX Command
４９6-33. ERROR STATUS READ Command
５０6-34. SPEED CHANGE Command
５０6-35. INT MASK Command
５１
6-36. PORT SELECT Command
５２
6-37. SLOW STOP Command
５２
6-38. FAST STOP Command
５２
6-39. COUNTER READ
５３
6-40. SPEED READ
５３
７．ＭＡＣＨＩＮＥ ＯＲＩＧＩＮ ＤＥＴＥＣＴＩＮＧ
7-1. Machine Origin Detection Types
7-2. ORG-0 Type
7-3. ORG-1 Type
7-4. ORG-2 Type7-5. ORG-3 Type
7-6. ORG-4 Type7-7. ORG-5 Type
7-8. ORG-10 Type7-9. ORG-11 Type
7-10. ORG-12 Type
7-11 Sensor Arrangement
7-12. Detecting Conditions
7-13. Other Functions- 4 -ＦＵＮＣＴＩＯＮ
５４
５５
５５
５６
５６
５７
５７
５８
５９
５９
６０
６０
６０

８．ＤＥＴＡＩＬＳ ＯＦ ＣＯＵＮＴＥＲ
8-1. Function Block Diagram
8-2. ADDRESS COUNTER Function
8-3. PULSE COUNTER Function
8-4. DIFFERENTIAL COUNTER Function
8-5. Details of COMPARATOR Function

ＦＵＮＣＴＩＯＮＳ
６１
６２
６２
６３
６４

９．ＤＥＳＣＲＩＰＴＩＯＮ ＯＦ ＰＵＬＳＥ ＣＯＵＮＴＥＲ ＡＮＤ
ＤＩＦＦＥＲＥＮＴＩＡＬ ＣＯＵＮＴＥＲ ＣＯＭＭＡＮＤ
9-1. Command Table
9-2. PULSE COUNTER PRESET Command
9-3. PULSE COUNTER COMPARE REGISTER1 SET Command
9-4. PULSE COUNTER COMPARE REGISTER2 SET Command
9-5. PULSE COUNTER COMPARE REGISTER3 SET Command
9-6. PULSE COUNTER COMPARE REGISTER4 SET Command
9-7. PULSE COUNTER COMPARE REGISTER5 SET Command
9-8. DFL COUNTER PRESET Command
9-9. DFL COUNTER COMPARE REGISTER1 SET Command
9-10. DFL COUNTER COMPARE REGISTER2 SET Command

６５
６５
６６
６６
６６
６６
６６
６６
６７
６７

１０．ＩＮＩＴＩＡＬ

６８

ＳＰＥＣＩＦＩＣＡＴＩＯＮＳ ＴＡＢＬＥ

１１．ＩＮＴＥＲＲＵＰＴＳ
11-1. Interrupt Request Signals upon Termination of Command
11-2. Interrupt Request Signal from PULSE COUNTER and DFL COUNTER
11-3. Interrupt Request Signal by Input Signals of the Additional I/O
11-4. Interrupt Pin Arrangement
11-5. Precautions on Using Interrupts

６９
６９
６９
６９
６９

１２．ＴＩＭＩＮＧ
12-1. JOG DRIVE Timing
12-2. SCAN DRIVE/S-RATE SCAN DRIVE Timing
12-3. INDEX DRIVE/S-RATE INDEX DRIVE Timing
12-4. ORIGIN DRIVE Timing
12-5. SPEED CHANGE TIMING
12-6. DEND Signal Confirmation Timing
12-7. SLOW STOP Timing
12-8. FAST STOP Timing (1)12-9. FAST STOP Timing (2)12-10.LIMIT STOP Timing
12-11.EA/EB Clock Input Timing
12-12.RDYINT Timing (INTA#)
12-13.CNTINT Timing (INTA#)
12-14.DFLINT Timing (INTA#)
12-15.IOINT Timing (INTA#)
12-16.RESET Timing
12-17.BUS Timing

７０
７０
７０
７０
７１
７２
７２
７２
７３
７３
７４
７４
７５
７６
７７
７７
７８

１３．ＵＳＥＲ ＣＯＮＮＥＣＴＯＲ ＡＮＤ Ｉ／Ｏ
13-1. User Connector J1, 2 Pin Arrangement
13-2. J1 Signal Table
13-3. J2 Signal Table (for Additional I/O)
13-4. I/O Circuit

ＣＩＲＣＵＩＴ

１４．ＣＯＮＮＥＣＴＩＯＮＳ
14-1. Connection to the Driver
14-2. Connection Examples of a LIMIT Switch or Sensor
14-3. Connection Example of the Origin Sensor
１５．ＢＯＡＲＤ ＥＤＧＥ ＣＯＮＮＥＣＴＯＲ
15-1. Board Edge Connector Signal Table
15-2. Board Shape and Dimensions- 5 -ＡＮＤ ＢＯＡＲＤ

７９
７９
８１
８２

８３
８４
８４
ＳＨＡＰＥ
８６
８７

１６．ＣＯＮＴＲＯＬ ＰＲＯＧＲＡＭ ＥＸＡＭＰＬＥＳ
16-1. INITIAL Setting Example
16-2. INITIALIZE Program Example
16-3. JOG DRIVE Program Example
16-4. SCAN DRIVE Program Example
16-5. Example of INDEX DRIVE Program Specified in Absolute Value
16-6. ORIGIN DRIVE Program Example
16-7. PULSE COUNTER Read Program Example

８８
９０
９１
９１
９２
９３
９４

１７．ＴＲＯＵＢＬＥＳＨＯＯＴＩＮＧ

９５

１８．ＤＡＴＡ ＴＡＢＬＥＳ
18-1. L-TYPE RATE Data Table
18-2. M-TYPE RATE Data Table
18-3. H-TYPE RATE Data Table
18-4. RATE Curve Graph

９７
９７
９７
９７

１９．ＳＡＦＥＴＹＤＥＳＩＧＮ

ＰＲＥＣＡＵＴＩＯＮＳ

２０．Ｃ－８７０ｖ１ ＡＬＬ ＣＯＭＭＡＮＤ
20-1. DRIVE Command Table
20-2. Special Command Table

９９

ＴＡＢＬＥＳ

２１．ＭＡＩＮＴＥＮＡＮＣＥ
21-1. Maintenance and Inspection
21-2. Storage and Disposal

１００
１０１

１０２
１０２

- 6 -

１．ＯＶＥＲＶＩＥＷThe C-875, equipped with Additional I/O(IN:32points,OUT:24points) and 4 independently functioning axes,
is a high performance controller that can bedirectly connected to the PCI bus expansion slot based on
PCI Local Bus Specification Rev. 2.1.
It is designed to offer control for both servo and stepping motors.
Its board is a compact half-size (107 x 170).
Equipped with our high grade chip controller MCC05v2, the pulse generator permits motor control using easier-tooperate command type.
The multi-function PULSE COUNTER and DIFFERENTIAL COUNTER on the MCC05v2 enable chip controller to countfeedback pulses from a servo driver as well as detecting step-out of a stepping motor with the encoder.
Since the C-875 are provided with the 4 independent axes, the first axis, the second axis, the third axis andthe fourth axis are called X axis, Y axis, Z axis and A axis respectively.
As a rule, the following description will be given about only the X axis.

２．ＢＡＳＩＣ ＣＯＮＦＩＧＵＲＡＴＩＯＮ
2-1. Function Block Diagram
X axis MCC05v2(2)
Drive control block
Counter block(3)
Y axis MCC05v2(2)
Drive control block
Counter block
ＰＣＩ Bus(1)(3)

Bus interface
block

(2)

(7)
Z axis MCC05v2
Drive control block
Counter block(3)
A axis MCC05v2(2)
Drive control block
Counter block(3)(4)
General-purpose I/O block
Input buffer, output buffer(5)
Additional I/O block(6)
Board identifier port

- 7 -User interfaceblock2-2. Description of Blocks(1) Bus interface block
Interface block with the PCI bus.
This block consists of the interface IC dedicated to PCI bus and a serial EEPROM, etc.
(2) Drive control blocks
These blocks output serial pulses for motor control. The blocks mount pulse generators MCC05v2 forindividual 4 axes, so the 4 axes can be independently driven.
For distinction among the 4 axes, these drive control blocks are called X axis MCC05v2, Y axis MCC05v2,
Z axis MCC05v2 and A axis MCC05v2 respectively.
(3) Counter blocks
This counter block consists of the ADDRESS COUNTER, general purpose PULSE COUNTER and DIFFERENTIAL COUNTER.
The ADDRESS COUNTER is used for counting pulses from the MCC05v2, the general purpose PULSE COUNTER is used
for counting external 90゜phase shifted clocks and the DIFFERENTIAL COUNTER is used for counting deviationof these pulses.
This block allows to read a counting any time as needed, preset a count or interrupt at any counting(or deviation level).
(4) General-purpose I/O block
This block is provided with 4 inputs and 4 outputs isolated by photo coupler.
Because of a +24V coupler interface, it can control relays and solenoid valves.
The host controls this block completely independent of the other blocks.
(5) Additional I/O block
This block is provided with 32 inputs and 24 outputs isolated by photo coupler.
Because of a +24V coupler interface, it can control relays and solenoid valves.
4 of 32 inputs can generate an interrupt at the time of ON or OFF.
The host controls this block completely independent of the other blocks.
(6) Board identifier port
When more than two C-875s are used, the boards must be numbered. This is used only for the port.
(7) User interface block
Interface block for signals of the servo/stepping motor drivers and sensors, etc.

- 8 -

３．ＳＰＥＣＩＦＩＣＡＴＩＯＮＳ
3-1. PCI Local Bus Specification(1) PCI Local Bus Specification Rev. 2.1(2) Bus interface
32 BIT BUS(inside 8 BIT), 5V signaling environment, 33MHz clock(3) PCI configuration register31
16 15
0 Offset
Device ID(1090h)
Vendor ID(152Eh)
00h
StatusCommand04h
Base Class(0Eh)
Sub Class(80h)Prog.I/F(00h)
Revision ID(00h)08h
BIST
Header Type(00h)
Latency Timer
Cache Line Size
0Ch
Base Address Register０：Reserved(Cannot use)
10h
Base Address Register１：Base Address of C-875
14h
Base Address Register２：Reserved
18h
1Ch
Reserved
20h
24h
Cardbus CIS Pointer28h
Subsystem ID(00h)Subsystem Vendor ID(00h)2Ch
Expansion ROM Base Address：Reserved
30hReserved
34h
Reserved38h
Max_Lat
Min_Gnt
Interrupt pin(01h)Interrupt Line
3Ch
(4) Interrupt
・INTA#
・Resets interrupt by STATUS PORT READ of the interrupt request axis.
(5) Dimensions
5V SHORT CARD (107m x 170mm x 17mm)
3-2. Basic Functions(1) Drive function
JOG ………………… 1-pulse drive
SCAN ……………… Continuous drive until a stop command is input.
INDEX ……………… Positioning drive up to the specified number of pulses or the specified address.
ORIGIN …………… A series of drive until machine origin detection (9-type detection type).
S-RATE SCAN ……… The same as SCAN. Drive with S-shaped acceleration and deceleration.
S-RATE INDEX …… The same as INDEX. Drive with S-shaped acceleration and deceleration.
＊ "SCAN DRIVE" and "INDEX DRIVE", as used in this manual, do not include "S-RATE SCAN DRIVE" and"S-RATE INDEX DRIVE", respectively.
(2) Number of drive pulses
JOG …………………………… 1 pulse/drive
SCAN,S-RATE SCAN ………… Up to infinite pulses/drive
INDEX,S-RATE INDEX ……… 0 to 8,388,607 pulses/drive (when relative is specified)
0 to 16,777,214 pulses/drive (when absolute is specified)(3) Speed/rate range
Speed range ……… 1Hz to 3.3MHz
Rate range ……… 1030ms/1000Hz to 0.004ms/1000Hz(4) Speed data Hz unit setting function
The output pulse speed can be set in 1 to 3,333,333Hz.
(5) Acceleration/deceleration time constant(RATE) individual setting function
An acceleration time constant and a deceleration time constant can be separately set.
(Enabled in applied function for S-RATE SCAN and S-RATE INDEX DRIVE.)- 9 -(6) DRIVE SPEED change function
You can change a SCAN DRIVE or INDEX DRIVE speed to any desired speed while the drive is taking place.
(This feature, however, is not available when different time constants are specified for the accelerationand deceleration at INDEX DRIVE.)(7) ADDRESS COUNTER function
The ADDRESS COUNTER counts the absolute address of the pulse output from the MCC05v2 and allows to readthe count data any time as needed.
(8) PULSE COUNTER function
The PULSE COUNTER can always read out output pulses and 90゜phase difference clocks or CW/CCW independent
clocks from the servo driver and read out count data. Five COMPARE REGISTERs are connected to the PULSE
COUNTER, so this permits detecting an optional count value.
(9) DIFFERENTIAL COUNTER function
The DIFFERENTIAL COUNTER counts deviation between the output pulse and the 90゜phase differentiatedexternal clock or the mutually independent external CW and CCW clocks. It allows to read the count data
any time as needed.
Two COMPARE REGISTERs on the DIFFERENTIAL COUNTER enables to detect any deviation level.
Other than determining deviation level, this counter offers independent counting of the external 90゜phasedifferentiated clock or the mutually independent external CW and CCW clocks.
(10)Function for fast/slow stop by LIMIT STOP
Two stop types using the LIMIT signal, namely, fast and slow, are available and can be specified byuser program.
(11)Function for the servo driver
A function for the END signal and deviation COUNTER RESET signal of the servo driver is provided.
(12)Interrupt generating function
An interrupt can be generated for the PCI bus master.
RDYINT interrupt ……… Interrupt request signal(RDYINT) that is generated upon termination of a command.
CNTINT interrupt ……… Interrupt request signal(CNTINT) that is generated at an optional count value ofthe PULSE COUNTER.
DFLINT interrupt ……… Interrupt request signal(DFLINT) that is generated at an optional count value of
the DIFFERENTIAL COUNTER.
IOINT interrupt ……… Interrupt request signal(IOINT) that is generated upon additional inputs ON or OFF.
(13)ORIGIN DRIVE function using the limit sensor
The ORIGIN DRIVE using the limit sensor is available, too.
(14)Current speed read function
You can read current speed during the drive.
(15)Setup data read function
It allows you to read the user program specified settings for HSPD, LSPD, RATE, SPEC INITIALIZE and such.
3-3. Ratings(1) Power supply voltage :＋５Ｖ±５％＋２４Ｖ±２Ｖ

１．１Ａ
３１０ｍＡ

ｍａｘ
ｍａｘ(at EXTV is +24V) (for photo coupler interface)(2) Ambient temperature :

０℃ to

４５℃

(3) Ambient humidity:

８０％ＲＨ or less (without dew condensation)(4) Mass:

Approx 0.2 kg

3-4. Options
Optional functions are prepared for the C-875. For details, Please contact us.

- 10 -

3-5. Applied Functions
For the C-875, Applied functions are available in addition to the basic functions shown in 3-1. to order
to meet the requirements of various users' specifications.
For the details on these applied functions, refer to the User's Manual [Applied Functions Part].
(1) Applied Drive Functions
SPECIAL SCAN ……The drive is similar to SCAN DRIVE but the speed can be adjusted during the drive.
SPECIAL INDEX……The drive is similar to INDEX DRIVE but the speed can be adjusted during the drive.
SERIAL INDEX ……The drive executes previously set drive patterns continuously without stop.
SPECIAL SERIAL INDEX…SERIAL INDEX DRIVE where a rate can be set for each section.
SENSOR INDEX …Combining the INDEX DRIVE and SENSOR input detection, this drive implements the positioning.
SENSOR SCAN ……DRIVE where SCAN DRIVE and SENSOR input detections are combined to provide positioning.
* The description of "SCAN DRIVE" and "INDEX DRIVE" in this Manual does not include the application DRIVE.
(2) INDEX Change Function During Drive
It enables to change the specified pulse number or the address during the INDEX DRIVE.
(3) RATE Change Function During Drive
It enables to change an acceleration/deceleration time constant during the SCAN DRIVE.
(4) DIFFERENTIAL COUNTER Input Clock Change Function
It enables to change to divide input clocks (MCC05v2 output, or pulse or EA or EB input) to the DIFFERENTIAL COUNTER. EA and EB are disabled for a controller not capable of accepting external clock input.
(5) DIFFERENTIAL COUNTER Comparator Detecting Condition Select Function
It enables to select detecting method of the DIFFERENTIAL COUNTER comparator1 and 2 from ≧, ≦ or ＝.
(6) DIFFERENTIAL COUNTER Compare Resistor Setup Switching Function
It enables to select an absolute value or signed value for the comparison made between the DIFFERENTIAL
COUNTER and the COMPARE REGISTER.
(7) Acceleration/Deceleration Time Constant Parameter Setting Function
Acceleration/deceleration time constant can be freely set by parameter.
(8) Speed Data Setting Method Changing Function
Output pulses are generally set in Hz in the Hz setting mode, but it is possible to change this mode to
the reference clock magnification setting mode, in which output pulses are set to any integer times of
the reference clock.
(9) First Output Pulse Width Selecting Function
The width of the first active pulse after drive start can be selected from any of half period,
100μs fixed period and 20μs fixed period.
(10)Pulse Output Pattern Changing Function
Pulse output pattern is generally separate between CW and CCW, but this can be changed to thedirection designated output pattern.
(11)Triangular Drive Prevention Function
In order to avoid the triangular drive which starts decelerating without reaching the high speed in the
S-RATE INDEX DRIVE due to shortage of pulse number, this function enables to designate pulse number forthe top constant speed in advance and to secure constant speed operating ranges.
(12)END PULSE Drive Function
In order to reduce damping at the end of the INDEX DRIVE and the S-RATE INDEX DRIVE, this function
enables to make a continuous drive of designated frequency and of designated pulse number after the end of
deceleration up to the low speed.

- 11 -

(13)Origin Drive Direction Changing Function
The precondition for origin drive is that the ORG (or NORG) sensor has been installed at the -(CCW)
limit side along works, but the origin drive direction changing function enables to install the ORG(or NORG) sensor on the +(CW) limit side.
(14)Margin Time Function
In order to prevent the origin drive from malfunctioning due to hunting, this function enables to insert
a margin time between the sensor signal detection and the pulse stop.
(15)SOFT LIMIT Function
This function allows you to set up CW or CCW SOFT LIMIT.
(16)DEND ERROR Detection Function
If active level of DEND signal is not returned during the predetermined time span, this function ends thedrive forcibly by setting 1 to the error bit of STATUS1 PORT.
(17)Origin Sensor Type Select Function
This function allows you to switch the ORG sensor detection approach from the edge sensing to the levelsensing.
(18)ORIGIN ERROR Detection Function
Specifying the maximum number of pulses to be output during the CONSTANT SCAN DRIVE process and JOG DRIVE
process, this function can end the drive forcibly if the sensor fails to make detection during that rangeof pulse number.
(19)PO Input Function
This function offers origin detection utilizing PO (excitation) output signal from stepping motor drivers.
When PO input is enabled, ANDing of PO signal and ORG signal is output as ORG signal.
(20)AUTO DRST Output Function
This function automatically outputs DRST signal as the machine origin detection completed.
(21)Special DRST Output Function
This function allows you to constantly generate DRST output.
(22) Asymmetric S-RATE DRIVE function
Acceleration/deceleration constant can be set separately in the S-shaped DRIVE.
(23) S-RATE DRIVE triangular drive workaround function
The DRIVE profile is rounded automatically when there are few output pulses in the S-shaped
DRIVE, thereby working around the triangular drive. It should be noted, however, that thisis disabled in the asymmetric S-RATE DRIVE.
(24) SPEED/RATE CHANGE speed increase function
The operation from the writing of CHANGE command is performed on the real time basis
in the SCAN DRIVE.
(25) AUTO CHANGE function
The SPEED and RATE are changed automatically according to the preset number of output
pulses, speed or time.
(26) DRIVE calculation function
The number of acceleration pulses, acceleration time and INDEX DRIVE drive time can beobtained by simulated calculation.

- 12 -

４．Ｉ／Ｏ ＰＯＲＴＳ
4-1. I/O Port Table
Axis

Low-order
Address
００Ｈ
０１Ｈ
０２Ｈ
０３Ｈ
０４Ｈ
０５Ｈ
Ｘ Axis
０６Ｈ
MCC05Ｖ２
０７Ｈ
００Ｈ
０１Ｈ
０２Ｈ
０３Ｈ
０４Ｈ
０５Ｈ
０６Ｈ
０７Ｈ
１０Ｈ
１１Ｈ
１２Ｈ
１３Ｈ
１４Ｈ
１５Ｈ
Ｙ Axis
１６Ｈ
MCC05Ｖ２
１７Ｈ
１０Ｈ
１１Ｈ
１２Ｈ
１３Ｈ
１４Ｈ
１５Ｈ
１６Ｈ
１７Ｈ
２０Ｈ
２１Ｈ
２２Ｈ
２３Ｈ
２４Ｈ
２５Ｈ
Ｚ Axis
２６Ｈ
MCC05Ｖ２
２７Ｈ
２０Ｈ
２１Ｈ
２２Ｈ
２３Ｈ
２４Ｈ
２５Ｈ
２６Ｈ
２７Ｈ
３０Ｈ
３１Ｈ
３２Ｈ
３３Ｈ
３４Ｈ
３５Ｈ
Ａ Axis
３６Ｈ
MCC05Ｖ２
３７Ｈ
３０Ｈ
３１Ｈ
３２Ｈ
３３Ｈ
３４Ｈ
３５Ｈ
３６Ｈ
３７Ｈ

PORT Name
DRIVE COMMAND
DRIVE DATA1DRIVE DATA2DRIVE DATA3COUNTER COMMAND
COUNTER DATA1
COUNTER DATA2COUNTER DATA3STATUS1
DRIVE DATA1DRIVE DATA2DRIVE DATA3STATUS2STATUS3STATUS4STATUS5
DRIVE COMMAND
DRIVE DATA1DRIVE DATA2DRIVE DATA3COUNTER COMMAND
COUNTER DATA1
COUNTER DATA2COUNTER DATA3STATUS1
DRIVE DATA1DRIVE DATA2DRIVE DATA3STATUS2STATUS3STATUS4STATUS5
DRIVE COMMAND
DRIVE DATA1DRIVE DATA2DRIVE DATA3COUNTER COMMAND
COUNTER DATA1
COUNTER DATA2COUNTER DATA3STATUS1
DRIVE DATA1DRIVE DATA2DRIVE DATA3STATUS2STATUS3STATUS4STATUS5
DRIVE COMMAND
DRIVE DATA1DRIVE DATA2DRIVE DATA3COUNTER COMMAND
COUNTER DATA1
COUNTER DATA2COUNTER DATA3STATUS1
DRIVE DATA1DRIVE DATA2DRIVE DATA3STATUS2STATUS3STATUS4STATUS5

R/W

W
r
i
t
e

R
e
a
d

Axis

Low-order
Address
GP I/O
６０Ｈ
６１Ｈ
６２Ｈ
６３Ｈ
６４Ｈ
６５Ｈ
６６Ｈ
６７Ｈ
ADT I/O
６８Ｈ
６９Ｈ
６ＡＨ
６ＢＨ
６ＣＨ
６ＤＨ
６ＥＨ
６ＦＨ
BOARD ID
７０Ｈ

W
r
i
t
e

R
e
a
d

W
r
i
t
e

R
e
a
d

W
r
i
t
e

R
e
a
d

- 13 -PORT Name

R/W

General-purpose I/O R/W
I/O INT SET
W
Using is disabled
Using is disabled
IN10_20INT STS
R
IN30_40INT STS
R
Using is disabled
Using is disabled
IN10
R
IN20
R
IN30
R
IN40
R
OUT10
R/W
OUT20
R/W
OUT30
R/W
Using is disabled
Board identifierR4-2. Setting the board identifier port and rotary switch(1) Board identifier port
This is a port to read out the board number assigned by the rotary switch.

D７

D６

D５

D４

D３

D２

D１

D０

*

"1" when active

Rotary switch ２０ BIT
Rotary switch ２１ BIT
Rotary switch ２２ BIT
Rotary switch ２３ BIT
Reserved（０）(2) Setting the rotary switch
C-875 board numbers are assigned by the rotary switch on the board.
If more than two C-875s are used, numbers must be assigned artificially.
Set them by avoiding possible overlaps. When only one C-875 is used, set
the rotary switch to "0". (This setting is made at the time of shipment).
The following sketch shows the example where the board is set to 2.

０
８

１
２

７

９

３
４

６
５

4-3. DRIVE COMMAND PORT
Used to write a drive command. For the details of commands, refer to Chapter ６.
4-4. DRIVE DATA1,2,3 PORT (WRITE)
Various data are written by each drive command.
4-5. DRIVE DATA1,2,3 PORT (READ)
Used to read various data.
When reading data by the ADDRESS READ command, SET DATA READ command and ERROR STATUS READ command,
confirm BUSY BIT＝0 in STATUS1 after writing a command.
Reading the count data of the PULSE COUNTER, DIFFERENTIAL COUNTER and ADDRESS COUNTER is always enabled.
4-6. COUNTER COMMAND PORT
Used to write a command to control the PULSE COUNTER and DIFFERENTIAL COUNTER.
For the details of commands, refer to Chapter ９.
4-7. COUNTER DATA1,2,3 PORT (WRITE)
Used to write various data by counter command.

- 14 -

4-8. STATUS1 PORT
Used to read the current status of each axis. This read operation is always enabled.
D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state.
BUSY BIT
DRIVE BITDREND BITERROR BIT
MAN BITLSEND BITSSEND BITFSEND BIT

BUSY BIT: When this bit is 0, it indicates that writing a command to the corresponding axis is enabled.
When this bit is 1, it indicates that the corresponding axis is in the driving status or in thedata processing status. The command is ignored. A command must be written after confirming
BUSY BIT＝0.
However, special commands(refer to the paragraph 6-2) can be written even when BUSY BIT＝1.
DRIVE BIT : When this bit is 1, it indicates that the corresponding axis is in the driving status.
DREND BIT : When this bit is 1, it indicates that the drive of the corresponding axis has been terminated(Note 1,3). Judge the termination of driving when multiple control.
This bit is reset by writing the next command.
ERROR BIT : This bit indicates that the written command is undefined or has a data error(Note 1,3).
You can check description of the error using the ERROR STATUS READ Command.
This bit is reset by writing the next command.
MAN BIT : This bit is not used on this product. 0 is output (Note3).
LSEND BIT : When DRIVE BIT＝1, it indicates a valid CWLM or CCWLM signal has been entered.
When DRIVE BIT＝0, it indicates pulse output has been stopped by CWLM or CCWLM signal(includes the output stopped by an applied function SOFT LIMIT).
This bit is reset at start of the next drive (Note2).
SSEND BIT : When DRIVE BIT＝1, it indicates the SLOW STOP Command has been entered.
When DRIVE BIT＝0, it indicates pulse output has been stopped by the SLOW STOP Command.
This bit is reset at start of the next drive (Note2).
FSEND BIT : When DRIVE BIT＝1, it indicates the FSSTOP signal or FSSTOP Command has been entered.
When DRIVE BIT＝0, it indicates pulse output has been stopped by the FSSTOP signal or
FAST STOP Command. This bit is reset at start of the next drive (Note2).
Note1: It is valid only when BUSY＝0.
Note2: Reset by the up edge of the DRIVE signal. Not reset by a command not accompanied by drive.
Note3: When the power is turned on or the RESET signal is input, each of DREND, ERROR and MAN bits
has an undefined value. So, check only whether BUSY bit is 0, run an NOP command and theninitialize the DREND, ERROR and MAN bits.

- 15 -

4-9. STATUS2 PORT
Used to read the input signal state of each axis. Reading is always enabled.
The contents shown below are of the X axis but also applicable to another axis.
D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state.
XDEND/PO signal
XORG signal
XNORG signal
XCWLM signal
XCCWLM signal
Unused(０)Unused(０)XDEND/PO signal

0＝HIGH 1＝LOW

0＝LOW

1＝HIGH(same to D０）

Note: This STATUS PORT is real-time data.
4-10.STATUS3 PORT
Used to read the status information from the PULSE COUNTER and DIFFERENTIAL COUNTER.
Reading is always enabled.
D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state.
PLS COMP1 BIT
PLS COMP2 BIT
PLS COMP3 BIT
PLS COMP4 BIT
PLS COMP5 BIT
PLS OVF BITDFL COMP1 BITDFL COMP2 BIT

PLS＊COMP1 BIT
PLS COMP2 BIT
PLS COMP3 BIT
PLS COMP4 BIT
PLS COMP5 BIT
PLS OVF BITDFL＊COMP1 BITDFL COMP2 BIT

:
:
:
:
:
:
:
:

Indicates that the PULSE COUNTER has matched the COMPARE REGISTER1. (Note)
Indicates that the PULSE COUNTER has matched the COMPARE REGISTER2. (Note)
Indicates that the PULSE COUNTER has matched the COMPARE REGISTER3. (Note)
Indicates that the PULSE COUNTER has matched the COMPARE REGISTER4. (Note)
Indicates that the PULSE COUNTER has matched the COMPARE REGISTER5. (Note)
Indicates that the PULSE COUNTER has overflowed.
Indicates the DIFFERENTIAL COUNTER≧DFL COMPARE REGISTER1 (excessive deviation). (Note)
Indicates the DIFFERENTIAL COUNTER≦DFL COMPARE REGISTER2 (positioning complete).(Note)

Note: In the initial state, there bits are reset after this status has been read except for when the following
state is indicated matching between the PULSE COUNTER and REGISTER, excessive deviation or positioning
complete has been indicated. It is enable to reset all the time after status has been read by setting
each of the COUNTER INITIALIZE COMMAND.
* Throughout this manual, the abbreviations "PLS" and "DFL" stands for PULSE and DIFFERENTIAL, respectively.
4-11.STATUS4 PORT
Used to read the input signal state of each axis.
D７

D６

D５

D４

D３

D２

D１

Reading is always enabled.
D０* Each of the bits becomes 1 in the active state.
FSSTOP signal (common to all axes) 0＝LOW 1＝HIGH〃
ASENSOR input signal (Note1)0＝HIGH 1＝LOW-XEA input signal
0＝LOW 1＝HIGH-XEB input signal
0＝LOW 1＝HIGH
XDRST output signal
0＝HIGH 1＝LOW
Unused (undefined)

Note1: SENSOR input signal is available for the A and Z axes alone. 0 is output for other axes.
For details of SENSOR input signal, refer to the User's Manual [Applied Functions Part].
Note2: This status is real time data of input/output pins.
- 16 -

4-12.STATUS5 PORT
This port is used for reading current state of the SOFT LIMIT (An applied function, see Note) and speed
change. Data read is always enabled.
D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state.

CCW SOFT LIMIT BIT(Note1)CW SOFT LIMIT BIT(Note1)
Unused(０)RDYINT BIT(Note2)
Unused(０)SPEED CHANGE BUSY BITRATE CHANGE BUSY BIT (Note1)
INDEX CHANGE BUSY BIT (Note1)
Note1: For details, see User's Manual(Applied Functions Part).
Note2: When interrupt is used, RDYINT request axis is identified by this bit.
4-13.General-purpose I/O PORTThe C-875 is provided with a general-purpose I/O with 4 input points (IN0 to IN3 input signals) and4 output points (OUT0 to OUT3 output signals). The user can freely use this general-purpose I/O.
These signals are active low. When each of them is in the active state, the LED on the board come on.
(1) Input port
The input port consists of an input data division and an output data division as shown below.
The external input (IN0 to IN3) states are read into the input data division.
The output data division reads the current output port state (data previously output to the output port).
* Each of these bits becomes 1 in the active state.
OUT0
OUT1
OUT2
OUT3
IN0
IN1
IN2
IN3

Output data division

Input data division(2) Output data port
The output port consists of the following bits and outputs the contents of the 4 low-order bits to theoutside (OUT0 to OUT3).
 * Each of these bits becomes 1 in the active state.
OUT0
OUT1
OUT2
OUT3

Output data division

The output port is put into the OFF output (NOT ACTIVE) state at POWER ON/RESET.

- 17 -

4-14.I/O INT SET PORT(Additional I/O)
This product is provided with the interrupt function (IOINT) using 4 input points (IN10, IN20, IN30
and IN40 input signals) of the additional I/O. This PORT allows selection of interrupt enable/disable andinterrupt generation edge (at ON/OFF).

D７

D６

D５

D４

D３

D２

D１

D０
IN10INT ENABLE
IN20INT ENABLE
IN30INT ENABLE
IN40INT ENABLE
IN10INT EDGE TYPE
IN20INT EDGE TYPE
IN30INT EDGE TYPE
IN40INT EDGE TYPE

The details of each bit are shown below.

The bit is set to the underlined side at POWER ON/RESET.

(1) IN10/20/30/40INT ENABLE
Specifies the Interrupt enable/disable by the IN10,IN20,IN30 and IN40 signals.
0：Interrupt disable
1：Interrupt enable(2) IN10/20/30/40INT EDGE TYPE
Specifies the Interrupt generation edge by the IN10,IN20,IN30 and IN40 signals.
0：Falling edge(At Input ON)
1：Rising edge(At Input OFF)
4-15.IN10_20INT STATUS PORT(Additional I/O)
This is a port to read the interrupt generation status by the additional I/O input signals (IN10,IN20).

D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state.
IN10INT BIT
Unused(０)Unused(０)Unused(０)IN20INT BIT
Unused(０)Unused(０)Unused(０)IN10INT BIT
IN20INT BIT

Indicates that an interrupt is generated by IN10 signal.
Indicates that an interrupt is generated by IN20 signal.

(Note)(Note)

Note: It is reset after reading this status port.
4-16.IN30_40INT STATUS PORT(Additional I/O)
This is a port to read the interrupt generation status by the additional I/O input signals (IN30,IN40).

D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state.
IN30INT BIT
Unused(０)Unused(０)Unused(０)IN40INT BIT
Unused(０)Unused(０)Unused(０)IN30INT BIT
IN40INT BIT

Indicates that an interrupt is generated by IN30 signal.
Indicates that an interrupt is generated by IN40 signal.

Note: It is reset after reading this status port.

- 18 -(Note)(Note)

4-17.IN10 PORT(Additional I/O)
This is a port to read the status of the additional I/O input signals (IN10～IN17).

D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state(at ON).
IN10
IN11
IN12
IN13
IN14
IN15
IN16
IN17

4-18.IN20 PORT(Additional I/O)
This is a port to read the status of the additional I/O input signals (IN20～IN27).

D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state(at ON).
IN20
IN21
IN22
IN23
IN24
IN25
IN26
IN27

4-19.IN30 PORT(Additional I/O)
This is a port to read the status of the additional I/O input signals (IN30～IN37).

D７

D６

D５

D４

D３

D２

D１

D０

* Each of the bits becomes 1 in the active state(at ON).
IN30
IN31
IN32
IN33
IN34
IN35
IN36
IN37

4-20.IN40 PORT(Additional I/O)
This is a port to read the status of the additional I/O input signals (IN40～IN47).

D７

D６

D５

D４

D３

D２

D１

- 19 -

D０* Each of the bits becomes 1 in the active state(at ON).
IN40
IN41
IN42
IN43
IN44
IN45
IN46
IN47

4-21.OUT10 PORT(Additional I/O)
This is a port to set ON/OFF of the additional I/O output signals OUT10～OUT17.
It outputs the contents of the following bits to OUT10～OUT17.
It also reads the current output status (previous data output to this port).

D７

D６

D５

D４

D３

D２

D１

D０

* It becomes active state(ON) at setting 1.
OUT10
OUT11
OUT12
OUT13
OUT14
OUT15
OUT16
OUT17

The output port is put into the OFF output (NOT ACTIVE) state at POWER ON/RESET.
4-22.OUT20 PORT(Additional I/O)
This is a port to set ON/OFF of the additional I/O output signals OUT20～OUT27.
It outputs the contents of the following bits to OUT20～OUT27.
It also reads the current output status (previous data output to this port).

D７

D６

D５

D４

D３

D２

D１

D０

* It becomes active state(ON) at setting 1.
OUT20
OUT21
OUT22
OUT23
OUT24
OUT25
OUT26
OUT27

The output port is put into the OFF output (NOT ACTIVE) state at POWER ON/RESET.
4-23.OUT30 PORT(Additional I/O)
This is a port to set ON/OFF of the additional I/O output signals OUT30～OUT37.
It outputs the contents of the following bits to OUT30～OUT37.
It also reads the current output status (previous data output to this port).

D７

D６

D５

D４

D３

D２

D１

D０

* It becomes active state(ON) at setting 1.
OUT30
OUT31
OUT32
OUT33
OUT34
OUT35
OUT36
OUT37

The output port is put into the OFF output (NOT ACTIVE) state at POWER ON/RESET.

- 20 -

５．ＤＥＴＡＩＬＳ ＯＦ ＤＲＩＶＥ ＦＵＮＣＴＩＯＮＳ
5-1. JOG DRIVE Function
This function performs 1-pulse drive by the +/- JOG command.
Example of X axis:
・Drive by +JOG command
XCWP
XCCWP
・Drive by -JOG command
XCWP
XCCWP
There is not any data required for JOG DRIVE.
5-2. SCAN DRIVE Function
This function accelerating/decelerating drive by the +/- SCAN command.
The drive is stopped by one of the methods described in 5-10., 5-11. and 5-12.
Example of X axis:
Hz
HSPD

LSPD
URATE

DRATE
t

・Drive by +SCAN command
XCWP
XCCWP
・Drive by -SCAN command
XCWP
XCCWP
The data required for SCAN DRIVE are as follows:
Data name
Setting command----------------------------------------------------------------------------------------------HSPD (HIGH SPEED)HSPD SETLSPD (LOW SPEED)LSPD SETURATE (acceleration time constant)
RATE SETDRATE (deceleration time constant)
RATE SET
Note: When LSPD≧HSPD is specified, constant-speed drive is performed with HSPD.

- 21 -

5-3. INDEX DRIVE Function
Accelerating/decelerating drive is performed with the specified number of pulses by the INCREMENTAL INDEX
command. (or up to the target address by ABSOLUTE INDEX command).
Example of X axis:
Hz
HSPD
Specified numberof pulses(target address)
LSPD
URATE

DRATE
t

・When +(CW)direction is specified
XCWP
XCCWP
・When -(CCW)direction is specified
XCWP
XCCWP
The data required for INDEX DRIVE is as follows.
Data name
Setting command----------------------------------------------------------------------------------------------HSPD (HIGH SPEED)HSPD SETLSPD (LOW SPEED)LSPD SETURATE (acceleration time constant)
RATE SETDRATE (deceleration time constant)
RATE SETSpecified number of pulses (target address)
When INDEX DRIVE is started
Note1: When LSPD≧HSPD is specified, constant-speed drive is performed with HSPD.
Note2: When LSPD＜HSPD and URATE≠DRATE are specified, the timing up to a pulse output is different fromthat of URATE＝DRATE. For details refer to Chapter １２. Timing.
For this reason, please use the same data unless specially required.
5-4. Drive Speed Change Function
Using the SPEED CHANGE command allows you to change speed of the SCAN or INDEX DRIVE currently taking place(note that this command is valid only for these two drive types).
The drive is accelerated or decelerated to the speed specified by the SPEED CHANGE Command.
Note1: This speed change is not available when the INDEX DRIVE is taking place at URATE≠DRATE.
Note2: Speed change is available within the range of LSPD＜Change speed＜HSPD.
Note3: When the SPEED CHANGE Command has been executed, you must wait until the command is internallyaccepted before requesting another speed change using this command. Check the SPEED CHANGE BUSY BIT
in the STATUS5 PORT to make sure that the SPEED CHANGE Command is executable.

- 22 -

5-5. Machine Origin Detecting Function (ORIGIN DRIVE)
Drive is performed up to machine origin detection by the ORIGIN command.
The drive up to machine origin detection is performed by a combination of JOG DRIVE, CONSTANT SCAN DRIVE,SCAN DRIVE and ABSOLUTE INDEX DRIVE.
There are 9 types of machine origin detection. For the details of the types and processes, refer to
Chapter ７.
The data required for ORIGIN DRIVE is as follows:
Data name
Setting command----------------------------------------------------------------------------------------------HSPD (HIGH SPEED)HSPD SETLSPD (LOW SPEED)LSPD SETCSPD (CONSTANT SPEED)CSPD SETURATE (acceleration time constant)
RATE SETDRATE (deceleration time constant)
RATE SETOFFSET PULSE
OFFSET PULSE SETLDELAY (LIMIT DELAY TIME)
ORIGIN DELAY SETSDELAY (SCAN DELAY TIME)
ORIGIN DELAY SETJDELAY (JOG DELAY TIME)
ORIGIN DELAY SET
5-6. Machine Origin Detecting Function Using Limit Sensor
Two of the machine origin detection sensors can use CCW LIMIT signal as the origin sensor.
This function helps reducing number of sensors.
Refer to Chapter 7 for details of the models and processes.

- 23 -

5-7. S-RATE SCAN DRIVE Function
S-shaped accelerating/decelerating drive is performed by the +/- S-RATE SCAN command.
At the S-shaped accelerating/decelerating drive, the speed difference between SLSPD and SHSPD is divided
into 3 equal parts. In the mid-speed area of the 3 equally-divided parts, linear acceleration/decelerationis performed by SRATE.
In the remaining areas, curvilinear smooth acceleration/deceleration is performed.
The drive is stopped by one of the methods described in 5-10., 5-11. and 5-12.

The data required for S-RATE SCAN DRIVE is as follows:
Data name
Setting command----------------------------------------------------------------------------------------------SHSPD (high speed for S-RATE DRIVE)SHSPD SETSLSPD (low speed for S-RATE DRIVE)SLSPD SETSRATE (acceleration/deceleration time constant for S-RATE DRIVE)SRATE SET
Note: When SLSPD≧SHSPD is specified, constant-speed drive is performed with SHSPD.
5-8. S-RATE INDEX DRIVE Function
S-shaped accelerating/decelerating drive is performed with the specified number of pulses(or up to the target address) by the S-RATE INCREMENTAL INDEX command (or S-RATE ABSOLUTE INDEX command).
The acceleration/deceleration rate characteristics are the same as those of S-RATE SCAN DRIVE.

The data required for S-RATE INDEX DRIVE is as follows:
Data name
Setting command----------------------------------------------------------------------------------------------SHSPD (high speed for S-RATE DRIVE)SHSPD SETSLSPD (low speed for S-RATE DRIVE)SLSPD SETSRATE (acceleration/deceleration time constant for S-RATE DRIVE)SRATE SETSpecified number of pulses (target address)
When S-RATE INDEX DRIVE is started
Note: When SLSPD≧SHSPD is specified, constant-speed drive is performed with SHSPD.

- 24 -

5-9. S-RATE DRIVE Parameter Adjusting Function
For S-RATE DRIVE, internal parameters can be adjusted. To perform S-RATE DRIVE, the 4 internal parametersof SSRATE, SERATE, SCSPD1 and SCSPD2 are required first.
Usually, these parameters are automatically set to initial values when SRATE, SLSPD and SHSPD are set but
can be adjusted to optional values by respective adjust commands.

The adjustable parameters are as follows.
Data name
Adjust command---------------------------------------------------------------------------------------------------------SSRATE (time constant at a start of acceleration and an end of deceleration)
SSRATE ADJUSTSERATE (time constant at an end of acceleration and at a start of deceleration)
SERATE ADJUSTSCSPD1 (linear rate start speed at acceleration and linear rate end speed at deceleration) SCSPD1 ADJUSTSCSPD2 (linear rate end speed at acceleration and linear rate start speed at deceleration) SCSPD2 ADJUST(1) SSRATE
Explanation of data …… Indicates the momentary time constant at a start of acceleration and at a end of
deceleration.
The time constant changes smoothly from SSRATE to SRATE between SLSPD and SCSPD1.
Initial value …………… Automatically set nearly to an eightfold value of SRATE by the SRATE SET command.
Note1: When DRIVE TYPE is the fixed mode,the initial value of SSRATE may be anonexistent value in the rate data table depending on the SRATE value.
(Even if the eightfold value of SRATE does not exist in the rate data table,
the eightfold value of SRATE is adopted as an initial value of SSRATE.)
Note2: When the SRATE value is large, the SSRATE value cannot exceed the maximum
settable rate value. The maximum rate value in each drive type is approximately
as shown below.
L-TYPE ……………… Approx. 1030ms/1000Hz
M-TYPE ……………… Approx. 51.5ms/1000Hz
H-TYPE ……………… Approx. 5.15ms/1000Hz
Arithmetic mode … When resolution data is supposed to be D
Maximum rate value＝1,030 ÷ D(ms/1000Hz)(For the details of the arithmetic mode,
refer to the User's Manual [Applied Functions Part].)Adjusting range ………… SSRATE≧SRATE
Note1: When SSRATE＜SRATE, is specified, SSRATE＝SRATE.
Note2: After the SRATE SET command is executed, the SSRATE value adjusted prior to the
execution is invalidated and reset to the initial value.
When DRIVE TYPE has been changed by the SPEC INITIALIZE1 command, the SSRATE
value is also reset to the initial value.
(2) SERATE
Explanation of data …… Indicates the time constant at an end of acceleration and at a start ofdeceleration.
The time constant changes smoothly from SRATE to SERATE between SCSPD2 and SHSPD.
Initial value …………… The same as SSRATE.
Adjusting range ………… The same as SSRATE.

- 25 -

(3) SCSPD1
Explanation of data …… Indicates the linear rate start speed or linear rate end speed by SRATE.
Between SCSPD1 and SCSPD2, the time constant indicates a linear ratecharacteristic because the SRATE value is fixed.
Initial value …………… Set to the following value represented by the following expression by the SLSPD
SET or SHSPD SET command.
1
SCSPD1＝SLSPD＋(SHSPD－SLSPD)×3
Adjusting range ………… SLSPD≦SCSPD1≦SCSPD2
Note1: When SCSPD1＜SLSPD is specified, SCSPD1＝SLSPD.
When SCSPD1＞SCSPD2 is specified, SCSPD1＝SCSPD2.
Note2: After the SLSPD SET or SHSPD SET command is executed,
the SCSPD1 value adjusted prior to the execution is invalidated and reset tothe initial value.
When DRIVE TYPE has been changed by the SPEC INITIALIZE1 command, the SCSPD1
value is reset to the initial value.
(4) SCSPD2
Explanation of data …… Indicates the linear rate end speed or linear rate start speed by SRATE.
Between SCSPD1 and SCSPD2, the time constant indicates a linear ratecharacteristic because the SRATE value is fixed.
Initial value …………… Set to the value represented by the following expression by the SLSPD SET or
SHSPD SET command.
2
SCSPD2＝SLSPD＋(SHSPD－SLSPD)×3
Adjusting range ………… SCSPD1≦SCSPD2≦SHSPD
Note1: When SCSPD2＜SCSPD1 is specified, SCSPD2＝SCSPD1.
When SCSPD2＞SHSPD is set, SCSPD2＝SHSPD.
Note2: After the SLSPD SET or SHSPD SET command is executed,
the SCSPD2 value adjusted prior to the execution is invalidated and reset tothe initial value.
When DRIVE TYPE has been changed by the SPEC INITIALIZE1 command, the SCSPD2
value is also reset to the initial value.

- 26 -

5-10.Slow Stop Function
The pulse output can be put into a slow stop by the SLOW STOP command.
After the pulse output is stopped in the above way, SSEND becomes 1.
5-11.Fast Stop Function
When you use emergency stop in response to system failure, also turn off power of the WARNING

drive system. If an error has occurred to the controller or wiring system, the Fast Stop
may not work. This may lead to a serious accident. For details, refer to Chapter 19.

The pulse output can be put into an fast stop by the FSSTOP command or FSSTOP signal.
After the pulse output is stopped in the above way, FSEND becomes 1.
FSSTOP signal stops four axes, X, Y, Z and A immediately.
5-12.LIMIT Stop Function
When you use emergency stop in response to system failure, also turn off power of the WARNING

drive system. If an error has occurred to the controller or wiring system, LIMIT Stop
may not work. This may lead to a serious accident. For details, refer to Chapter 19.

If any error has occurred to the system or your setting is incorrect, the machine or CAUTION

workpiece damage and personal injury may occur. To prevent such an accident, be sure
to use the LIMIT Stop function for the equipment except on the rotation system.

When you use the LIMIT stop as slow stop, there may be a collision with the limit

 CAUTION

position of the mechanical device before stop. This may lead to machine or workpiecedamage. Note that the stop point will be changed if RATE, HSPD, etc. are changed.

The pulse output can be stopped by the CWLM signal when the pulse output is in the +(CW)direction or by
the CCWLM signal when the same output is in the -(CCW)direction. After the pulse output is stopped in theabove way, LSEND becomes 1. The LIMIT stop type can be switched between fast stop and slow stop by
the SPEC INITIALIZE1 command. "Fast stop" is selected at POWER ON/RESET.
5-13.Function for Servo Driver
The target motor can be switched by the SPEC INITIALIZE1 command. The target motor is a servo motor ora stepping motor. "Stepping motor" is selected as the target motor at POWER ON/RESET.
The signals for servo motor are as follows.
DEND input signal: The deviation COUNTER END signal from the servo driver is input. Even after thecompletion of pulse output, the driving status is kept until DEND＝LOW is confirmed,
and the command is not terminated with BUSY and DRIVE BIT＝1.
DRST output signal: The deviation COUNTER RESET signal is output to the servo driver. If the pulse output
is put into an fast stop, the DRST signal＝LOW is output for 10ms and the deviation
COUNTER of the servo driver is reset. The DRST signal＝LOW can also be output
optionally for 10ms by the SERVO RESET command.
The above signals are disabled when a stepping motor is selected as the target.
In this case, DEND input and DRST output can be used as a general purpose input and general purpose output,
respectively. For their usage, refer to the User's Manual [Applied Functions Part].
5-14.Current Position Reading Function
The current position can read by the ADDRESS READ command.
The guaranteed data range is a pulse area of +8,388,607 to -8,388,607. The current position is reset to
0 at POWER ON/RESET and can also be set to an optional value by the ADDRESS INITIALIZE command.

- 27 -

5-15.Interrupt Request Function(1) After the termination of a command, an interrupt request (RDYINT signal) can be generated for the
initiator. RDYINT signal is generated too at the stop(the termination of a command) for FSSTOP,
STOP, and LIMIT, etc.
There are 3 interrupt request generation patterns as shown below.
One of them is selected by the SPEC INITIALIZE1 command. Item 1 is selected at POWER ON/RESET.
1． Output only when a command accompanied by pulse output is terminated.
2． Output when every command is terminated(except special commands).
3． No output in any case.
Note: This function is not effective when the COUNTER command is executed or when special commands are
executed. For details of special commands, Refer to the description of 6-2(2) Interrupt request (CNTINT signal) may occur in response to any given count value of the PULSE COUNTER.
Interrupt request (DFLINT signal) may occur in response to the value above or below any given count valueof the DEFERENTIAL COUNTER. For details, refer to the description of PULSE/DEFERENTIAL COUNT COMPARE
function in DETAILS OF COUNTER FUNCTION in Chapter 8.
5-16.Speed Data Hz Unit Setting Function
Speed data (HSPD, LSPD, CSPD, SHSPD, SLSPD, and HSPD1 to 10 when an applied function is used) can be
set as 3-byte data in Hz.
The data setting range is 1 to 3,333,333 so the speed can be set in the range of 1Hz to 3.3MHz.
＊Speed setting example
When 10000 (002710Ｈ) has been set in the HSPD:
HSPD＝10000Hz
However, the MCC05v2 output frequency is controlled by counting the reference clocks (40MHz).
For this reason, a frequency that cannot be physically output may appear for the set value of speed data.
Consequently, there will be a difference,specially in a high speed area, between the set value and the real
output frequency.
Supposing that the set value of speed data is F', the real output frequency F is represented by thefollowing expression.
F＝160,000,000(Hz)
Integer part of 〔160,000,000/F'〕

In the above expression, the part following the decimal point of the wavy-underlined number will be ignored,
so that the real output frequency becomes a little higher than the set value.
Take this point into consideration when accuracy is required between the set value and the real output.

- 28 -

5-17.DRIVE TYPE Switching Function
The acceleration/deceleration time constant method when the MCC05v2 is put in accelerating/decelerating
drive can be roughly classified into two modes, fixed data mode and arithmetic mode.
For the fixed data mode, the 3 types of L-TYPE, M-TYPE and H-TYPE are available for reasons of output
frequency,acceleration/deceleration time constant setting range and speed difference at acceleration/
deceleration, etc.
For the arithmetic mode, refer to the User's Manual [Applied Functions Part].
In the fixed data mode, the acceleration/deceleration time constant (URATE, DRATE) is fixed by the datatable beforehand, so the user must specify an appropriate time constant by No. of the data table.
For the rate data table, refer to Chapter １８. The speed range, rate range and speed difference at
acceleration/deceleration in each type are as follows.

L-TYPE
Speed range(LSPD,SLSPD)
Speed range(except LSPD,SLSPD)
Rate range
Speed difference(Note1)

Fixed data mode
M-TYPE

H-TYPE

Arithmetic mode

10Hz～100kHz

10Hz～800kHz

10Hz～3.3MHz

10Hz～3.3MHz

1Hz～100kHz

1Hz～800kHz

1Hz～3.3MHz

1Hz～3.3MHz

1000ms/1000Hz～1.0ms/1000Hz
51Hz/STEP～62Hz/STEP

50ms/1000Hz～0.05ms/1000Hz
1kHz/STEP～4kHz/STEP

5ms/1000Hz～0.005ms/1000Hz
10kHz/STEP～68kHz/STEP

1030ms/1000Hz～0.004ms/1000Hz
51Hz/STEP～68kHz/STEP

Note1: The speed difference indicates a speed difference between before and after speed change at
acceleration/deceleration. This speed difference is rather small at a low speed and gradually
increases as the speed is accelerated.
5-18.Present Speed Reading Function
Speed data can be read from the DRIVE DATA1, 2 and 3 PORTs during drive, and read data can beconverted into present speed by using the following formula:
160,000,000
Present Speed =(Hz)Ｖwhere, Ｖ : Read dataNote1: The range of speed to be read by using this function is from about 9.5Hz to 3.3MHz because thedata length is 3byte. Be careful in reading speeds in the slow area.
Note2: Since the DRIVE DATA1, 2 and 3 PORTs are generally dedicated to read values of the PULSE COUNTER,
it is necessary to change the port function to reading speed data in case of reading speed.
To change the function, the SPEED PORT SELECT Command is used.

5-19.Set Data Reading Function
The SET DATA READ Command allows you to read various set data or SPEC INITIALIZE DATA.
This function is helpful for debugging or for applications requiring high reliability since it enables tore-confirm data already set to each axis.

- 29 -

６．ＤＥＳＣＲＩＰＴＩＯＮ ＯＦ ＢＡＳＩＣ ＦＵＮＣＴＩＯＮ ＤＲＩＶＥ ＣＯＭＭＡＮＤＳＡＮＤ ＯＰＥＲＡＴＩＯＮ ＳＥＱＵＥＮＣＥＳ
Execute each command to the port (refer to 4-1.) of the axis to which the command is executed.
In the following, a description is give about the X axis MCC05v2. The same is also applicable to the Y axis,
the Z axis and A axis.
6-1. Basic Function DRIVE Command Table
The mark ＊ denotes a command accompanied by pulse output.

＊
＊
＊
＊
＊
＊

＊

D７D６D５D４D３D２D１D０

HEX C0DE

0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1
0 0 0 0 0 0 1 0
0 0 0 0 0 0 1 1
0 0 0 0 0 1 0 0
0 0 0 0 0 1 0 1
0 0 0 0 0 1 1 0
0 0 0 0 0 1 1 1
0 0 0 0 1 0 0 0
0 0 0 0 1 0 0 1
0 0 0 0 1 0 1 0

００
０１
０２
０３
０４
０５
０６
０７
０８
０９
０Ａ
０Ｂ～０Ｆ
１０
１１
１２
１３
１４
１５
１６～１７
１８～１９
１Ａ
１Ｂ
１Ｃ
１Ｄ
１Ｅ
１Ｆ
２０～５Ｆ
６０
６１
６２
６３
６４
６５
６６
６７～６Ｆ
７０
７１
７２
７３
７４～Ｅ１
Ｅ２
Ｅ３～Ｆ１
Ｆ２～Ｆ６

0 0 0 1 0 0 0 0
0 0 0 1 0 0 0 1
0 0 0 1 0 0 1 0
0 0 0 1 0 0 1 1
0 0 0 1 0 1 0 0
0 0 0 1 0 1 0 1

0 0 0 1 1 0 1 0
0 0 0 1 1 0 1 1
0 0 0 1 1 1 0 0
0 0 0 1 1 1 0 1
0 0 0 1 1 1 1 0
0 0 0 1 1 1 1 1
0 1 1 0 0 0 0 0
0 1 1 0 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 0 0 0 1 1
0 1 1 0 0 1 0 0
0 1 1 0 0 1 0 1
0 1 1 0 0 1 1 0

＊
＊
＊
＊

0 1 1 1 0 0 0 0
0 1 1 1 0 0 0 1
0 1 1 1 0 0 1 0
0 1 1 1 0 0 1 1
1 1 1 0 0 0 1 0

COMMAND NAMENO OPERATIONSPEC INITIALIZE1PULSE COUNTER INITIALIZE
ADDRESS INITIALIZE
ADDRESS READSERVO RESETRATE SETLSPD SETHSPD SETDFL COUNTER INITIALIZESET DATA READ
Setting is disabled.
+JOG
-JOG
+SCAN
-SCAN
INCREMENTAL INDEXABSOLUTE INDEX
Setting is disabled.
Setting is disabled.
CSPD SETOFFSET PULSE SETORIGIN DELAY SETORIGIN FLAG RESETORIGIN
Setting is disabled.
Setting is disabled.
SRATE SETSLSPD SETSHSPD SETSSRATE ADJUSTSERATE ADJUSTSCSPD1 ADJUSTSCSPD2 ADJUST
Setting is disabled.
+ S-RATE SCAN
- S-RATE SCAN
S-RATE INCREMENTAL INDEXS-RATE ABSOLUTE INDEX
Setting is disabled.
ERROR STATUS READ
Setting is disabled.
Setting is disabled.

Note1: When URATE ≠ DRATE is specified, the execution time as follows.
L-TYPE
MAX100ms

M-TYPEMAX 35ms

H-TYPEMAX 15ms

Note2: The execution time cannot be specified. Refer to Chapter １２. Timing.
Note3: Applied function DRIVE commands are assigned.
For details, refer to the User's Manual [Applied Functions Part].

- 30 -

Execution timeMAX 20μs
MAX 1.2ms(Note1)
MAX 25μs
MAX 30μs
MAX 25μs
MAX 11ms
MAX 60μs(Note1)
MAX 95μs(Note1)
MAX 85μs
MAX 25μs
MAX 35μs(Note3)(Note2)(Note2)(Note2)(Note2)(Note2)(Note2)(Note3)
MAX 55μs
MAX 20μs
MAX 25μs
MAX 25μs(Note2)(Note3)
MAX 150μs
MAX 150μs
MAX 150μs
MAX 100μs
MAX 100μs
MAX 100μs
MAX 100μs(Note2)(Note2)(Note2)(Note2)
MAX 25μs(Note3)

6-2. Special Command Table
Special commands can always be executed, except just behind not Special command executed in less than 4μs.
D７D６D５D４D３D２D１D０

HEX C0DE

COMMAND NAME

1 1 1 1 0 1 1 1
1 1 1 1 1 0 0 0
1 1 1 1 1 0 0 1
1 1 1 1 1 0 1 0
1 1 1 1 1 1 0 0
1 1 1 1 1 1 0 1
1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1

Ｆ７
Ｆ８
Ｆ９
ＦＡ
ＦＣ
ＦＤ
ＦＥ
ＦＦ

SPEED CHANGE
INT MASKADDRESS COUNTER PORT SELECTDFL COUNTER PORT SELECTPULSE COUNTER PORT SELECT
SPEED PORT SELECTSLOW STOPFAST STOP

Note: The execution time cannot be specified.

Execution time
(Note)MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns(Note)(Note)

Refer to Chapter １２. Timing.

6-3. NO OPERATION Command
COMMAND……… 00Ｈ

Function : No function
However, DREND BIT and ERROR BIT in STATUS1 are cleared.

Execution sequenceN

BUSY=0 in
STATUS1?
Y
COMMAND 00Ｈ
WRITE- 31 -

6-4. SPEC INITIALIZE1 Command
COMMAND……… 01Ｈ

Function : Defines operation specifications.

Execution sequence
Drive control specifications are defined in DRIVE DATA1.
N

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT is as follows.

Y
DATA1 PORTWRITE

DATA1 PORT
D７

D０

COMMAND 01Ｈ
WRITE

DRIVE TYPE
LIMIT STOP TYPE
MOTOR TYPE
RDYINT TYPE
The bit marked slash may be set to 0 or 1.

The details of each bit are shown below.

The bit is set to the underlined side at POWER ON/RESET.

(1) DRIVE TYPE (D１,D０)
Specifies DRIVE TYPE.
D１
0
0
1
1

D０
0
1
0
1

DRIVE TYPE
L-TYPE
M-TYPE
H-TYPE
Arithmetic mode (Note)

Note: For the arithmetic mode, refer tothe User's Manual [Applied Functions Part].

(2) LIMIT STOP TYPE (D２)Specifies the type of LIMIT STOP by the CWLM and CCWLM signals.
0: Fast stop
1: Slow stop(3) MOTOR TYPE (D３)Specifies the target motor.
0: SERVO

1: STEPPING(4) RDYINT TYPE (D５,D４)
Specifies an interrupt request (RDYINT) generation pattern upon termination of a command.
D５
0
0
1

D４
Generation pattern
0 Generated upon termination of a command accompanied by pulse output.
1 Generated upon termination of every command.
x Not output in any case.

- 32 -

6-5. PULSE COUNTER INITIALIZE Command

N

COMMAND……… 02Ｈ

Function : Defines PULSE COUNTER operation specifications.

Execution sequence

PULSE COUNTER specifications are defined in DRIVE DATA1, DRIVE DATA2
and DRIVE DATA3 PORT.

BUSY=0 in
STATUS1?
YDATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITE

The contents of DRIVE DATA1 WRITE PORT are as follows.
DATA1 PORT
D７
    
The order
may not
be observed.

D０

COMP STOP TYPE
CNTINT OUTPUT TYPE
CNTINT LATCH TRIGGER TYPE

Note: The bit D７ to D３ must to be set 0.

COMMAND 02Ｈ
WRITE

The details of each bit are shown below.

The bit is set to the underlined side at POWER ON/RESET.

(1) COMP STOP TYPE (D０)When the "Stop Enable" is selected for the PULSE COUNTER COMP STOP ENABLE, this bit is used for specifying
the fast stop or slow stop. (The same specification is selected for the COMPARE REGISTER1 to 5).
0: Fast stop
1: Slow stop
(2) CNTINT OUTPUT TYPE (D１)This bit is used for specifying a CNTINT output specification on the PULSE COUNTER.
(The same specification is selected for the COMPARE REGISTER1 to 5).
0: Latches and outputs detection done on each comparator (executing the STATUS3 READ resets the latch).
1: Detection done on each comparator is output without being latched.
Note: Selecting 1 outputs the comparator detection as it is, thus reset with the STATUS3 READ becomes
unavailable.

(3) CNTINT LATCH TRIGGER TYPE (D２)When "Latch" is selected for the CNTINT output specification of the PULSE COUNTER, this bit is used forselecting a latch type (the same specification is selected for the COMPARE REGISTER1 to 5).
0: Level latch (Even if you may execute the STATUS3 READ while the detection conditions are met,current active state of CNTINT output remains the same).
1: Edge latch (Executing the STATUS3 READ generates CNTINT output reset even if the detection
conditions are met).
Note: When the output without latch is selected for CNTINT output, this bit does not have any effect.

- 33 -

The contents of DRIVE DATA2 WRITE PORT are as follows.
DATA2 PORT
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０)
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２)
These bits become effective only when D０ BIT＝1, selecting an external input clock count method.
D２
0
0
1
1

D１
0
1
0
1

Count pattern
Count by multiplying the XEA and XEB inputs by 1.
Count by multiplying the XEA and XEB inputs by 2.
Count by multiplying the XEA and XEB inputs by 4.
Count-up by XEA and count-down by XEB.

(3) AUTO CLEAR ENABLE (D３)
Sets the AUTO CLEAR function.
0: No AUTO CLEAR is executed.

1: AUTO CLEAR is executed.

(4) RELOAD ENABLE (D４)
Sets the RELOAD function.
0: No RELOAD is executed.

1: RELOAD is executed.

Input clock type90ﾟ phasedifference clock
Independent clock
for each direction(5) COMP1 INT ENABLE (D５)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６)
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.

- 34 -

The contents of DRIVE DATA3 WRITE PORT are as follows.
DATA3 PORT
D７

D０

COMP2 INT ENABLE
COMP2 STOP TYPECOMP3 INT ENABLE
COMP3 STOP TYPECOMP4 INT ENABLE
COMP4 STOP TYPECOMP5 INT ENABLE
COMP5 STOP TYPE
The details of each bit are shown below.

The bit is set to the underlined side at POWER ON/RESET.

(1) COMP2 INT ENABLE (D０)
Determines whether or not to output the match output CNTINT of COMPARE REGISTER2.
0: CNTINT is not output.
1: CNTINT is output.
(2) COMP2 STOP TYPE (D１)
Determines whether or not to put the pulse output into stop by the match output of COMPARE REGISTER2.
0: Not put into stop.
1: Put into stop.
(3) COMP3 INT ENABLE (D２)
Determines whether or not to output the match output XCNTINT of COMPARE REGISTER3.
0: XCNTINT is not output.
1: XCNTINT is output.
(4) COMP3 STOP TYPE (D３)
Determines whether or not to put the pulse output into stop by the match output of COMPARE REGISTER3.
0: Not put into stop.
1: Put into stop.
(5) COMP4 INT ENABLE (D４)
Determines whether or not to output the match output XCNTINT of COMPARE REGISTER4.
0: XCNTINT is not output.
1: XCNTINT is output.
(6) COMP4 STOP TYPE (D５)Determines whether or not to put the pulse output into stop by the match output of COMPARE REGISTER4.
0: Not put into stop.
1: Put into stop.
(7) COMP5 INT ENABLE (D６)
Determines whether or not to output the match output XCNTINT of COMPARE REGISTER5.
0: XCNTINT is not output.
1: XCNTINT is output.
(8) COMP5 STOP TYPE (D７)
Determines whether or not to put the pulse output into stop by the match output of COMPARE REGISTER5.
0: Not put into stop.
1: Put into stop.

- 35 -

6-6. ADDRESS INITIALIZE Command
COMMAND……… 03Ｈ

Function : Defines the current position as the specified
absolute address and stores it into memory.
ADDRESS is specified in DRIVE DATA1 PORT, DRIVE DATA2 PORT and
DRIVE DATA3 PORT.

Execution sequenceN

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 to DRIVE DATA3 are as follows.
DATA1 PORTY
DATA1 PORT
WRITE

D７


DATA2 PORTWRITE

The order
may not
be observed.

DATA3 PORTWRITE

DATA2 PORT
D０ D７
 

D０


ABSOLUTE ADDRESS (0～FFFFFFＨ)
When ADDRESS is negative, it is represented in 2's complement form.

・Setting example of ADDRESSADDRESS(decimal)
DATA1 PORT
+8,388,607
7FＨ
+10
00Ｈ
±0
00Ｈ
-10
FFＨ
-8,388,607
80Ｈ

COMMAND 03Ｈ
WRITE

DATA3 PORT
D０ D７
 

DATA2 PORT
FFＨ
00Ｈ
00Ｈ
FFＨ
00Ｈ

DATA3 PORT
FFＨ
0AＨ
00Ｈ
F6Ｈ
01Ｈ

6-7. ADDRESS READ Command

N

COMMAND……… 04Ｈ

Function : Reads the current position of MOTOR as ABSOLUTE ADDRESS.

Execution sequence

ABSOLUTE ADDRESS is read out from DRIVE DATA1 PORT, DRIVE DATA2 PORT and
DRIVE DATA3 PORT.
The contents of DRIVE DATA1 to DRIVE DATA3 are as follows.

BUSY=0 in
STATUS1?

DATA1 PORT
D７
YCOMMAND 04Ｈ
WRITE

DATA2 PORT
D０ D７
 

DATA3 PORT
D０ D７
 

D０


ABSOLUTE ADDRESS (0～FFFFFFＨ)
N

BUSY=0 in
STATUS1?
YDATA1 PORTREAD
DATA2 PORTREAD
DATA3 PORTREAD

(Note)

When ADDRESS is negative, it is represented in 2's complement form.
・Output example of ADDRESSADDRESS(decimal)
DATA1 PORTDATA2 PORTDATA3 PORT
+8,388,607
7FＨ
FFＨ
FFＨ
+10
00Ｈ
00Ｈ
0AＨ
±0
00Ｈ
00Ｈ
00Ｈ
-10
FFＨ
FFＨ
F6Ｈ
-8,388,607
80Ｈ
00Ｈ
01Ｈ
This command is provided for command compatibility with conventional products.
The address data to be read are same as the count data (see 6-39.) of the
ADDRESS COUNTER. Apply the COUNT DATA for general use.

Note: Data must be read in the order of DRIVE DATA1 to DRIVE DATA3 PORT. Usually, DRIVE DATA 1 PORT, DRIVEDATA2 PORT and DRIVE DATA3 PORT are ports exclusively used for read out the counter value of the PULSE
COUNTER. The port functions of these ports are switched by writing the ADDRESS READ command and thenused for reading address data. The address data reading port functions are recovered to the original
port functions by reading DRIVE DATA3 PORT.
Accordingly, when the ADDRESS READ command has been written, be sure to perform a READ operation
for DRIVE DATA3 PORT.
- 36 -

6-8. SERVO RESET Command
COMMAND……… 05Ｈ

Function : Outputs the DRST signal to the servo driver for 10ms.

Execution sequence

N

When STEPPING MOTOR is selected, this command becomes equal to the
NO OPERATION command.

BUSY=0 in
STATUS1?
Y
COMMAND 05Ｈ
WRITE

6-9. RATE SET Command
COMMAND……… 06Ｈ

Function : Sets URATE (acceleration time constant) and DRATE(deceleration time constant) required foraccelerating/decelerating drive.

Execution sequence

N

URATE and DRATE are set in DRIVE DATA2 PORT and DRIVE DATA3 PORT
respectively in No. of the data table.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA2 PORT and DRIVE DATA3 PORT are as follows.
Y
DATA2 PORTWRITE
DATA3 PORTWRITECOMMAND 06Ｈ
WRITE

DATA2 PORT
D７
DATA3 PORT
D０ D７
 

D０


The order
may not
be observed.

DRATE No.(Set in a hexadecimal value)
URATE No.(Set in a hexadecimal value)
Once the RATE SET command has been executed, it does not need to be
set again unless the contents must be changed.
Each No. is 9(100ms/1000Hz) at POWER ON/RESET.

6-10.LSPD SET Command

N

COMMAND……… 07Ｈ

Function : Sets LSPD (LOW SPEED) required for drive.

Execution sequence

LSPD is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORT
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


LSPD DATA
The LSPD DATA setting range is 10 (0AＨ) to 3,333,333 (32DCD5Ｈ). (Note)

DATA3 PORTWRITECOMMAND 07Ｈ
WRITE

Once the LSPD SET command has been executed, it does not need to be
set again unless the contents must be changed.
LSPD is 300Hz at POWER ON/RESET.
Note: The upper limit of the DATA setting range is the SPEED range shownin 5-17. unlike DRIVE TYPE.
- 37 -

6-11.HSPD SET Command

N

COMMAND……… 08Ｈ

Function : Sets HSPD (HIGH SPEED) required for drive.

Execution sequence

HSPD is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORT
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


HSPD DATA
The HSPD DATA setting range is 1 (1Ｈ) to 3,333,333 (32DCD5Ｈ). (Note)

DATA3 PORTWRITECOMMAND 08Ｈ
WRITE

Once the HSPD SET command has been executed, it does not need to be
set again unless the contents must be changed.
HSPD is 3000Hz at POWER ON/RESET.
Note: The upper limit of the DATA setting range is the SPEED range shownin 5-17. unlike DRIVE TYPE.

- 38 -

6-12.DFL COUNTER INITIALIZE Command
COMMAND……… 09Ｈ

Function : Defines operation specification for the DIFFERENTIAL COUNTER.

Execution sequence
DIFFERENTIAL COUNTER specifications are defined in DRIVE DATA1, DRIVE DATA2
and DRIVE DATA3 PORT.
N

BUSY=0 in
STATUS1?
YDATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITE

The contents of DRIVE DATA1 WRITE PORT are as follows.
DATA1 PORT
D７
D０
    
The order
may not
be observed.

DFL COMP STOP TYPEDFLINT OUTPUT TYPEDFLINT LATCH TRIGGER TYPE

Note: Applied functions are assigned to D７ to D３ bits.
They must be set to 0.

COMMAND 09Ｈ
WRITE

The details of each bit are shown below.

The bit is set to the underlined side at POWER ON/RESET.

(1) DFL COMP STOP TYPE (D０)When "Stop Enable" is selected for the DIFFERENTIAL COUNTER COMP STOP ENABLE, this bit is used forselecting the fast stop or slow stop through deceleration.
(the same specification applies to the COMPARATORs1 and 2).
0: Fast stop
1: Slow stop(2) DFLINT OUTPUT TYPE (D１)This bit is used for selecting the DFLINT output type on the DIFFERENTIAL COUNTER.
(the same specification applies to the COMPARATORs1 and 2).
0: Detection of each COMPARATOR is latched, then output (executing the STATUS3 READ resets the latch).
1: Detection of each COMPARATOR is output as it is without latch.
Note: Selecting 1 outputs detection of each COMPARATOR without latch, so reset of this mode with the
STATUS3 READ is not available.
(3) DFLINT LATCH TRIGGER TYPE (D２)When "Latch" is selected for the DFLINT output specification, this bit is used for the latch type.
(the same specification applies to the COMPARATORs1 and 2).
0: Level latch (When the detection condition is valid, executing the STATUS3 READ does not change
active state of the DFLINT output).
1: Edge latch (When the detection condition is valid, executing the STATUS3 READ resets the DFLINT
output).
Note: When through-output is selected for the DFLINT, latch type selection with this bit is disabled.

- 39 -

Contents of the DRIVE DATA2 PORT are
as shown to the right.

DATA2 PORT
D７


D０
 
COUNT CLOCK TYPE
COUNT PATTERN TYPECOMP1 INT ENABLE
COMP1 STOP ENABLE

Note: 2３ and 2４ bits must be set to 0.
Since an applied function assigned to 2７ bit, it must be set to 0, too.
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０)This bit is used for selecting the operation clock for the DIFFERENTIAL COUNTER.
0: The DIFFERENTIAL COUNTER is operated with the drive pulse (XCWP and XCCWP) fromthe X axis MCC05v2 and external clock from the XEA and XEB.
1: The DIFFERENTIAL COUNTER is operated only with external clock from the XEA (X axis encoder
A-phase signal) and XEB (X axis B-phase signal).
(2) COUNT PATTERN TYPE (D１,D２)
This bit is used for selecting the external operation clock for the DIFFERENTIAL COUNTER.
D２
0
0
1
1

D１
0
1
0
1

Count pattern
Count by multiplying the XEA and XEB inputs by 1.
Count by multiplying the XEA and XEB inputs by 2.
Count by multiplying the XEA and XEB inputs by 4.
Count-up by XEA and count-down by XEB.

Input clock type90ﾟ phasedifference clock
Independent clock
for each direction

Note: Output pulse from the MCC05v2 is counted down with the CW clock and counted up with CCW clock.
The following illustrates 90゜phase difference clock counting pattern.
See Section 12-11. for the detail.
EA
EB

Count-up

EA
EB

Count-down(3) COMP1 INT ENABLE (D５)Determines whether or not to output the match output DFLINT of COMPARE REGISTER1.
0: DFLINT is not output.
1: DFLINT is output.
(4) COMP1 STOP TYPE (D６)
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.

Contents of the DRIVE DATA3 PORT are
as shown to the right.

DATA3 PORT
D７
     

D０

COMP2 INT ENABLE
COMP2 STOP ENABLE
Note: 2２ to 2７ bits must be set to 0.
(3) COMP2 INT ENABLE (D０)
Determines whether or not to output the match output DFLINT of COMPARE REGISTER2.
0: DFLINT is not output.
1: DFLINT is output.
(4) COMP3 STOP TYPE (D１)
Determines whether or not to put the pulse output into stop by the match output of COMPARE REGISTER2.
0: Not put into stop.
1: Put into stop.
- 40 -

6-13.SET DATA READ Command
COMMAND……… 0AＨ

Function : Reads SPEC DATA, speed data and other data being set on
the MCC05v2 of each axis.

Execution sequenceN

BUSY=0 in
STATUS1?
YDATA1 PORTWRITE

On the DRIVE DATA3 PORT (WRITE), specify a command used for reading thetarget set data. Part of the DRIVE DATA1 PORT(WRITE) is also used.
(see Note2 and 3).
The contents of DRIVE DATA3 WRITE PORT are as follows.
DATA3 PORT
D７
D０
(Note2 and 3)
DATA3 PORTWRITECOMMAND 0AＨ
WRITE

N

BUSY=0 in
STATUS1?
YDATA1 PORTREAD
DATA2 PORTREAD
DATA3 PORTREAD

Command code for the data to be read.
Data set on the DRIVE DATA1, 2 and 3 PORTs are read.
Data output procedure using the applicable commands is the same as the data setup
procedure which is also implemented using the applicable commands.
Example: When you want to confirm the RATE setup number, write "06Ｈ" (RATE SET
Command) to the DATA3 PORT and "0AＨ" (this command) to the COMMAND PORT
to read the DATA2 and 3 PORTs. This will output the URATE No. to the DATA2(Note1)PORT and the DRATE No. to the DATA3 PORT.
The data available for confirmation are limited to those that have been set with thefollowing commands. Writing a command code other than those listed to the DRIVEDATA3 PORT may not generate the desired data. In this case, the STATUS1 PORT ERROR
BIT is set to 1.
CODE

COMMAND NAME

CODE

COMMAND NAME

01Ｈ
02Ｈ
06Ｈ
07Ｈ
08Ｈ
09Ｈ
0BＨ
0CＨ
0EＨ
18Ｈ
19Ｈ
1AＨ
1BＨ
1CＨ
20Ｈ
22Ｈ
24Ｈ
25Ｈ
26Ｈ
27Ｈ

SPEC INITIALIZE1PULSE COUNTER INITIALIZE
RATE SET(Note2)
LSPD SETHSPD SETDFL COUNTER INITIALIZECW SOFT LIMIT SET*
CCW SOFT LIMIT SET*DFL DIVISION DATA SET*
END PULSE SET*ESPD SET*CSPD SETOFFSET PULSE SETORIGIN DELAY SETSPEC INITIALIZE3*RESOLUTION SET*PART HSPD SET (Note3)*
INCREMENTAL DATA SET*
ABSOLUTE DATA SET*PART PULSE SET (Note3)
*

29Ｈ
2BＨ
2CＨ
2DＨ
2EＨ
2FＨ
50Ｈ
51Ｈ
52Ｈ
53Ｈ
54Ｈ
55Ｈ
5FＨ
60Ｈ
61Ｈ
62Ｈ
63Ｈ
64Ｈ
65Ｈ
66Ｈ

PART RATE SET (Note3) *MARGIN TIME SET*PEAK PULSE SET*SEND PULSE SET*SESPD SET*SPEC INITIALIZE4*
DEND TIME SET*
EXTEND ORIGIN SPEC SET *CONSTANT SCAN MAX PULSE*CHANGE POINT DATA SET *CHANGE DATA SET*
AUTO CHANGE SET*SPEC INITIALIZE5*SRATE SETSLSPD SETSHSPD SETSSRATE ADJUSTSERATE ADJUSTSCSPD1 ADJUSTSCSPD2 ADJUST

Commands attached with an asterisks (*) are intended for the applied functions.
For details, see the User's Manual [Applied Functions Part].
Note1: Although number of data ports read and the DATA PORT No. vary according to the command used for thereading, read of the DRIVE DATA3 PORT must not be ignored whenever this command has been executed.
Note2: When reading in the ARITHMETIC MODE, an URATE/DRATE must be set to the DRIVE DATA1 PORT(WRITE).
Note3: As for these commands, PART No. must be set to the DRIVE DATA1 PORT(WRITE).
Note4: All data are output in the same state as they are written without conducting internal processing
such as MIN/MAX process. And, once a piece of data has been written, you cannot change its DRIVE
TYPE between the FIXED and ARITHMETIC at its output.
Note5: Initial setting specified at the time of POWER ON/RESET is not read.
- 41 -

6-14.+/-JOG Command
COMMAND……… Drive in +(CW)direction
Execution sequence

N

10Ｈ

Drive in -(CCW)direction

11Ｈ

Function : Performs JOG DRIVE.

BUSY=0 in
STATUS1?
Y
COMMAND 10Ｈor 11Ｈ WRITE

6-15.+/-SCAN Command
COMMAND……… Drive in +(CW)direction
Execution sequence

N

12Ｈ

Drive in -(CCW)direction

13Ｈ

Function : Performs SCAN DRIVE.

BUSY=0 in
STATUS1?
Y
COMMAND 12Ｈor 13Ｈ WRITE

6-16.INCREMENTAL INDEX Command

N

COMMAND……… 14Ｈ

Function : Performs INDEX DRIVE with relative specified.

Execution sequence

The number of output pulses and the direction are specified in DRIVE DATA1
PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITECOMMAND 14Ｈ
WRITE

D７

The order
may not
be observed.

DATA2 PORT
D０ D７
 

DATA3 PORT
D０ D７
 

D０


Number of output pulses (0～FFFFFFＨ)
When set to -(CCW)direction,
the number of output pulses is represented in 2's complement form.

・Setting example of the number of output pulses
Output pulse (decimal)
DATA1 PORTDATA2 PORT
+8,388,607
7FＨ
FFＨ
+10
00Ｈ
00Ｈ
±0
00Ｈ
00Ｈ
-10
FFＨ
FFＨ
-8,388,607
80Ｈ
00Ｈ- 42 -

DATA3 PORT
FFＨ
0AＨ
00Ｈ
F6Ｈ
01Ｈ

6-17.ABSOLUTE INDEX Command

N

COMMAND……… 15Ｈ

Function : Performs INDEX DRIVE with absolute specified.

Execution sequence

The absolute address of the target location is specified in DRIVE DATA1
PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITECOMMAND 15Ｈ
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


TARGET ADDRESS (0～FFFFFFＨ)
When TARGET ADDRESS is negative, it is represented in 2's complement
form.

・Setting example of TARGET ADDRESSTARGET ADDRESS(decimal)
DATA1 PORT
+8,388,607
7FＨ
+10
00Ｈ
±0
00Ｈ
-10
FFＨ
-8,388,607
80Ｈ

DATA2 PORT
FFＨ
00Ｈ
00Ｈ
FFＨ
00Ｈ

DATA3 PORT
FFＨ
0AＨ
00Ｈ
F6Ｈ
01Ｈ

6-18.CSPD SET Command
COMMAND……… 1AＨ

Function : Sets CSPD (constant speed) required for machine origin
detection drive.
CSPD is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

Execution sequenceN

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORT
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


CSPD DATAThe CSPD DATA setting range is 1 (1Ｈ) to 3,333,333 (32DCD5Ｈ). (Note)

DATA3 PORTWRITECOMMAND 1AＨ
WRITEOnce the CSPD SET command has been executed, it does not need to be
set again unless the contents must be changed.
CSPD is 300Hz at POWER ON/RESET.
Note: The upper limit of the DATA setting range is the SPEED range shownin 5-17. unlike DRIVE TYPE.

- 43 -

6-19.OFFSET PULSE SET Command
COMMAND……… 1BＨ

Function : Sets the number of OFFSET PULSES required for machine origin
detection drive.
The number of OFFSET PULSES is set in DRIVE DATA3 PORT.

Execution sequence

The contents of DRIVE DATA3 PORT are as follows.
N

BUSY=0 in
STATUS1?

DATA3 PORT
D７
Y
DATA3 PORT
WRITE

D０


Number of OFFSET PULSESCOMMAND 1BＨ
WRITEThe OFFSET PULSE number setting range is 0(0Ｈ) to 255 (FFＨ).
The number of OFFSET PULSES is set to 0 at POWER ON/RESET.
Once the OFFSET PULSE SET command has been executed, it does not need
to be set again unless the contents must be changed.

6-20.ORIGIN DELAY SET Command

N

COMMAND……… 1CＨ

Function : Sets DELAY TIME at machine origin detection drive.

Execution sequence

The following data is set in each of DRIVE DATA1 PORT, DRIVE DATA2 PORT
and DRIVE DATA3 PORT.
DATA1 PORT ……… LIMIT DELAY TIME (300ms(3CＨ))
Delay time up to a start of reverse after a stop in the
CCW LIMIT.
DATA2 PORT ……… SCAN DELAY TIME ( 50ms(0AＨ))
Delay time when the direction is reversed in the CONSTANT
SCAN and SCAN DRIVE processes.
DATA3 PORT ……… JOG DELAY TIME ( 20ms(04Ｈ))
Delay time per pulse in the JOG DRIVE process.

BUSY=0 in
STATUS1?
YDATA1 PORTWRITE
DATA2 PORTWRITE

The order
may not
be observed.

DATA3 PORTWRITECOMMAND 1CＨ
WRITE

In each port, the value in parentheses is set at POWER ON/RESET.

Each data is 00Ｈ to FFＨ and set in units of 5ms.
Example) 00Ｈ ……… No delay time
0AＨ ……… 50ms
FFＨ ……… 1.275s
Usually it is not need to change this data. Only something improvement
at the machine origin detection or the tact time, etc.
The ORIGIN DELAY SET command does not need to be set again unless thecontents must be changed.

6-21.ORIGIN FLAG RESET Command
COMMAND……… 1DＨ

Function : Resets the detection flag to be used for machine origin
detection drive.

Execution sequenceN

BUSY=0 in
STATUS1?

This command is used only when you don't desire to perform
ABSOLUTE INDEX DRIVE nearly up to the machine origin when machine origin
detection drive is used.
For details, refer to Chapter ７.

Y
COMMAND 1DＨ
WRITE

Note: Execute this command before executing the ORIGIN command.

- 44 -

6-22.ORIGIN Command
COMMAND……… 1EＨ

Function : Performs DRIVE up to machine origin detection.

Execution sequence
The ORG type to be executed is specified in DRIVE DATA1 PORT.
N

BUSY=0 in
STATUS1?

ORG-0 ………… 00Ｈ
ORG-1 ………… 01Ｈ
ORG-2 ………… 02Ｈ
ORG-3 ………… 03Ｈ
ORG-4 ………… 04Ｈ
ORG-5 ………… 05Ｈ
ORG-10 ……… 0AＨ
ORG-11 ……… 0BＨ
ORG-12 ……… 0CＨ

Y
DATA1 PORTWRITECOMMAND 1EＨ
WRITE

If any data other than the above is set, a command error occurs
and no operation is performed.
When each bit of LSEND, SSEND and FEND in STATUS1 is 0 and DREND bit is 1 upon terminationof DRIVE, the machine origin has been detected normally.(04Ｈ)
When any of the ERROR, LSEND, SSEND and FSEND is set to 1, the machine origin has not been
detected. If a detect is interrupted by the RESET entered during a drive, all bits in the
STATUS1 are set to 0 (00Ｈ).

6-23.SRATE SET Command
COMMAND……… 60Ｈ

Function : Sets SRATE (acceleration/deceleration time constant)required for S-RATE DRIVE.

Execution sequence
SRATE is set in DRIVE DATA3 PORT in No. of data table.
N

BUSY=0 in
STATUS1?
YDATA3 PORTWRITE

The contents of DRIVE DATA3 PORT are as follows.
DATA3 PORT
D７


D０


COMMAND 60Ｈ
WRITE

SRATE No.
Once the SRATE SET command has been executed, it does not need to be
set again unless the contents must be changed.
SRATE No. is set at No.9(100ms/1000Hz) at POWER ON/RESET.

Note: After this command is executed, SSRATE and SERATE are reset to the initial values.
Be careful about this point after SSRATE and SERATE are compensated.

- 45 -

6-24.SLSPD SET Command

N

COMMAND……… 61Ｈ

Function : Sets SLSPD (low speed) required for S-RATE DRIVE.

Execution sequence

SLSPD is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORT
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORTWRITE

DATA3 PORT
D０ D７
 

D０


SLSPD DATAThe SLSPD DATA setting range is 10(0AＨ) to 3,333,333 (32DCD5Ｈ). (Note1)
Once the SLSPD SET command has been executed, it does not need to be
set again unless the contents must be changed.
SLSPD is 300Hz at POWER ON/RESET.

COMMAND 61Ｈ
WRITE

Note1: The upper limit of the data setting range depends on DRIVE TYPE. Refer to 5-17.
Note2: After this command is executed, SCSPD1 and SCSPD2 are reset to the initial values.
Be careful about this point after SCSPD1 and SCSPD2 are compensated.
6-25.SHSPD SET Command

N

COMMAND……… 62Ｈ

Function : Sets SHSPD (high speed) required for S-RATE DRIVE.

Execution sequence

SHSPD is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORT
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


SHSPD DATAThe SHSPD DATA setting range is 1(1Ｈ) to 3,333,333(32DCD5Ｈ). (Note1)

DATA3 PORTWRITECOMMAND 62Ｈ
WRITE

Once the SHSPD SET command has been executed, it does not need to be
set again unless the contents must be changed.
SHSPD is 3000Hz at POWER ON/RESET.

Note1: The upper limit of the data setting range depends on DRIVE TYPE. Refer to 5-17.
Note2: After this command is executed, SCSPD1 and SCSPD2 are reset to the initial values.
Be careful about this point after SCSPD1 and SCSPD2 are compensated.

- 46 -

6-26.SSRATE ADJUST Command
COMMAND……… 63Ｈ

Function : Adjusts SSRATE (time constant at a start of acceleration
or at an end of deceleration) required for S-RATE DRIVE.

Execution sequence
SSRATE is set in DRIVE DATA3 PORT in No. of data table.
N

BUSY=0 in
STATUS1?

The contents of DRIVE DATA3 PORT are as follows.
DATA3 PORTY
DATA3 PORT
WRITE

D７


D０


COMMAND 63Ｈ
WRITE

SSRATE No.

SSRATE is automatically set to an approximately eightfold value of SRATE by the SRATE SET command.
When the specification is satisfied with this data, this command does not need to be executed.
For the details of automatic setting value, refer to 5-9.
Note1: After the SRATE SET command is executed, SSRATE adjusted prior to the execution becomes ineffective
and is reset to the initial value. This is also applicable to the case in which DRIVE TYPE has beenchanged by the SPEC INITIALIZE1 command.
Note2: The SSRATE adjusting range is SSRATE≧SRATE. When SSRATE＜SRATE, SSRATE becomes equal to SRATE.
6-27.SERATE ADJUST Command
COMMAND……… 64Ｈ

Function : Adjusts SERATE (at an end of acceleration or at a start ofdeceleration) required for S-RATE DRIVE.

Execution sequence
SERATE is set in DRIVE DATA3 PORT in No. of data table.
N

BUSY=0 in
STATUS1?

The contents of DRIVE DATA3 PORT are as follows.
DATA3 PORTY
DATA3 PORT
WRITE

D７


D０


COMMAND 64Ｈ
WRITE

SERATE No.

SERATE is automatically set to an approximately eightfold value of SRATE by the SRATE SET command.
When the specification is satisfied with this data, this command does not need to be executed.
For the details of automatic setting value, refer to 5-9.
Note1: After the SRATE SET command is executed, SERATE adjusted prior to the execution becomes ineffective
and is reset to the initial value. This is also applicable to the case in which DRIVE TYPE has beenchanged by the SPEC INITIALIZE1 command.
Note2: The SERATE adjusting range is SERATE≧SRATE. When SERATE＜SRATE, SERATE becomes equal to SRATE.

- 47 -

6-28.SCSPD1 ADJUST Command
COMMAND……… 65Ｈ

Function : Adjusts SCSPD1 (linear RATE start speed or linear RATE end
speed) required for S-RATE DRIVE.
SCSPD1 is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

Execution sequenceN

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORT
D７
Y
DATA1 PORTWRITE
DATA2 PORTWRITE

DATA2 PORT
D０ D７
 

DATA3 PORT
D０ D７
 

The order
may not
be observed.

D０

SCSPD1 DATASCSPD1 is reset to the value indicated by the following expression
at POWER ON/RESET or by the SLSPD SET command or SHSPD SET command.
When the specification is satisfied with the following data,
this command does not need to be executed.
1
SCSPD1＝SLSPD＋(SHSPD－SLSPD)×3

DATA3 PORTWRITECOMMAND 65Ｈ
WRITE

Note1: After the SLSPD SET command or the SHSPD SET command is executed, SCSPD1 set prior to the execution
becomes ineffective and is reset to the initial value. This is also applicable to the case inwhich DRIVE TYPE has been changed by the SPEC INITIALIZE1 command.
Note2: The SCSPD1 adjusting range is SLSPD≦SCSPD1≦SCSPD2.
When SCSPD1＜SLSPD is specified, SCSPD1 becomes equal to SLSPD.
When SCSPD1＞SCSPD2 is specified, SCSPD1 becomes equal to SCSPD2.
6-29.SCSPD2 ADJUST Command
COMMAND……… 66Ｈ

Function : Adjusts SCSPD2 (linear RATE end speed or linear RATE
start speed) required for S-RATE DRIVE.
SCSPD2 is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.

Execution sequenceN

BUSY=0 in
STATUS1?

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORTY
DATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITECOMMAND 66Ｈ
WRITE

D７


DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


SCSPD2 DATASCSPD2 is reset to the value indicated by the following expression
at POWER ON/RESET or by the SLSPD SET command or SHSPD SET command.
When the specification is satisfied with the following data,
this command does not need to be executed.
2
SCSPD2＝SLSPD＋(SHSPD－SLSPD)×3

Note1: After the SLSPD SET command or the SHSPD SET command is executed, SCSPD2 set prior to the execution
becomes ineffective and is reset to the initial value. This is also applicable to the case inwhich DRIVE TYPE has been changed by the SPEC INITIALIZE1 command.
Note2: The SCSPD2 adjusting range is SCSPD1≦SCSPD2≦SHSPD.
When SCSPD2＜SCSPD1 is specified, SCSPD2 becomes equal to SCSPD1.
When SCSPD2＞SHSPD is specified, SCSPD2 becomes equal to SHSPD.

- 48 -

6-30.+/-S-RATE SCAN Command
COMMAND……… Drive in +(CW)direction
Execution sequence

N

70Ｈ

Drive in -(CCW)direction

71Ｈ

Function : Performs S-RATE SCAN DRIVE.

BUSY=0 in
STATUS1?
Y
COMMAND 70Ｈor 71Ｈ WRITE

6-31.S-RATE INCREMENTAL INDEX Command

N

COMMAND……… 72Ｈ

Function : Performs S-RATE INDEX DRIVE with relative specified.

Execution sequence

The number of output pulses and the direction are specified in
DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT.
The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.

BUSY=0 in
STATUS1?
YDATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITECOMMAND 72Ｈ
WRITE

DATA1 PORT
D７
DATA2 PORT
D０ D７
 

DATA3 PORT
D０ D７
 

D０


The order
may not
be observed.

Number of output pulses (0～7FFFFFＨ)
When set to -(CCW)direction,
the number of output pulses is represented in 2's complement form.
・Setting example of the number of output pulses
Output pulse (decimal)
DATA1 PORTDATA2 PORTDATA3 PORT
+8,388,607
7FＨ
FFＨ
FFＨ
+10
00Ｈ
00Ｈ
0AＨ
±0
00Ｈ
00Ｈ
00Ｈ
-10
FFＨ
FFＨ
F6Ｈ
-8,388,607
80Ｈ
00Ｈ
01Ｈ

6-32.S-RATE ABSOLUTE INDEX Command

N

COMMAND……… 73Ｈ

Function : Performs S-RATE INDEX DRIVE with absolute specified.

Execution sequence

The absolute address of the target location is specified in
DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT.
The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.

BUSY=0 in
STATUS1?
YDATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITECOMMAND 73Ｈ
WRITE

DATA1 PORT
D７
DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


TARGET ADDRESS (0～7FFFFFＨ)
When TARGET ADDRESS is negative, it is represented in 2's complement
form.
・Setting example of TARGET ADDRESSTARGET ADDRESS(decimal)
DATA1 PORTDATA2 PORTDATA3 PORT
+8,388,607
7FＨ
FFＨ
FFＨ
+10
00Ｈ
00Ｈ
0AＨ
±0
00Ｈ
00Ｈ
00Ｈ
-10
FFＨ
FFＨ
F6Ｈ
-8,388,607
80Ｈ
00Ｈ
01Ｈ

- 49 -

6-33.ERROR STATUS READ Command
COMMAND……… E2ＨFunction : When the STATUS1 PORT ERROR BIT is set to 1, this commandreads cause of an error.

Execution sequence
Cause of an error is output to the DRIVE DATA3 PORT in hexadecimal value.
N

BUSY=0 in
STATUS1?
00Ｈ ･････ Error is not present.
01Ｈ ･････ An undefined command has been executed.
02Ｈ ･････ The SET DATA READ has been executed by an irrelevant command.
03Ｈ ･････ The SPECIAL INDEX has been executed when the URATE≠DRATE specified. *Or, the SPECIAL SCAN at URATE≠DRATE has been executed when the
SOFT LIMIT is enabled.
04Ｈ ･････ Section1 condition error in the SERIAL INDEX.
*
05Ｈ ･････ A SOFT LIMIT error.
*
06Ｈ ･････ The drive has ended in a DEND ERROR.
*
07Ｈ ･････ The drive has ended in an ORIGIN ERROR.
*
08Ｈ ･････ The SENSOR INDEX3 DATA SET has not been executed.
*
09Ｈ ･････ Data error in writing a command.
･The SET DATA READ has been executed by an undefined command.
･DATA1 PORT data error during the RATE SET in the Arithmetic mode.
*･The RESOLUTION SET has been executed in the fixed data mode.
*･PART No. error in the PART HSPD.
*･PART No. error in the PART PULSE.
*･PART No. error in the PART RATE.
*･PART No. error in the SERIAL INDEX CHECK.
*
0AＨ ･････ The INDEX CHANGE has not been executed because the drive is ended. *0DＨ ･････ DEND ERROR and ORIGIN ERROR have occurred.
*

Y
COMMAND E2Ｈ
WRITE

N

BUSY=0 in
STATUS1?
YDATA3 PORT
READ

Those errors indicated with asterisks (*) are relevant to applied functions.
For details, see the User's Manual [Applied Functions Part].
As it is so with a STATUS1 PORT ERROR BIT, an error code can be cleared by any command other than thiscommand. When the command is being executed, the error code is cleared after the execution is complete.
6-34.SPEED CHANGE Command
COMMAND……… F7Ｈ

Function : Changes speed of the SCAN DRIVE or INDEX DRIVE
currently taking place.

Execution sequence(Note1)N

2５BIT=0 in
STATUS5YDATA1 PORTWRITE
DATA2 PORTWRITE
DATA3 PORTWRITESPEED is set in DRIVE DATA1 PORT, DRIVE DATA2 PORT and DRIVE DATA3 PORT
in 3-byte data in Hz.
The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are same as HSPD SET
command.

(Note2)

Note1: Before writing this command, make sure that the SPEED CHANGE BUSY BIT
on the STATUS5 is set to 0.
Note2: Speed data write to the ports must take place in the order of the
DATA1, 2 and 3 PORT.
(3-byte data is acquired while write to the DATA3 PORT is taking place.)
Note3: This command is valid for the SCAN DRIVE and INDEX DRIVE alone.

COMMAND F7Ｈ
WRITE- 50 -

6-35.INT MASK Command
COMMAND……… F8Ｈ

Function : Masks detection of each COMPARATOR at its output.

Execution sequence
INT MASK is set on the DRIVE DATA3 PORT.
DATA3 PORTWRITECOMMAND F8Ｈ
WRITEContents of the DRIVE DATA3 PORT is as follows.
DATA3 PORT
D７


D０

PLS COMP1 INT MASKPLS COMP2 INT MASKPLS COMP3 INT MASKPLS COMP4 INT MASKPLS COMP5 INT MASKDFL COMP1 INT MASKDFL COMP2 INT MASK

Note: D７ bit must be set to 0.

Detail of the each bit on the DRIVE DATA3 PORT is as follows.
At POWER ON/RESET, the underlined side is selected.
(1) PLS COMP1 INT MASK (D０)This bit is used for enabling or disabling masking of output of the detection from the PULSE COUNTERCOMPARATOR1.
0: Not masked.
1: Masked.
(2) PLS COMP2 INT MASK (D１)This bit is used for enabling or disabling masking of output of the detection from the PULSE COUNTERCOMPARATOR2.
0: Not masked.
1: Masked.
(3) PLS COMP3 INT MASK (D２)This bit is used for enabling or disabling masking of output of the detection from the PULSE COUNTERCOMPARATOR3.
0: Not masked.
1: Masked.
(4) PLS COMP4 INT MASK (D３)This bit is used for enabling or disabling masking of output of the detection from the PULSE COUNTERCOMPARATOR4.
0: Not masked.
1: Masked.
(5) PLS COMP5 INT MASK (D４)This bit is used for enabling or disabling masking of output of the detection from the PULSE COUNTERCOMPARATOR5.
0: Not masked.
1: Masked.
(6) DFL COMP1 INT MASK (D５)This bit is used for enabling or disabling masking of output of the detection from the DIFFERENTIAL
COUNTER COMPARATOR1. (excessive deviation).
0: Not masked.
1: Masked.
(7) DFL COMP2 INT MASK (D６)This bit is used for enabling or disabling masking of output of the detection from the DIFFERENTIAL
COUNTER COMPARATOR2. (in position)
0: Not masked.
1: Masked.
Note1: Even if "Masking" is specified, the COMPARATOR match stop function is not affected.
For details, refer to 8-5.
Note2: BUSY＝0 may not be checked. But, you must not use this command when another command is being
written or written after(less than 4 μS) to the DATA3 PORT to rewrite it.

- 51 -

6-36.PORT SELECT Command(1) ADDRESS COUNTER PORT SELECT Command
COMMAND……… F9Ｈ

Function : Switches the DRIVE DATA1, 2 and 3 PORTs to the special port
for reading count data on the ADDRESS COUNTER.
(2) DFL COUNTER PORT SELECT Command
COMMAND……… FAＨ
Function : Switches the DRIVE DATA1, 2 and 3 PORTs to the special port
for reading count data on the DIFFERENTIAL COUNTER.
(3) PULSE COUNTER PORT SELECT Command
COMMAND……… FCＨFunction : Switches the DRIVE DATA1, 2 and 3 PORTs to the special port
for reading count data on the PULSE COUNTER.
(4) SPEED PORT SELECT Command
COMMAND……… FDＨ
Function : Switches the DRIVE DATA1, 2 and 3 PORTs to the special port
for reading speed data of output pulse.
These commands are used for switching data to be read from the DRIVE DATA1, 2 and 3 PORTs.
There is no specified command execution sequence. however do not execute this command less than
4 μS after another command is executed.
Desired data will be provided from the DRIVE DATA1, 2 and 3 PORTs within 200ns from execution of a command.
Once executed, each port select command is valid until another port select command is executed.
At POWER ON/RESET, the DRIVE DATA1, 2 and 3 PORTs are set as the special port for reading count data on
the PULSE COUNTER.
If one of the following commands is written, the DRIVE DATA1, 2 and 3 PORTs temporarily output datarequired by the command, then restore once selected the port function. Reading the DRIVE DATA3 PORT
restores them the preceding function.
Thus, whenever one of the following commands has been executed, you must read the DRIVE DATA3 PORT.
ADDRESS READ, SET DATA READ, ERROR STATUS READ and SERIAL INDEX CHECK (applied function).
6-37.SLOW STOP Command
COMMAND……… FEＨ

Function : Puts DRIVE into a slow stop.
When DRIVE is of constant speed, this command puts it intoa fast stop.

Regarding the execution sequence, there is no special stipulation.
However, since this command stops DRIVE, it is ignored when it is written during BUSY＝0.
This command can function only at DRIVE＝1 but not at DRIVE＝0.
6-38.FAST STOP Command
COMMAND……… FFＨFunction : Puts DRIVE into a fast stop.

Regarding the execution sequence, there is no special stipulation.
However, since this command stops DRIVE, it is ignored when it is written during BUSY＝0.
This command can function only at DRIVE＝1 but not at DRIVE＝0.

- 52 -

6-39.COUNTER READ
COMMAND……… None

Function : Reads the count data of the PULSE COUNTER or DIFFERENTIAL
COUNTER or ADDRESS COUNTER.(Note1)

Execution sequenceThis function reads out the count data of the counter data from
DRIVE READ PORT after the PORT SELECT command. (Note1)
DATA1 PORTREAD

(Note2)The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.

DATA2 PORTREAD

DATA1 PORT
D７
DATA2 PORTDATA3 PORT

D０ D７
 

D０ D７
 

D０


DATA3 PORTREAD
COUNT DATA (0～FFFFFFＨ)
When the count data is negative, it is represented in 2's complement
form.
・Example of count data
COUNT DATA(decimal)
DATA1 PORT
+8,388,607
7FＨ
+10
00Ｈ
±0
00Ｈ
-10
FFＨ
-8,388,607
80Ｈ

DATA2 PORT
FFＨ
00Ｈ
00Ｈ
FFＨ
00Ｈ

DATA3 PORT
FFＨ
0AＨ
00Ｈ
F6Ｈ
01Ｈ

Note1: The PULSE or DIFFERENTIAL or ADDRESS COUNTER select must be executed before count read by each
PORT SELECT Command.(6-36.)
Note2: Be sure to perform a DATA READ operation in the order of DRIVE DATA1 PORT, DRIVE DATA2 PORT and
DRIVE DATA3 PORT.
If this sequence is not observed, the data will not be guaranteed.
6-40.SPEED READ
COMMAND……… None

Function : Reads speed data of a drive currently taking place.

Execution sequence

After the SPEED PORT SELECT Command has been executed, this command is used
for reading current speed data from the DRIVE DATA1, 2 and 3 PORTs.

DRIVE=1 in
STATUS1?

(Note1)N

The contents of DRIVE DATA1 PORT to DRIVE DATA3 PORT are as follows.
DATA1 PORT

(Note2)Y
DATA1 PORT
READ

D７


DATA2 PORTDATA2 PORTREAD
DATA3 PORTREAD

DATA3 PORT

D０ D７
 

D０ D７
 

D０


SPEED DATA (30Ｈ～FFFFF8Ｈ)

PULSE SPEED
０ SET

Using this the data obtained through this function,pulse speed can be determined as follows:

PULSE SPEED＝160,000,000(Hz)
Ｖ

Ｖ＝READ DATA

(Example) When read data Ｖ＝48(30Ｈ)
160,000,000
PULSE SPEED＝≒ 3.3(MHz)48
Note1: DRIVE＝1 may not be checked. But, note that speed data immediately before the stop will be
continuously generated ever after the drive has been stopped.
Note2: Be sure to perform a DATA READ operation in the order of DRIVE DATA1 PORT, DRIVE DATA2 PORT and
DRIVE DATA3 PORT.
If this sequence is not observed, the data will not be guaranteed.
- 53 -

７．ＭＡＣＨＩＮＥ ＯＲＩＧＩＮ ＤＥＴＥＣＴＩＮＧ ＦＵＮＣＴＩＯＮ
There are 9 MCC05v2 machine origin detection types in all, namely, ORG-0,ORG-1,ORG-2,ORG-3,ORG-4,ORG-5,ORG-10,
ORG-11 and ORG-12.
The X axis, Y axis , Z axis and A axis are provided independently with this function,
so mutual interference does not occur.
In each process of ORG-0 to ORG-5 and ORG-11 to ORG-12, the machine origin address once detected is stored inmemory, thereby permitting machine origin detection in a short time thereafter. Therefore, a detection flag isprepared inside the MCC05v2.
When this flag is ON, movement is performed nearly up to the machine origin(ORIGIN + OFFSET PULSE) by
ABSOLUTE INDEX DRIVE, then DRIVE of the processes shown in and after 7-2. is performed.
When the flag is OFF, DRIVE of each process is directly performed without performing ABSOLUTE INDEX DRIVE.
The following description is given about the X axis but also applicable to the Y axis, Z axis and A axis.
＊Detection flag ON condition① The machine origin was normally detected by ORG DRIVE.
＊Detection flag OFF conditions① POWER ON/RESET② DRIVE was put into an fast stop by the FSSTOP signal or the FSSTOP command.
(Including an fast stop by the match output of COMPARE REGISTER)③ ORIGIN DRIVE was stopped by the SLOW STOP command and etc.
(Including DEND ERROR or ORIGIN ERROR was occurred.)④ When the LIMIT stop type was set to fast stop, DRIVE was stopped by the LIMIT signal.
⑤ ORG DRIVE different from the previous ORG DRIVE was started.
⑥ ADDRESS exceeds the range of +8,388,607 to -8,388,607.
⑦ The ORIGIN FLAG RESET command or SPEC INITIALIZE4 Command was executed.
・The machine near-origin address for making a return with the detection flag ON is controlled in the MCC05v2,
so the user does not need to consider anything. Even if ADDRESS has been updated by the ADDRESS INITIALIZE
command, the machine near-origin address is also update, so the physical location is stored in memory.
・The machine near-origin address depends on the ORG type. In the ORG-0 to ORG-3, ORG-11 and 12 types,
the machine near-origin address is the location of "machine origin detection end position + OFFSET PULSE".
In the ORG-4,5 types, the machine near-origin address is the location of "NORG signal + OFFSET PULSE".
The OFFSET PULSE is specified in the range of 0 to 255 pulses by the OFFSET PULSE SET command.
OFFSET PULSE becomes 0 at POWER ON/RESET.
7-1. Machine Origin Detection Types
There are 9 machine origin detection types, each of which is characterized as shown in the following table.
Detection Number of Sensor status
Compensation Standard number Accuracy TimeType
sensors at completionof backlashof processes
required
ORG-0,11
1 piece
Sensor OFF
Compensation
２
Ｃ
Short
ORG-1
1 piece
Sensor ON
Compensation
２
Ｃ
Short
ORG-2,12
1 piece
Sensor OFF
Compensation
４
Ｂ
Long
ORG-3
1 piece
Sensor ON
Compensation
４
Ｂ
Long
ORG-4
2 piece
Sensor OFF
Compensation
４ or ５Ａ
LongestORG-5
2 piece
Sensor ON
Compensation
４ or ５Ａ
LongestORG-102 piece
Sensor ON
No Compensation
２
Ｃ
Shortest
・Standard number of processes
Indicates the number of DRIVEs of CONSTANT SCAN, SCAN and JOG started by ORIGIN DRIVE.
Regarding JOG DRIVE, however, the repeated JOG DRIVE process is 1.
・Accuracy
A denotes the top accuracy and the accuracy is lowered in the order of B and C.
In the following process drawings, the meaning of each symbol is as follows.
XORG,XNORG
Indicates a sensor signal. (Low with the sensor ON)
Mark ○
Indicates the detection start position.
Mark △
Indicates the detection end position.
→
Indicates SCAN DRIVE and its direction.
→
Indicates CONSTANT SCAN DRIVE and its direction.
→
Indicates repeated JOG DRIVE and its direction.
LD
Indicates a stop during LIMIT DELAY TIME.
SD
Indicates a stop during SCAN DELAY TIME.
JD
Indicates a stop during JOG DELAY TIME.
- 54 -

7-2. ORG-0 Type-(CCW)LIMIT+(CW)LIMIT
ａ

XORG
ＨＳＰＤ

ＳＤ

○

↓

○

↓→ ＣＳＰＤ"○△← ＨＳＰＤＬＤ←

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
○ : Detection start position△ : Detection end position

→ＨＳＰＤ
ＣＳＰＤ

ＳＤ

↓ →ＣＳＰＤ→ ＨＳＰＤ
○

○

ＣＳＰＤ

ＳＤ

← ↓ＳＤ

△

← ↓ＳＤ

↓→ ＣＳＰＤ△

This type uses a single sensor. The +(CW)side edge (point ａ) of the XORG signal is detected.
The ORG sensor is one that holds a single pulse or the -(CCW)side level.
7-3. ORG-1 Type-(CCW)LIMIT+(CW)LIMIT
ａ

XORG
ＨＳＰＤ

↓→ＣＳＰＤＳＤ← ＨＳＰＤ←○○△

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
○ : Detection start position△ : Detection end position↓ → ＨＳＰＤ○

ＬＤ

ＣＳＰＤ

←↓ＳＤ

↓→ ＣＳＰＤＳＤ→ ＨＳＰＤ
○

△

← ↓ＳＤ

ＣＳＰＤ

↓→ ＣＳＰＤ

ＳＤ△

This type uses a single sensor. The -(CCW)side edge (point a) of the XORG signal is detected.
The ORG sensor is one that holds a single pulse or the +(CW)side level.

- 55 -

7-4. ORG-2 Type-(CCW)LIMIT+(CW)LIMIT
ａ

XORG
ＨＳＰＤ

ＳＤ

○

↓

○

← ↓ＳＤ

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
JD : JOG DELAY TIME
○ : Detection start position△ : Detection end position↓→△← ＨＳＰＤＬＤ○↓→ ＣＳＰＤ

ＣＳＰＤ

ＪＤ

←

→ＨＳＰＤ
ＣＳＰＤ

ＪＤ

↓→

→ ＨＳＰＤ
○

○

ＣＳＰＤ

ＪＤ

← ↓ＳＤ

△

← ↓ＳＤ

↓→
△

This type used a single sensor. The +(CW)side edge (point a) of the XORG signal is detected.
The ORG sensor is one that holds a single pulse or the -(CCW)side level.
7-5. ORG-3 Type-(CCW)LIMIT+(CW)LIMIT
ａ

XORG
ＨＳＰＤ

↓→ＣＳＰＤ

ＳＤ

ＣＳＰＤ

←
○

○

←↓ＳＤ

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
JD : JOG DELAY TIME
○ : Detection start position△ : Detection end position

↓→

ＪＤ

△

← ＨＳＰＤ↓ → ＨＳＰＤ○

ＬＤ

ＣＳＰＤ

←↓ＳＤ

↓→

ＪＤ

△

→ ＨＳＰＤ
○

← ↓ＳＤ

ＣＳＰＤ

↓→

ＪＤ

△

This type uses a single sensor. The -(CCW)side edge (point a) of the XORG signal is detected.
The ORG sensor is one that holds a single pulse or the +(CW)side level.
- 56 -

7-6. ORG-4 TypeThe NEAR ORG process is performed first. Next, the ORG process is performed.
(1) NEAR ORG process-(CCW)LIMIT+(CW)LIMIT
ａ

XNORG
ＨＳＰＤ

ＳＤ

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
JD : JOG DELAY TIME
○ : Detection start position△ : Detection end position←○↓→ ＣＳＰＤ○← ＨＳＰＤ
↓

ＬＤ

○

→ＨＳＰＤ
ＣＳＰＤ

← ↓ＳＤ

→ ＨＳＰＤ
○

○

ＣＳＰＤ

← ↓ＳＤ

(2) ORG process
・XORG＝HIGH upon detection of point a (sensor OFF)
ａ
XNORG
XNORG
ｂ
ｃ
XORG
XORG
←ＣＳＰＤ ↓ＳＤ

・XORG＝LOW upon detection of point a (sensor ON)
ａ
ｃ
ＳＤ

↓→

ｂ
↓ ＣＳＰＤ→
←↓ＳＤ

ＪＤ

ＣＳＰＤ

△

ＪＤ

↓→
△

This type uses two sensors. After the +(CW)side edge (point a) of the XNORG signal is detected, the +(CW)side edge (point b) of the XORG signal is detected.
The NORG sensor is one that holds a single pulse or the -(CCW)side level, and the ORG sensor is one thatgenerates a signal such as rotary axis slit cyclically.
7-7. ORG-5 TypeThe NEAR ORG process is performed first. Next, the ORG process is performed.
(1) NEAR ORG工 process-(CCW)LIMIT+(CW)LIMIT
ａ

XNORG
ＨＳＰＤ

ＳＤ

↓→ ＣＳＰＤ←○○← ＨＳＰＤ
↓

ＬＤ

○

→ＨＳＰＤ
ＣＳＰＤ

← ↓ＳＤ

→ ＨＳＰＤ
○

○

ＣＳＰＤ

← ↓ＳＤ

- 57 -

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
JD : JOG DELAY TIME
○ : Detection start position△ : Detection end position

(2) ORG process
・XORG＝HIGH upon detection of point a (sensor OFF)
ａ
XNORG
XNORG
ｃ
ｂ
XORG
XORG
ＳＤ ↓ ＣＳＰＤ→
ＣＳＰＤ

ＪＤ

・XORG＝LOW upon detection of point a (sensor ON)ａｂｃ←ＣＳＰＤ ↓ＳＤ

←↓ＳＤ

↓→

ＪＤ

△

↓→
△

This type uses two sensors. After the +(CW)side edge (point a) of the XNORG signal is detected, the -(CCW)side edge (point b) of the XORG signal is detected.
The NORG sensor is one that holds a single pulse or the -(CCW)side level, and the ORG sensor is one thatgenerates a signal such as rotary axis slit cyclically.
7-8. ORG-10 Type-(CCW)LIMIT+(CW)LIMIT
ａ

XNORG
ｂ
XORG
ＨＳＰＤ

← ＣＳＰＤ *←*No DELAY TIME○○

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
LD : LIMIT DELAY TIME
SD : SCAN DELAY TIME
○ : Detection start position△ : Detection end position△← ＨＳＰＤ↓ ＨＳＰＤ→○ＬＤ

Note○ ＣＳＰＤ← ↓ＳＤ△

Note: Detection has been started with both XNORG signal and XORG signal ON.

This type uses two sensors. The +(CW)side edge (point a) of the XNORG signal or the +(CW)side edge
(point b) of the XORG signal is detected and CONSTANT SCAN DRIVE is performed to point b.
Both NORG sensor and ORG sensor are ones that hold a single pulse or the -(CCW)side level.

- 58 -

7-9. ORG-11 TypeThe drive is stopped at the Slow Stop irrespective of type of the LIMIT stop.

 CAUTION

So there may be a collision with the limit position of the mechanical device before stop.
This may lead to machine or workpiece damage.
Note that the stop point will be changed if RATE, HSPD, etc. are changed.

-(CCW)LIMITａ
XCCWLM(Note1)ＳＤ+(CW)LIMIT

ＨＳＰＤ

←
○

↓→ＣＳＰＤ○

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
SD : SCAN DELAY TIME
○ : Detection start position△ : Detection end position△→ ＨＳＰＤ
○

←↓ＳＤ

ＣＳＰＤ

↓→ ＣＳＰＤ

ＳＤ△

This is a detection done using a single sensor. +(CW) side edge of XCCWLM signal (indicated as "a" in the
figure) is detected. -(CCW) LIMIT sensor is used as the ORG sensor.
XCCWLM signal used must be the one that holds a single pulse or level.
Note: XORG signal is also enabled in this type, so make sure that it will not be turned active.
7-10.ORG-12 TypeThe drive is stopped at the Slow Stop irrespective of type of the LIMIT stop.

 CAUTION

So there may be a collision with the limit position of the mechanical device before stop.
This may lead to machine or workpiece damage.
Note that the stop point will be changed if RATE, HSPD, etc. are changed.

-(CCW)LIMITａ
XCCWLM(Note1)ＳＤ↓→ＣＳＰＤ+(CW)LIMIT

ＨＳＰＤ

←
○

○

←↓ＳＤ

ＣＳＰＤ

HSPD : HIGH SPEED
CSPD : CONSTANT SPEED
SD : SCAN DELAY TIME
JD : JOG DELAY TIME
○ : Detection start position△ : Detection end position

↓

ＪＤ

△

→ ＨＳＰＤ
○

←↓ＳＤ

ＣＳＰＤ

↓→ ＣＳＰＤＪＤ△This is a detection done using a single sensor. +(CW) side edge of XCCWLM signal (indicated as "a" in the
figure) is detected. -(CCW) LIMIT sensor is used as the ORG sensor.
XCCWLM signal used must be the one that holds a single pulse or level.
This type of detection differs from the ORG-11 detection in that it repeats the JOG DIVE in the final
process.
Note: XORG signal is also enabled in this type, so make sure that it will not be turned active.

- 59 -

7-11.Sensor Arrangement(1) Mount the XORG signal sensor for ORG-0, ORG-1, ORG-2 or ORG-3 and the XNORG/XORG signal sensor for ORG-10
on the -(CCW)LIMIT side along the work moving direction.
Example) For a ball screw table-(CCW)Ｗｏｒｋ+(CW)XNORG signal sensor for ORG-10
XORG signal sensor

Use photo sensors.
They shall turn off when light enters.

(2) ORG-4 and ORG-5
・Mount the XNORG signal sensor on the -(CCW)LIMIT side along the work moving direction in the same way
as (1).
・XORG signal sensor
When using a stepping motor:
Mount this sensor on the motor rotary shaft as shown below.

MOTOR

XORG signal sensor
Use a photo sensor.
It shall turn on when light enters.
Disc with slit mounted on the rotary shaft.

When using a servo motor:
Connect the encoder Z phase (Cφ) output signals +Z and -Z of the servo driver to the +XZORG and-XZORG of the C-875. For details, refer to Chapter １４.
The pulse width of the encoder Z phase (Cφ) output shall be 10μs or more.
(3) ORG-11,12
These types require the LIMIT sensor alone. XCCWLM signal is used as the origin signal.
Since XORG signal is also enabled, make sure that it will not be turned active.
7-12.Detecting Conditions(1) For the ORG-0, ORG-1, ORG-2 and ORG-3 types, the XORG signal should be detected for 1ms or more when it
passes the ORG sensor at the maximum speed. For the ORG-4, ORG-5 and ORG-10 types, the XNORG signal
should be detected for 1ms or more when it passes the NORG sensor at the maximum speed.
(2) For the ORG-4 and ORG-5 types, the distance between point a and point b and the distance between point aand point c should be N pulses or more in terms of the number of pulses.
＊N＝0.005×CSPD(Hz)Example)When CSPD＝5KHz, N＝0.005×5000＝25.
(Minimum value of
Accordingly, the distance should be 25 pulses or more.
N is 1.)
Practically, give some allowance to it.
(3) Each of the XORG and XNORG signals should have no chattering.(When photo sensors are used, this does notmatter.)(4) The distance between point a and +(CW)LIMIT shown in each process drawing should be enough for a slow stop.
(5) The distance between point a and point b shown in the ORG-10 type should be enough for a slow stop.
(6) With the ORG-11 and 12 detection, sufficient distance must be provided between the point a and themachine limit in CCW direction so that slow stop (through deceleration) is ensured for the drive.
There may be a collision with the limit position of the mechanical device before stop.

 CAUTION

his may lead to machine or workpiece damage.
Note that the stop point will be changed if RATE, HSPD, etc. are changed.

7-13.Other Functions
The following is additionally prepared as applied functions:
1.The ORIGIN DRIVE direction switch function for the time when you use the sensor in +(CW) side.
2.The MARGIN TIME function for preventing malfunction that can result from hunting.
3.The SENSOR TYPE select function used in the JOG DRIVE.
4.The ERROR DETECT function prepared for the time when the ORIGIN SENSOR detection ended unsuccessfully.
5.The function to produce XDRST signal as the origin detection is completed.
6.The function of ANDing the XORG signal and PO signal from the stepping motor driver.
For details of the applied functions, refer to the User's Manual [Applied Functions Part].

- 60 -

８．ＤＥＴＡＩＬＳ ＯＦ ＣＯＵＮＴＥＲ ＦＵＮＣＴＩＯＮＳ
The following description is given about the X axis, but also applicable to the Y axis,Z axis and A axis.
8-1. Functional Block Diagram
The MCC05v2 has three built-in 24-bit HARD COUNTERs each provided with different functions.

<XEA,XEB(External clock)<XCWP,XCCWP(Output pulse)

COUNTER
DATA1,2,3
WRITE PORT

Set data
PULSE COUNTERINITIALIZE Command

PULSE COUNTER PRESET(COUNTER Command)

24BIT PULSE COUNTERCOUNT PATTERN TYPEPULSE COUNTERINITIALIZE Command

Count data

INT CONTROLPULSE COUNTERINITIALIZE Command

24BIT COMPARATOR × 5ch

XCNTINT OUTPUT

24BIT COMPAREREGISTER × 5ch
COMP1～5 REG SET(COUNTER Command)
DFL COUNTERINITIALIZE Command

DFL COUNTER PRESET(COUNTER Command)

24BIT DIFFERENTIAL COUNTERCOUNT PATTERN TYPEDFL COUNTERINITIALIZE Command
Differential data

INT CONTROLDFL COUNTERINITIALIZE Command

SELECTOR

24BIT COMPARATOR×2ch

ADRS/DFL/PULSE
COUNTER PORTSELECT Command

DRIVE
DATA1,2,3
READ PORTXDFLINT OUTPUT

24BIT COMPAREREGISTER×2ch
COMP1～2 REG SET(COUNTER Command)
Address data

24BIT ADDRESS COUNTERADDRESS INITIALIZE Command
To another functional block

24bit data

- 61 -DRIVE
DATA1,2,3
WRITE PORT

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 ADDRESSCOUNTER 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 COUNTERPRESET 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 COUNTERINITIALIZE 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 theoutput 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 REGISTER1Specific 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 COMPAREREGISTER1 concurrently with a match of COMPARE REGISTER1.

- 62 -

8-4. DIFFERENTIAL COUNTER function(1) Differential Count Function
a. The DIFFERENTIAL COUNTER offers counting of deviation between output pulse from the MCC05v2 and external
input clock, or counting of external clock alone.
b. Count data can be read from the DRIVE DATA1, 2 and 3 PORTs any time as needed (as long as the DFL COUNTERPORT is selected). Data guarantee range is pulse area of +8,388,607 to -8,388,607.
c. The counter value is reset to 0 at POWER ON/RESET.
Using the DFL COUNTER PRESET Command of the COUNTER Commands allows you to set optional value on
the counter.
d. Any one of 90ﾟphase difference signal and respectively independent CW or CCW clock may be used as external
clock. For selecting type of external input clock and also for selecting its multiplication factor, the
DFL COUNTER INITIALIZE command is used.
At POWER ON/RESET, a single multiplication of 90ﾟphase difference signal is selected and the counterfunctions as the differential counter.
(2) Differential Count Compare Function
a. The DIFFERENTIAL COUNTER is connected to two COMPARE REGISTERs and COMPARATORs. Its counting (in absolutevalue) is constantly compared against the value set on these two registers (these registers are different
from COMPARE REGISTERs on the PULSE COUNTER).
The COMPARATOR1 is constantly available for detection of the "count in absolute value≧REGISTER1"(excessive deviation) and the COMPARATOR2 is used for detecting the "count in absolute value≦REGISTER2"(positioning complete).

+
REGISTER1REGISTER2

Deviation countedｔ

REGISTER2REGISTER1COMPARATOR1COMPARATOR2
b. Each of above detection is implemented by the STATUS signal or interrupt request signal. You can selectthe through mode (detection by the comparator is output as it is) or the latch mode (holds the detection)
for both the STATUS signal and the interrupt request signal.
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(COUNTER≧REGISTER1 or COUNTER≦REGISTER2).
For details, refer to 8-5.
The interrupt request signal (XDFLINT) is output from two comparators. You can enable or disable theoutput on individual comparator basis.
c. The pulse output can also be stopped by the COUNTER≧REGISTER1 or COUNTER≦REGISTER2.
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 DFL COUNTER INITIALIZE command is used for controlling the DFL 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.
- 63 -

8-5. Detail of COMPARATOR Functions
Output of the detected condition from five COMPARATORs for the PULSE COUNTER and two COMPARATORs for the
DIFFERENTIAL COUNTER are connected to the following functional circuit and, thus, allows control according
to the user specification.

Output ofdetection①

Through-output circuit

③

④

②

Each COMPARATOR

Level input

Output of INT signal
Latch circuit

Edge input
Suppressed output(Note)

Output of STATUS3 signal①: INT MASK Circuit
This circuit masks output from the COMPARATOR at its exit.
You can specify separate levels of masking for each comparator on the PULSE and DFL counters.
This circuit is turned on or off by the INT MASK command.
As one of the special commands, it provides real-time, fine-tuned control of the masking.
②: LATCH TYPE Switch Circuit
This circuit is used for selecting a latch trigger type when detection by the COMPARATOR is latched
before it is output.
The latch type selected commonly applies to five comparators on the PULSE COUNTER.
Likewise, the type selected applies commonly to two comparators on the DIFFERENTIAL COUNTER.
You can differentiate the latch type between the PULSE COUNTER and the DIFFERENTIAL COUNTER.
Latch-output reset condition varies according to the trigger type as described in the following.
・When the level latch is selected:
When output of the COMPARATOR detection is not taking place, reading the STATUS3 PORT resets theoutput (returns to the initial state).
・When the edge latch is selected:
Reading the STATUS3 PORT necessarily resets the output.
This circuit is turned on or off by the PULSE or DFL COUNTER INITIALIZE Command.
③: INT OUTPUT TYPE Switch Circuit
This circuit is used for selecting whether the COMPARATOR detection is to be output as it is (through)or after latch. The output type selected commonly applies to the five comparators on the PULSE COUNTER.
Likewise, the selected type commonly applies to the two comparators on the DIFFERENTIAL COUNTER.
You can differentiate the output type between the PULSE COUNTER and the DIFFERENTIAL COUNTER.
This circuit is turned on or off by the PULSE or DFL COUNTER INITIALIZE command(initially, the latch is selected).
When the through-output of detection is selected, if you execute the COUNTER Command in the course of
the INT output, this output will be turned off for a duration of 50ns.
④: INT Output Enable Circuit
A signal that has passed through ① through ③ circuits above can be unconditionally confirmed fromthe STATUS3 PORT. This circuit is used for selecting whether this signal is to be externally output as
it is (XCNTINT or XDFLINT signal).
Output of the INT signal can be separately enabled or disabled for each of the pulse or DFL comparator.
This circuit is turned on or off by the PULSE or DFL COUNTER INITIALIZE command.
All setups except for the ① INT MASK circuit are done by the COUNTER INITIALIZE command.
Thus, these setups must be complete before pulse output it turned on.
Note: Unlike the INT output or STATUS, comparator's pulse output stop function is directly enabled without
going through the above mentioned circuit.
The following shows pages in this manual that bear descriptions relevant to this function:
The PULSE COUNTER INITIALIZE Command
page 33
The DFL COUNTER INITIALIZE Command
page 39
The INT MASK Command
page 51
Timing of each signal
page 75, 76- 64 -

９．ＤＥＳＣＲＩＰＴＩＯＮ
9-1. Command TableＯＦ

ＰＵＬＳＥ ＣＯＵＮＴＥＲ

ＡＮＤ

ＤＦＬ

ＣＯＵＮＴＥＲＣＯＭＭＡＮＤThe HEX code is for the case where all the x bits are set to 0.
D７D６D５D４D３D２D１D０

HEX C0DE× × × × 0 0 0 0× × × × 0 0 0 1
× × × × 0 0 1 0× × × × 0 0 1 1
× × × × 0 1 0 0
× × × × 0 1 0 1
× × × × 0 1 1 0
× × × × 0 1 1 1
× × × × 1 0 0 0

００
０１
０２
０３
０４
０５
０６
０７
０８

COMMANDNAMEEXECUTION TIME

PULSE COUNTER PRESETPULSE COUNTER COMPARE REGISTER1 SET
PULSE COUNTER COMPARE REGISTER2 SET
PULSE COUNTER COMPARE REGISTER3 SET
PULSE COUNTER COMPARE REGISTER4 SET
PULSE COUNTER COMPARE REGISTER5 SET
DIFFERENTIAL COUNTER PRESETDIFFERENTIAL COUNTER COMPARE REGISTER1 SET
DIFFERENTIAL COUNTER COMPARE REGISTER2 SET

MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns
MAX 200ns

9-2. PULSE COUNTER PRESET Command
COMMAND……… 00Ｈ

Function : Initializes the count value of the PULSE COUNTER toa specified value.

Execution sequence(Note) COUNTER DATA1PORT WRITE
COUNTER DATA2PORT WRITE
COUNTER DATA3PORT WRITE

Preset data is specified in COUNTER DATA1 PORT, COUNTER DATA2 PORT
and COUNTER DATA3 PORT.
The order
may not
The contents of COUNTER DATA1 PORT to COUNTER DATA3 PORT are as follows.
be observed.
DATA1 PORTDATA2 PORTDATA3 PORT
D７
D０ D７
D０ D７
D０

 
 


COUNTER COMMAND
00Ｈ WRITEPRESET DATA (0～FFFFFFＨ)
When preset data is negative, it is represented in 2's complement form.
Counter value is 0 at POWER ON/RESET.

・Setting example of preset data
PRESET DATA(decimal)
DATA1 PORT
+8,388,607
7FＨ
+10
00Ｈ
±0
00Ｈ
-10
FFＨ
-8,388,607
80Ｈ

DATA2 PORT
FFＨ
00Ｈ
00Ｈ
FFＨ
00Ｈ

DATA3 PORT
FFＨ
0AＨ
00Ｈ
F6Ｈ
01Ｈ

Note: Note that the DATA and COMMAND PORTs described in this chapter are special ports for the counters
and their port addresses are different from that of the DRIVE PORTs. For the port address,
refer to 4-1.

- 65 -

9-3. PULSE COUNTER COMPARE REGISTER1 SET Command
COMMAND……… 01Ｈ

Function : Sets a specified value in COMPARE REGISTER1.

Execution sequence

COMPARE DATA is specified in COUNTER DATA1 PORT, COUNTER DATA2 PORT
and COUNTER DATA3 PORT.

(Note) COUNTER DATA1PORT WRITE
COUNTER DATA2PORT WRITE
COUNTER DATA3PORT WRITE
COUNTER COMMAND
01Ｈ WRITE

The contents of COUNTER DATA1 PORT to COUNTER DATA3 PORT are as follows.
DATA1 PORT
D７
DATA2 PORT
D０ D７
 

The order
may not
be observed.

DATA3 PORT
D０ D７
 

D０


COMPARE DATA (0～FFFFFFＨ)

When COMPARE DATA is negative, it is represented in 2's complement form.
COMPARE DATA is 800000Ｈ at POWER ON/RESET.
Note: Note that the DATA and COMMAND PORTs described in this chapter are special ports for the counters
and their port addresses are different from that of the DRIVE PORTs.
For the port address, refer to 4-1.
9-4. PULSE COUNTER COMPARE REGISTER2 SET Command
COMMAND……… 02Ｈ

Function:

Sets a specified value in COMPARE REGISTER2.

The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-5. PULSE COUNTER COMPARE REGISTER3 SET Command
COMMAND……… 03Ｈ

Function:

Sets a specified value in COMPARE REGISTER3.

The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-6. PULSE COUNTER COMPARE REGISTER4 SET Command
COMMAND……… 04Ｈ

Function:

Sets a specified value in COMPARE REGISTER4.

The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-7. PULSE COUNTER COMPARE REGISTER5 SET Command
COMMAND……… 05Ｈ

Function:

Sets a specified value in COMPARE REGISTER5.

The execution sequence is the same as that of the COMPARE REGISTER1 SET
command.
9-8. DFL COUNTER PRESET Command
COMMAND……… 06Ｈ

Function : Modifies the DIFFERENTIAL COUNTER value to the specified one.
The execution sequence is the same as that of the PULSE COUNTER RESET
command.
At POWER ON/RESET, the counter value is set to 0.

- 66 -

9-9. DFL COUNTER COMPARE REGISTER1 SET Command
COMMAND……… 07Ｈ

Function : Sets a value specified for the DIFFERENTIAL COUNTER COMPARE1
REGISTER in an absolute value.

Execution sequence(Note1) COUNTER DATA1PORT WRITE
COUNTER DATA2PORT WRITECOMPARE DATA is specified in COUNTER DATA1 PORT, COUNTER DATA2 PORT and
The order
COUNTER DATA3 PORT.
may not
The contents of COUNTER DATA1 PORT to COUNTER DATA3 PORT are as follows.
be observed.
DATA1 PORTDATA2 PORTDATA3 PORT
D７
D０ D７
D０ D７
D０
 
 
 


COUNTER DATA3PORT WRITECOMPARE DATA (0～7FFFFFＨ)
COUNTER COMMAND
07Ｈ WRITE

This bit must be set to 0 (Note 2).
At POWER ON/RESET, it is set to 0.

Note1: Note that the DATA and COMMAND PORTs described in this chapter are special ports for the counters
and their port addresses are different from that of the DRIVE PORTs. For the port address,
refer to 4-1.
Note2: When the signed value detection, an applied function, is selected, this bit is replaced by 2２３ bit.

9-10.DFL COUNTER COMPARE REGISTER2 SET Command
COMMAND……… 08Ｈ

Function : Sets a value specified for the DIFFERENTIAL COUNTER COMPARE2
REGISTER in an absolute value.
The execution sequence is the same as that of the DFL COUNTER REGISTER1SET Command.

- 67 -

１０．ＩＮＩＴＩＡＬ ＳＰＥＣＩＦＩＣＡＴＩＯＮ ＴＡＢＬＥ
The initial specifications at POWER ON/RESET are shown in the following table.
The specifications related to SPEED can be switched between two types by jumpers JP1X (X axis), JP1Y (Y axis),
JP1Z (Z axis) and JP1A (A axis) on the board.
The specifications in which jumpers are provided are supplied at shipment.
Data name or specification

Initial specification

Corresponding

Jumper is provided(Note) No jumper is provided.

Command

URATE(RATE DATA TABLE No.)

No.9(100ms/1000Hz)

No.12(30ms/1000Hz)

DRATE(RATE DATA TABLE No.)

No.9(100ms/1000Hz)

No.12(30ms/1000Hz)

RATE SET

LSPD

300Hz

800Hz

HSPD

3000Hz

10000HzHSPD SET

CSPD

300Hz

800Hz

CSPD SETSRATE(RATE DATA TABLE No.)

No.9(100ms/1000Hz)

No.12(30ms/1000Hz)

LSPD SETSRATE SET

SLSPD

300Hz

800Hz

SLSPD SETSHSPD

3000Hz

10000HzSHSPD SETDRIVE TYPE

L-TYPE

LIMIT STOP TYPE

FAST STROP

MOTOR TYPESTEPPING

RDYINT generation pattern
PULSE COUNTER operating clock

Generated only upon termination of a command
accompanied by pulse output.
Output pulse

CNTINT generation pattern

Not generated in any case (all of COMP1 to 5)

COMP1 to 5 STOP TYPE

Not put into stop (all of COMP1 to 5)

AUTO CLEAR function

Not available

RELOAD function

Not available

PLS COMP STOP TYPE
CNTINT OUTPUT TYPE
CNTINT LATCH TRIGGER TYPE

Detection of each comparator is latched and output
Level latch
Difference between MCC05v2 output pulse
and an external clock.

DIFFERENTIAL COUNTER
count pattern type

Clock with 90ﾟphase difference
1 multiplication

DFLINT generation pattern

Not generated in any case (both of COMP1 to 2)

DFL COMP1,2 STOP ENABLE

Not put into stop (both of COMP1 to 5)

DFLINT OUTPUT TYPEDFLINT LATCH TRIGGER TYPE
COUNTER SELECT PORTPULSE COUNTER INITIALIZE

Fast stop

DIFFERENTIAL COUNTER
operating clock

DFL COMP STOP TYPE

SPEC INITIALIZE1DFL COUNTER INITIALIZE

Fast stop
Detection of each comparator is latched and output
Level latch
PULSE COUNTER

Each PORT SELECT

Current address(ADDRESS COUNTER)

0

ADDRESS INITIALIZE

OFFSET PULSE

0

OFFSET PULSE SET

LIMIT DELAY TIME

300ms

SCAN DELAY TIME

50ms

JOG DELAY TIME

20ms

PULSE COUNTER Value0

PULSE COUNTERCOMPARE REGISTER1 to 5 value

800000Ｈ

ORIGIN DELAY SETPULSE COUNTER PRESETPULSE COUNTERCOMPARE REGISTER1～5 SET

DIFFERENTIAL COUNTER value

0

DFL COUNTER PRESETDIFFERENTIAL COUNTERCOMPARE REGISTER1 to 2 value

0

DFL COUNTERCOMPARE REGISTER1～2 SET

Note: Values with the jumpers are employed in descriptions offered in other parts of this manual.
- 68 -

１１．ＩＮＴＥＲＲＵＰＴＳ
When any one of the following interrupt request signals has occurred, the C-875 gives an interrupt
request to the initiator. INTA# interrupt signal pin is used.
11-1.Interrupt Request Signals upon Termination of Command (XRDYINT,YRDYINT,ZRDYINT,ARDYINT)
Use the STATUS5 PORT and STATUS1 PORT to identify the interrupt request axis.
11-2.Interrupt Request Signals from PULSE COUNTER and DIFFERENTIAL COUNTER(XCNTINT,YCNTINT,ZCNTINT,ACNTINT,XDFLINT,YDFLINT,ZDFLINT,ADFLINT)
CNTINTs and DFLINTs of X, Y, Z and A axes are OR-ed. The output of each axis is gained by
OR-ing of COMP1 to COMP5, DFLCOMP1 to DFLCOMP2. Use the STATUS3 PORT of each axis to evaluate theinterrupt request axis and COMPARE REGISTER. When you want to such an interrupt function, it must be
set to the edge latch type where each INT signal is reset by the read of the STATUS3 PORT.
Refer to the description of 8-5.
11-3.Interrupt Request Signal by Input Signals of the Additional I/O (IN10INT,IN20INT,IN30INT,IN40INT)
Use the IN10_20INT STATUS PORT and IN30_40INT STATUS PORT to identify the interrupt request input signals.
11-4.Interrupt Pin ArrangementXRDYINTJP6
PCI BUSInterface IC

RDYINT
JP7
CNTINT

ARDYINTXCNTINT (X PLS COMP1 ～5)

ACNTINT (A PLS COMP1 ～5)
XDFLINT (X DFL COMP1,2)

JP8
DFLINT
JP9IOINT

ADFLINT (A DFL COMP1,2)
IN10INT

IN40INT* XRDYINT to ARDYINT are output to the STATUS5 PORT of each axis. Refer to the description of 4-12.
11-5.Precautions on Using Interrupts(1) Before using an interrupt, carefully confirm the User's Manual for your initiator system andthe interrupt controller specifications.
(2) When you want to use the interrupt, insert the short circuit socket (an accessory) into the JP6 to JP9in the above sketch in response to the interrupt request to be used.
So it is not inserted at the time of shipment, Interrupt cannot be used in that state. For the positionon the board, refer to the description of 15-2. Board Shape and Dimensions.
(3) Interrupt enable or disable can be specified in RDYINT by the SPEC INITIALIZE1 command, CNTINT by the
PULSE COUNTER INITIALIZE command, DFLINT by the DFL COUNTER INITIALIZE command and IOINT by the I/O INTSET PORT.
For CNTINT and DFLINT, specially, the above specification is possible for each of COMP1 to COMP5 and
DFL COMP1 to 2.
Accordingly, be set into the interrupt disable state on no use COMP No.
(4) When you want to use the RDYINT for multiple axis interrupt, perform the following processing in theinterrupt processing routine:"Check the state of the STATUS5 PORT BIT3(RDYINT) of each axis, and readthe STATUS1 PORT of only the active axis to reset the RDYINT of that axis."
If the STATUS1 PORT of this axis is read when the STATUS5 PORT BIT3(RDYINT) is not active,
the RDYINT of that axis may not occur, depending on the time when it is read.
- 69 -

１２．ＴＩＭＩＮＧ
Refer to the description of 12-16 for IOR# and IOW#.
[ ] : Timing of case SOFT LIMIT function in use.(applied function)
Those not in brackets remain unaffected by presence or absence of the SOFT LIMIT function.
12-1.JOG DRIVE Timing
Example) Drive in +(CW)direction fora stepping motor

12-2.SCAN DRIVE/S-RATE SCAN DRIVE Timing
Example) Drive in -(CCW)direction fora stepping motor

IOW#

IOW#
Indicates that a command is written.

Indicates that a command is written.

XCWP

XCCWP

DRIVE inSTATUS1

DRIVE inSTATUS1

BUSY inSTATUS1

BUSY inSTATUS1
t1
t2

t4
t3

t5

t1
t2

t6

t3

t1＜150ns
t4≒100μs
t2＜34μs[42μs] t5＜23μs[31μs]
t3＜36μs[44μs] t6＜35μs[43μs]

t1＜150nst2＜43μs[75μs Note]t3＜63μs[95μs Note]
Note: 1.3ms when URATE≠DRATE is specified.

12-3.INDEX DRIVE,S-RATE INDEX DRIVE Timing
Example) Drive in +(CW)direction for a stepping motor

IOW#

XCWP

(1) When URATE＝DRATE is specified:
Indicates that a command is written.
t1＜150nst4＜35μs[44μs]
t2＜71μs[79μs]
t5＜20μst3＜93μs[101μs]

DRIVE inSTATUS1
BUSY inSTATUS1
t1
t2

t4 t5

(2) When URATE≠DRATE is specified:t1＜150nst4＜35μs[44μs]
t2＜1.3ms (L-TYPE)
t5＜18μs
630μs(M-TYPE)
400μs(H-TYPE)
t3≒t2＋22μs

t312-4.ORIGIN DRIVE Timing
Example 1) Drive in -(CCW)direction without ABSOLUTE INDEX DRIVE(RETURN DRIVE up to the near-origin address)
IOW#
Indicates that a command is written.
t1＜150ns
t2＜70μst3＜82μs

XCCWP
DRIVE inSTATUS1
BUSY inSTATUS1
t1
t2
t3- 70 -Example 2) Drive in -(CCW)direction with ABSOLUTE INDEX DRIVE (RETURN DRIVE up to the near-origin address)
IOW#
Indicates that a command is written.
XCCWP
DRIVE inSTATUS1(1) When URATE＝DRATE is specified:t1＜150ns
t2＜71μst3＜93μs(2) When URATE≠DRATE is specified:t1＜150nst2＜1.3ms (L-TYPE)
630μs(M-TYPE)
400μs(H-TYPE)
t3≒t2＋22μs

BUSY inSTATUS1
t1
t2
t3

12-5.SPEED CHANGE Timing
IOW#
Indicates that a command is written.
CHANGE BUSYin STATUS5

t1＜200ns
51μs＜t2＜53ms
t1

t2

Note: t2 is determined by the specified RATE.
In the Fixed mode, t2 becomes shorter as a specified RATE No. increases, and in the Arithmetic mode,
it becomes shorter as the RATE data becomes smaller (in both cases, speed change rate is increased).
If, however, a pulse cycle greater than t2 at writing of the CHANGE command, t2 becomes equal with or
longer than the pulse cycle.

- 71 -

12-6.DEND Signal Confirmation Timing
Example 1) End of DRIVE in +(CW)direction for
a servo motor

Example 2) End of DRIVE in +(CW)direction when thetarget is a servo motor and the DEND signal
is active or the target is a stepping motor

DEND

DEND

XCWP

XCWP

DRIVE inSTATUS1

DRIVE inSTATUS1

BUSY inSTATUS1

BUSY inSTATUS1
t1

t2

t3

t1

t1:Depends on servo driver characteristics.
t2＜61μst3＜20μst1＜33μs[41μs]
t2＜20μs

Note: When the target is a servo motor,
the requirement for BUSY in STATUS1＝0
is that DEND＝0 must be input.
This is also applicable to a normal end of DRIVE,a slow stop and an fast stop.
Accordingly, note that the time required for BUSYin STATUS1＝0 is different from that for the casewhere the target is a stepping motor.
12-7.SLOW STOP Timing
Example) Drive in +(CW)direction when thetarget is a stepping motort2

Note: When the target is a stepping motor,
DEND＝0/1 does not matter.

12-8.FAST STOP Timing(1)Example) DRIVE in +(CW)direction when
the target is a stepping motor(Note1)(Note1)

IOW#

IOW#(Note2)(Note2)XCWPFSSTOPDRIVE inSTATUS1XCWP

BUSY inSTATUS1

DRIVE inSTATUS1(Note3)

BUSY inSTATUS1
t1

t2

t1

t1＜38μs[42μs]
t2＜20μst2

t3

t1≧400μs
t2＜38μs[46μs] or Ｔ(Note4)
t3＜20μs

Note1: Indicates that the SLOW STOP commandis written.
Note2: The number of pulses to be output after
receipt of the SLOW STOP command is 1 pulse
or less at constant-speed DRIVE, or thenumber of pulses required for a slow stop at
acceleration/decelerating DRIVE.

- 72 -

Note1: Indicates that the FAST STOP commandis written.
Note2: Either command or signal may be used.
Note3: The number of pulses to be output after
receipt of the FAST STOP command is 1 pulse
or less. (The pulse width is secured.)Note4: When T represents 1/2 of the pulse cycle
as the drive is stopped, t2 takes theindicated value or T which ever is longer.

12-9.FAST STOP Timing(2)Example) DRIVE in +(CW)direction when the target is a servo motor(Note1)
IOW#(Note2)FSSTOP(Note3)
XCWP
XDRST
XDEND
DRIVE inSTATUS1
BUSY inSTATUS1
t1

t2

t1≧400μs
t2＜26μs(Note4)

t3

t4

t5

t3≒10mst5＜20μst4＜15μs[24μs](DEND is assumed to be turned on while DRST is being produced.)

Note1: Indicates that the FAST STOP command is written.
Note2: Either command or signal may be used.
Note3: The number of pulses to be output after receipt of the FAST STOP command is 1 pulse or less.
(The pulse width is secured.)Note4: When T represents 1/2 of the pulse cycle as the drive is stopped, t2 takes the indicated value or
T which ever is longer.
12-10.LIMIT STOP Timing(1) When the LIMIT stop type is slow stop:
Example) DRIVE in +(CW)direction when the target is a stepping motor

XCWLM(Note1)XCWP
DRIVE inSTATUS1
BUSY inSTATUS1
t1

t2 t3
t1≧600μs
t2＜38μs[42μs]
t3＜20μs

Note1: The number of pulses to be output after receipt of the LIMIT signal is1 pulse or less at constant-speed DRIVE or the number of pulses
required for slow stop at accelerating/decelerating DRIVE.
(2) When the LIMIT stop type is fast stop:
Complies with 12-8. or 12-9. Timing.
At this time, the FSSTOP signal is replaced with CWLM or CCWLM and the input signal width is set to 400μs.

- 73 -

12-11.EA/EB Clock Input Timing(1) When 90ﾟ phase difference clocks are input:
EA

PULSE COUNTERDIFFERENTIAL COUNTER
t1＞(150×Ｎ)nst1＞(200×Ｎ)nst2＞(330×Ｎ)nst2＞(430×Ｎ)nstｃｙｃ＞(660×Ｎ)ns tｃｙｃ＞(860×Ｎ)ns
However, N is a multiplier.

EB
t1

t1

t1

t2

t1
t2

tｃｙｃ
＊The count timing of the PULSE COUNTER and DIFFERENTIAL COUNTER is as shown below.
Each is counted at or .
When the multiplier is 1:
-XEA
-XEB
When the multiplier is 2:
-XEA
-XEB
When the multiplier is 4:
-XEA
-XEB

UP COUNTDOWN COUNTUP COUNTDOWN COUNTUP COUNTDOWN COUNT(2) When independent clocks for each direction are input: (Counted at the edge marked ↓)-XEA

t1＞150ns (PULSE COUNTER)
tｃｙｃ≧330ns(PULSE COUNTER)
t1＞200ns (DIFFERENTIAL COUNTER)
tｃｙｃ≧430ns(DIFFERENTIAL COUNTER)

-XEB
t1

t1
tｃｙｃ

t1

t1
tｃｙｃ

12-12.RDYINT Timing (INTA#)
BUSY inSTATUS1①

BUSY inSTATUS1

③

IOW#

②

RDYINT

⑤
t1

Or

①

IOR#

④

RDYINTt2⑤
t3

t1＜50nst2＜150ns

t4

t3＜50nst4＜100ns①: Indicates that a command is executed.
②: Indicates a new command is written.
③: Indicates that a new command is executed.
④: Indicates that STATUS1 is read out.
⑤: Indicates that an interrupt signal is generated. Interrupt signal enable or disable is specified
by the SPEC INITIALIZE1 command. For details, refer to 6-4.

- 74 -

12-13.CNTINT Timing (INTA#)
The interrupt request signal (XCNTINT) and STATUS signals (COMP1 to COMP5) are output and reset at thefollowing timing.
(1) When the CNTINT LATCH TRIGGER TYPE＝0 is specified by the PULSE COUNTER INITIALIZE Command.
PLS COMPARE①
10REGISTERCounter value

7

8

9

10

11

12

IOR#
XCNTINTCOMP1～5 in STATUS3

②

③

④

COMP1 to 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 thecounter value.
(2) When CNTINT LATCH TRIGGER TYPE＝1 is specified by PULSE COUNTER INITIALIZE command.
PLS COMPARE①
10REGISTERCounter value

7

8

9

10

IOR#
XCNTINTCOMP1～5 in STATUS3②③

COMP1 to 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①
10REGISTERCounter value

7

8

9

XCNTINTCOMP1～5 in STATUS3

②

10

11

③

④

12

①: 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
t1
t1＜200nst2

Note: When the through-output is selected.
t2＜200ns- 75 -

t3

t3＜200ns

12-14.DFLINT Timing (INTA#)(DFL COMP1: An example. Detecting condition: DIFFERENTIAL COUNTER≧COMPARE REGISTER1)
The interrupt request signal(XDFLINT) and STATUS signal are produced and reset at the following timing.
(1) When the DFLINT LATCH TRIGGER TYPE＝0 is specified by the DFL COUNTER INITIALIZE Command.
DFL COMPARE①
10REGISTER1DFL COUNTER value 7

8

9

10

9

8

IOR#
XDFLINT and
DFL COMP1 in STATUS3

②

③

④

DFL COMP1 in STATUS3①: COMPARE REGISTER SET Command causes writing of the interrupt generating counter value.
(in this example, the interrupt generating counter value is set to 10).
②: As the counter value reaches the level specified in ① above, XDFLINT is output.
③: When the counter value is in agreement with the detection condition, accessing the STATUS3 PORT
does not clear XDFLINT output.
④: When the counter value is not meeting the detect condition, reading the STATUS3 PORT clears XDFLINT.
(2) When the DFLINT LATCH TRIGGER TYPE＝1 is specified by DFL COUNTER INITIALIZE Command.
DFL COMPARE①
10REGISTER1DFL COUNTER value 7

8

9

10

11

12

13

14

IOR#
XDFLINT and
DFL COMP1 in STATUS3②③

DFL COMP1 in STATUS3①: COMPARE REGISTER SET Command causes writing of the interrupt generating counter value.
②: As the counter value reaches the level specified in ① above, XDFLINT is output.
③: Output of XDFLINT is maintained until the STATUS3 PORT is accessed(reading the STATUS3 PORT clears XDFLINT output even if the counter value meets the detect condition).
(3) When the DFLINT OUTPUT TYPE＝1 (through-output) is specified by DFL COUNTER INITIALIZE Command.
DFL COMPARE①
10REGISTER1DFL COUNTER value 7

8

9

XDFLINT and
DFL COMP1 in STATUS3

10

11

②

③

10

9

8

④

①: COMPARE REGISTER SET Command causes writing of the interrupt generating counter value.
②: As the counter value reaches the level specified in ① above, XDFLINT is output.
③: When the counter value is in agreement with the detect condition, XDFLINT is output.
④: When the counter value is not matching, XDFLINT is cleared without requiring access to the STATUS3
PORT.

Example: When the by-direction independent clock is selected as the count pattern of DIFFERENTIAL COUNTER.
XCWP/XCCWP(Note)
or EA/EB
IOR#

Note: Indicates the STATUS3 read timing.

XDFLINT
Note: When the through-output is selected.

t1

t2

t1＜300nst2＜300nst3＜200ns

Note: Time from startup edge in case of XCWP/XCCWP.

- 76 -

t3

12-15.IOINT Timing (INTA#)
The interrupt request signal (IOTINT) and STATUS signals (IN10INT,IN20INT,IN30INT and IN40INT) are output
and reset at the following timing. The following is an example of IOINT by IN10 and IN10_20INT STATUS.

IN10

①

IOR#
IOINT and
IN10INT,IN20INT in
IN10_20INT STATUS②

IN10INT,IN20INT in
IN10_20INT STATUS③① ： Indicates IN10 is ON.
② ： Generates IOINT output after the IN10 is ON in ①.
③ ： The IOINT output is retained until the IN10_20INT STATUS PORT is accessed.
The IOINT is cleared by reading the IN10_20INT STATUS PORT.

12-16.RESET Timing

RESET
XCWP
XCCWP
XDRST
XRDYINTXCNTINTXDFLINT
BUSY
in STATUS1
t1

t3

t4

t5

t2
t1＜5mst2≧5mst3＜5ms(Note 500ns)(Note 5.0μs)(Note 50μs)

t4≒10.6ms
t5＜5μsNote: When the system is reset on the PC side.

- 77 -

12-17.BUS Timing"READ TIMING" ( ) denotes the internal timing.
PCI CLK

C/BE#[3:0]

2h

BE#

AD[31:0]A

I N V A L I D

D A T A

FRAME#IRDY#
TRDY#
DEVSEL#(BCLK)(CS#)(ADDRESS)(DATA)(IOR#)"WRITE TIMING" ( ) denotes the internal timing.
PCI CLK

C/BE#[3:0]

3h

BE#

AD[31:0]A

D

FRAME#IRDY#
TRDY#
DEVSEL#(BCLK)(CS#)(ADDRESS)(DATA)(IOW#)- 78 -

D

１３．ＵＳＥＲ ＣＯＮＮＥＣＴＯＲ ＡＮＤ
13-1.User Connector J1 Pin Arrangement

Ｉ／Ｏ

ＣＩＲＣＵＩＴ

Connector Type HDRA-E100W1LFDT1EC-SL(HONDA TSUSHIN KOGYO CO.,LTD.)

1

2

Applicable outlets(not included in the accessories)
HDRA-E100MA1 , HDRA-E100M1(HONDA TSUSHIN KOGYO CO.,LTD.)

J2

51

100

1
50

50
1

100

51

◎

◎

◎

◎

J1

13-2.J1 Signal Table
If +24V are connected to pins other than EXTV, there is a possibility of damaging

 CAUTION

this product. Please make connection carefully.

Signals are insulated by the coupler though there are some exceptions(※).
Pin Direction
1

input

Signal
Name
XCWLM

2

input

XCCWLM

3
4
5

input
input
input

XNORG
XORG
YCWLM

6

input

YCCWLM

7
8
9

input
input
input

YNORG
YORG
ZSENSOR

10
11
12
13
14

input
input
input
input
－

IN0
IN1
IN2
IN3
EXTV

15

－

EXTV

Description
X axis +(CW)direction
LIMIT signal.
X axis -(CCW)direction
LIMIT signal.
X axis near-origin signal.
X axis origin signal. (Note1)
Y axis +(CW)direction
LIMIT signal.
Y axis -(CCW)direction
LIMIT signal.
Y axis near-origin signal.
Y axis origin signal. (Note1)
Z axis sensor signal for
SENSOR INDEX Drive.(Note3)
General purpose input.
General purpose input.
General purpose input.
General purpose input.
External power supply forcoupler.
(Note2)

Pin Direction Signal
Name
51
input
ZCWLM
52

input

ZCCWLM

53
54
55

input
input
input

ZNORG
ZORG
ACWLM

56

input

ACCWLM

57
58
59

input
input
input

ANORG
AORG
ASENSOR

60
61
62
63
64

outputoutputoutputoutput
－

OUT0
OUT1
OUT2
OUT3
EXTVGND

65－

EXTVGND

Description
Z axis +(CW)direction
LIMIT signal.
Z axis -(CCW)direction
LIMIT signal.
Z axis near-origin signal.
Z axis origin signal. (Note1)
A axis +(CW)direction
LIMIT signal.
A axis -(CCW)direction
LIMIT signal.
A axis near-origin signal.
A axis origin signal. (Note1)
A axis sensor signal for
SENSOR INDEX Drive.(Note3)
General purpose output.
General purpose output.
General purpose output.
General purpose output.
External power supply
GND for coupler.
(Note2)

Note1: This origin signal is for the case where a stepping motor is used.
To use the Z phase signal of the encoder as an origin signal when a servo motor is used,never connect the above signal.
Note2: All signals are insulated by coupler HIC, so an external power supply is required.
The input voltage specification is +24V±2V and the current consumption is 310mA MAX(at +24v) .
The CWLM, CCWLM and FSSTOP signals of each axis are ACTIVE OFF inputs.
Accordingly,even if all the above signals are not used, an external power supply must be connected.
For details, refer to 14-2.
Note3: For details of these SENSOR signals, refer to User's Manual [Applied Functions Part].

- 79 -

Pin Direction
16
17

outputoutput18

output19

output20

output21
22

outputoutput

23

input

24
25
26
27
28
29
30
31
32
33

－
input
input
input
input
input
input
－
outputoutput34

output35

output36

output37
38

outputoutput

39

input

40
41
42
43
44
45
46
47
48
49
50

－
input
input
input
input
input
input
－
input
－
－

SignalDescription
Pin Direction Signal
Description
Name
Name
+COM
※ +COMMON for XCWP,XCCWP.(+5V)
66
output+COM※ +COMMON for ZCWP,ZCCWP.(+5V)
XCWP※ X axis +(CW)direction
67
output
ZCWP※ Z axis +(CW)direction
positive logic output pulse.
positive logic output pulse.
XCWP※ X axis +(CW)direction
68
output
ZCWP※ Z axis +(CW)direction
negative logic output pulse.
negative logic output pulse.
XCCWP ※ X axis -(CCW)direction
69
outputZCCWP ※ Z axis -(CCW)direction
positive logic output pulse.
positive logic output pulse.
XCCWP ※ X axis -(CCW)direction
70
outputZCCWP ※ Z axis -(CCW)direction
negative logic output pulse.
negative logic output pulse.
XDRSTCOM+COMMON for XDRST.
(+24V)
71
outputZDRSTCOM+COMMON for ZDRST.
(+24V)XDRST
X axis SERVO DRIVER RESET
72
outputZDRST
Z axis SERVO DRIVER RESET
signal.
signal.
XDEND/XPO X axis positioning end signal 73
input
ZDEND/ZPO Z axis positioning end signal
or PO signal.
(Note4)or PO signal.
(Note4)
N.C
Using is disabled.
74－
N.C
Using is disabled.
+XEA
X axis encoder +A phase signal 75
input
+ZEA
Z axis encoder +A phase signal-XEA
X axis encoder -A phase signal 76
input
-ZEA
Z axis encoder -A phase signal+XEB
X axis encoder +B phase signal 77
input
+ZEB
Z axis encoder +B phase signal-XEB
X axis encoder -B phase signal 78
input
-ZEB
Z axis encoder -B phase signal+XZORG
X axis encoder +Z phase signal 79
input+ZZORG
Z axis encoder +Z phase signal-XZORG
X axis encoder -Z phase signal 80
input-ZZORG
Z axis encoder -Z phase signal
N.C
Using is disabled.
81－
N.C
Using is disabled.
+COM※ +COMMON for YCWP,YCCWP.(+5V)
82
output+COM※ +COMMON for ACWP,ACCWP.(+5V)
YCWP※ Y axis +(CW)direction
83
output
ACWP※ A axis +(CW)direction
positive logic output pulse.
positive logic output pulse.
YCWP※ Y axis +(CW)direction
84
output
ACWP※ A axis +(CW)direction
negative logic output pulse.
negative logic output pulse.
YCCWP ※ Y axis -(CCW)direction
85
outputACCWP ※ A axis -(CCW)direction
positive logic output pulse.
positive logic output pulse.
YCCWP ※ Y axis -(CCW)direction
86
outputACCWP ※ A axis -(CCW)direction
negative logic output pulse.
negative logic output pulse.
YDRSTCOM+COMMON for YDRST.
(+24V)
87
outputADRSTCOM+COMMON for ADRST.
(+24V)YDRST
Y axis SERVO DRIVER RESET
88
outputADRST
A axis SERVO DRIVER RESET
signal.
signal.
YDEND/YPO Y axis positioning end signal 89
input
ADEND/APO A axis positioning end signal
or PO signal.
(Note4)or PO signal.
(Note4)
N.C
Using is disabled.
90－
N.C
Using is disabled.
+YEA
Y axis encoder +A phase signal 91
input
+AEA
A axis encoder +A phase signal-YEA
Y axis encoder -A phase signal 92
input
-AEA
A axis encoder -A phase signal+YEB
Y axis encoder +B phase signal 93
input
+AEB
A axis encoder +B phase signal-YEB
Y axis encoder -B phase signal 94
input
-AEB
A axis encoder -B phase signal+YZORG
Y axis encoder +Z phase signal 95
input+AZORGA axis encoder +Z phase signal-YZORG
Y axis encoder -Z phase signal 96
input-AZORGA axis encoder -Z phase signal
N.C
Using is disabled.
97－
N.C
Using is disabled.
FSSTOP
Fast Stop signal for all axis 98
input
RESET
RESET signal.
N.C
Using is disabled.
99－
N.C
Using is disabled.
N.C
Using is disabled.
100
－
N.C
Using is disabled.

Note4: Each DEND/PO input is used as the positioning complete signal when a servo motor are selected,
and they are used as the PO (excitation) signal when a stepping motor is selected.

- 80 -

13-3.J2 Signal Table (for Additional I/O)
Pin Direction

SignalName

Description

Pin Direction Signal
Name

1

outputOUT10Additional OUTPUT10

51

output

OUT30

Additional OUTPUT30

2

outputOUT11Additional OUTPUT11

52

output

OUT31

Additional OUTPUT31

3

outputOUT12Additional OUTPUT1253

output

OUT32

Additional OUTPUT32

4

output

OUT13

Additional OUTPUT13

54

output

OUT33

Additional OUTPUT33

5

output

OUT14Additional OUTPUT14

55

output

OUT34

Additional OUTPUT34

6

outputOUT15Additional OUTPUT15

56

output

OUT35

Additional OUTPUT35

7output

OUT16Additional OUTPUT16

57

output

OUT36

Additional OUTPUT36

8output

OUT17Additional OUTPUT17

58

output

OUT37

Additional OUTPUT37

9

－

N.C

Using is disabled.

59

－

N.C

Using is disabled.

10

－

N.C

Using is disabled.

60

－

N.C

Using is disabled.

11

－

N.C

Using is disabled.

61

－

N.C

Using is disabled.

12

－

N.C

Using is disabled.

62

－

N.C

Using is disabled.

13

－

N.C

Using is disabled.

63

－

N.C

Using is disabled.

14

－

EXTV

External power supply for

64－

EXTVGND

External power supply

15

－

EXTV

coupler.

65－

EXTVGND

GND for coupler.

16

－

N.C

Using is disabled.

66

－

N.C

Using is disabled.

17

－

N.C

Using is disabled.

67

－

N.C

Using is disabled.

18

－

N.C

Using is disabled.

68

－

N.C

Using is disabled.

19

－

N.C

Using is disabled.

69

－

N.C

Using is disabled.

20

－

N.C

Using is disabled.

70

－

N.C

Using is disabled.

21

－

N.C

Using is disabled.

71

－

N.C

Using is disabled.

22

－

N.C

Using is disabled.

72

－

N.C

Using is disabled.

23

input

IN10

Additional INPUT10

73

input

IN30

Additional INPUT30

24

input

IN11

Additional INPUT11

74

input

IN31

Additional INPUT31

25

input

IN12

Additional INPUT12

75

input

IN32

Additional INPUT32

26

input

IN13

Additional INPUT13

76

input

IN33

Additional INPUT33

27

－

N.C

Using is disabled.

77

－

N.C

Using is disabled.

28

input

IN14

Additional INPUT14

78

input

IN34

Additional INPUT34

29

input

IN15

Additional INPUT15

79

input

IN35

Additional INPUT35

30

input

IN16

Additional INPUT16

80

input

IN36

Additional INPUT36

31

input

IN17

Additional INPUT17

81

input

IN37

Additional INPUT37

32

－

N.C

Using is disabled.

82

－

N.C

Using is disabled.

33

input

IN20

Additional INPUT20

83

input

IN40

Additional INPUT40

34

input

IN21

Additional INPUT21

84

input

IN41

Additional INPUT41

35

input

IN22

Additional INPUT22

85

input

IN42

Additional INPUT42

36

input

IN23

Additional INPUT23

86

input

IN43

Additional INPUT43

37

－

N.C

Using is disabled.

87

－

N.C

Using is disabled.

38

input

IN24

Additional INPUT24

88

input

IN44

Additional INPUT44

39

input

IN25

Additional INPUT25

89

input

IN45

Additional INPUT45

40

input

IN26

Additional INPUT26

90

input

IN46

Additional INPUT46

41

input

IN27

Additional INPUT27

91

input

IN47

Additional INPUT47

42

output

OUT20

Additional OUTPUT20

92

－

N.C

Using is disabled.

43

outputOUT21

Additional OUTPUT21

93

－

N.C

Using is disabled.

44

outputOUT22

Additional OUTPUT22

94

－

N.C

Using is disabled.

45

outputOUT23

Additional OUTPUT23

95

－

N.C

Using is disabled.

46

output

OUT24

Additional OUTPUT24

96

－

N.C

Using is disabled.

47

output

OUT25

Additional OUTPUT25

97

－

N.C

Using is disabled.

48

output

OUT26

Additional OUTPUT26

98

－

N.C

Using is disabled.

49

output

OUT27

Additional OUTPUT27

99

－

N.C

Using is disabled.

50

－

N.C

Using is disabled.

100

－

N.C

Using is disabled.

(Note2)

Note2：Same Note as 13-2.Note2.

- 81 -

Description(Note2)

13-4.I/O Circuit(The following description is given about the X axis but also applicable to the Y axis, Z axis and A axis.)*However, SENSOR signal is prepared for Z axis and A axis.
(1) J1,J2

J1,J2

+5 V

EXTV(+24V)
XCWLM,XCCWLM,FSSTOP

P ho to C ou ple r

XNORG,XORG

HIGH level 0.8mA or less

XDEND,ZSENSOR*

LOW

RESET
IN10 ～IN47+ 5V

level 2.5mA or more

18V or more HIGH
6V or less LOW

2 2K Ω

at EXTV ＝24V

P ho to C ou ple r

IN0 ～IN3+ 5V

HIGH level 1.3mA or lessLOW

Ph ot o Co up le r
1. 65 K Ω

(Max15mA/axis)

level 7.0mA or more

20V or more HIGHXDRSTCOM

3V or less LOW
at EXTV＝24V

SINK curre nt
MAX 50mA
Vce 2V or less

OUT0 ～OUT3

HIGH level High impedance

XDRST

LOW

level 2.0V or less

LOW

level 0.6V or less

OUT10 ～OUT37
EXTVGND(at SINK50mA)(at SINK30mA)

Pho to C ou pl er+XEA,+XEB,+XZORG*T he l in e dr iv er 2 6L S3 1 oreq uivalent is co nnectable-XEA,-XEB,-XZORG

16 0 Ω

HIGH level 0.8mA or less
LOW

level 9.4mA or more

0.7V or less HIGH
3.2V or more LOW
5.25V MAXpin to pin voltage

fu si ng r es is to r

+COM

+5 V

(Max 20mA/axis)

5 .1 Ω
26 C3 1MAX

XCWP,XCCWPHIGH level 2.4V or more(at SOURCE20mA)

20mA
XCWP,XCCWP

LOW

level 0.4V or less(at SINK20mA)

Note1: XDRSTCOM cannot use with when the XDRST is used for general-purpose output function.
(It cannot be used as 24V +COM).
Note2: Each +COM line has a built-in fuse resistor. If it is short-circuited with the GND,
the fuse will blow. A sufficient care must be taken to avoid this.

- 82 -

１４．ＣＯＮＮＥＣＴＩＯＮＳ
14-1.Connection to the Driver
If +24V are connected to pins other than EXTV, there is a possibility of damaging

 CAUTION

this product. Please make connection carefully.

(1) Connection example of the X axis to a negative logic pulse train CW/CCW independent input type driver.
a. When using as the negative logic TTL level output:
J1
Every wiring is 0.15SQ or more.
16
+COM

○
+CW


18
XCWP

○
-CW
○
20
XCCWP

C-875 side

+CCW




○
Terminal base(connector)-CCW

DRIVER sideb. When used as differential output (line driver):J1
Every wiring is 0.15SQ or more.
17
XCWP

○
+CW

XCWP



XCCWP





18
19

20
XCCWP

C-875 side

○

-CW

○

+CCW




○
Terminal base(connector)-CCW
DRIVER side(2) Connection example of the X axis to a stepping motor.
XPO



23

○

C-875 side

+P.O

Terminal base(connector)-P.O

24VGND

DRIVER side
When connecting to a stepping driver, XDRST, +XZORG and -XZORG must be disconnected.
When excitation output is not used, XPO must be disconnected, too.
(3) Connection example of the X axis to a servo driver

XDRSTCOM

J1
21


XDRST



XDEND



Every wiring is 0.15SQ or more.
150Ω(Note2)○+RESET
(Note3) 5V specification
○-RESET

22
23

○

+END
-END

24VGND+XZORG-XZORG



+XEA



-XEA



+XEB



29

+Z

○

-Z

○

+A

○

-A

○

+B

Line driver(Note4)

30
25
26

○

(Note1)

27○(Note1)-XEB

28

C-875 side○○
Terminal base(connector)○-B
DRIVER side

Notes 1,2 and 3: See the following page.
- 83 -

Note1: Required when the feedback pulses of the encoder are counted.
Note2: If current limiting resistor of the driver is less than 150Ω, provide an external resistor toensure 150Ω or above.
Note3: Connection example when the servo driver counter reset input is +24V interface.
XDRSTCOM



XDRST



21

○ Not connected

22

+24V

+RESET
24V specification-RESET○

Note4: Connection example when the servo driver encoder Z phase output is open collector output.
29+XZORG ○＋
24V P.S.
－30
2.2kΩ
-XZORG ○Z
GND
C-875 side
Terminal base(connector)
14-2.Connection Examples of a LIMIT Switch or Sensor(1) Connection example of the X axis when LIMIT is unused
J1
14
EXTV

1
XCWLM


2
XCCWLM +
24VP.S.
48
FSSTOP 
Coupler power supply



C-875 side
Note: The FSSTOP input signal and LIMIT input signal are an ACTIVE OFF input.
Note that when there signal are not connected,the signal becomes active and no pulse is output.
(2) Connection example of the X axis when LIMIT is used-(CCW)direction

+O-

J1
EXTV



XCWLM



XCCWLM 

14

+O





1
2

+
24VP.S.
Coupler power supply

C-875 side
14-3.Connection Example of the Origin Sensor(1) For ORG-0, ORG-1, ORG-2 and ORG-3 types (X axis)-(CCW)direction

+O-

J1
EXTV



XNORG XORG

+XZORG -XZORG +(CW)direction

14
3
4

29
30



ORG sensor

Recommendable sensors(ON when light enters)
SUNX: PM-K53B
PM-L53B
PM-T53BOMRON: EE-SPX401
EE-SX670 seriesetc.

+(CW)direction

Recommendable sensors(OFF when light enters)
SUNX: PM-K53
PM-L53
PM-T53OMRON: EE-SPX301+
EE-SX670 series
24VP.S.
etc.
Coupler power supply

Never connect +XZORG and -XZORG.

C-875 side
- 84 -

(2) For stepping driver ORG-4 and ORG-5 types (X axis)
Disc with slit mounted
on the rotary shaft-(CCW)direction

ORG sensor+OJ1
14
EXTV 3
XNORG 4
XORG +XZORG-XZORG+(CW)direction

Recommendable sensors
NORG sensor
(OFF when light enters)
SUNX:
PM-K53
PM-L53
PM-T53OMRON: EE-SPX301+
24VP.S.
EE-SX670 series
Coupler power supply
etc.
Never connect +XZORG and -XZORG.

29
30

+O-

NORG sensor

ORG sensor(ON when light enters)
SUNX: PM-K53B
PM-L53B
PM-T53BOMRON: EE-SPX401
EE-SX670 seriesetc.

C-875 side(3) For Servo driver ORG-4 and ORG-5 types (X axis)
Encoder-(CCW)direction

SERVO DRIVER
+Z -Z

+O-

NORG sensor

J1
EXTV



XNORG



XORG



+XZORG-XZORG



14



3
4

+(CW)direction

Never connect XORG. +24VP.S.
Coupler power supply

Recommendable sensors
NORG sensor (OFF when light enters)
SUNX:
PM-K53
PM-L53
PM-T53OMRON:
EE-SPX301
EE-SX670 series
etc.

29
30

＊For line driver

C-875 side(4) For ORG-10 type (X axis)-(CCW)direction

ORG sensor
J1
EXTV



XNORG



XORG



+XZORG-XZORG14+O- +O+(CW)direction

NORG sensor



3
4

+

24VP.S.
Coupler power supply

29
30

Never connect +XZORG and -XZORG.

C-875 side

- 85 -

Recommendable sensors(OFF when light enters)
SUNX:
PM-K53
PM-L53
PM-T53OMRON:
EE-SPX301
EE-SX670 seriesetc.

１５．ＢＯＡＲＤ ＥＤＧＥ ＣＯＮＮＥＣＴＯＲ
15-1.Board Edge Connector Signal Table

No.
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A17
A18
A19
A20
A21
A22
A23
A24
A25
A26
A27
A28
A29
A30
A31

Name
TRST#
+12V
TMS
TDI
+5V
INTA#
INTC#
+5V
reserved+5V(I/O)
reserved
GND
GND
reserved
RST#+5V(I/O)
GNT#
GND
reserved
AD[30]+3.3V
AD[28]
AD[26]GND
AD[24]IDSEL+3.3V
AD[22]
AD[20]GND
AD[18]

No.
A32
A33
A34
A35
A36
A37
A38
A39
A40
A41
A42
A43
A44
A45
A46
A47
A48
A49
A50
A51
A52
A53
A54
A55
A56
A57
A58
A59
A60
A61
A62

ＡＮＤ

Name
AD[16]+3.3V
FRAME#
GND
TRDY#
GND
STOP#
+3.3V
SDONE
SBO#
GND
PAR
AD[15]+3.3V
AD[13]
AD[11]GND
AD[09]KeyKey
C/BE[0]#+3.3V
AD[06]
AD[04]
GND
AD[02]
AD[00]+5V(I/O)
REQ64#
+5V
+5V

ＢＯＡＲＤ

ＳＨＡＰＥ

No.
B1
B2
B3
B4
B5
B6
B7
B8
B9
B10
B11
B12
B13
B14
B15
B16
B17
B18
B19
B20
B21
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31

Name
-12V
TCK
GND
TDO
+5V
+5V
INTB#
INTD#
PRSNT1#reserved
PRSNT2#
GND
GND
reserved
GND
CLK
GND
REQ#
+5V(I/O)
AD[31]
AD[29]GND
AD[27]
AD[25]+3.3V
C/BE[3]#
AD[23]GND
AD[21]
AD[19]
+3.3V

No.
B32
B33
B34
B35
B36
B37
B38
B39
B40
B41
B42
B43
B44
B45
B46
B47
B48
B49
B50
B51
B52
B53
B54
B55
B56
B57
B58
B59
B60
B61
B62

Note: Signals marked by "" are not connected on this board.
+3.3V and +5V(I/O) is not used, but connected to the decoupling condenser.

- 86 -Name
AD[17]
C/BE[2]#
GND
IRDY#
+3.3V
DEVSEL#
GND
LOCK#
PERR#
+3.3V
SERR#
+3.3V
C/BE[1]#
AD[14]GND
AD[12]
AD[10]GND
Key
Key
AD[08]
AD[07]+3.3V
AD[05]
AD[03]
GND
AD[01]+5V(I/O)
ACK64#+5V+5V

15-2.Board Shape and Dimensions

MAX２．６
MAX１３．５

９８．４

JP1A

JP1Y

JP1Z

JP1X

J P6
J P7
J P8
J P9

A RDY
Z RDY
Y RDY
X RDY

IN0
IN1
IN2
IN3

４

７ ９

.

１ ６ ９

〇 S1

１ ０ ６

OUT0
OUT1
OUT2
OUT3

.

２ ５

Ｃ Ｎ １

１

(Including the thickness of a metal fitting).

Ｃ － ８ ７ ５

１．６

１０６．７

Ｊ１・Ｊ２
Product Name
Unit：mm
・S1 ……………………………… Board identifier rotary switch
・JP1X,JP1Y,JP1Z,JP1A ………… Speed initial setting jumper
・JP6,JP7,JP8,JP9 ……………… Interrupt setting jumper(RDYINT,CNTONT,DFLINT,IOINT)
・X,Y,Z,A RDY …………………… RDY LED(Light on during ready)・IN0,IN1,IN2,IN3 ……………… IN LED(Light on at active)
・OUT0,OUT1,OUT2,OUT3 ………… OUT LED(Light on at active)＊Jumpers and connectors except above have been reserved. So don't manipulate these things.

- 87 -

１６．ＣＯＮＴＲＯＬ ＰＲＯＧＲＡＭ ＥＸＡＭＰＬＥＳThis chapter offers an example of the user program (coded in C language conformed to the ANSI standard) used
for controlling the C-875.
In the examples, base address of the C-875 I/O address have been asumed to be set at valiable "iobase".
16-1.INITIAL Setting Example/******************************//*
DEFINITION*//******************************/#define UC
unsigned char#define UL
unsigned long#define US
unsigned short#define XMCCCOM iobase+0x0#define XMCCDT1 iobase+0x1#define XMCCDT2 iobase+0x2#define XMCCDT3 iobase+0x3#define XCNTCOM iobase+0x4#define XCNTDT1 iobase+0x5#define XCNTDT2 iobase+0x6#define XCNTDT3 iobase+0x7#define XMCCST1 iobase+0x0#define XMCCST2 iobase+0x4#define XMCCST3 iobase+0x5#define XMCCST4 iobase+0x6#define XMCCST5 iobase+0x7/* X-AXIS MCC05 COMMAND PORT/* X-AXIS MCC05 DATA1 PORT/* X-AXIS MCC05 DATA2 PORT/* X-AXIS MCC05 DATA3 PORT/* X-AXIS COUNTER COMMAND PORT/* X-AXIS COUNTER DATA1 PORT/* X-AXIS COUNTER DATA2 PORT/* X-AXIS COUNTER DATA3 PORT/* X-AXIS MCC05 STATUS1 PORT/* X-AXIS MCC05 STATUS2 PORT/* X-AXIS MCC05 STATUS3 PORT/* X-AXIS MCC05 STATUS4 PORT/* X-AXIS MCC05 STATUS5 PORT

*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/

#define YMCCCOM iobase+0x10#define YMCCDT1 iobase+0x11#define YMCCDT2 iobase+0x12#define YMCCDT3 iobase+0x13#define YCNTCOM iobase+0x14#define YCNTDT1 iobase+0x15#define YCNTDT2 iobase+0x16#define YCNTDT3 iobase+0x17#define YMCCST1 iobase+0x10#define YMCCST2 iobase+0x14#define YMCCST3 iobase+0x15#define YMCCST4 iobase+0x16#define YMCCST5 iobase+0x17/* Y-AXIS MCC05 COMMAND PORT/* Y-AXIS MCC05 DATA1 PORT/* Y-AXIS MCC05 DATA2 PORT/* Y-AXIS MCC05 DATA3 PORT/* Y-AXIS COUNTER COMMAND PORT/* Y-AXIS COUNTER DATA1 PORT/* Y-AXIS COUNTER DATA2 PORT/* Y-AXIS COUNTER DATA3 PORT/* Y-AXIS MCC05 STATUS1 PORT/* Y-AXIS MCC05 STATUS2 PORT/* Y-AXIS MCC05 STATUS3 PORT/* Y-AXIS MCC05 STATUS4 PORT/* Y-AXIS MCC05 STATUS5 PORT

*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/

#define ZMCCCOM iobase+0x20#define ZMCCDT1 iobase+0x21#define ZMCCDT2 iobase+0x22#define ZMCCDT3 iobase+0x23#define ZCNTCOM iobase+0x24#define ZCNTDT1 iobase+0x25#define ZCNTDT2 iobase+0x26#define ZCNTDT3 iobase+0x27#define ZMCCST1 iobase+0x20#define ZMCCST2 iobase+0x24#define ZMCCST3 iobase+0x25#define ZMCCST4 iobase+0x26#define ZMCCST5 iobase+0x27/* Z-AXIS MCC05 COMMAND PORT/* Z-AXIS MCC05 DATA1 PORT/* Z-AXIS MCC05 DATA2 PORT/* Z-AXIS MCC05 DATA3 PORT/* Z-AXIS COUNTER COMMAND PORT/* Z-AXIS COUNTER DATA1 PORT/* Z-AXIS COUNTER DATA2 PORT/* Z-AXIS COUNTER DATA3 PORT/* Z-AXIS MCC05 STATUS1 PORT/* Z-AXIS MCC05 STATUS2 PORT/* Z-AXIS MCC05 STATUS3 PORT/* Z-AXIS MCC05 STATUS4 PORT/* Z-AXIS MCC05 STATUS5 PORT

*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/

- 88 -

#define AMCCCOM iobase+0x30#define AMCCDT1 iobase+0x31#define AMCCDT2 iobase+0x32#define AMCCDT3 iobase+0x33#define ACNTCOM iobase+0x34#define ACNTDT1 iobase+0x35#define ACNTDT2 iobase+0x36#define ACNTDT3 iobase+0x37#define AMCCST1 iobase+0x30#define AMCCST2 iobase+0x34#define AMCCST3 iobase+0x35#define AMCCST4 iobase+0x36#define AMCCST5 iobase+0x37/* A-AXIS MCC05 COMMAND PORT/* A-AXIS MCC05 DATA1 PORT/* A-AXIS MCC05 DATA2 PORT/* A-AXIS MCC05 DATA3 PORT/* A-AXIS COUNTER COMMAND PORT/* A-AXIS COUNTER DATA1 PORT/* A-AXIS COUNTER DATA2 PORT/* A-AXIS COUNTER DATA3 PORT/* A-AXIS MCC05 STATUS1 PORT/* A-AXIS MCC05 STATUS2 PORT/* A-AXIS MCC05 STATUS3 PORT/* A-AXIS MCC05 STATUS4 PORT/* A-AXIS MCC05 STATUS5 PORT

#define IOIN
iobase+0x60#define IOOUT
iobase+0x60#define INTSET iobase+0x61#define INT12ST iobase+0x64#define INT34ST iobase+0x65#define IN10
iobase+0x68#define IN20
iobase+0x69#define IN30
iobase+0x6A#define IN40
iobase+0x6B#define OUT10
iobase+0x6C#define OUT20
iobase+0x6D#define OUT30
iobase+0x6E/* GENERAL PURPOSE INPUT PORT*//* GENERAL PURPOSE OUTPUT PORT *//* I/O INT SET PORT*//* IN10_20INT STATUS PORT *//* IN30_40INT STATUS PORT *//* IN10_17 PORT*//* IN20_27 PORT*//* IN30_37 PORT*//* IN40_47 PORT*//* OUT10_17 PORT*//* OUT20_27 PORT*//* OUT30_37 PORT
*/

void
void
void
void
void

*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/

xmcc05inz(void);xjog(void);
xscan(void);
xabsindex(void);xorg(void);

Frequently used MCC05v2 RDY check is coded as macroinstruction so that the program may be simplified.
#define xmccrdy() while(inp(XMCCST1) & 0x01)#define ymccrdy() while(inp(YMCCST1) & 0x01)#define zmccrdy() while(inp(ZMCCST1) & 0x01)#define amccrdy() while(inp(AMCCST1) & 0x01)/* X-AXIS MCC05v2 READY WAIT/* Y-AXIS MCC05v2 READY WAIT/* Z-AXIS MCC05v2 READY WAIT/* A-AXIS MCC05v2 READY WAIT

*/
*/
*/
*/

Although the X axis is taken as an example in the following, the same applies to the Y, Z and A axes, too.
RAM area used in the program is defined as follows.
/******************************//*RAM AREA*//******************************/
US
iobase;UCurate;
UC
drate;
UL
lspd;
UL
hspd;
UL
cspd;
long
absdt;
UC
orgno;
UC
offset;UCldelay;UCsdelay;UCjdelay;/* C-875 I/O BASE ADDRESS *//* UP RATE No.
*//* DOWN RATE No.
*//* LOW SPEED DATA*//* HIGH SPEED DATA*//* CONSTANT SPEED DATA *//* OBJECT ADDRESS DATA FOR INDEX DRIVE *//* ORG TYPE No.
*//* OFFSET PULSE DATA*//* LIMIT DELAY TIME*//* SCAN DELAY TIME*//* JOG DELAY TIME*/

The program offered in this manual is for your reference only, thus you may not strictly it.
- 89 -

16-2.INITIALIZE Program Example
Execute this program at POWER ON/RESET as needed.
This program is developed based on the following specifications.
(1) DRIVE Specification
DRIVE TYPE＝L, LIMIT STOP TYPE＝fast stop, MOTOR TYPE＝Stepping motor and RDYINT＝Not output in any caseshall be specified.
(2) PULSE COUNTER and Comparator Specification
The PULSE COUNTER is supposed to operate with drive pulse from the MCC05v2, and the COMPARE REGISTER1
output on the conferred matching is to output to the CNTINT. Address of the COMPARE REGISTER1 detection
shall be 10000(2710Ｈ), and the deceleration-to-stop shall be selected for the COMP STOP TYPE.
(3) Address Specification
Motor current address shall be defined as 1000(3E8Ｈ), and 1000(3E8Ｈ) shall also be preset for the pulse
counter.
/*-----------------------------------*//*X-AXIS MCC05 INITIALIZE*//*-----------------------------------*/
void
xmcc05inz( void ){/** SPEC INITIALIZE1 COMMAND **/xmccrdy();outp(XMCCDT1 ,0x28);
outp(XMCCCOM ,0x01);/* X-AXIS MCC05 RDY WAIT *//* DRIVE SPEC DATA OUT *//* SPEC INITIALIZE1 COMMAND OUT *//** PULSE COUNTER INITIALIZE COMMAND **/xmccrdy();/* X-AXIS MCC05 RDY WAIT */outp(XMCCDT1 ,0x01);/* COUNTER SPEC DATA1 OUT */outp(XMCCDT2 ,0x20);/* COUNTER SPEC DATA2 OUT */outp(XMCCDT3 ,0x00);/* COUNTER SPEC DATA3 OUT */outp(XMCCCOM ,0x02);/* PULSE COUNTER INITIALIZE COMMAND OUT *//** ADDRESS INITIALIZE COMMAND **/xmccrdy();outp(XMCCDT1 ,0x00);
outp(XMCCDT2 ,0x03);
outp(XMCCDT3 ,0xe8);
outp(XMCCCOM ,0x03);/** COUNTER PRESET COMMAND **/outp(XCNTDT1 ,0x00);
outp(XCNTDT2 ,0x03);
outp(XCNTDT3 ,0xe8);
outp(XCNTCOM ,0x00);/** COUNTER REGISTER1 SET COMMAND **/outp(XCNTDT1 ,0x00);
outp(XCNTDT2 ,0x27);
outp(XCNTDT3 ,0x10);
outp(XCNTCOM ,0x01);/* X-AXIS MCC05 RDY WAIT *//* ADDRESS MSB OUT *//* ADDRESS LSB OUT *//* ADDRESS INITIALIZE COMMAND OUT *//* COUNTER MSB OUT *//* COUNTER LSB OUT *//* COUNTER PRESET COMMAND OUT *//* COMPARE REGISTER1 MSB OUT *//* COMPARE REGISTER1 LSB OUT *//* COUNTER REGISTER1 SET COMMAND OUT */}Note: At POWER ON/RESET, above settings are all initialized their specific specification.
Thus, the above processing shall be done only when a modification is needed.
For details of the initial specifications, see Chapter 10.

- 90 -

16-3.JOG DRIVE Program Example
The JOG DRIVE does not need specific data, so you can directly turn on using the JOG DRIVE command.
/*-----------------------------------*//*X-AXIS +JOG DRIVE*//*-----------------------------------*/void
xjog( void ){xmccrdy();outp(XMCCCOM ,0x10);}/* X-AXIS MCC05v2 RDY WAIT *//* +JOG COMMAND OUT */16-4.SCAN DRIVE Program Example
The SCAN DRIVE requires URATE, DRATE, LSPD and HSPD data. You must set these data prior to the drive.
Once set, these rate and speed data remain valid until a change is needed of them.
/*-----------------------------------*//*X-AXIS SCAN DRIVE*//*-----------------------------------*/
void
xscan( void ){/** RATE SET COMMAND **/xmccrdy();outp(XMCCDT2 ,urate);outp(XMCCDT3 ,drate);outp(XMCCCOM ,0x06);/** LSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&lspd + 2));outp(XMCCDT2 ,*((UC *)&lspd + 1));outp(XMCCDT3 ,*((UC *)&lspd ));outp(XMCCCOM ,0x07);/** HSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&hspd + 2));outp(XMCCDT2 ,*((UC *)&hspd + 1));outp(XMCCDT3 ,*((UC *)&hspd ));outp(XMCCCOM ,0x08);/** SCAN DRIVE COMMAND **/xmccrdy();outp(XMCCCOM ,0x12);/* X-AXIS MCC05 RDY WAIT *//* UP RATE No. OUT *//* DOWN RATE No. OUT *//* RATE SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* LOW SPEED DATA MSB SET *//* LOW SPEED DATA LSB SET *//* LSPD SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* HIGH SPEED DATA MSB SET *//* HIGH SPEED DATA LSB SET *//* HSPD SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* +SCAN DRIVE COMMAND OUT */}Note: The above program is developed on the assumption that the RAM AREA URATE and DRATE contain the
RATE DATA TABLE No., and the LSPD and HSPD contain the speed data set in Hz.

- 91 -

16-5.Example of INDEX DRIVE Program Specified in Absolute ValueThe INDEX DRIVE specified in absolute value requires URATE, DRATE, LSPD and HSPD data. You must set thesedata prior to the drive. Once set, these rate and speed data remain valid until a change is needed of them.
And, the target address of the drive must be set before turning on the INDEX DRIVE.
Whenever starting the drive, the address data must be specified.
/*-----------------------------------*//*X-AXIS ABSOLUTE INDEX DRIVE *//*-----------------------------------*/
void
xabsindex( void ){/** RATE SET COMMAND **/xmccrdy();outp(XMCCDT2 ,urate);outp(XMCCDT3 ,drate);outp(XMCCCOM ,0x06);/** LSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&lspd + 2));outp(XMCCDT2 ,*((UC *)&lspd + 1));outp(XMCCDT3 ,*((UC *)&lspd ));outp(XMCCCOM ,0x07);/** HSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&hspd + 2));outp(XMCCDT2 ,*((UC *)&hspd + 1));outp(XMCCDT3 ,*((UC *)&hspd ));outp(XMCCCOM ,0x08);/** ABSOLUTE INDEX DRIVE COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&absdt + 2));outp(XMCCDT2 ,*((UC *)&absdt + 1));outp(XMCCDT3 ,*((UC *)&absdt ));outp(XMCCCOM ,0x15);/* X-AXIS MCC05 RDY WAIT *//* UP RATE No. OUT *//* DOWN RATE No. OUT *//* RATE SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* LOW SPEED DATA MSB SET *//* LOW SPEED DATA LSB SET *//* LSPD SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* HIGH SPEED DATA MSB SET *//* HIGH SPEED DATA LSB SET *//* HSPD SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* ABS INDEX DATA MSB SET *//* ABS INDEX DATA LSB SET *//* ABS INDEX DRIVE COMMAND OUT */}Note: The above program is developed on the assumption that the RAM AREA URATE and DRATE contain the
RATE DATA TABLE No., and the LSPD and HSPD contain the speed data set in Hz.
And, the absdt is supposed to contain the target address.

- 92 -

16-6ORIGIN DRIVE Program Example
The ORIGIN DRIVE requires data on URATE, DRATE, LSPD, HSPD, CSPD, OFFSET PULSE, LDELAY, SDELAY and JDELAY.
You must set these data prior to the drive. Once set, these data remain valid until a change is needed ofthem.
Also, you must specify the machine origin detect type before turning on the ORIGIN DRIVE.
This data is needed whenever starting the drive.
/*-----------------------------------*//*X-AXIS ORIGIN DRIVE*//*-----------------------------------*/void
xorg( void ){/** RATE SET COMMAND **/xmccrdy();outp(XMCCDT2 ,urate);outp(XMCCDT3 ,drate);outp(XMCCCOM ,0x06);/** LSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&lspd + 2));outp(XMCCDT2 ,*((UC *)&lspd + 1));outp(XMCCDT3 ,*((UC *)&lspd ));outp(XMCCCOM ,0x07);/** HSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&hspd + 2));outp(XMCCDT2 ,*((UC *)&hspd + 1));outp(XMCCDT3 ,*((UC *)&hspd ));outp(XMCCCOM ,0x08);/** CSPD SET COMMAND **/xmccrdy();outp(XMCCDT1 ,*((UC *)&cspd + 2));outp(XMCCDT2 ,*((UC *)&cspd + 1));outp(XMCCDT3 ,*((UC *)&cspd ));outp(XMCCCOM ,0x1a);/* X-AXIS MCC05 RDY WAIT *//* UP RATE No. OUT *//* DOWN RATE No. OUT *//* RATE SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* LOW SPEED DATA MSB SET *//* LOW SPEED DATA LSB SET *//* LSPD SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* HIGH SPEED DATA MSB SET *//* HIGH SPEED DATA LSB SET *//* HSPD SET COMMAND OUT *//* X-AXIS MCC05 RDY WAIT *//* CONSTANT SPEED DATA MSB SET *//* CONSTANT SPEED DATA LSB SET *//* CSPD SET COMMAND OUT *//** OFFSET PULSE SET COMMAND **/xmccrdy();outp(XMCCDT3 ,offset);outp(XMCCCOM ,0x1b);/* X-AXIS MCC05 RDY WAIT *//* OFFSET PULSE DATA OUT *//* OFFSET PULSE SET COMMAND OUT *//** ORG DELAY SET COMMAND **/xmccrdy();outp(XMCCDT1 ,ldelay);outp(XMCCDT2 ,sdelay);outp(XMCCDT3 ,jdelay);outp(XMCCCOM ,0x1c);/* X-AXIS MCC05 RDY WAIT *//* LIMIT DELAY TIME OUT *//* SCAN DELAY TIME OUT *//* JOG DELAY TIME OUT *//* ORG DELAY SET COMMAND OUT *//** ORIGIN DRIVE COMMAND **/xmccrdy();outp(XMCCDT1 ,orgno);outp(XMCCCOM ,0x1e);/* X-AXIS MCC05 RDY WAIT *//* ORIGIN TYPE No. OUT *//* ORIGIN DRIVE COMMAND OUT */}Note: The above program is developed on the assumption that the RAM AREA URATE and DRATE contain the
RATE DATA TABLE No., the LSPD and HSPD contain the speed data set in Hz and the OFFSET contains
the offset pulse number.
Likewise, the LDELAY, SDELAY and JDELAY are supposed to contain respective delay time, and the
ORGNO is supposed to contain the machine origin detection type.
- 93 -

16-7.PULSE COUNTER Read Program Example
The following offers an example of the function that utilizes the PULSE COUNTER counting as the return
value.
/*-----------------------------------*//*
COUNTER READ*//*-----------------------------------*/
longxcntred( void )
{
long
a;
outp(XMCCCOM ,0xfc);/* PULSE COUNTER PORT SELECT COMMAND OUT */*( (UC *)&a + 2 ) = inp(XMCCDT1);*( (UC *)&a + 1 ) = inp(XMCCDT2);*( (UC *)&a ) = inp(XMCCDT3);
if( (*( (UC *)&a + 2 ) & 0x80 ) != 0 ){*( (UC *)&a + 3) = 0xff;} else {*( (UC *)&a + 3) = 0x00;}
return( a );/* COUNTER MSB IN *//* COUNTER LSB IN *//* SIGN BIT ON ? */}Note: The PULSE COUNTER PORT SELECT is valid only when other counter ports or the speed port is selected.
It is not needed when the PULSE COUNTER PORT is already selected.

- 94 -

１７．ＴＲＯＵＢＬＥＳＨＯＯＴＩＮＧThis chapter describes probable types of trouble and check points for them in using the C-875.
Symptom

Check point

１*BUSY BIT in STATUS1 never becomes 0.
Or BUSY BIT in STATUS1 does not become 1
after a command is written.

*Isn't LOW LEVEL input to the RESET signal？
*Is I/O ADDRESS(S1 and S2) setting is correct？

２*Access seems to have been made normally.
However, even if a pulse output commandis written, pulse output is not perform.
At this time, both DRIVE BIT and BUSY BIT
in STATUS1 are 0.

*Isn't the output pulse 0 INDEX DRIVE？
(e.g., when the specified absolute address is thecurrent position)*Check each of ERROR, LSEND and FSEND BITS in STATUS1.
For details, refer to 4-8.

３*Access seems to have been made normally.
However, when a pulse output command iswritten, pulse output is not performed.
At this time, both DRIVE BIT and BUSY BIT
in STATUS1 are 1.

*Refer to the check point in ２.
*Isn't HIGH LEVEL input to the DEND signal by SERVO
specification？

４*Pulse output was started but neverterminated.

*Isn't SCAN, SPECIAL SCAN or ORG DRIVE performed？
*In case of INDEX DRIVE:
When INCREMENTAL is specified
The specified number of pulses is large.
When ABSOLUTE is specified
The specified address is remote.
The above causes are probable.
In this case, DRIVE will stop before long.

５*Pulse output was terminated. However,
BUSY BIT in STATUS1 does not become 0.

*Is SERVO MOTOR set？ Isn't the DEND signal at HIGH LEVEL？
BUSY BIT in STATUS1 becomes 0 by causing this signal to go
to the low level.

６*Machine origin detection (ORG DRIVE)
cannot be performed normally.
Or machine origin detection is neverterminated.

*Is the sensor logic (ON when light enters or OFF whenlight enters) correct？
*Is sensor connection (specially GND line) correct？
*Isn't edge 1 formed in the CCWLM area because the shieldplate is too long in case of the ORG1 or ORG3 type？
*In case of the ORG2,ORG3,ORG4 or ORG5 type , be careful
about an effect of mechanical vibration.
If any vibration exists, use ORG0 or ORG1, or make LD,SDand JD longer by the ORIGIN DELAY SET command.
*When SERVO MOTOR is set, check the DEND signal for eachprocess. Accordingly, if DEND is not returned, it willstop at a process on the way.
*When ORG3 or ORG5 is selected to complete ORG DRIVE inthe ORG sensor, the sensor may be turned off by slightmechanical vibration because it enters only 1 pulse
from the sensor edge a into the sensor area when ORG
DRIVE is completed. In this case,make a correction sothat INDEX DRIVE may be performed several pulses in
the +(CW)direction after ORG DRIVE is completed withthe result that it can enter surely into the sensor area.

- 95 -

SymptomCheck point

７*When the counter values of the pulse
counter are always read out, some countervalues seemed to be wrong.

*Are the counter values read in the order of high-orderbytes (2２３～2１６) to low-order bytes (2７～2０) ?
Unless the PULSE COUNTER is read out starting fromhigh-order bytes, the counter value may become wrong.
*In order to implement an optimized compilation, somecompilers may not compile data in the sequence provided
in the source list. In such case, the optimum compilation
function shall be canceled. When C language is used,
see Chapter 16, too.

８

*Sometimes incorrect speed data is
indicated.

*Are the speed data read in the order of high-orderbytes (2２３～2１６) to low-order bytes (2７～2０) ?
Unless the speed data is read out starting fromhigh-order bytes, the counter value may become wrong.
*Aren't you trying to read an extremely low speed whose
data length exceeds 3 bytes?
Note that an extra low speed at or less than approximately
9.5 Hz cannot be read.

９*The CNTINT interrupt seems to begenerated at a counter value different
from the set value.

*Does the counter value of the PULSE COUNTER overflow
because there is any PLS COMPARE REGISTER where data is
not set yet?
PLS COMPARE REGISTER is initialized to the overflow valueof 800000Ｈ at POWER ON/RESET, so the CNTINT signal isgenerated at the overflow value if there is any
PLS COMPARE REGISTER where data is not set yet.
Put the unused COMP INT of COMPARE REGISTER into adisabled state by the PULSE COUNTER INITIALIZE command.

１０ *Output pulse speed deviates fromthe specified value.

*In the high speed area, there can be a conflict between
the actual and specified speeds.
For details, see Section 5-16.

１１ *The acceleration/deceleration constantseems to be different from the set
URATE/DRATE value.

*Is DRIVE TYPE different from the contents of the specified
data? Note that the contents of the data set in RATE
differ depending on the DRIVE TYPE selected by theSPEC INITIALIZE1.

１２ *The PULSE COUNTER failed to the countexternal clock correctly.

*Is a proper external clock counting method selected ?
When you selected the external clock for the pulse
counter operation clock using the PULSE COUNTER INITIALIZE
Command, you must specify the clock counting type using
the same command. For details, see Section 6-5.

１３ *The DIFFERENTIAL COUNTER failed tocorrectly count a deviation between
the MCC05v2 pulse and the external clock.

*Is a proper external clock counting method is selected ?
Using the DFL COUNTER INITIALIZE Command, you must specify
a proper clock counting approach on the DIFFERENTIAL
COUNTER. For details, see Section 6-12.
*Is the ratio between the MCC05v2 output clock and theexternal clock is set to 1:1. If not, adjust them to 1:1
using the clock-to-DIFFERENTIAL COUNTER division function,
an applied function.

１４ *The positioning complete signal by DFLINTis also generated for the excessive
deviation.

*Check if both COMPARE REGISTERS1 and 2 are enabled.
DFLINT is OR of the COMPARE REGISTERS1 and 2, thus if
both of them are made enable, it is difficult for DFLINT
to identify the positioning complete from theexcessive deviation.
This identification is available from the STATUS3.
- 96 -

１８．ＤＡＴＡＴＡＢＬＥＳ

18-1.L-TYPE RATE DATA TABLE
No.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

ms/1000Hz
1000
800
600
500
400
300
200
150
125
100
75
50
30
20
15
10
7.5
5.0
4.0
2.0
1.5
1.0

18-2.M-TYPE RATE DATA TABLE
No.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14

ms/1000Hz
50
20
15
10
7.5
5.0
3.0
1.5
1.0
0.5
0.3
0.2
0.1
0.075
0.05

18-3.H-TYPE RATE DATA TABLE
No.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14

ms/1000Hz
5.0
2.0
1.5
1.0
0.75
0.50
0.30
0.15
0.10
0.05
0.03
0.02
0.01
0.00750.005

Note: "ms/1000Hz" is the mean time required for the acceleration or deceleration of 1000Hz.

18-4.RATE CURVE GRAPH(1) Ｌ－ＴＹＰＥ- 97 -

(2) Ｍ－ＴＹＰＥ(3) Ｈ－ＴＹＰＥ- 98 -

１９．ＳＡＦＥＴＹ ＤＥＳＩＧＮ ＰＲＥＣＡＵＴＩＯＮＳIn order to ensure safety of the user system employing the C-875, the users are advised to develop suitablesafety measures considering vulnerability of the given system and reliability of the following possible
actions.
The C-875 or the system employing the C-875 may fail to stop pulse output due so a reason or another(so called run-away).
The following table rates reliability of each possible measure in preventing the pulse output in such case.

1

Cutting off the drive
system power supply

The most safe and sure approach.

2

Entry of the RESET signal.

Entering the RESET to the C-875 alone can save your system.
This operation initializes the C-875.
The function for stopping the pulse output can also be adversely
affected by failure on a circuit connected to the system.

3

Entry of the FSSTOP signal.

Entering the FSSTOP saves data stored on the MCC05v2.
The function for stopping the pulse output can also be adversely
affected by failure on a circuit connected to the system.

4

Entry of the LIMIT signal

This input signal also stops the pulse output.
Its reliability, however, is lower than the above two measures.

Considering circuit configurations of the C-875 and MCC05v2, reliability of each input signal canbe rated as shown below:
RESET＞FSSTOP＞LIMIT
When the above trouble on the system can involve personal injuries, the drive system power must be turned off(the measure "1" in the table) immediately.
Measures 3 and 4 should be employed only when protection of the user system is the key issue.
In this case, too, you should consider replacing them with measures 2 or 1 if magnitude of actual damages
greater than anticipated.

- 99 -

２０．Ｃ－８７０ｖ１ ＡＬＬ ＣＯＭＭＡＮＤ ＴＡＢＬＥＳ
20-1.DRIVE Command Table
The mark ＊denotes a command accompanied by pulse output.
The reference pages shown by
are found in the User's Manual [Applied Functions Part].

＊
＊
＊
＊
＊
＊

＊

＊
＊
＊
＊
＊
＊

D７D６D５D４D３D２D１D０

HEX C0DE

COMMAND

0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1
0 0 0 0 0 0 1 0
0 0 0 0 0 0 1 1
0 0 0 0 0 1 0 0
0 0 0 0 0 1 0 1
0 0 0 0 0 1 1 0
0 0 0 0 0 1 1 1
0 0 0 0 1 0 0 0
0 0 0 0 1 0 0 1
0 0 0 0 1 0 1 0
0 0 0 0 1 0 1 1
0 0 0 0 1 1 0 0
0 0 0 0 1 1 0 1
0 0 0 0 1 1 1 0
0 0 0 0 1 1 1 1
0 0 0 1 0 0 0 0
0 0 0 1 0 0 0 1
0 0 0 1 0 0 1 0
0 0 0 1 0 0 1 1
0 0 0 1 0 1 0 0
0 0 0 1 0 1 0 1

００
０１
０２
０３
０４
０５
０６
０７
０８
０９
０Ａ
０Ｂ
０Ｃ
０Ｄ
０Ｅ
０Ｆ
１０
１１
１２
１３
１４
１５
１６～１７
１８
１９
１Ａ
１Ｂ
１Ｃ
１Ｄ
１Ｅ
１Ｆ
２０
２１
２２
２３
２４
２５
２６
２７
２８
２９
２Ａ
２Ｂ
２Ｃ
２Ｄ
２Ｅ
２Ｆ
３０
３１
３２
３３
３４
３５

NO OPERATIONSPEC INITIALIZE1PULSE COUNTER INITIALIZE
ADDRESS INITIALIZE
ADDRESS READSERVO RESETRATE SETLSPD SETHSPD SETDFL COUNTER INITIALIZESET DATA READCW SOFT LIMIT SET
CCW SOFT LIMIT SET
Setting is disabled.
DFL DIVISION DATA SETSENSOR INDEX3 DATA SET
+JOG
-JOG
+SCAN
-SCAN
INCREMENTAL INDEXABSOLUTE INDEX
Setting is disabled.
END PULSE SETESPD SETCSPD SETOFFSET PULSE SETORIGIN DELAY SETORIGIN FLAG RESETORIGIN
Setting is disabled.
SPEC INITIALIZE3
Setting is disabled.
RESOLUTION SETPART HSPD BUFFER SETPART HSPD SET
INCREMENTAL DATA SET
ABSOLUTE DATA SETPART PULSE SETSERIAL INDEX CHECKPART RATE SET
SPECIAL SERIAL INDEX CHECKMARGIN TIME SETPEAK PULSE SETSEND PULSE SETSESPD SETSPEC INITIALIZE4+SPECIAL SCAN1-SPECIAL SCAN1+SPECIAL SCAN2-SPECIAL SCAN2
SPECIAL INCREMENTAL INDEX1SPECIAL ABSOLUTE INDEX1

0 0 0 1 1 0 0 0
0 0 0 1 1 0 0 1
0 0 0 1 1 0 1 0
0 0 0 1 1 0 1 1
0 0 0 1 1 1 0 0
0 0 0 1 1 1 0 1
0 0 0 1 1 1 1 0
0 0 0 1 1 1 1 1
0 0 1 0 0 0 0 0
0 0 1 0 0 0 0 1
0 0 1 0 0 0 1 0
0 0 1 0 0 0 1 1
0 0 1 0 0 1 0 0
0 0 1 0 0 1 0 1
0 0 1 0 0 1 1 0
0 0 1 0 0 1 1 1
0 0 1 0 1 0 0 0
0 0 1 0 1 0 0 1
0 0 1 0 1 0 1 0
0 0 1 0 1 0 1 1
0 0 1 0 1 1 0 0
0 0 1 0 1 1 0 1
0 0 1 0 1 1 1 0
0 0 1 0 1 1 1 1
0 0 1 1 0 0 0 0
0 0 1 1 0 0 0 1
0 0 1 1 0 0 1 0
0 0 1 1 0 0 1 1
0 0 1 1 0 1 0 0
0 0 1 1 0 1 0 1

NAME- 100 -

Reference
page
３１
３２
３３
３６
３６
３７
３７,１９
３７,２１
３８,２１
３９,３７
４１
３９
３９
-------４０
４０
４２
４２
４２
４２
４２
４３
-------４１
４１
４３,２１
４４
４４
４４
４５
-------４２-------４３
４４
４４
４５
４５
４６
４７
４８
４８
４９
４９
５０
５０
５１
５２
５２
５２
５２
５３
５３

＊
＊
＊
＊
＊
＊
＊
＊
＊

D７D６D５D４D３D２D１D０

HEX C0DE

COMMAND

0 0 1 1 0 1 1 0
0 0 1 1 0 1 1 1
0 0 1 1 1 0 0 0
0 0 1 1 1 0 0 1
0 0 1 1 1 0 1 0
0 0 1 1 1 0 1 1
0 0 1 1 1 1 0 0
0 0 1 1 1 1 0 1
0 0 1 1 1 1 1 0

３６
３７
３８
３９
３Ａ
３Ｂ
３Ｃ
３Ｄ
３Ｅ
３Ｆ
４０
４１
４２～４Ｆ

SPECIAL INCREMENTAL INDEX2SPECIAL ABSOLUTE INDEX2+SERIAL INDEX-SERIAL INDEX+SPECIAL SERIAL INDEX-SPECIAL SERIAL INDEXSENSOR INDEX1SENSOR INDEX2SENSOR INDEX3
Setting is disabled.
+SENSOR SCAN1-SENSOR SCAN1
Setting is disabled.
Setting is disabled.
DEND TIME SET
EXTEND ORIGIN SPEC SETCONSTANT SCAN MAX PULSE SETCHANGE POINT SETCHANGE DATA SET
AUTO CHANGE SET
Setting is disabled.
SPEC INITIALIZE5SRATE SETSLSPD SETSHSPD SETSSRATE ADJUSTSERATE ADJUSTSCSPD1 ADJUSTSCSPD2 ADJUST
Setting is disabled.
SRATE DOWN POINT SET+ S-RATE SCAN
- S-RATE SCAN
S-RATE INCREMENTAL INDEXS-RATE ABSOLUTE INDEX
Setting is disabled.
DRIVE CALCULATESRATE DRIVE CALCULATE
Setting is disabled.
ERROR STATUS READ

0 1 0 0 0 0 0 0
0 1 0 0 0 0 0 1

0 1 0 1 0 0 0 0
0 1 0 1 0 0 0 1
0 1 0 1 0 0 1 0
0 1 0 1 0 0 1 1
0 1 0 1 0 1 0 0
0 1 0 1 0 1 0 1
0 1 0 1 1 1 1 1
0 1 1 0 0 0 0 0
0 1 1 0 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 0 0 0 1 1
0 1 1 0 0 1 0 0
0 1 1 0 0 1 0 1
0 1 1 0 0 1 1 0

＊
＊
＊
＊

0 1 1 0 1 1 1 1
0 1 1 1 0 0 0 0
0 1 1 1 0 0 0 1
0 1 1 1 0 0 1 0
0 1 1 1 0 0 1 1
1 1 0 1 0 0 0 0
1 1 0 1 0 0 0 1
1 1 1 0 0 0 1 0

５０
５１
５２
５３
５４
５５
５６～５Ｅ
５Ｆ
６０
６１
６２
６３
６４
６５
６６
６７～６Ｅ
６Ｆ
７０
７１
７２
７３
７４～ＣＦ
Ｄ０
Ｄ１
Ｄ２～Ｅ１
Ｅ２

NAME

Reference
page
５４
５４
５５
５５
５５
５５
５５
５６
５６
-------５７
５７--------------５７
５８
５８
５９
５９
６０
-------６１
４５,２１
４６,２１
４６,２１
４７,２１
４７,２１
４８,２１
４８,２１
-------６２
４９
４９
４９
４９
-------６２
６３-------５０

20-2.Special Command Table
Special commands can always be executed.
D７D６D５D４D３D２D１D０

HEX C0DE1 1 1 1 0 0 1 1
1 1 1 1 0 1 0 0
1 1 1 1 0 1 0 1
1 1 1 1 0 1 1 0
1 1 1 1 0 1 1 1
1 1 1 1 1 0 0 0
1 1 1 1 1 0 0 1
1 1 1 1 1 0 1 0
1 1 1 1 1 1 0 0
1 1 1 1 1 1 0 1
1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1

Ｆ３
Ｆ４
Ｆ５
Ｆ６
Ｆ７
Ｆ８
Ｆ９
ＦＡ
ＦＣ
ＦＤ
ＦＥ
ＦＦ

COMMANDNAME

SIGNAL OUTINDEX CHANGE
RATE CHANGE
DRST OUT
SPEED CHANGE
INT MASKADDRESS COUNTER PORT SELECTDFL COUNTER PORT SELECTPULSE COUNTER PORT SELECT
SPEED PORT SELECTSLOW STOPFAST STOP- 101 -

Reference
page
６４
６４
６５
６５
５０
５１
５２
５２
５２
５２
５２
５２

２１．ＭＡＩＮＴＥＮＡＣＥ CAUTION CAUTION

You may get an electric shock in case of misoperation.
No person other than specialist engineer is allowed to conduct inspection andreplacement works.
Be sure to turn off the power supply before starting inspection and replacement
work of the product.
You may face the danger of electric shock, injury or fire.
Do not disassemble the product for repair like changing parts or for
modification.

21-1.Maintenance and Inspection(1) Cleaning Method
To operate the product in good conditions, clean them periodically as follows.
・Wipe them with dry soft cloth at the time of daily cleaning.
・When stains cannot be removed by wiping with dry cloth, moisten the cloth with thin neutral
detergent and squeeze it hard for wiping.
・Allowing a rubber or vinyl good, or tape to adhere to the product for a long time may cause
stain creation. If it is created, remove it when cleaning.
・Do not use volatile solvents like benzine and paint thinner and chemical duster.
Paint and label may be deteriorated sometimes.
(2) Inspection Method
To operate the product in good conditions, clean them periodically.
In general, inspect them every 6 months or once a year.
When operating them in an extremely high temperature and high humid environment or in a very dusty
environment, however, inspect them more frequently.
Inspection Item
Environment
Condition

Installation
Condition

Detail of Inspection
Are the ambient temperature and the internal
temperature of the system appropriate?
Are the ambient humidity and the internal
humidity of the system appropriate?
Haven't dusts gathered?
Is the product firmly fixed.
Are connectors inserted perfectly?
Is there any cable going to be disconnected?
Is there any connection cable being to bebroken?

Criterion
0～+45℃

Inspection Means
Thermometer

10％～80％RH(non-condensing)
There should be no dust.
There should no loose parts.
There should be no loose or
disconnected parts.
There should be no loose or
disconnected parts.
Appearance should be normal.

Hygrometer
Visual check
Visual check
Visual check
Visual check
Visual check(3) Replacing Method
When the product gets out of order, the whole system may be affected. So, repair it promptly.
To make repair works promptly, we recommend you to prepare spare equipment for replacement.
・Before replacement, stop the system and turn off the power supply to prevent electric shock andany accident.
・When imperfect contact is supposed, wipe contacts with clean pure cotton cloth moistened withindustrial alcohol.
・After the replacement, make sure that the new equipment is also in order.
・Return the removed defective equipment to us for repair together with a report detailing defects.
21-2.Storage and Disposal(1) Storing Method
Store the controller in the following environment.
・Indoors (where the controller is not exposed to direct sunlight).
・A place where ambient temperature and humidity satisfy the specification.
・A place free from corrosive gas and inflammable gas
・A place free from dirt, dust, salt and iron powder.
・A place where the product body is protected from vibration and shock.
・A place not exposed to splashes of water, oil or chemical.
・A place where no one can get on the product and place any substance on it.
(2) Disposing Method
Dispose the product as an industrial waste.

- 102 -

R1

Technical Service
TEL.(042)664-5382 FAX.(042)666-5664
E-mail s-support@melec-inc.com

Sales and Service
TEL.(042)664-5384 FAX.(042)666-2031
URL:http://www.melec-inc.com
Melec Inc. Control equipment marketing department
516-10,Higashiasakawa-cho,Hachioji-shi,Tokyo 193-0834,Japan
This Operating Manual is subject to change without prior noticefor the purpose of product improvement.

Cﾛﾛﾛﾛ