PCL6045BL Users Manual 090916 PDF
PCL6045BL Users Manual 090916 PDF
For
PCL6045BL
Pulse Control LSI
In addition to this manual, the PLC6045B User's Manual, Application Version, will be available. It
includes programming examples. Please contact us if you need a copy.
[Cautions]
(1) Copying all or any part of this manual without written approval is prohibited.
(2) The specifications of this LSI may be changed to improve performance or quality without prior
notice.
(3) Although this manual was produced with the utmost care, if you find any points that are unclear,
wrong, or have inadequate descriptions, please let us know.
(4) We are not responsible for any results that occur from using this LSI, regardless of item (3)
above.
1. The "x" "y" "z" and "u" of terminal names and bit names refer to the X axis, Y axis, Z axis and U axis,
respectively.
2. Terminals with a # (ex.#RST) are negative logic. Their logic cannot be changed. Terminals without a # are
positive logic. Their output logic can be changed.
3. When describing the bits in registers, "n" refers to the bit position. A "0" means that the bit is in position 0
and that it is prohibited to write to any bit other than "0". Finally, this bit will always return a "0" when read
out.
-i-
INDEX
1. Outline and Features .........................................................................................................................................1
1-1. Outline........................................................................................................................................................1
1-2. Features .....................................................................................................................................................1
2. Specifications.....................................................................................................................................................5
4. Functions of Terminals.......................................................................................................................................7
8. Registers .........................................................................................................................................................30
8-1. Table of registers......................................................................................................................................30
8-2. Pre-registers ............................................................................................................................................31
8-2-1. Writing to the operation pre-registers ...............................................................................................31
8-2-2. Cancel the operation pre-register.....................................................................................................32
8-2-3. Writing to the comparator pre-registers............................................................................................32
8-2-4. Cancel the comparator pre-register data..........................................................................................32
8-3.Description of the registers .......................................................................................................................33
8-3-1. PRMV (RMV) register.......................................................................................................................33
- ii -
8-3-2. PRFL (RFL) register .........................................................................................................................33
8-3-3. PRFH (RFH) register........................................................................................................................33
8-3-4. PRUR (RUR) register .......................................................................................................................33
8-3-5. PRDR (RDR) register .......................................................................................................................34
8-3-6. PRMG (RMG) register......................................................................................................................34
8-3-7. PRDP (RDP) register........................................................................................................................34
8-3-8. PRMD (RMD) register ......................................................................................................................35
8-3-9. PRIP (RIP) register...........................................................................................................................37
8-3-10. PRUS (RUS) register .....................................................................................................................37
8-3-11. PRDS (RDS) register......................................................................................................................37
8-3-12. RFA register....................................................................................................................................38
8-3-13. RENV1 register ..............................................................................................................................39
8-3-14. RENV2 register ..............................................................................................................................41
8-3-15. RENV3 register ..............................................................................................................................43
8-3-16. RENV4 register ..............................................................................................................................46
8-3-17. RENV5 register ..............................................................................................................................48
8-3-18. RENV6 register ..............................................................................................................................50
8-3-19. RENV7 register ..............................................................................................................................50
8-3-20. RCUN1 register ..............................................................................................................................51
8-3-21. RCUN2 register ..............................................................................................................................51
8-3-22. RCUN3 register ..............................................................................................................................51
8-3-23. RCUN4 register ..............................................................................................................................51
8-3-24. RCMP1 register..............................................................................................................................51
8-3-25. RCMP2 register..............................................................................................................................51
8-3-26. RCMP3 register..............................................................................................................................52
8-3-27. RCMP4 register..............................................................................................................................52
8-3-28. RCMP5 (PRCP5) register ..............................................................................................................52
8-3-29. RIRQ register .................................................................................................................................53
8-3-30. RLTC1 register ...............................................................................................................................53
8-3-31. RLTC2 register ...............................................................................................................................53
8-3-32. RLTC3 register ...............................................................................................................................54
8-3-33. RLTC4 register ...............................................................................................................................54
8-3-34. RSTS register.................................................................................................................................55
8-3-35. REST register .................................................................................................................................56
8-3-36. RIST register ..................................................................................................................................57
8-3-37. RPLS register .................................................................................................................................57
8-3-38. RSPD register ................................................................................................................................58
8-3-39. RSDC register ................................................................................................................................58
8-3-40. PRCI (RCI) register ........................................................................................................................58
8-3-41. RCIC register..................................................................................................................................58
8-3-42. RIPS register ..................................................................................................................................59
9. Operation Mode...............................................................................................................................................60
9-1. Continuous operation mode using command control ..............................................................................60
9-2. Positioning operation mode .....................................................................................................................60
9-2-1. Positioning operation (specify a target position using an incremental value) (MOD: 41h) ..............60
9-2-2. Positioning operation (specify the absolute position in COUNTER1) (MOD: 42h) ..........................60
9-2-3. Positioning operation (specify the absolute position in COUNTER2) (MOD: 43h) ..........................61
9-2-4. Command position 0 return operation (MOD: 44h) ..........................................................................61
9-2-5. Mechanical position 0 return operation (MOD: 45h) ........................................................................61
9-2-6. One pulse operation (MOD: 46h, 4Eh).............................................................................................61
9-2-7. Timer operation (MOD: 47h).............................................................................................................61
9-3. Pulsar (PA/PB) input mode ......................................................................................................................62
9-3-1. Continuous operation using a pulsar input (MOD: 01h)...................................................................65
9-3-2. Positioning operations using a pulsar input (specify incremental position) (MOD: 51h)..................65
9-3-3. Positioning operation using pulsar input (specify absolute position to COUNTER1) (MOD: 52h)...65
9-3-4. Positioning operation using pulsar input (specify the absolute position in COUNTER2) (MOD: 53h)
....................................................................................................................................................................65
9-3-5. Command position zero return operation using a pulsar input (MOD: 54h) ....................................66
9-3-6. Mechanical position zero return operation using pulsar input (MOD: 55h)......................................66
9-3-7. Continuous linear interpolation 1 using pulsar input (MOD: 68h) ....................................................66
9-3-8. Linear interpolation 1 using pulsar input (MOD: 69h) ......................................................................66
9-3-9. Continuous linear interpolation 2 using pulsar input (MOD: 6Ah) ....................................................66
- iii -
9-3-10. Linear interpolation 2 using pulsar input (MOD: 6Bh) ....................................................................66
9-3-11. CW circular interpolation using pulsar input (MOD: 6Ch)...............................................................66
9-3-12. CCW circular interpolation using pulsar input (MOD: 6Dh)............................................................66
9-4. External switch (±DR) operation mode ....................................................................................................67
9-4-1. Continuous operation using an external switch (MOD: 02h)............................................................67
9-4-2. Positioning operation using an external switch (MOD: 56h) ............................................................68
9-5. Origin position operation mode................................................................................................................69
9-5-1. Origin return operation .....................................................................................................................70
9-5-2. Leaving the origin position operations..............................................................................................78
9-5-3. Origin search operation ....................................................................................................................78
9-6. EL or SL operation mode .........................................................................................................................80
9-6-1. Feed until reaching an EL or SL position .........................................................................................81
9-6-2. Leaving an EL or SL position............................................................................................................81
9-7. EZ count operation mode.........................................................................................................................81
9-8. Interpolation operations ...........................................................................................................................82
9-8-1.Interpolation operations.....................................................................................................................82
9-8-2. Interpolation control axis ..................................................................................................................82
9-8-3. Synthesized speed constant control.................................................................................................83
9-8-4. Continuous linear interpolation 1 (MOD: 60h)..................................................................................84
9-8-5. Linear interpolation 1 (MOD: 61h) ....................................................................................................84
9-8-6. Continuous linear interpolation 2 (MOD: 62h)..................................................................................85
9-8-7. Linear interpolation 2 (MOD: 63h) ....................................................................................................85
9-8-8. Circular interpolation ........................................................................................................................86
9-8-9. Circular interpolation synchronized with the U axis..........................................................................88
9-8-10. Interpolation operation synchronized with PA/PB ..........................................................................88
9-8-11. Operation during interpolation ........................................................................................................89
-v-
1. Outline and Features
1-1. Outline
The PCL6045BL is a CMOS LSI designed to provide the oscillating, high-speed pulses needed to drive
stepper motors and servomotors (pulse string input types) using various commands.
It can offer various types of control over the pulse strings and therefore the motor performance. These include
continuous feeding, positioning, and origin return, etc. at a constant speed, linear acceleration/deceleration,
and S-curve acceleration/deceleration.
PCL6045BL is more user-friendly than PCL6045B because of adapting of 3.3V single power supply and
JEDEC standard package, etc. Additionally, it is upward compatible in software.
The PCL6045BL controls four axes. It can control the linear interpolation of two to four axes, circular
interpolations between any two axes, confirm PCL operation status, and output an interrupt with various
conditions. It also integrates an interface for servo motor drivers.
These functions can be used with simple commands. The intelligent design philosophy reduces the burden on
the CPU units to control motors.
1-2. Features
- CPU-I/F
The PCL6045BL contains the following CPU interface circuits.
1) 8-bit interface for Z80 CPU.
2) 16-bit interface for 8086 CPU.
3) 16-bit interface for H8 CPU.
4) 16-bit interface for 68000 CPU.
- Interpolation operation
Feeding with linear interpolation of any two to four axes and circular interpolation of any two axes are both
possible.
- Speed override
The feed speed can be changed in the middle of any feed operation.
However, the feed speed cannot be changed during operation when the synthesized speed constant
control for linear interpolation is ON while using S-curve deceleration.
- Pre-register function
The next two sets of data (feed amount, initial speed, feed speed, acceleration rate, deceleration rate,
speed magnification rate, ramping-down point, operation mode, center of circular interpolation, S-curve
range on an acceleration, S-curve range on a deceleration, number of steps for circular interpolation) can
be written while executing the current data. The next set of data, and other sets of data, can be written in
advance of their execution for checking by the comparator.
When the current operation is complete, the system will immediately execute the next operation.
-1-
- A variety of counter circuits
The following four counters are available separately for each axis.
Counter Use or purpose Counter Input
COUNTER 1 28-bit counter for control of the command position Output pulses
COUNTER 2 28-bit counter for mechanical position control EA/EB input
(Can be used as a general-purpose counter) Output pulses
PA/PB input
COUNTER 3 16-bit counter for controlling the deflection between Output pulses and EA/EB input
the command position and the machine's current Output pulses and PA/PB input
position EA/EB input and PA/PB input
COUNTER 4 28-bit counter used to output synchronous signals Output pulses
(Can be used as a general-purpose counter) EA/EB input
PA/PB input
1/2 of reference clock
All counters can be reset by writing a command or by providing a CLR signal.
They can also be latched by writing a command, or by providing an LTC or ORG signal.
The PCL6045BL can also be set to reset automatically soon after latching these signals.
The COUNTER 1, COUNTER 2, and COUNTER 4 counters have a ring count function that repeats
counting through a specified counting range.
- Comparator
There are five comparator circuits for each axis. They can be used to compare target values and internal
counter values.
The counter to compare can be selected from COUNTER 1 (command position counter), COUNTER 2
(mechanical position counter), COUNTER 3 (deflection counter), and COUNTER 4 (a general-purpose
counter).
Comparators 1 and 2 can also be used as software limits (+SL, -SL).
-2-
- Direct input of operation switch
Positive and negative direction terminals (±DR) are provided to drive a motor with an external operation
switch.
These switches turn the motor forward (+) and backward (-).
- Operation mode
The basic operations of this LSI are: continuous operation, positioning, origin return, linear interpolation,
and circular interpolation. By setting the optional operation mode bits, you can use a variety of operations.
<Examples of the operation modes>
1) Start/stop by command.
2) Continuous operation and positioning operation using PA/PB inputs (manual pulsar).
3) Operate for specified distances or in continuous operation using +DR/-DR signals (drive switch).
4) Origin return operation.
5) Positioning operation using commands.
6) Hardware start of the positioning operation using #CSTA input.
7) Change the target position after turning ON the PCS. (Delay control)
-3-
- Mechanical input signals
The following four signals can be input for each axis.
1) +EL: When this signal is turned ON, while feeding in the positive (+) direction, movement on this axis
stops immediately (with deceleration). When this signal is ON, no further movement occurs on the axis in
the positive (+) direction. (The motor can be rotated in the negative (-) direction.)
2) -EL: Functions the same as the +EL signal except that it works in the negative (-) direction.
3) SD: This signal can be used as a deceleration signal or a deceleration stop signal, according to the
software setting. When this is used as a deceleration signal, and when this signal is turned ON during a
high speed feed operation, the motor on this axis will decelerate to the FL speed. If this signal is ON and
movement on the axis is started, the motor on this axis will run at the FL constant speed. When this signal
is used as a deceleration stop signal, and when this signal is turned ON during a high speed feed
operation, the motor on this axis will decelerate to the FL speed and then stop.
4) ORG: Input signal for an origin return operation.
For safety, make sure the +EL and -EL signals stay on from the EL position until the end of each stroke.
The input logic for these signals can be changed using the ELL terminal.
The input logic of the SD and ORG signals can be changed using software.
- Servomotor I/F
The following three signals can be used as an interface for each axis
1) INP: Input positioning complete signal that is output by a servomotor driver.
2) ERC: Output deflection counter clear signal to a servomotor driver.
3) ALM: Regardless of the direction of operation, when this signal is ON, movement on this axis stops
immediately (deceleration stop). When this signal is ON, no movement can occur on this axis.
The input/output logic of the INP, ERC, and ALM signals can be changed using software.
The ERC signal is a pulsed output. The pulse length can be set. (12 µsec to 104 msec. A level output is also
available.)
-4-
2. Specifications
Item Description
Number of axes 4 axes (X, Y, Z, and U axis)
Reference clock Standard: 19.6608 MHz (Max. 20 MHz)
Positioning control range -134,217,728 to +134,217,727 (28-bit)
Ramping-down point setting
0 to 16,777,215 (24-bit)
range
Number of registers used for
Three for each axis (FL, FH, and FA (speed correction))
setting speeds
Speed setting step range 1 to 65,535 (16-bits)
Speed magnification range Multiply by 0.1 to 100
Multiply by 0.1 = 0.1 to 6,553.5 pps
Multiply by 1 = 1 to 65,535 pps
Multiply by 100 = 100 to 6,553,500 pps
(When the reference clock is 19.6608 MHz)
Acceleration/deceleration Selectable acceleration/deceleration pattern for both increasing and decreasing
characteristics speed separately, using Linear and S-curve acceleration/deceleration.
Acceleration rate setting
1 to 65,535 (16-bit)
range
Deceleration rate setting
1 to 65,535 (16-bit)
range
Ramping-down point Automatic setting within the range of (deceleration time) < (acceleration time x 2)
automatic setting
Feed speed automatic Automatically lowers the feed speed for short distance positioning moves.
correction function
Manual operation input Manual pulsar input, pushbutton switch input
Counter COUNTER 1: Command position counter (28-bit)
COUNTER 2: Mechanical position counter (28-bit)
COUNTER 3: Deflection counter (16-bit)
COUNTER 4: General-purpose counter (28-bit)
Comparators 28-bits x 5 circuits / axis
Interpolation functions Linear interpolation: Any 2 to 4 axes, Circular interpolation: Any 2 axes
Operating temperature range -40 to +85oC
Power supply Single power supply of 3.3 V±10%
Package 176-pin QFP
-5-
3. Terminal Assignment Diagram
Note: Pin number 1 is to the lower left of the LSI when you see the model name "PCL6045BL" marked on the chip
at the front
-6-
4. Functions of Terminals
Signal Terminal Input/
Logic Description
name No. output
GND 17,25, Power Supply a negative power.
39,56, source Make sure to connect all of these terminals.
77,105,
127,163,
176,
VDD 12,33, Power Supply +3.3 VDC power.
66,88, source The allowable power supply range is +3.3 VDC ±10%.
100,121, Make sure to connect all of these terminals.
144,149,
161,162,
165,166,
167
#RST 175, Input Negative Input reset signal.
Make sure to set this signal LOW after turning ON the power and
before starting operation. Input at least 8 cycles of the reference
clock while holding #RST low.
For details about the chip's status after a reset, see section 11-1,
"Reset", in this manual.
CLK 164, Input Input a CMOS level reference clock signal.
The reference clock frequency is 19.6608 MHz. The LSI creates
output pulses based on the clock input on this terminal.
IF0 1, Input Enter the CPU-I/F mode
IF1 2, CPU CPU signal connected to the terminal
IF1 IF0 example #RD #WR A0 #WRQ
L L 68000 VDD R/#W #LDS #DTACK
L H H8 #RD #HWR (GND) #WAIT
H L 8086 #RD #WR (GND) READY
H H Z80 #RD #WR A0 #WAIT
#CS 3, Input Negative When the signal level on this terminal is LOW, the #RD and #WR
terminals will be valid.
#RD 4, Input Negative Connect to the I/F terminal of the CPU. The #RD and #WR terminals
#WR 5, are valid when #CS terminal is LOW.
A0 to A4 6 to 10 Input Positive Address control signals
#INT 11, Output Negative Outputs an interrupt request signal (IRQ) to an external CPU.
After this terminal is turned ON, the signal will return to OFF when a
REST (error interrupt cause) or RIST (event interrupt cause) signal
is received. The output status can be checked with an MSTSW
(main status) command signal.
The #INT output signal can be masked.
When more than one 6045BL LSI is used, a wired OR connection
between #INT terminals is not allowed.
#WRQ 13 Output Negative Outputs a wait request signal to cause a CPU to wait.
The LSI needs 4 reference clock cycles to process each command.
If the #WRQ signal is not used, make sure that an external CPU
does not access this LSI during this interval.
#IFB 14 Output Negative Signal used to indicate that the LSI is processing commands.
Use this signal to make connections with a CPU that does not have
a wait control input terminal.
When the LSI receives a write command from a CPU, this signal will
go LOW. When the LSI finishes processing, this signal will go HIGH.
The LSI makes sure that this terminal is HIGH and then proceeds to
the next step (in the case of that #WRQ is not used.)
-7-
Signal Terminal Input/
Logic Description
name No. output
D0 to D7 15 to 16, Input/ Positive Bi-directional data bus.
18 to 23 Output When connecting a 16-bit data bus, connect the lower 8 signal lines
here.
D8 to D15 24, Input/ Positive Bi-directional data bus.
26 to 32 Output When connecting a 16-bit data bus, connect the upper 8 signal lines
here.
When a Z80-I/F (IF1 = H, IF0 = H) is used, provide a pull up resistor
(5k to 10 K-ohms) on VDD.
(One resistor can be used for all 8 lines.)
#CSTA 168 Input/ Negative Input/Output terminal for simultaneous start.
Output* When more than one LSI is used and you want to start them
simultaneously, connect this terminal on each LSI.
The terminal status can be checked using an RSTS command
signal (extension status).
#CSTP 169 Input/ Negative Input/Output terminal for a simultaneous stop. (See Note 6.)
Output* When more than one LSI is used and you want to stop them
simultaneously, connect this terminal on each LSI.
The terminal status can be checked using an RSTS command
signal (extension status).
#CEMG 170 Input U Negative Input for an emergency stop.
While this signal is LOW, motion cannot start. If this signal changes
to LOW while in operation, all the motors will stop operation
immediately.
ELLx 171 Input U Specify the input logic for the ±EL signal.
ELLy 172 LOW: The input logic on ±EL is positive.
ELLz 173 HIGH: The input logic on ±EL is negative.
ELLu 174
+ ELx 34 Input U Negative% Input end limit signal in the positive (+) direction. (See Note 6.)
+ ELy 66 When this signal is ON while feeding in the positive (+) direction,
+ ELz 97 motion of an axis will stop immediately or will decelerate and stop.
+ ELu 130 Specify the input logic using the ELL terminal.
The terminal status can be checked using an SSTSW command
signal (sub status).
- ELx 35 Input U Negative% Input end limit signal in the negative (-) direction. (See Note 6.)
- ELy 67 When this signal is ON while feeding in negative (-) direction, motion
- ELz 98 of an axis will stop immediately, or will decelerate and stop.
- ELu 131 Specify the input logic using the ELL terminal.
The terminal status can be checked using an SSTSW command
signal (sub status).
SDx 36 Input U Negative# Input deceleration (deceleration stop) signal.
SDy 68 Selects the input method: LEVEL or LATCHED inputs.
SDz 99 The input logic can be selected using software. The terminal status
SDu 132 can be checked using an SSTSW command signal (sub status).
-8-
Signal Terminal Input/
Logic Description
name No. output
OUTx 57 Output Negative # Output command pulses for controlling a motor.
OUTy 78 When Common Pulse mode is selected:
OUTz 122 Output pulses and the feed direction is determined by DIR
OUTu 145 signals.
When Two-pulse output mode is selected:
Outputs pulses in the positive (+) direction.
When 90 phase difference mode is selected:
Outputs DIR signals and 90 phase difference signals.
The output logic can be changed using software.
DIRx 58 Output Negative # Output command pulses for controlling a motor, or outputs direction
DIRy 79 signal.
DIRz 123 When Common Pulse mode is selected:
DIRu 146 Outputs a direction signal.
When Two-pulse output mode is selected:
Output pulses in the negative (-) direction.
When 90 phase difference mode is selected:
Outputs DIR signals and 90 phase difference signals.
The output logic can be changed using software
EAx, EBx 40, 41 Input U Input this signal when you want to control the mechanical position
EAy, EBy 71, 72 using the encoder signal. Input a 90 phase difference signal (1x, 2x,
EAz, EBz 103, 104 4x) or input positive (+) pulses on EA and negative (-) pulses on EB.
EAu, EBu 135, 136 When inputting 90 phase difference signals, if the EA signal phase
is ahead of the EB signal, the LSI will count up (count forward)
pulses.
The counting direction can be changed using software.
EZx 42 Input U Negative # Input a marker signal (this signal is output once for each turn of the
EZy 73 encoder) when using the marker signal in origin return mode.
EZz 106 Use of the EZ signal improves origin return precision.
EZu 137 The input logic can be changed using software. The terminal status
can be checked using an RSTS command signal (extension status).
PAx, PBx 43,44 Input U Input for receiving external drive pulses, such as manual pulsar. You
PAy, PBy 74,75 can input 90 phase difference signals (1x, 2x, 4x) or positive (+)
PAz, PBz 107,108 pulses (on PA) and negative (-) pulses (on PB).
PAu, PBu 138,139 When 90 phase difference signals are used, if the signal phase of
PA is ahead of the PB signal, the LSI will count up (count forward)
pulses.
The counting direction can be changed using software.
#PEx 45 Input U Negative Setting these terminals LOW enables PA/PB and +DR/-DR input.
#PEy 76 By inputting an axis change switch signal, one manual pulsar can be
#PEz 109 used alternately for four axes.
#PEu 140
+DRx,-DRx 46,47 Input U Negative # You can start operation of the PCL with these signals manually using
+DRy,-DRy 82,83 external switches.
+DRz,-DRz 110,111 Specifying the feed length, constant speed continuous feed, and
+DRu,-DRu 141,142 high-speed continuous feed are possible.
The input logic can be changed using software. The terminal status
can be checked using an RSTS command signal (extension status).
PCSx 48 Input U Negative # The PCL starts its positioning operation according to this input
PCSy 84 signal. (Override 2 of the target position.)
PCSz 112 The input logic can be changed using software. The terminal status
PCSu 143 can be checked using an RSTS command signal (extension status).
INPx 49 Input U Negative # Input the position complete signal from servo driver (in-position
INPy 85 signal).
INPz 113 Input logic can be changed using software. The terminal status can
INPu 150 be checked using an RSTS command signal (extension status).
CLRx 50 Input U Negative # Reset a specified counter (more than one is available) from
CLRy 86 COUNTER1 to 4.
CLRz 114 The input logic can be changed using software. The terminal status
CLRu 151 can be checked using an RSTS command signal (extension status).
-9-
Signal Terminal Input/
Logic Description
name No. output
LTCx 51 Input U Negative # Latch counter value of specified counters (more than one is
LTCy 87 available) from COUNTER1 to 4.
LTCz 115 The input logic can be changed using software. The terminal status
LTCu 152 can be checked using an RSTS command signal.
ERCx 59 Output Negative # Outputs a deflection counter clear signal to a servo driver as a pulse.
ERCy 80 The output logic and pulse width can be changed using software. A
ERCz 124 LEVEL signal output is also available. The terminal status can be
ERCu 147 checked using an RSTS command signal.
#BSYx 60 Output Negative Outputs a LOW signal while feeding.
#BSYy 81
#BSYz 125
#BSYu 148
P0x/FUPx 52 Input/ Positive Common terminal for general purpose I/O and FUP. (See Note 5.)
P0y/FUPy 89 Output* As an FUP terminal, it outputs a LOW signal while accelerating.
P0z/FUPz 116 As a general purpose I/O terminal, three possibilities can be
P0u/FUPu 153 specified: input terminal, output terminal, and one shot pulse output
terminal.
The usage, output logic of the FUP and one shot parameters can be
changed using software.
P1x/FDWx 53 Input/ Positive Common terminal for general purpose I/O and FDW. (See Note 5.)
P1y/FDWy 90 Output* As an FDW terminal, it outputs a LOW signal while decelerating.
P1z/FDWz 117 As a general purpose I/O terminal, three possibilities can be
P1u/FDWu 154 specified: input terminal, output terminal, and one shot pulse output
terminal.
The usage, output logic of the FDW and one shot pulse parameters
can be changed using software.
P2x/MVCx 54 Input/ Positive Common terminal for general purpose I/O and MVC. (See Note 5.)
P2y/MVCy 91 Output* When used as an MVC terminal, it outputs a signal while performing
P2z/MVCz 118 a constant speed feed.
P2u/MVCu 156 The usage and output logic of the MVC can be changed using
software.
P3x/CP1x 55 Input/ Positive Common terminal for general purpose I/O and CP1 (+SL). (See
(+SLx) 92 Output* Note 5.)
P3y/CP1y 119 When used as a CP1 (+SL) terminal, it outputs a signal while
(+SLy) 156 satisfying the conditions (within +SL) of comparator 1.
P3z/CP1z The output logic of CP1 (+SL) as well as the selection of input or
(+SLz) output functions can be changed using software.
P3u/CP1u
(+SLu)
P4x/CP2x 62 Input/ Positive Common terminal for general purpose I/O and CP2 (-SL).
(-SLx) 93 Output* When used as a CP2 (-SL) terminal, it outputs a signal while
P4y/CP2y 120 satisfying the conditions (within -SL) of comparator 2.
(-SLy) 157 The output logic of CP2 (-SL) as well as the selection of input or
P4z/CP2z output functions can be changed using software. (See Note 5.)
(-SLz)
P4u/CP2u
(-SLu)
P5x/CP3x 63 Input/ Positive Common terminal for general purpose I/O and CP3. (See Note 5.)
P5y/CP3y 94 Output* When used as a CP3 terminal, it outputs a signal while satisfying the
P5z/CP3z 126 conditions of comparator 3.
P5u/CP3u 158 The output logic of CP3 as well as the selection of input or output
functions can be changed using software.
P6x/CP4x 64 Input/ Positive Common terminal for general purpose I/O and CP4. (See Note 5.)
P6y/CP4y 95 Output* When used as a CP4 terminal, it outputs a signal while satisfying the
P6z/CP4z 128 conditions of comparator 4.
P6u/CP4u 159 The output logic of CP4 as well as the selection of input or output
functions can be changed using software.
- 10 -
Signal Terminal Input/
Logic Description
name No. output
P7x/CP5x 65 Input/ Positive Common terminal for general purpose I/O and CP5. (See Note 5.)
P7y/CP5y 96 Output* When used as a CP5 terminal, it outputs a signal while establishing
P7z/CP5z 129 the conditions of comparator 5.
P7u/CP5u 160 The output logic of CP5 as well as the selection of input or output
functions can be changed using software.
Note 1: "Input U" refers to an input with a pull up resistor. The internal pull up resistance (40 k to 240 k-ohms)
is only used to keep a terminal from floating. If you want to use the LSI with an open collector system,
an external pull up resistor (5k to 10 k-ohms) is required.
As a noise prevention measure, pull up unused terminals to VDD using an external resistor (5 k to 10
k-ohms), or connect them directly to VDD5.
Note 2: "Input/Output *" refers to a terminal with a pull up resistor. The internal pull up resistor (40 k to 240
k-ohms) is only used to keep a terminal from floating. If it is connected in a wired OR circuit, an
external pull up resistor (5 k to 10 k-ohms) is required.
As a noise prevention measure, pull up unused terminals to VDD using an external resistor (5 k to 10
k-ohms).
Note 4: "Positive" refers to positive logic. "Negative" refers to negative logic. "#" means that the logic can be
changed using software. "%" means that the logic can be changed by the setting on another terminal.
The logic shown refers only to the initial status of the terminal. The DIR terminal is initially in a
Two-pulse mode.
Note 6: When a deceleration stop is selected, keep the input signal ON until an axis stops.
Note 7: ORG input is synchronized with output pulses, sampled and controlled by a change of sampling result.
Therefore, keep ORG sensor ON for longer than feed amount for one pulse.
- 11 -
5. Block Diagram
RFL, RFH, RUR, RDR RMG
FH correction Vibration
RUS, RDS, RFA OUTx, DIRx
curcuit restriction circuit
RCMP1 RCUN1
Idling control
COUNTER 1
Comparator 1 Selec Command position
‐tor counter
Latch Encoder I/F circuit EAx, EBx
RCMP2 RCUN2 RLTC1
Comparator 2 COUNTER 2
Selec
Mechanical counter
‐tor
Latch Pulser I/F circuit PAx, PBx
RCMP3 RCUN3 RLTC2
Comparator 3 COUNTER 3
Selec
Regis Deflection counter
‐tor
‐ter Latch
RCMP4 RCUN4 RLTC3
&
ELLx COUNTER 4
Control Comparator 4 Selec‐ General‐purpose Divide
tor counter to 1/2 CLK
ALMx
Latch
RCMP5
RMV RLTC4
PCSx
Current speed
Comparator 5 Selec Positioning countrol
ERCx
‐tor counter RSDC
INPx RPLS
Current speed Slowdown point
Comparator calculation
CLRx
circuit
EZx
LTCx +ELx, ‐ELx, SDx, ORGx
Sensor input
+DRx, ‐DRx, PEx
Switch input
#BSYx P0x~P7x General
‐purpose port
[X axis circuit]
[Y axis circuit] (Same as the X‐axis circuit)
[Z axis circuit] (Same as the X‐axis circuit)
[U axis circuit] (Same as the X‐axis circuit exceop for RCI)
- 12 -
6. CPU Interface
6-1. Setting up connections to a CPU
This LSI can be connected to four types of CPUs by changing the hardware settings.
Use the IF0 and IF1 terminals to change the settings and connect the CPU signal lines as follows.
Setting status CPU signal to connect to the 6045BL terminals
CPU type
IF1 IF0 #RD terminal #WRterminal A0 terminal #WRQ terminal
L L 68000 VDD R/#W #LDS #DTACK
L H H8 #RD #HWR (GND) #WAIT
H L 8086 #RD #WR (GND) READY
H H Z80 #RD #WR A0 #WAIT
- 13 -
6-3. CPU interface circuit block diagram
1) Z80 interface
A0 to A4 A0 to A4
#INT #INT
#IORQ
#RD #RD
#WR #WR
#WAIT #WRQ
D0 to D7 D0 to D7
#RESET #RST
#System reset
2) 8086 interface
8086 PCL6045BL
CLK 3.3V
CLK
M/#IO Decoding #CS
circuit IF1
ALE A5-A19 A1 to A4 IF0
A16-A19 A1 to A4
Latch A1 to A19
AD0-AD15 A0
GND GND
D0 to D15
INTR #INT
Interrupt
#INTA
control
circuit
#RD #RD
#WR #WR
READY #WRQ
RESET #RST
MN/#MX VDD
System reset
#System reset
- 14 -
3) H8 interface
H8 PCL6045BL 3.3V
CLK CLK
Decoding
A5 to A15 circuit #CS IF0
IF1
A1 to A4 A1 to A4
A0
#IRQ #INT GND
#RD #RD
#HWR #WR
#WAIT #WRQ
D0 to D15 D0 to D15
#RESET #RST
GND
System reset
4) 68000 interface
68000 PCL6045BL
GND
A1 to A4 A1 to A4
D0 to D15 D0 to D15
#LDS A0
#DTACK #WRQ
Interrupt
#IPL0 to #IPL2 #INT
control circuit
3.3V
#RD
R/#W #WR
#RESET #RST
#System reset
Note: For the 8086, H8, and 68000 interfaces, only word (16-bit) access is available. Byte (8-bit) access is not
available.
- 15 -
6-4. Address map
A4 A3 Detail
0 0 X axis control address range
0 1 Y axis control address range
1 0 Z axis control address range
1 1 U axis control address range
2) Readout cycle
A0 to A2 Address signal Processing detail
000 MSTSB0 Read the main status (bits 0 to 7)
001 MSTSB1 Read the main status (bits 8 to 15)
010 IOPB Read the general-purpose input/output port
011 SSTSB Read the sub status
100 BUFB0 Read from the input/output buffer (bits 0 to 7)
101 BUFB1 Read from the input/output buffer (bits 8 to 15)
110 BUFB2 Read from the input/output buffer (bits 16 to 23)
111 BUFB3 Read from the input/output buffer (bits 24 to 31)
2) Readout cycle
A1 to A2 Address signal Processing detail
00 MSTSW Read the main status (bits 0 to 15)
01 SSTSW Read the sub status and general-purpose input/output port
10 BUFW0 Read from the input/output buffer (bits 0 to 15)
11 BUFW1 Read from the input/output buffer (bits 16 to 31)
- 16 -
<When used with the H8 or 68000 I/F>
1) Write cycle
A1 to A2 Address signal Processing detail
11 COMW Write the axis assignment and control command
Change the status of the general-purpose output port (only bits assigned as
10 OTPW
outputs are effective)
01 BUFW0 Write to the input/output buffer (bits 0 to 15)
00 BUFW1 Write to the input/output buffer (bits 16 to 31)
2) Readout cycle
A1 to A2 Address signal Processing detail
11 MSTSW Read the main status (bits 0 to 15)
10 SSTSW Read the sub status and general-purpose input/output port
01 BUFW0 Read from the input/output buffer (bits 0 to 15)
00 BUFW1 Read from the input/output buffer (bits 16 to 31)
- 17 -
6-5. Description of the map details
6-5-1. Write a command code and axis selection (COMW, COMB)
Write commands for reading and writing to registers and the start and stop control commands for each axis.
COMB0: Set a command code. For details, see "7. Commands (Operation and Control commands)."
SELx to u: Select an axis for executing the command. If all of the bits are 0, only the own axis (selected by A4,
A3) is selected. To write the same command to more than one axis, set the bits of the selected
axes to 1. When you write to a register, the details of the input/output buffer are written into the
register for each axis. When you read from a register, the details in the register are written into the
input/output buffer for each axis.
COMW
COMB1 COMB0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 SELu SELz SELy SELx
OTPW
OTPB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 OTP7 OTP6 OTP5 OTP4 OTP3 OTP2 OTP1 OTP0
BUFW1 BUFW0
BUFB3 BUFB2 BUFB1 BUFB0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- 18 -
6-5-4. Reading the main status (MSTSW, MSTSB)
MSTSW
MSTSB1 MSTSB0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SPDF SPRF SEOR SCP5 SCP4 SCP3 SCP2 SCP1 SSC1 SSC0 SINT SERR SEND SENI SRUN SSCM
- 19 -
3) When the DR continuous mode (MOD=02h) is selected.
Start command Stop command
#WR Read main status
#RD
+DR
SSCM
SRUN
SENI
SEND
#BSY
OUT
4) When the auto stop mode is selected such as positioning operation mode (MOD=41h).
Start command
#WR Read main status
#RD
SSCM
SRUN
SENI
SEND
#BSY
OUT
6-5-5. Reading the sub status and input/output port. (SSTSW, SSTSB, IOPB)
SSTSW
SSTSB IOPB
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SSD SORG SMEL SPEL SALM SFC SFD SFU IOP7 IOP6 IOP5 IOP4 IOP3 IOP2 IOP1 IOP0
- 20 -
7. Commands (Operation and Control Commands)
7-1. Operation commands
By writing the command to COMB0 (address 0 when a Z80 I/F is used) after writing the axis assignment data
to COMB1 (address 1 when a Z80 I/F is used), the LSI will start and stop, as well as change the speed of the
output pulses.
When an 8086, H8, or 68000 I/F is used, write 16-bit data, which combines the axis assignment and operation
command data.
7-1-1. Procedure for writing an operation command (the axis assignment is omitted)
Write a command to COMB0 (address 0 when a Z80 I/F is used). A waiting time of 4 register reference clock
cycles (approximately 0.2 µsec when CLK = 19.6608 MHz) is required for the interval between "writing a
command" and "writing the next command," "writing a register" and "writing the I/O buffer," and between
"reading a register" and "reading the I/O buffer." When the #WRQ output signal is used by connecting it to the
CPU, the CPU automatically ensures this waiting time.
If you want to use a CPU that does not have this waiting function, arrange the program sequence so that
access is only allowed after confirming that the #IFB output signal is HIGH.
#CS
#WR
D0 to D7 Command Command
#CS
#WR
#WRQ
D0 to D7 Command Command
Automatically
secure 4 reference
clock cycles.
- 21 -
7-1-2. Start command
1) Start command
If this command is written while the motor is stopped, the motor will start rotating. If this command is written
while the motor is operating, it is taken as the next start command.
COMB0 Symbol Description
50h STAFL FL constant speed start
51h STAFH FH constant speed start
52h STAD High speed start 1 (FH constant speed -> Deceleration stop) Note. 1
53h STAUD High speed start 2 (Acceleration → FH constant speed → Deceleration stop) Note. 1
Note 1: For details, see section 10-1, "Speed patterns."
- 22 -
7-1-4. Stop command
1) Stop command
Write this command to stop feeding while operating.
COMB0 Symbol Description
49h STOP Write this command while in operation to stop immediately.
4Ah SDSTP Write this command while feeding at FH constant speed or high speed, the motor on
that axis will decelerate to the FL constant speed and stop. If this command is written
while the axis is being fed at FL constant speed, the motor on that axis will stop
immediately.
- 23 -
7-2. General-purpose output bit control commands
These commands control the individual bits of output terminals P0 to P7.
When the terminals are designated as outputs, the LSI will output signals from terminals P0 to P7. Commands
that have not been designated as outputs are ignored.
The write procedures are the same as for the Operation commands.
In addition to this command, by writing to a general-purpose output port (OTPB: Address 2 when a Z80 I/F is
used), you can set 8 bits as a group. See section 7-5, "General-purpose output port control command."
The P0 and P1 terminals can be set for one shot output (T = approx. 26 msec.) using the RENV2
(Environment setting 2) register, and the output logic can be selected.
To use them as one shot outputs, set the P0 terminal to P0M (bits 0 and 1) = 11, or, set the P1 terminal to P1M
(bits 2 and 3) = 11. To change the output logic, set P0L (bit 16) on the P0 terminal and P1L (bit 17) on the P1
terminal.
In order to perform a one-shot output from the P0 and P1 terminals, a bit control command should be written.
However, the command you need to write will vary, depending on the output logic selected. See the table
below for the details.
When writing control commands to output ports (OTPB: address 2 for the Z80 interface), the P0 and P1
terminals will not change.
- 24 -
7-3. Control command
Set various controls, such as the reset counter.
The procedures for writing are the same as the operation commands.
- 25 -
7-4. Register control command
By writing a Register Control command to COMB0 (Address 0 when a Z80 I/F is used), the LSI can copy data
between a register and the I/O buffer.
When the I/O buffer is used in the program for responding to an interrupt, note to read the I/O buffer contents
before using it, perform PUSH operation it and return it to its original value after use.
7-4-1. Procedure for writing data to a register (the axis assignment is omitted)
1) Write the data that will be written to a register into the I/O buffer (addresses 4 to 7 when a Z80 I/F is used).
The order in which the data is written does not matter. However, secure two reference clock cycles between
these writings.
2) Then, write a "register write command" to COMB0 (address 0 when a Z80 I/F is used).
After writing one set of data, wait at least 4 cycles (approx. 0.2 µsec when CLK = 19.6608 MHz) before
writing the next set of data. In both case1) and case 2), when the WRQ output is connected to the CPU, the
CPU wait control function will provide the waiting time between write operations automatically.
A0
A0to
toA2
A2 4h 5h 6h 7h 0h Next address
#CS
CS
WR
#WR
D0totoD7
D0 D7 Command Data Data Data Command Command
7-4-2. Procedure for reading data from a register (the axis assignment is omitted)
1) First, write a "register read out command" to COMB0 (address 0 when a Z80 I/F is used).
2) Wait at least four reference clock cycles (approx. 0.2 µsec when CLK = 19.6608 MHz) for the data to be
copied to the I/O buffer.
3) Read the data from the I/O buffer (addresses 4 to 7 when a Z80 I/F is used). The order for reading data from
the I/O buffer does not matter. There is no minimum time between read operations.
When the #WRQ output is connected to the CPU, the CPU wait control function will provide the waiting time
between write operations automatically.
A0 to A2
#CS
#WR
#RD
D0 to D7
- 26 -
7-4-3. Table of register control commands
Register 2nd pre-register
No Detail Read command Write command Read command Write command
Name Name
COMB0 Symbol COMB0 Symbol COMB0 Symbol COMB0 Symbol
Feed amount,
1 RMV D0h RRMV 90h WRMV PRMV C0h RPRMV 80h WPRMV
target position
2 Initial speed RFL D1h RRFL 91h WRFL PRFL C1h RPRFL 81h WPRFL
3 Operation speed RFH D2h RRFH 92h WRFH PRFH C2h RPRFH 82h WPRFH
4 Acceleration rate RUR D3h RRUR 93h WRUR PRUR C3h RPRUR 83h WPRUR
5 Deceleration rate RDR D4h RRDR 94h WRDR PRDR C4h RPRDR 84h WPRDR
Speed
6 RMG D5h RRMG 95h WRMG PRMG C5h RPRMG 85h WPRMG
magnification rate
Ramping-down
7 point RDP D6h RRDP 96h WRDP PRDP C6h RPRDP 86h WPRDP
8 Operation mode RMD D7h RRMD 97h WRMD PRMD C7h RPRMD 87h WPRMD
Circular
9 interpolation RIP D8h RRIP 98h WRIP PRIP C8h RPRIP 88h WPRIP
center
Acceleration
10 RUS D9h RRUS 99h WRUS PRUS C9h RPRUS 89h WPRUS
S-curve range
Deceleration
11 RDS DAh RRDS 9Ah WRDS PRDS CAh RPRDS 8Ah WPRDS
S-curve range
Feed amount
12 RFA DBh RRFA 9Bh WRFA
correction speed
Environment
13 RENV1 DCh RRENV1 9Ch WRENV1
setting 1
Environment
14 RENV2 DDh RRENV2 9Dh WRENV2
setting 2
Environment
15 RENV3 DEh RRENV3 9Eh WRENV3
setting 3
Environment
16 RENV4 DFh RRENV4 9Fh WRENV4
setting 4
Environment
17 RENV5 E0h RRENV5 A0h WRENV5
setting 5
Environment
18 RENV6 E1h RRENV6 A1h WRENV6
setting 6
Environment
19 RENV7 E2h RRENV7 A2h WRENV7
setting 7
COUNTER1
20 (command RCUN1 E3h RRCUN1 A3h WRCUN1
position)
COUNTER2
21 (mechanical RCUN2 E4h RRCUN2 A4h WRCUN2
position)
COUNTER3
22 (deflection RCUN3 E5h RRCUN3 A5h WRCUN3
counter)
COUNTER4
23 RCUN4 E6h RRCUN4 A6h WRCUN4
(general purpose)
Data for WRCMP
24 RCMP1 E7h RRCMP1 A7h
comparator 1 1
Data for WRCMP
25 RCMP2 E8h RRCMP2 A8h
comparator 2 2
Data for WRCMP
26 RCMP3 E9h RRCMP3 A9h
comparator 3 3
Data for WRCMP
27 RCMP4 EAh RRCMP4 AAh
comparator 4 4
Data for WRCMP
28 RCMP5 EBh RRCMP5 ABh PRCP5 CBh RPRCP5 8Bh WPRCP5
comparator 5 5
29 Event INT setting RIRQ ECh RRIRQ ACh WRIRQ
- 27 -
Register 2nd pre-register
No Detail Read command Write command Read command Write command
Name Name
COMB0 Symbol COMB0 Symbol COMB0 Symbol COMB0 Symbol
COUNTER1
30 RLTC1 EDh RRLTC1
latched data
COUNTER2
31 RLTC2 EEh RRLTC2
latched data
COUNTER3
32 RLTC3 EFh RRLTC3
latched data
COUNTER4
33 RLTC4 F0h RRLTC4
latched data
34 Extension status RSTS F1h RRSTS
35 Error INT status REST F2h RREST B2h WREST
36 Event INT status RIST F3h RRIST B3h WRIST
Positioning
37 RPLS F4h RRPLS
counter
EZ counter,
38 RSPD F5h RRSPD
speed monitor
Ramping-down
39 RSDC F6h RPSDC
point
Circular
40 interpolation RCI FCh RRCI BCh WRCI PRCI CCh RPRCI 8Ch WPRCI
stepping number
Circular
41 interpolation RCIC FDh RRCIC
stepping counter
Interpolation
42 RIPS FFh RRIPS
status
- 28 -
7-5. General-purpose output port control command
By writing an output control command to the output port (OTPB: Address 2 when using a Z80 interface), the
PCL will control the output of the P0 to P7 terminals.
When the I/O setting for P0 to P7 is set to output, the PCL will output signals from terminals P0 to P7 to issue
the command.
When writing words to the port, the upper 8 bits are discarded. However, they should be set to zero to maintain
future compatibility.
The output status of terminals P0 to P7 is latched, even after the I/O setting is changed to input.
The output status for each terminal can be set individually using the bit control command.
To continue with the next command, the LSI must wait for four reference clock cycles (approx. 0.2 µsec when
CLK = 19.6608 MHz). The #WRQ terminal outputs a wait request signal.
A0to
A0 to A2
A2 2h Next command address
#CSCS
#WR
WR
D0 to D7 Command Command
D0 to D7
4 cycle of
reference clock
7 6 5 4 3 2 1 0
OTP7 OTP6 OTP5 OTP4 OTP3 OTP2 OTP1 OTP0
Output P0
Output P1
Output P2
Output P3
0 : Low level
Output P4
1 : High level
Output P5
Output P6
Output P7
- 29 -
8. Registers
8-1. Table of registers
The following registers are available for each axis.
2nd
Register Bit
No. R/W Details pre-register
name length
name
1 RMV 28 R/W Feed amount, target position PRMV
2 RFL 16 R/W Initial speed PRFL
3 RFH 16 R/W Operation speed PRFH
4 RUR 16 R/W Acceleration rate PRUR
5 RDR 16 R/W Deceleration rate PRDR
6 RMG 12 R/W Speed magnification rate PRMG
7 RDP 24 R/W Ramping-down point PRDP
8 RMD 30 R/W Operation mode PRMD
9 RIP 28 R/W Circular interpolation center position, master axis feed PRIP
amount with linear interpolation and with multiple chips
10 RUS 15 R/W S-curve acceleration range PRUS
11 RDS 15 R/W S-curve deceleration range PRDS
12 RFA 16 R/W Speed at amount correction
13 RENV1 32 R/W Environment setting 1 (specify I/O terminal details)
14 RENV2 32 R/W Environment setting 2 (specify general-purpose port
details)
15 RENV3 32 R/W Environment setting 3 (specify origin return and counter
details)
16 RENV4 32 R/W Environment setting 4 (specify details for comparators 1
to 4)
17 RENV5 28 R/W Environment setting 5 (specify details for comparator 5)
18 RENV6 32 R/W Environment setting 6 (specify details for feed amount
correction)
19 RENV7 32 R/W Environment setting 7 (specify vibration reduction control
details)
20 RCUN1 28 R/W COUNTER1 (command position)
21 RCUN2 28 R/W COUNTER2 (mechanical position)
22 RCUN3 16 R/W COUNTER3 (deflection counter)
23 RCUN4 28 R/W COUNTER4 (general-purpose counter)
24 RCMP1 28 R/W Comparison data for comparator 1
25 RCMP2 28 R/W Comparison data for comparator 2
26 RCMP3 28 R/W Comparison data for comparator 3
27 RCMP4 28 R/W Comparison data for comparator 4
28 RCMP5 28 R/W Comparison data for comparator 5 PRCP5
29 RIRQ 19 R/W Specify event interruption cause
30 RLTC1 28 R COUNTER1 (command position) latch data
31 RLTC2 28 R COUNTER2 (mechanical position) latch data
32 RLTC3 16 R COUNTER3 (deflection counter) latch data
33 RLTC4 28 R COUNTER4 (general-purpose) latch data
34 RSTS 22 R Extension status
35 REST 18 R/W Error INT status
36 RIST 20 R/W Event INT status
37 RPLS 28 R Positioning counter (number of residual pulses to feed)
38 RSPD 23 R EZ counter, current speed monitor
39 RSDC 24 R Automatically calculated ramping-down point
40 RCI 31 R/W Number of steps for circular interpolation PRCI
41 RCIC 31 R Circular interpolation step counter
42 RIPS 24 R Interpolation status
- 30 -
8-2. Pre-registers
The following registers and start commands have pre-registers:
RMV, RFL, RFH, RUR, RDR, RMG, RDP, RMD, RIP, RUS, RDS, RCI, and RCMP5.
The term pre-register refers to a register which contains the next set of operation data while the current step is
executing. This LSI has the following 2-layer structure and executes FIFO operation.
The pre-registers consist of two groups: the operation pre-registers (PRMV, PRFL, PRFH, PRUR, PRDR,
PRMG, PRDP, PRMD, PRIP, PRUS, PRDS, PRCI) and the comparator pre-register (PRCP5).
Change
The relationship between the write status of the pre-registers and the possible PFM values are as follows.
Procedure 2nd pre-register 1st pre-register Working register PFM SPRF
0 0 0
Initial status 00 0
Undetermined Undetermined Undetermined
Data 1 is Data 1 is Data 1 is
Write Operation Data 1 00 0
undetermined undetermined undetermined
Data 1 is Data 1 is Data 1 is
Write a Start command 01 0
undetermined undetermined determined
Write Operation Data 2 and a Data 2 is Data 2 is Data 1 is
10 0
Start command while in operation undetermined determined determined
Write Operation Data 3 and Start Data 3 is Data 3 is Data 1 is
11 1
command while in operation determined determined determined
The operation using Operation Data 3 is Data 3 is Data 2 is
10 0
Data 1 is complete undetermined determined determined
Also, by setting an event interrupt cause in the RIRQ register (IRNM), the PCL can be set to output an #INT
signal as the 2nd pre-register changes from "determined" to "undetermined" status when the operation is
complete.
Note: When you want the next operation to start automatically using the pre-registers, set the operation
completion timing to "cycle completion (METM = 0 on PRMD)." When pulse completion (METM = 1 on
PRMD)" is set, the time between the last pulse and next operation start pulse will be as little as 15x TCLK
(TCKL: Reference clock cycle).
For details, see 11-3-2. "Control the output pulse width and operation completion timing."
- 31 -
8-2-2. Cancel the operation pre-register
Use a pre-register Cancel command (26h) and a Stop command (49h, 4Ah) to cancel all the data in the
pre-registers, and their status then becomes undetermined. The pre-register data are also cancelled if the
PCL stops with an error.
Also, by setting an event interrupt cause in the RIRQ register (IRND), the PCL can be set to output an #INT
signal as the 2nd pre-register changes from "determined" to "undetermined" status when the operation is
complete.
- 32 -
8-3.Description of the registers
The initial value of all the registers and pre-registers is "0."
Please note that with some registers, a value of "0" is outside the allowable setting range.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * *
The setting range is 1 to 65,535. However, the actual speed [pps] may vary with the speed magnification rate
setting in the PRMG register.
The setting range is 1 to 65,535. However, the actual speed [pps] may vary with the speed magnification rate
set in the PRMG register.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * *
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * *
Note 1: Bits marked with an "*" (asterisk) will be ignored when written and are 0 when read.
Note 2: Bits marked with an "&" symbol will be ignored when written and will be the same value as the upper
most bit among the non-marked bits. (Sign extension)
- 33 -
8-3-5. PRDR (RDR) register
This pre-register is used to specify the deceleration rate.
RDR is the register for PRDR.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * *
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * * * * * *
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
# # # # # # # #
Bits marked with a "#" symbol are ignored when written and change their setting when read according to the
setting of MSDP (bit 13) in the PRMD register.
MSDP Setting details bit # Setting range
Offset for automatically set values.
When a positive value is entered, an axis will start
-8,388,608
deceleration earlier and the FL speed range will be used
0 Same as bit 23 to
longer.
+8,388,607
When a negative value is entered, an axis will start
deceleration later and will not reach the FL speed.
When number of pulses left drops to less than a set
1 0 0 to +16,777,215
value, an axis starts to decelerate.
Note 1: Bits marked with an "*" (asterisk) will be ignored when written and are 0 when read.
Note 2: Bits marked with an "&" symbol will be ignored when written and will be the same value as the upper
most bit among the non-marked bits. (Sign extension.)
- 34 -
8-3-8. PRMD (RMD) register
This pre-register is used to set the operation mode.
RMD is the register for PRMD.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIPF MPCS MSDP METM MCCE MSMD MINP MSDE MENI MOD
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 MSDC 0 MPIE MADJ MSPO MSPE MAX3 MAX2 MAX1 MAX0 MSY1 MSY0 MSN1 MSN0
100 0001 (41h): Positioning operation (specify the incremental target position)
100 0010 (42h): Positioning operation (specify the absolute position in COUNTER1)
100 0011 (43h): Positioning operation (specify the absolute position in COUNTER2)
100 0100 (44h): Zero return of command position (COUNTER1).
100 0101 (45h): Zero return of mechanical position (COUNTER2).
100 0110 (46h): Single pulse operation in the positive direction.
100 1110 (4Eh): Single pulse operation in the negative direction.
100 0111 (47h): Timer operation
110 0000 (60h): Continuous linear interpolation 1 (continuous operation with linear
interpolation 1)
110 0001 (61h): Linear interpolation 1
110 0010 (62h): Continuous linear interpolation 2 (continuous operation with linear
interpolation 2)
110 0011 (63h): Linear interpolation 2
110 0100 (64h): CW circular interpolation operation
110 0101 (65h): CCW circular interpolation operation.
- 35 -
Bits Bit name Description
0 to 6 MOD 110 0110 (66h): Clockwise circular interpolation, synchronized with the U axis
(circular linear interpolation)
110 0111 (67h): Counter-clockwise circular interpolation, synchronized with the U
axis (circular linear interpolation)
- 36 -
Bits Bit name Description
27 MPIE 1: After the circular interpolation operation is complete, the PCL will draw to the end
point automatically.
28 Not defined (Always set to 0.)
29 MSDC 0: Uses count method only when interpolation operation is performed with constant
synthesized speed control like PCL6045B. Otherwise, calculation method is used.
1: Fix the method to set ramp-down point automatically, to "count method".
30 to 31 Not defined (Always set to 0.)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
- When MOD (bits 0 to 6) of the PRMD register is set as shown below, the register is enabled.
110 0010 (62h): Continuous linear interpolation 2 (continuous operation with the linear interpolation 2).
110 0011 (63h): Linear interpolation 2.
110 0100 (64h): Circular interpolation in a CW direction.
110 0101 (65h): Circular interpolation in a CCW direction.
- With Continuous linear interpolation 2 and Linear interpolation 2, specify the feed amount on the master axis
using an incremental value.
- With circular interpolation, enter a circular center position using an incremental value.
- Setting range: -134,217,728 to +134,217,727
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * * *
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * * *
- 37 -
8-3-12. RFA register
This register is used to specify the constant speed for backlash correction or slip correction.
This is also used as a reverse constant speed for an origin return operation.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
* * * * * * * * * * * * * * * *
Although the setting range is 1 to 65,535, the actual speed [pps] varies with the speed magnification rate
setting in the RMG register.
Note 1: Bits marked with an "*" (asterisk) will be ignored when written and are 0 when read.
Note 2: Bits marked with an "&" symbol will be ignored when written and will be the same value as the upper
most bit among the non-marked bits. (Sign extension)
- 38 -
8-3-13. RENV1 register
This register is used for Environment setting 1. This is mainly used to set the specifications for input/output
terminals.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ERCL EPW2 EPW1 EPW0 EROR EROE ALML ALMM ORGL SDL SDLT SDM ELM PMD2 PMD1 PMD0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PDTC PCSM INTM DTMF DRF FLTR DRL PCSL LTCL INPL CLR1 CLR0 STPM STAM ETW1 ETW0
OUT OUT
101
DIR DIR
OUT OUT
110
DIR DIR
3 ELM Specify the process to occur when the EL input is turned ON.
(0: Immediate stop. 1: Deceleration stop) Note 1, 2
4 SDM Specify the process to occur when the SD input is turned ON.
(0: Deceleration only. 1: Deceleration stop.)
5 SDLT Specify the latch function of the SD input. (0: OFF. 1: ON.)
Turns ON when the SD signal width is short.
When the SD input is OFF while starting, the latch signal is reset.
The latch signal is also reset when SDLT is 0.
6 SDL Specify the SD signal input logic. (0: Negative logic. 1: Positive logic.)
7 ORGL Specify the ORG signal input logic. (0: Negative logic. 1: Positive logic.)
8 ALMM Specify the process to occur when the ALM input is turned ON. (0: Immediate stop. 1:
Deceleration stop.)
9 ALML Specify the ALM signal input logic. (0: Negative logic. 1: Positive logic.)
10 EROE 1: Automatically outputs an ERC signal when the axis is stopped immediately by a +EL,
-EL, ALM, or #CEMG input signal. However, the ERC signal is not output when a
deceleration stop occurs on the axis. Even if the EL signal is specified for a normal
stop, by setting MOD = "010X000" (feed to the EL position) in the RMD register, the
ERC signal is output if an immediate stop occurs.
11 EROR 1: Automatically output the ERC signal when the axis completes an origin return.
12 to 14 EPW0 to 2 Specify the pulse width of the ERC output signal.
000: 12 µsec 001: 102 µsec 010: 409 µsec 011: 1.6 msec
100: 13 msec 101: 52 msec 110: 104 msec 111: Level output
15 ERCL Specify the ERC signal output logic. (0: Negative logic. 1: Positive logic.)
- 39 -
Bits Bit name Description
16 to 17 ETW0 to 1 Specify the ERC signal OFF timer time.
00: 0 µsec 10:1.6 msec
01: 12 µsec 11: 104 msec
18 STAM Specify the #CSTA signal input type. (0: Level trigger. 1: Edge trigger.)
19 STPM Specify a stop method using #CSTP input. (0: Immediate stop. 1: Deceleration stop.)
Note 2
20 to 21 CLR0 to 1 Specify a CLR input.
00: Clear on the falling edge 10: Clear on a LOW.
01: Clear on the rising edge 11: Clear on a HIGH.
22 INPL Specify the INP signal input logic. (0: Negative logic. 1: Positive logic.)
23 LTCL Specify the operation edge for the LTC signal. (0: Falling. 1: Rising)
24 PCSL Specify the PCS signal input logic. (0: Negative logic. 1: Positive logic.)
25 DRL Specify the +DR, -DR signal input logic. (0: Negative logic. 1: Positive logic.)
26 FLTR 1: Apply a filter to the +EL, -EL, SD, ORG, ALM, or INP inputs.
When a filter is applied, signal pulses shorter than 4 µsec are ignored.
27 DRF 1: Apply a filter to the +DR, -DR, or PE inputs.
When a filter is applied, signals pulses shorter than 32 msec are ignored.
28 DTMF 1: Turn OFF the direction change timer (0.2 msec) function.
29 INTM 1: Mask an INT output. (Changes the interrupt circuit.)
30 PCSM 1: Make PCS input as a #CSTA signal for only the own axis.
31 PDTC 1: Keep the pulse width at a 50% duty cycle.
Note1: When a deceleration stop (ELM = 1) has been specified to occur when the EL input turns ON, the axis
will start the deceleration when the EL input is turned ON. Therefore, the axis will stop by passing over
the EL position. In this case, be careful to avoid collisions of mechanical systems.
Note 2: When deceleration stop is selected, keep input ON until an axis decelerates and stops. The PCL
determines whether it has stopped normally or not according to the stop timing. Therefore, even if an
error stop signal is input while decelerating with high speed positioning, the PCL may determine that
the stop is normal. In this case, the PCL will continue to the next operation without canceling the data
stored in the pre-registers. Even though in that case, if error stop signals are input continuously, the
PCL will not continue to the next operation and it will stop with an error.
- 40 -
8-3-14. RENV2 register
This is a register for the Environment 2 settings. Specify the function of the general-purpose port, EA/EB input,
and PA/PB input.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P7M1 P7M0 P6M1 P6M0 P5M1 P5M0 P4M1 P4M0 P3M1 P3M0 P2M1 P2M0 P1M1 P1M0 P0M1 P0M0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
POFF EOFF SMAX PMSK IEND PDIR PIM1 PIM0 EZL EDIR EIM1 EIM0 PINF EINF P1L P0L
- 41 -
Bits Bit name Description
18 EINF 1: Apply a noise filter to EA/EB/EZ input.
Ignores pulse inputs less than 3 CLK signal cycles long.
19 PINF 1: Apply a noise filter to PA/PB input.
Ignore pulse inputs less than 3 CLK signal cycles long.
20 to 21 EIM0 to 1 Specify the EA/EB input operation.
00: Multiply a 90 phase difference by 1 (Count up (count forward) when the EA input
phase is ahead.)
01: Multiply a 90 phase difference by 2 (Count up (count forward) when the EA input
phase is ahead.)
10: Multiply a 90 phase difference by 4 (Count up (count forward) when EA input
phase is ahead.)
11: Count up (count forward) when the EA signal rises, count down when the EB
signal rises.
22 EDIR 1: Reverse the counting direction of the EA/EB inputs.
23 EZL Specify EZ signal input logic. (0: Falling edge. 1: Rising edge.)
24 to 25 PIM0 to 1 Specify the PA/PB input operation.
00: Multiply a 90 phase difference by 1 (Count up (count forward) when the PA input
phase is ahead.)
01: Multiply a 90 phase difference by 2 (Count up (count forward) when the PA input
phase is ahead.)
10: Multiply a 90 phase difference by 4 (Count up (count forward) when PA input
phase is ahead.)
11: Count up (count forward) when the PA signal rises, count down when the PB
signal rises.
26 PDIR 1: Reverse the counting direction of the PA/PB inputs.
27 IEND 1: Outputs an INT signal when stopping, regardless of whether the stop is normal or
due to an error.
28 PMSK 1: Masks output pulses.
29 SMAX 1: Enable a start operation that is triggered by stop on the own axis.
30 EOFF 1: Disable EA/EB input.
31 POFF 1: Disable PA/PB input.
Note 1: For details about outputting a general-purpose one shot signal, see 7-2 "General-purpose output bit
control commands."
- 42 -
8-3-15. RENV3 register
This is a register for the Environment 3 settings. Origin return methods and counter operation specifications
are the main function of this register.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 BSYC CI41 CI40 CI31 CI30 CI21 CI20 EZD3 EZD2 EZD1 EZD0 ORM3 ORM2 ORM1 ORM0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CU4H CU3H CU2H 0 CU4B CU3B CU2B CU1B CU4R CU3R CU2R CU1R CU4C CU3C CU2C CU1C
- 43 -
Bit Bit name Description
0 to 3 ORM0 to 3 0110: Origin return operation 6
- After the EL input turns ON when feeding at constant speed, the axis will stop
immediately (or make a deceleration when ELM is 1). Then, the axis will start
feeding in the opposite direction at RFA constant speed. When the EL signal
turns OFF, the axis will stop instantly when the LSI finishes counting the EZ
pulses.
- COUNTER reset timing: When the EL input is OFF.
0111: Origin return operation 7
- After the EL signal turns ON when feeding at constant speed, the axis will stop
immediately (or make a deceleration when ELM is 1). Then, the axis will start
feeding in the opposite direction at RFA constant speed. After the EL signal
turns OFF, the LSI will start counting EZ pulses. After the LSI finishes counting
EZ pulses, the axis will stop instantly.
- COUNTER reset timing: When stopped by finishing counting the EL pulses.
1000:Origin return operation 8
- After the EL signal turns ON when feeding at constant speed, the axis will stop
immediately (or make a deceleration when ELM is 1). Then, the axis will start
feeding in the opposite direction at RFL constant speed. After the EL signal
turns OFF, the LSI will start counting EZ pulses. After the LSI finishes counting
EZ pulses, the axis will stop instantly.
- CONTER reset timing: When finishing counting the EZ signal.
1001: Origin return operation 9
- After the process in origin return operation 0 has executed, it returns to zero
(operates until COUNTER2 = 0).
1010: Origin return operation 10
- After the process in origin return operation 3 has executed, it returns to zero
(operates until COUNTER2 = 0).
1011: Origin return operation 11
- After the process in origin return operation 5 has executed, it returns to zero
(operates until COUNTER2 = 0).
1100: Origin return operation 12
- After the process in origin return operation 8 has executed, it returns to zero
(operates until COUNTER2 = 0).
4 to 7 EZD0 to 3 Specify the EZ count value that is used for origin return operations.
0000 (1st count) to 1111 (16th count)
8 to 9 CI20 to 21 Select the input count source for COUNTER2 (mechanical position).
00: EA/EB input
01: Output pulse
10: PA/PB input
10 to 11 CI30 to 31 Select the input count source for COUNTER3 (deflection counter)
00: Output pulse and EA/EB input (deflection counter)
01: Output pulse and PA/PB input (deflection counter)
10: EA/EB input and PA/PB input (deflection counter)
12 to 13 CI40 to 41 Select the input count source for COUNTER4 (general-purpose)
00: Output pulse
01: EA/EB input
10: PA/PB input
11: Divide the CLK count by 2
14 BSYC 1: Operate COUNTER4 only while LSI is operating (#BST is low).
15 Not defined (Always set to 0.)
16 CU1C 1: Reset COUNTER1 (command position) when the CLR input turns ON.
17 CU2C 1: Reset COUNTER2 (mechanical position) when the CLR input turns ON.
18 CU3C 1: Reset COUNTER3 (deflection counter) when the CLR input turns ON.
19 CU4C 1: Reset COUNTER4 (general-purpose) when the CLR input turns ON.
20 CU1R 1: Reset COUNTER1 (command position) when the origin return is complete.
21 CU2R 1: Reset COUNTER2 (mechanical position) when the origin return is complete.
22 CU3R 1: Reset COUNTER3 (deflection counter) when the origin return is complete.
23 CU4R 1: Reset COUNTER4 (general-purpose) when the origin return is complete.
- 44 -
Bit Bit name Description
24 CU1B 1: Operate COUNTER1 (command position) while in backlash/slip correction mode.
25 CU2B 1: Operate COUNTER2 (mechanical position) while in backlash/slip correction mode.
26 CU3B 1: Operate COUNTER3 (deflection counter) while in backlash/slip correction mode.
27 CU4B 1: Operate COUNTER4 (general-purpose) while in backlash/slip correction mode.
28 Not defined (Always set to 0.)
29 CU2H 1: Stop the counting operation on COUNTER2 (mechanical position). Note 1.
30 CU3H 1: Stop the counting operation on COUNTER3 (deflection counter).
31 CU4H 1: Stop the counting operation on COUNTER4 (general-purpose).
Note 1: To stop the counting on COUNTER1 (command position), change MCCE (bit 11) in the RMD register.
- 45 -
8-3-16. RENV4 register
This register is used for Environment 4 settings. Set up comparators 1 to 4.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
C2RM C2D1 C2D0 C2S2 C2S1 C2S0 C2C1 C2C0 C1RM C1D1 C1D0 C1S2 C1S1 C1S0 C1C1 C1C0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
C4D1 C4D0 C4S3 C4S2 C4S1 C4S0 C4C1 C4C0 IDXM C3D1 C3D0 C3S2 C3S1 C3S0 C3C1 C3C0
- 46 -
Bit Bit name Description
18 to 20 C3S0 to 2 Select a comparison method for comparator 3. Note 2
001: RCMP3 data = Comparison counter (regardless of counting direction)
010: RCMP3 data = Comparison counter (while counting forward)
011: RCMP3 data = Comparison counter (while counting down)
100: RCMP3 data > Comparison counter data
101: RCMP3 data < Comparison counter data
110: Prohibited setting
Others: Treats that the comparison conditions do not meet.
21 to 22 C3D0 to 1 Select a process to execute when the Comparator 3 conditions are met.
00: None (use as an, #INT terminal output, or internal synchronous start)
01: Immediate stop.
10: Deceleration stop.
11: Rewrite operation data with pre-register data (change speed)
23 IDXM 0: Outputs an IDX signal while COUNTER4 = RCMP2.
1: When COUNTER4 reaches 0 by counting, the PCL outputs an IDX signal of two
CLK cycles width.
(This is only possible when the values in C4S0 to C4S3 are 1000 to 1010.)
24 to 25 C4C0 to 1 Select a comparison counter for Comparator 4. Note 1.
00: COUNTER1 (command position)
01: COUNTER2 (mechanical position)
10: COUNTER3 (deflection counter)
11: COUNTER4 (general purpose)
26 to 29 C4S0 to 3 Select a comparison method for Comparator 4. Note 3.
0001: RCMP4 data = Comparison counter (regardless of counting direction)
0010: RCMP4 data = Comparison counter (while counting up (count forward))
0011: RCMP4 data = Comparison counter (while counting down)
0100: RCMP4 data > Comparison counter data
0101: RCMP4 data < Comparison counter data
0111: Treats that the comparison conditions do not meet.
1000: Use as IDX (synchronous) signal output (regardless of counting direction)
1001: Use as IDX (synchronous) signal output (while counting up (count forward))
1010: Use as IDX (synchronous) signal output (while counting down)
Others: Treats that the comparison conditions do not meet.
30 to 31 C4D0 to 1 Select a process to execute when the Comparator 4 conditions are met.
00: None (use as an #INT, terminal output, or internal synchronous start)
01: Immediate stop.
10: Deceleration stop.
11: Rewrite operation data with pre-register data (change speed)
Note 1: When COUNTER3 (deflection counter) is selected as the comparison counter, the LSI compares the
counted absolute value and the comparator data. (Absolute value range: 0 to 32,767.)
Note 2: When you specify C1S0 to 2 = 110 (positive software limit) or C2S0 to 2 = 110 (negative software limit),
select COUNTER1 (command position) as the comparison counter.
Note3: When C4S0 to 3 is set to 1000 to 1010 (synchronous signal output), select COUNTER4
(genera-purpose) for the comparison counter. The other counters cannot be selected.
To set the comparator, select a positive value.
Note 4: When this bit is used as software limit, the PCL stops operation regardless of the settings for
selecting a process when the conditions are satisfied. However, when the PCL is operating and
"10: Deceleration stop" is selected, it only uses a deceleration stop when operating at high speed.
In all other cases, it stops immediately.
- 47 -
8-3-17. RENV5 register
This is a register for the Environment 5 settings. Settings for Comparator 5 are its main use.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LTOF LTFD LTM1 LTM0 PDSM IDL2 IDL1 IDL0 C5D1 C5D0 C5S2 C5S1 C5S0 C5C2 C5C1 C5C0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 CU4L CU3L CU2L CU1L ISMR MSMR SYI1 SYI0 SYO3 SYO2 SYO1 SYO0
- 48 -
Bit Bit name Description
23 ISMR 0: This bit is rest automatically when RIST or REST register is read out.
1: Stop auto function to be reset when RIST register and REST register are read
out. (To reset this bit, write to RIST and REST registers. To write RIST and
REST, use WRIST (B3h) or WREST (B2h) command. This bit is reset by writing
a value read out.
24 CU1L 1: Resets COUNTER1 at the same time COUNTER1 is latched.
25 CU2L 1: Resets COUNTER2 at the same time COUNTER2 is latched.
26 CU3L 1: Resets COUNTER3 at the same time COUNTER3 is latched.
27 CU4L 1: Resets COUNTER4 at the same time COUNTER4 is latched.
28 to 31 Not defined (Always set to 0.)
- 49 -
8-3-18. RENV6 register
This is a register for the Environment 6 settings. It is primarily used to set feed amount correction data.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PSTP 0 ADJ1 ADJ0 BR11 BR10 BR9 BR8 BR7 BR6 BR5 BR4 BR3 BR2 BR1 BR0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
PMG4 PMG3 PMG2 PMG1 PMG0 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0
Note 1: When PSTP is 1, the Stop command will be ignored when #BSYn = H (OFF), regardless of the
operation mode. Before writing a Stop command, check the main status register. When SRUN = 0,
change PSTP to 0 and then write a Stop command.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RT15 RT14 RT13 RT12 RT11 RT10 RT9 RT8 RT7 RT6 RT5 RT4 RT3 RT2 RT1 RT0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FT15 FT14 FT13 FT12 FT11 FT10 FT9 FT8 FT7 FT6 FT5 FT4 FT3 FT2 FT1 FT0
The dotted lines in the figure below are pulses added by the vibration reduction function.
(+) pulse
Last pulse
(-) pulse
RT/2 FT/2
RT FT
- 50 -
8-3-20. RCUN1 register
This is a register used for COUNTER1 (command position counter).
This is a counter used exclusively for command pulses.
Setting rage: -134,217,728 to +134,217,727.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & & & & & & & & & & & & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
Note 1: Bits marked with an "*" (asterisk) will be ignored when written and are 0 when read.
Note 2: Bits marked with an "&" symbol will be ignored when written and will be the same value as the upper
most bit among bits having no marks when read. (Sign extension)
- 51 -
8-3-26. RCMP3 register
Specify the comparison data for Comparator 3.
Setting range: -134,217,728 to +134,217,727.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
Note 1: Bits marked with an "*" (asterisk) will be ignored when written and are 0 when read.
Note 2: Bits marked with an "&" symbol will be ignored when written and will be the same value as the upper
most bit among bits having no marks when read. (Sign extension)
- 52 -
8-3-29. RIRQ register
Enables event interruption cause.
Bits set to 1 that will enable an event interrupt for that event.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IROL IRLT IRCL IRC5 IRC4 IRC3 IRC2 IRC1 IRDE IRDS IRUE IRUS IRND IRNM IRN IREN
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 0 0 0 0 0 0 0 0 0 IRSA IRDR IRSD
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
- 53 -
8-3-32. RLTC3 register
Latched data for COUNTER3 (deflection counter) or current speed. (Read only.)
The contents of COUNTER3 or the current speed are copied when triggered by the LTC, an ORG input, or an
LTCH command. When the LTFD in the RENV5 register is 0, the register latches the COUNTER3 data. When
the LTFD is 1, the register latches the current speed. When the LTFD is 1 and movement on the axis is
stopped, the latched data will be 0.
Data range when LTFD is 0: -32,768 to +32,767.
Data range when LTFD is 1: 0 to 65,535.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $
Bits marked with a "$" will be the same as bit 15 when LTFD (bit 14) in the RENV5 register is 0 (sign extension),
and they will be 0 when the LTFD is 1.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
& & & &
For details about the counter data latch, see section 11-10, " Counter."
Note 1: Bits marked with an "*" (asterisk) will be ignored when written and are 0 when read.
Note 2: Bits marked with an "&" symbol will be ignored when written and will be the same value as the upper
most bit among bits having no marks when read. (Sign extension)
- 54 -
8-3-34. RSTS register
The extension status can be checked. (Read only.)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SDIN SLTC SCLR SDRM SDRP SEZ SERC SPCS SEMG SSTP SSTA SDIR CND3 CND2 CND1 CND0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 0 0 0 0 0 0 PFM1 PFM0 PFC1 PFC0 0 SINP
- 55 -
8-3-35. REST register
Used to check the error interrupt cause. (Read only.)
The corresponding bit will be "1" when an error interrupt occurs.
This register is reset by the following procedure.
1. When RENV5.ISMR=0 (initial status)
When this register is read out, it is automatically reset. Also, it is reset when writing data that "1" is in bits
to be reset.
2. When RENV5.ISMR=1
This bit is reset when writing data that "1! is in bits to be reset. In other word, it is reset by writing a value
read out.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ESAO ESPO ESIP ESDT 0 ESSD ESEM ESSP ESAL ESML ESPL ESC5 ESC4 ESC3 ESC2 ESC1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 0 0 0 0 0 0 0 0 0 0 ESPE ESEE
1) Write a Start command using linear interpolation 1 mode (MOD = 60h, 61h, 68h, and 69h) on only one axis.
2) Write a Start command using circular interpolation mode (MOD = 64h, 65h, 66h, 67h, 6Ch, and 6Dh) on
only one axis.
3) Write a Start command after setting PRIP (circular center coordinates) to (0, 0) using the circular
interpolation mode.
4) Write a Start command using circular interpolation mode on 3 or 4 axes.
5) Write a Start command using linear interpolation 2 mode (MOD = 62h, 63h, 6Ah, and 6Bh) while RIP is 0.
6) Tried to write a Start command using circular interpolation mode (MOD = 66h, 67h) while synchronized with
the U axis. But the U axis does not respond. Or, the U axis completes operation while in circular
interpolation mode.
- 56 -
8-3-36. RIST register
This register is used to check event interrupt cause. (Read only.)
When an event interrupt occurs, the bit corresponding to the cause will be set to 1.
This register is reset by the following procedure.
1. When RENV5.ISMR=0 (initial status)
When this register is read out, it is automatically reset. Also, it is reset when writing data that "1" is in bits
to be reset.
2. When RENV5.ISMR=1
This bit is reset when writing data that "1! is in bits to be reset. In other word, it is reset by writing a value
read out.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ISOL ISLT ISCL ISC5 ISC4 ISC3 ISC2 ISC1 ISDE ISDS ISUE ISUS ISND ISNM ISN ISEN
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 0 0 0 0 0 0 0 0 ISSA ISMD ISPD ISSD
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0
- 57 -
8-3-38. RSPD register
This register is used to check the EZ count value and the current speed. (Read only.)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AS15 AS14 AS13 AS12 AS11 AS10 AS9 AS8 AS7 AS6 AS5 AS4 AS3 AS2 AS1 AS0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 0 0 0 0 0 IDC2 IDC1 IDC0 ECZ3 ECZ2 ECZ1 ECZ0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0
To decelerate during a circular interpolation, enter the number of steps (number of pulses calculated by the
formula) required for the circular interpolation. Entering a number other than 0 can decelerate the speed by
using an automatic ramping-down point.
Setting range: 0 to 2,147,483,647.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
*
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
- 58 -
8-3-42. RIPS register
This register is used to check the interpolation setting status and the operation status. (Read only.)
This register is shared by all axes, and the value is same when read from any axis.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IPFu IPFz IPFy IPFx IPSu IPUz IPSy IPSx IPEu IPEz IPEy IPEx IPLz IPLy IPLy IPLx
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 0 0 0 0 SED1 SED0 SDM1 SDM0 IPCC IPCW IPE IPL
- 59 -
9. Operation Mode
Specify the basic operation mode using the MOD area (bits 0 to 6) in the PRMD (operation mode) register.
9-2-1. Positioning operation (specify a target position using an incremental value) (MOD: 41h)
This is a positioning mode used by placing a value in the PRMV (target position) register.
The feed direction is determined by the sign set in the PRMV register.
When starting, the RMV register setting is loaded into the positioning counter (RPLS). The PCL instructs to
feed respective axes to zero direction. When the value of the positioning counter drops to 0, movement on the
axes stops. When you set the PRMV register value to zero to start a positioning operation, the LSI will stop
outputting pulses immediately.
9-2-2. Positioning operation (specify the absolute position in COUNTER1) (MOD: 42h)
This mode only uses the difference between the PRMV (target position) register value and COUNTER1.
Since the COUNTER1 value is stored when starting to move, the target position cannot be overridden by
changing the COUNTER1 value although it can be overridden by changing the RMV value.
The direction of movement can be set automatically by evaluating the relative relationship between the PRMV
register setting and the value in COUNTER1.
At start up, the difference between the RMV setting and the value stored in COUNTER1 is loaded into the
positioning counter (RPLS). The PCL outputs pulses so that the difference becomes 0. When the positioning
counter value reaches zero, the PCL stops outputting pulses.
If the PRMV register value is made equal to the COUNTER1 value and the positioning operation is started, the
PCL will immediately stop operation without outputting any command pulses.
- 60 -
9-2-3. Positioning operation (specify the absolute position in COUNTER2) (MOD: 43h)
This mode only uses the difference between the PRMV (target position) register setting and the value in
COUNTER2.
Since the COUNTER2 value is stored when starting a positioning operation, the target position cannot be
overridden by changing the value in COUNTER2, although it can override the target position by changing the
value in RMV.
The direction of movement can be set automatically by evaluating the relationship between the PRMV register
setting and the value in COUNTER2.
At the start, the difference between the RMV setting and the value stored in COUNTER2 is loaded into the
positioning counter (RPLS). The PCL outputs pulses so that the difference becomes 0. When the positioning
counter value reaches zero, the PCL stops outputting pulses.
If the PRMV register value is made equal to the COUNTER2 value and the positioning operation is started, the
PCL will immediately stop operation without outputting any command pulses.
- 61 -
9-3. Pulsar (PA/PB) input mode
This mode is used to allow operations from a pulsar input.
In order to enable pulsar input, bring the #PE terminal LOW. Set POFF in the RENV2 register to zero.
It is also possible to apply a filter on the #PE input.
After writing a start command, when a pulsar signal is input, the LSI will output pulses to the OUT terminal.
Use an FL constant speed start (STAFL: 50h) or an FH constant speed start (STAFH: 51h).
Four methods are available for inputting pulsar signals through the PA/PB input terminal by setting the RENV2
(environmental setting 2) register.
- Supply a 90 phase difference signal (1x, 2x, or 4x).
- Supply either count-up (count-forward) or count-down pulses (Two-pulse input).
Note: The backlash correction function is available with the pulsar input mode. However, reversing pulsar
input while in the backlash correction is unavailable.
Besides the above 1x to 4x multiplication, the PCL has a multiplication circuit of 1x to 32x and division circuit of
(1 to 2048)/2048. For setting the multiplication from 1x to 32x, specify the PMG0 to 4 in the RENV6 and for
setting the division of n/2048, specify the PD0 to 10 in the RENV6.
The timing of the UP1 and DOWN1 signals will be as follows by setting of the PIM0 to PIM1 in the RENV2.
1) When using 90 phase difference signals and 1x input (PIM = 00)
PA
PB
UP1
DOWN1
PA
PB
UP1
DOWN1
PA
PB
UP1
DOWN1
PA
PB
UP1
DOWN1
- 62 -
When the 1x to 32x multiplication circuit is set to 3x (PMG = 2 on the RENV6), operation timing will be as
follows.
UP1
DOWN1
UP2
DOWN2
When the n/2048 division circuit is set to 512/2048 (PD =512 on the RENV6), operation timing will be as
follows.
UP2
DOWN2
UP3
DOWN3
The pulsar input mode is triggered by an FL constant speed start command (50h) or by an FH constant speed
start command (51h).
Pulsar input causes the PCL to output pulses with some pulses from the FL speed or FH speed pulse outputs
being omitted. Therefore, there may be a difference in the timing between the pulsar input and output pulses,
up to the maximum internal pulse frequency.
The maximum input frequency for pulsar signals is restricted by the FL speed when an FL constant speed start
is used, and by the FH speed when an FH constant speed start is used. The LSI outputs #INT signals as errors
when both the PA and PB inputs change simultaneously, or when the input frequency is exceeded and the
input/output buffer counter (deflection adjustment 16-bit counter for pulsar input and output pulse) overflows.
This can be monitored by the REST (error interrupt factor) register.
FP < (speed) / (input I/F phase value) / (PMG setting value + 1) / (PD setting value /2048), PD setting value ≠ 0
FP < (speed) / (input I/F phase value), PD setting value = 0
<Examples of the relationship between the FH (FL) speed [pps] and the pulsar input frequency FP [pps]>
PA/PB input method PMG setting value PD setting value Usable range
0 (1x) 0 FP < FH (FL)
Two-pulse input 0 (1x) 1024 FP < FH (FL) x 2
2 (3x) 0 FP < FH (FL) / 3
0 (1x) 0 FP < FH (FL)
90 phase difference 1x 0 (1x) 1024 FP < FH (FL) x 2
2 (3x) 0 FP < FH (FL) / 3
0 (1x) 0 FP < FH (FL) / 2
90 phase difference 2x 0 (1x) 1024 FP < FH (FL)
2 (3x) 0 FP < FH (FL) / 6
0 (1x) 0 FP < FH (FL) / 4
90 phase difference 4x 0 (1x) 1024 FP < FH (FL) / 2
2 (3x) 0 FP < FH (FL) / 6
Frequency of FP
PA
PB
Note: When the PA/ PB input frequency fluctuates, take the shortest frequency, not average frequency, as
"Frequency of FP" above.
- 63 -
<Setting relationship of PA/PB input>
Specify the PA/PB input <Set to PIM0 to 1 (bit 24 to 25) in RENV2> [RENV2] (WRITE)
00: 90 phase difference, 1x 10: 90 phase difference, 4x 31 24
01: 90 phase difference, 2x 11: 2 sets of up or down input pulses
- - - - - - n n
Specify the PA/PB input count direction <Set to PDIR (bit 26) in RENV2> [RENV2] (WRITE)
0: Count up (count forward) when the PA phase is leading. Or, count up (count 31 24
forward) on the rising edge of PA.
1: Count up (count forward) when the PB phase is leading. Or, count up (count - - - - - n - -
forward) on the rising edge of PB.
Enable/disable PA/PB input <Set POFF (bit 31) in RENV2> [RENV2] (WRITE)
0: Enable PA/PB input 31 24
1: Disable PA/PB input.
n - - - - - - -
Set the +/- DR, #PE input filter <Set DRF (bit 27) in RENV1> [RENV1] (WRITE)
1: Insert a filter on +/- DR input and #PE input 31 24
By setting the filter, the PCL ignores signals shorter than 32 msec.
- - - - n - - -
Reading operation status <CND (bit 0 to 3) in RSTS> [RSTS] (READ)
1000 : wait for PA/ PB input. 7 0
- - - - n n n n
Reading PA/PB input error <ESPE (bit 17) in REST> [REST] (READ)
ESPE (bit 17) = 1: A PA/PB input error occurs. 23 16
0 0 0 0 0 0 n -
Reading PA/PB input buffer counter status <ESP0 (bit 14) in REST> [REST] (READ)
ESPO (bit 14) = 1: An overflow occurs. 15 8
- n - - - - - -
* In the descriptions in the right hand column, "n" refers to the bit position. "0" refers to bit positions where it is
prohibited to write any value except zero and the bit will always be zero when read.
- 64 -
9-3-1. Continuous operation using a pulsar input (MOD: 01h)
This mode allows continuous operation using a pulsar input.
When PA/PB signals are input after writing a start command, the LSI will output pulses to the OUT terminal.
The feed direction depends on PA/PB signal input method and the value set in PDIR.
The PCL stops operation when the EL signal in the current feed direction is turned ON. But the PCL can be
operated in the opposite direction without writing a restart command.
When stopped by the EL input, no error interrupt (#INT output) will occur.
To release the operation mode, write an immediate stop command (49h).
Note: When the "immediate stop command (49h)" is written while the PCL is performing a multiplication
operation (caused by setting PIM 0 to 1 and PMG 0 to 4), the PCL will stop operation immediately and the
total number of pulses that are output will not always be an integral multiple of the magnification. When
PSTP in RENV6 is set to 1, the PCL delays the stop timing until an integral multiple of pulses has been
output. However, after a stop command is sent by setting PSTP to 1, check the MSTS. If SRUN is 0, set
PSTP to 0. (When SRUN is 0 while PSTP is 1, the PCL will latch the stop command.)
9-3-2. Positioning operations using a pulsar input (specify incremental position) (MOD: 51h)
The PCL positioning is synchronized with the pulsar input by using the PRMV setting as incremental position
data.
This mode allows positioning using a pulsar input.
The feed direction is determined by the sign in the PPMV register.
At the start, the content in the RMV register is loaded to the positioning counter.
When PA/PB signals are input, the PCL outputs pulses and decrements the positioning counter. When the
value in the positioning counter reaches zero, movement on the axis will stop and the PCL any further ignores
PA/PB input. If you set the PRMV register value to zero and start the positioning operation, the PCL will stop
movement on the axis immediately without outputting any command pulses.
9-3-3. Positioning operation using pulsar input (specify absolute position to COUNTER1) (MOD: 52h)
The PCL positioning is synchronized with the pulsar input by using the PRMV setting as the absolute
value for COUNTER1.
The direction of movement is determined by the magnitude relationship between the value in PRMV and the
value in COUNTER1.
At the start, the difference between the values in RMV and COUNTER1 is loaded into the positioning counter.
When PA/PB signals are input, the PCL outputs pulses and decrements the positioning counter.
When the value in the positioning counter reaches "0," movement on the axis will stop and PCL any further
ignores PA/PB input. If you try to start with PRMV = COUNTER1, the PCL will not output any pulses and it will
stop immediately.
9-3-4. Positioning operation using pulsar input (specify the absolute position in COUNTER2) (MOD: 53h)
The operation procedures are the same as MOD= 52h, except that this function uses COUNTER2 instead of
COUNTER1.
- 65 -
9-3-5. Command position zero return operation using a pulsar input (MOD: 54h)
This mode is used to feed the axis using a pulsar input until the value in COUNTER1 (command position)
becomes zero. The number of pulses output and the feed direction are set automatically by internal
calculation, using the COUNTER1 value at the start.
When setting the COUNTER1 value to zero and start the positioning operation, the LSI will stop movement on
the axis immediately, without outputting any command pulses.
9-3-6. Mechanical position zero return operation using pulsar input (MOD: 55h)
Except for using COUNTER2 instead of COUNTER1, the operation details are the same as for MOD = 54h.
- 66 -
9-4. External switch (±DR) operation mode
This mode allows operations with inputs from an external switch.
To enable inputs from an external switch, bring the #PE terminal LOW.
After writing a start command, when a +DR/-DR signal is input, the LSI will output pulses to the OUT terminal.
Set the RENVI (environment 1) register to specify the output logic of the ±DR input signal. The #INT signal can
be set to send an output when ±DR input is changed.
The RSTS (extension status) register can be used to check the operating status and monitor the ±DR input.
It is also possible to apply a filter to the ±DR or #PE inputs.
Set the input logic of the +DR/-DR signals <Set DRL (bit 25) in RENV1 > [RENV1] (WRITE)
0: Negative logic 31 24
1: Positive logic
- - - - - - n -
Applying a ±DR or #PE input filter <Set DRF (bit 27) in RENV1> [RENV1] (WRITE)
1: Apply a filter to ±DR input or #PE inputs 31 24
When a filter is applied, pulses shorter than 32 msec will be ignored.
- - - - n - - -
Setting an event interrupt cause <Set IRDR (bit 17) in RIRQ> [RIRQ] (WRITE)
1: Output the #INT signal when ±DR signal input changes. 23 16
0 0 0 0 0 - n -
Reading the event interrupt cause <ISPD (bit 17) and ISMD (bit 18) in RIST> [RIST] (READ)
ISPD(bit 17) = 1: When the +DR signal input changes. 23 16
ISMD(bit 18) = 1: When the -DR signal input changes.
0 0 0 0 - n n -
Read operation status < CND (bits 0 to 3) in RSTS> [RSTS] (READ)
0001: Waiting for a DR input 7 0
- - - - n n n n
Reading the ±DR signal <SDRP (bit 11) and SDRM (bit 12) in RSTS> [RSTS] (READ)
SDRP = 0: +DR signal is OFF SDRP = 1: +DR signal is ON 15 8
SDRM = 0: -DR signal is OFF SDRM = 1: -DR signal is ON
- - - n n - - -
The external switch operation mode has the following two forms
MOD Operation mode Direction of movement
02h Continuous operation using an external switch. Determined by +DR, - DR input.
56h Positioning operation using an external switch. Determined by +DR, - DR input.
[Setting example]
1) Bring the #PE input LOW.
2) Specify RFL, RFH, RUR, RDR, and RMG (speed setting).
3) Enter "0000010" for MOD (bits 0 to 6) in the RMD (operation mode) register
4) Write a start command (50h to 53h).
CND (bits 0 to 3) of the RSTS (extension status) register will wait for "0001: DR input."
In this condition, turn ON the +DR or -DR input terminal. The axis will move in the specified direction using the
specified speed pattern as long as the terminal is kept ON.
- 67 -
9-4-2. Positioning operation using an external switch (MOD: 56h)
This mode is used for positioning based on the timing when the DR input turns ON.
At the start, the data in the RMV register is loaded into the positioning counter. When the DR input is ON, the
LSI will output pulses and the positioning counter will start counting down pulses. When the positioning
counter value reaches zero, the PCL stops operation.
Even if the DR input is turned OFF or ON again during the operation, it will have no effect on the operation. If
you make the RMV register value 0 and start a positioning operation, the PCL will stop operation immediately
without outputting any command pulses.
Turn ON the +DR signal to feed in the positive direction. Turn ON the -DR signal to feed in the negative
direction.
By turning ON the EL signal corresponding to the feed direction, the axis will stop operation and issue an error
interrupt (#INT output).
- 68 -
9-5. Origin position operation mode
Depending on the operation method, the origin position operation uses the ORG, EZ, or ±EL inputs.
Specify the input logic of the ORG input signal in the RENV1 (environment 1) register. This register's terminal
status can be monitored with an SSTSW (sub status) command.
Specify the input logic of the EZ input signal in the RENV2 (environment 2) register. Specify the number for EZ
to count for an origin return complete condition in the RENV3 (environment 3) register. This register's terminal
status can be monitored by reading the RSTS (extension status) register.
Specify the logic for the ±EL input signal using the ELL input terminals. Specify the operation to execute when
the signal turns ON (immediate stop/deceleration stop) in the RENV1 register. This register's terminal status
can be monitored with an SSTSW (sub status) command.
An input filter can be applied to the ORG input signal and ±EL input signal by setting the RENV1 register.
Set the ORG signal input logic <Set ORGL (bit 7) in RENV1 > [RENV1] (WRITE)
0: Negative logic 7 0
1: Positive logic
n - - - - - - -
Read the ORG signal <SORG (bit14) in SSTSW> [SSTSW] (READ)
0: Turn OFF the ORG signal 15 8
1: Turn ON the ORG signal
- n - - - - - -
Set the EZ signal input logic <Set EZL (bit 23) in RENV2> [RENV2] (WRITE)
0: Falling edge 23 16
1: Rising edge
n - - - - - - -
Set the EZ count <Set EZD0 to 3 (bits 4 to 7) in RENV3> [RENV3] (WRITE)
Specify the number for EZ to count that will indicate a zero return completion. 7 0
Enter the value (the count minus 1) in EZD0 to 3. Setting range: 0 to 15.
n n n n - - - -
Read the EZ signal < SEZ (bit 10) in RSTS> [RSTS] (READ)
0: Turn OFF the EZ signal 15 8
1: Turn ON the EZ signal
- - - - - n - -
Set the ±EL signal input logic <ELL input terminal>
L: Positive logic input
H: Negative logic input
Specify a method for stopping when the ±EL signal turns ON [RENV1] (WRITE)
<Set ELM (bit 3) in RENV1 > 7 0
0: Immediate stop when the ±EL signal turns ON.
1: Deceleration stop when the ±EL signal turns ON. - - - - n - - -
Read the ±EL signal <SPEL (bit 12), SMEL (bit 13) in SSTSW> [SSTSW] (READ)
SPEL = 0: Turn OFF + EL signal SPEL = 1: Turn ON + EL signal 15 8
SMEL = 0: Turn OFF - EL signal SMEL = 1: Turn ON - EL signal
- - n n - - - -
Applying an input filter to the ±EL and ORG inputs <Set FLTR (bit 26) in RENV1> [RENV1] (WRITE)
1: Apply a filter to the ±EL and ORG inputs. 31 24
By applying a filter, pulses shorter than 4 µsec will be ignored.
- - - - - n - -
- 69 -
9-5-1. Origin return operation
After writing a start command, the axis will continue feeding until the conditions for an origin return complete
are satisfied.
MOD: 10h Positive direction origin return operation
18h Negative direction origin return operation
When a zero return is complete, the LSI will reset the counter and output an ERC (deflection counter clear)
signal.
The RENV3 register is used to set the basic origin return method. That is, whether or not to reset the counter
when the origin return is complete. Specify whether or not to output the ERC signal in the RENV1 register.
For details about the ERC signal, see 11-6-2, "ERC signal."
Set the origin return method <Set ORM0 to 3 (bits 0 to 3) in RENV3> [RENV3] (WRITE)
0000: Origin return operation 0 7 0
- The axis will stop immediately (or make a deceleration stop when feeding
at high speed) when the ORG input turns ON. - - - - n n n n
- COUNTER reset timing: When the ORG input turns ON.
0001: Origin return operation 1
- The axis will stop immediately (or make a deceleration stop when feeding
at high speed) when the ORG input turns ON. Then, it will feed in the
opposite direction at RFA constant speed until the ORG input turns OFF.
Then, the axis will move back in the original direction at RFA speed and
stop instantly when ORG input turns ON again.
- COUNTER reset timing: When the ORG input signal turns ON.
0010: Origin return operation 2
- After the ORG input turns ON when feeding at constant speed, the LSI
will start counting EZ pulses. The axis will stop immediately when the LSI
finishes counting EZ pulses.
After the ORG input turns ON when feeding at high speed, the axis will
start decelerating. At the same time, the LSI will start counting EZ pulses.
When the LSI finishes counting EZ pulses, the axis will stop instantly.
- COUNTER reset timing: When finishing counting EZ pulses.
0011: Origin return operation 3
- After the ORG signal turns ON when feeding at constant speed, the LSI
will start counting EZ pulses. The axis will stop instantly when the LSI
finishes counting EZ pulses. After the ORG signal turns ON when feeding
at high speed, the LSI will start counting EZ pulses. When the LSI
finishes counting EZ pulses, the axis will decelerate and stop.
When feeding at constant speed, movement on the axis stops
immediately by counting the EZ signal after the ORG input is turned ON.
When feeding at high speed, the axis will decelerate and stop by
counting the EZ signal after the ORG input is turned ON.
- COUNTER reset timing: When finishing counting the EZ pulses.
0100: Origin return operation 4
- After the ORG input turns ON when feeding at constant speed , the axis
will stop immediately (or make a deceleration stop when feeding at high
speed). Then, the axis will start feeding in the opposite direction at RFA
constant speed. After the ORG input turns OFF, the LSI will start counting
EZ pulses. After the LSI finishes counting EZ pulses, the axis will stop
instantly.
- COUNTER reset timing: When finishing counting the EZ pulses.
0101: Origin return operation 5
- After the ORG input turns ON when feeding at constant speed, the axis
will stop immediately (or make a deceleration stop when feeding at high
speed). Then, the axis will start feeding in the opposite direction. After the
ORG input turns OFF, the LSI will start counting EZ pulses. After the LSI
finishes counting EZ pulses, the axis will stop instantly (or make a
deceleration stop when feeding at high speed).
- COUNTER reset timing: When finishing counting the EZ pulses.
-
- 70 -
0110: Origin return operation 6 [RENV3] (WRITE)
- After the EL input turns ON when feeding at constant speed, the axis will
stop immediately (or make a deceleration when ELM is 1). Then, the axis 7 0
will start feeding in the opposite direction at RFA constant speed. When
- - - - n n n n
the EL signal turns OFF, the axis will stop instantly when the LSI finishes
counting the EZ pulses.
- COUNTER reset timing: When the EL input is OFF.
0111: Origin return operation 7
- After the EL signal turns ON when feeding at constant speed, the axis will
stop immediately (or make a deceleration when ELM is 1). Then, the axis
will start feeding in the opposite direction at RFA constant speed. After
the EL signal turns OFF, the LSI will start counting EZ pulses. After the
LSI finishes counting EZ pulses, the axis will stop instantly.
- COUNTER reset timing: When stopped by finishing counting the EL
pulses.
1000:Origin return operation 8
- After the EL signal turns ON when feeding at constant speed, the axis will
stop immediately (or make a deceleration when ELM is 1). Then, the axis
will start feeding in the opposite direction at RFL constant speed. After
the EL signal turns OFF, the LSI will start counting EZ pulses. After the
LSI finishes counting EZ pulses, the axis will stop instantly.
- CONTER reset timing: When finishing counting the EZ signal.
1001: Origin return operation 9
- After the process in origin return operation 0 has executed, it returns to
zero (operates until COUNTER2 = 0).
1010: Origin return operation 10
- After the process in origin return operation 3 has executed, it returns to
zero (operates until COUNTER2 = 0).
1011: Origin return operation 11
- After the process in origin return operation 5 has executed, it returns to
zero (operates until COUNTER2 = 0).
1100: Origin return operation 12
- After the process in origin return operation 8 has executed, it returns to
zero (operates until COUNTER2 = 0).
Settings after an origin return complete [RENV3] (WRITE)
<Set CU1R to 4R (bits 20 to 23) in RENV3> 23 16
CU1R (bit 20) =1: Reset COUNTER1 (command position)
CU2R (bit 21) =1: Reset COUNTER2 (mechanical position) n n n n - - - -
CU3R (bit 22) =1: Reset COUNTER3 (deflection counter)
CU4R (bit 23) =1: Reset COUNTER4 (general-purpose)
Setting the ERC signal for automatic output <Set EROR (bit 11) in RENV1> [RENV1] (WRITE)
0: Does not output an ERC signal when an origin return is complete. 15 8
1: Automatically outputs an ERC signal when an origin return is complete.
- - - - n - - -
- 71 -
9-5-1-1. Origin return operation 0 (ORM = 0000)
Constant speed operation <Sensor: EL (ELM = 0), ORG>
[Starting from here, indicates constant speed operation, and ■ indicates high speed operation.]
ORG OFF ON
EL OFF ON
@
Operation 1
Operation 2 Emergency
Operation 3 Emergency
EL OFF ON
Operation 1 @
EL OFF ON
Operation 1 @
■ High speed operation <Sensor: EL (ELM = 1), SD (SDM = 0, SDLT = 0), ORG>
ORG OFF ON
SD OFF ON
EL ON
Operation 1 @
Operation 2 @
Note: Positions marked with "@" reflect the ERC signal output timing when "Automatically output an ERC
signal" is selected for stopping at the origin return .
- 72 -
9-5-1-2. Origin return operation 1 (ORM=0001)
Constant speed operation <Sensor: EL (ELM = 0), ORG>
ORG OFF ON
EL OFF ON
Operation 1
@
FA speed
Operation 2 Emergency
Operation 3 Emergency
EL OFF ON
Operation 1
@
FA speed
Operation 2 Emergency
Operation 3 Emergency
EL ON
@
Operation 1
Operation 2 Emergency
Operation 3 Emergency
EL ON
Operation 1 @
Note: Positions marked with "@" reflect ERC signal output timing when "Automatically output an ERC signal"
is selected for stopping at the origin return.
- 73 -
9-5-1-4. Origin return operation 3 (ORM = 0011)
Constant speed operation <Sensor: EL, ORG, EZ (EZD = 0001)>
ORG OFF ON
ON
EZ
EL ON
@
Operation 1
EL ON
Operation 1 @
ORG OFF ON
ON
EZ
EL ON
Operation 1
@
FA
ORG OFF ON
ON
EZ
EL ON
Operation 1
@
FA speed
Operation 2 Emergency stop
Note: Positions marked with "@" reflect the ERC signal output timing when "Automatically output an ERC
signal" is selected for stopping at the origin return.
- 74 -
9-5-1-6. Origin return operation 5 (ORM = 0101)
Constant speed operation <Sensor: EL, ORG, EZ (EZD = 0001)>
ORG OFF ON
ON
EZ
EL ON
Operation 1
@
EL ON
Operation 1
@
EL ON
*
Operation 1
@
(Stop when EL = FA speed
off)
■ High speed operation <Sensor: EL>
EL ON
*
Operation 1
@
(Stop when EL = off) FA speed
Note: Positions marked with "@" reflect the ERC signal output timing when "Automatically output an ERC
signal" is selected for stopping at the origin return.
Also, when EROE (bit 10) is 1 in the RENV1 register and ELM (bit 3) is 0, the LSI will output an ERC
signal at positions marked with an asterisk (*)
- 75 -
9-5-1-8. Origin return operation 7 (ORM = 0111)
Constant speed operation <Sensor: EL, EZ (EZD = 0001)>
ON
EZ
EL ON
*
Operation 1
@
FA
■ High speed operation <Sensor: EL, EZ (EZD = 0001)>
ON
EZ
EL ON
Operation 1 *
@
9-5-1-9. Origin return operation 8 (ORM=1000) FA speed
EL ON
*
Operation 1
@
■ High speed operation <Sensor: EL, EZ (EZD = 0001)>
ON
EZ
EL ON
*
Operation 1
@
EL OFF ON
Operation 1
@
Note: Positions marked with "@" reflect the ERC signal output timing when "Automatically output an ERC
signal" is selected for stopping at the origin return.
Also, when EROE (bit 10) is 1 in the RENV1 register and ELM (bit 3) is 0, the LSI will output an ERC
signal at positions marked with an asterisk (*).
- 76 -
9-5-1-11. Origin return operation 10 (ORM = 1010)
■ High speed operation <Sensor: EL, ORG, EZ (EZD = 0001)>
ORG OFF ON
ON
EZ
EL ON
Operation 1
@
ORG OFF ON
ON
EZ
EL ON
Operation 1 @
ON
EZ
EL ON
*
Operation 1 @
Note: Positions marked with "@" reflect the ERC signal output timing when "Automatically output an ERC
signal" is selected for the zero stopping position.
Also, when EROE (bit 10) is 1 in the RENV1 register and ELM (bit 3) is 0, the LSI will output an ERC
signal at positions marked with an asterisk (*).
- 77 -
9-5-2. Leaving the origin position operations
After writing a start command, the axis will leave the origin position (when the ORG input turns ON).
Make sure to use the "Constant speed start command (50h, 51h)" when leaving the origin position.
When you write a start command while the ORG input is OFF, the LSI will stop the movement on the axis as a
normal stop, without outputting pulses.
Since the ORG input status is sampled when outputting pulses, if the PCL starts at constant speed while the
ORG signal is ON, it will stop operation after outputting one pulse, since the ORG input is turned OFF. (Normal
stop)
MOD: 12h Leave the origin position in the positive direction
1Ah Leave the origin position in the negative direction
- 78 -
9-5-3-1. Origin return operation 0 (ORM=0000)
Constant speed operation <Sensor: EL, ORG>
ORG OFF ON
EL OFF ON
Operation 1
Operation 2
Operation 3
EL OFF ON
Operation 1
Operation 2
Operation 3
- 79 -
9-6. EL or SL operation mode
The following four modes of EL or SL (software limit) operation are available.
MOD Operation mode Direction of movement
20(h) Operate until reaching the +EL or +SL Positive direction
position.
28(h) Operate until reaching the -EL or -SL Negative direction
position.
22(h) Leave from the -EL or -SL positions. Positive direction
2A(h) Leave from the +EL or +SL positions. Negative direction
To specify the ±EL input signal, set the input logic using the ELL input terminal. Select the operation type
(immediate stop / deceleration stop) when the input from that terminal is ON in the RENV1 (Environment
setting 1) register. The status of the terminal can be monitored using the SSTSW (sub status).
For details about setting the SL (software limit), see section 11-11-2, "Software limit function."
- 80 -
9-6-1. Feed until reaching an EL or SL position
This mode is used to continue feeding until the EL or SL (software limit) signal is turned ON and then the
operation stops normally.
When a start command is written on the position where the EL or SL signal is turned ON, the LSI will not output
pulses and it will stop the axis normally. When a start command is written while the EL and SL signals are OFF,
the axis will stop when the EL or SL signal is turned ON. (Normal stop)
After a start command is written, the axis stops immediately (or decelerates and stops when feeding at high
speed) after the EZ count equals the number stored in the register.
The EZ count can be set from 1 to 16.
Use the constant speed start command (0050(h), 0051(h)) for this operation. When the high speed start
command is used, the axis will start decelerating and stop when the EZ signal turns ON, so that the motion of
the axis overruns the EZ position.
Specify logical input for the EZ signal in the RENV2 (environment setting 2) register, and the EZ number to
count to in the RENV3 (environment setting 3) register. The terminal status can be monitored by reading the
RSTS (extension status) register.
Setting the input logic of the EZ signal <Set RENV2.EZL (bit 12)> [RENV2] (WRITE)
0: Falling edge 23 16
1: Rising edge
n - - - - - - -
Setting the EZ count number <Set RENV3.EZD0 to 3 (bits 4 to 7)> [RENV3] (WRITE)
Specify the EZ count number after an origin return complete condition. 7 0
Enter a value (the number to count to minus 1) in EZD 0 to 3.
Setting range: 0 to 15. n n n n - - - -
Reading the EZ signal < RSTS.SEZ (bit 10)> [RSTS] (READ)
0: Turn OFF the EZ signal 15 8
1: Turn ON the EZ signal
- - - - - n - -
- 81 -
9-8. Interpolation operations
9-8-1.Interpolation operations
In addition to each independent operation, this LSI can execute the following interpolation operations.
MOD Operation mode MOD Operation mode
60h Continuous linear interpolation 1 for 2 to 4 67h CCW circular interpolation synchronized
axes with the U axis.
61h Linear interpolation 1 for 2 to 4 axes 68h Continuous linear interpolation 1
synchronized with PA/PB input
62h Continuous linear interpolation 2 for 1 to 4 69h Linear interpolation 1 synchronized with
axes PA/PB input
63h Linear interpolation 2 for 1 to 4 axes 6Ah Continuous linear interpolation 2
synchronized with PA/PB input.
64h Circular interpolation (CW) 6Bh Linear interpolation 2 synchronized with
PA/PB input
65h Circular interpolation (CCW) 6Ch CW circular interpolation synchronized
with PA/PB input
66h CW circular interpolation synchronized 6Dh CCW circular interpolation synchronized
with the U axis with PA/PB input
Continuous linear interpolation is the same as the linear interpolation used to feed multiple axes at specified
rates, and to start and stop feeding using commands such as the continuous mode commands.
Interpolation 1 executes an interpolation operation between any two to four axes in the LSI.
Interpolation 2 is used to control five axes or more using more than one LSI, and to control feeding using linear
interpolation.
Independent operation of the un-interpolated axes is also possible.
The interpolation settings and operation status can be monitored by reading the RIPS (interpolation status)
register.
The RIPS register is shared by all axes. Reading from any axis will return the identical information.
Write start and stop commands to all axes to execute interpolation by setting SELx, SELy, SELz and SELu in
COMB1.
[Relationship between an interpolation operation and the axes used for interpolation control]
No Interpolation operation Interpolation control axis
1) Linear interpolation 1 of the X, Y, Z, and U axes. X axis
2) Linear interpolation 1 of the X, Y, and Z axes. X axis
3) Linear interpolation 1 of the Y, Z, and U axes. Y axis
4) Linear interpolation 1 of the Y and U axis Y axis
5) Circular interpolation of the X and U axis X axis
6) Circular interpolation of the X and Z axes, and linear Circular interpolation: X axis
interpolation 1 of the Y and U axes Linear interpolation 1: Y axis
- 82 -
9-8-3. Synthesized speed constant control
This function is used to create a constant synthesized speed for linear interpolation 1 and circular interpolation
operations. When linear interpolation 2 is selected, this function cannot be used.
To enable this function, set the MIPF (bit 15) in the PRMD (operation mode) register to "1" for the axes that you
want to have a constant synthesized speed. When the same interpolation mode is selected, the axes whose
MIPF bit is set to "1" will have a longer pulse output interval: multiplied by the square root of two ( 2 ) for two
axis simultaneous output, and by the square root of three ( 3 ) for three axis simultaneous output.
For example, when applying linear interpolation 1 to the X, Y, and Z axes, and only the Y and Z axes have the
MIPF bit = 1, the interval before a pulse output on another axis after simultaneous pulse output on the Y and Z
axes will be multiplied by the 2 . When X and Y, or X and Z output pulses at the same time, the interval until
the next pulse output will not change.
The synthesized speed constant control can only be used for 2 or 3 axes. When applying linear interpolation 1
to four axes, if MIPE = 1 for all four axes, and if all four axes output pulses at the same time, the interval will
also be multiplied by the 3 .
When the synthesized speed constant control bit is turned ON (MIPF = 1), the synthesized speed (while
performing interpolation) will be the operation speed (PRFH) or the initial speed (PRFL) of the interpolated
axes.
SRUN, SEND, and SERR in MSTSW (main status byte) for the interpolated axis will change using the same
pattern.
The RSPD (speed monitor) feature is only available for the interpolation control axes. However, when linear
interpolation 2 is used, the value read out will be the main axis speed.
<Precautions for using the synthesized speed constant control bit (MIPF = 1)>
1) Positioning is possible only at the unit's resolution position for machine operation.
Therefore, even if an interpolation operation is selected, the machine will use the following points to
approximate to an ideal or arc, and the actual feed pattern will be point to point (zigzag feeding). With this
feed pattern, the actual feed amount will be longer than the ideal linear line or an ideal arc. The function
of the synthesized constant speed control in this LSI is to make constant synthesized speeds for multiple
axes in simultaneous operation, which does not mean that the speed through the ideal locus (trajectory)
is constant.
For example, with linear interpolation in the figure on the right (using the constant synthesized speed
o
feature), the PCL will make a constant synthesized speed in order to feed at a 45 angle by decreasing
Y (Slave axis)
the speed to 1/ 2 . End coordinates
(10, 4)
4
Therefore, the feeding interval when the
3
feed speed is 1 pps will be 6 + 4 2 =11.66
seconds. 2
1
The length of the ideal line (dotted line) is
0 X (Master axis)
(10 2 + 4 2 ) = 10.77. If the machine can be 0 5 10
fed by just following the ideal line, the feed interval will be 10.77 seconds.
Please take note of the above when using synthesized speed constant control.
2) Acceleration/deceleration operations when the synthesized speed constant control bit is ON (MIPF = 1)
Basically, please use a constant speed when MIPF = 1. (The synthesized speed will vary with the
acceleration/deceleration.)
When MIPF = 1 and you select linear interpolation 1 or circular interpolation with
acceleration/deceleration, the following limitations apply.
- Make the acceleration rate (PRUP) and deceleration rate (PRDR) for the control axes equal.
- Do not change the speed during S-curve acceleration/deceleration.
Failure to follow these guidelines may cause the PCL to decelerate abnormally.
- 83 -
9-8-4. Continuous linear interpolation 1 (MOD: 60h)
This is the same as linear interpolation 1, and each axis operates at a speed corresponding to the PRMV
setting. However, the PCL will continue to output pulses until a stop command is received.
This mode only uses the rate from the PRMV setting for all of the interpolated axes. Therefore, if the PRMV
setting for the all of the interpolated axes is zero, the PCL will output pulses to all the interpolated axes at the
same speed.
[Setting example]
Use the settings below and write a start command (0751h). The PCL will output pulses with the timing
shown in the figure below. Entering values in the blank items will not affect operation.
1) 2) 3) 4) 5) 6) 7) 8) 9) 10)
Y axis output pulse
1000pps
- 84 -
9-8-6. Continuous linear interpolation 2 (MOD: 62h)
Same as Linear Interpolation 2: the PCL controls each axis using speeds that correspond to the ratios of the
values set in PRIP and PRMV. However, in continuous mode the PCL will continue to output pulses until it
receives a stop command.
[Setting example]
1) Connect the #CSTA signals between LSI-A and LSI-B.
2) Set up the LSIs as shown below. (Set the PRMD to start with inputting a #CSTA signal.)
3) Write start commands (LSI-A: 0951h, LSI-B: 0651h).
4) Write a #CSTA signal input command (06h) to the X axis on LSI-A.
After completing steps 1) to 4) above, the LSIs will output pulses using the timing shown in the figure below.
LSI-A LSI-B
Setting
X axis U axis Y axis Z axis
PRMD 0004 0004 0004 0004
0063h 0063h 0063h 0063h
PRMV value 8 5 2 10
PRIP value 10 10 10 10
Operation
1000 pps 1000 pps 1000 pps 1000 pps
speed
Master axis / Slave Slave Slave Master
slave axis axis axis axis axis
1) 2) 3) 4) 5) 6) 7) 8) 9) 10)
Z axis output pulse
1000pps
Note: If you start linear interpolation 2 while PRIP = 0, an operation data error (ESDT of REST is "1") will
occur.
- 85 -
9-8-8. Circular interpolation
This function provides CW circular interpolation (MOD: 64h) and CCW circular interpolation (MOD: 65h)
between any two axes.
If only one axis or 3 to 4 axis is specified for circular interpolation and a start command is written, a data setting
error will occur.
Circular interpolation takes the current position as the starting point (coordinate 0, 0) regardless of the values
in the counters (COUNTER1 to 4).
After specifying the speed for each axis being interpolated, specify whether or not to apply synthesized speed
constant control (MIPF in the PRMD register) for each axis, the end points (the PRMV register value), and the
center point (the PRIP register value). If the end point is 0 (the starting point), both axes will draw a simple
circle.
The synthesized speed used in the circular interpolation will be the speed set for the axes being interpolated
(FH/FL) if the synthesized speed constant control is ON (MIPF = 1) for both axes.
Write a start command after setting SELx to SELu in COMB1 to 1. Either axis can be used to write a start
command.
[Setting example]
As shown in the table below, specify the MOD, MIPF, PRMV, PRIP and operation speed for each axis being
interpolated and write a start command (ex. 0351h) that will be used by both axes. The axes will move as
shown on the right.
StepNo A B C D
Set X Y X Y X Y X Y
value axis axis axis axis axis axis axis axis
MOD 64h (CW circular interpolation)
MIPF 1 (turn ON synthesized constant speed control)
PRMV 0 0 100 100 200 0 100 -10
value 0
PRIP 100 0 100 0 100 0 100 0
value
Operation Simple
90o arc 180o arc 270o arc
result circle
This LSI terminates a circular interpolation operation when either of the axes reaches the end point in the last
quadrant, and the end point can be specified as the whole number coordinates nearest to the end position. For
this reason, even though the circular interpolation operation is complete, the PCL will not be at the end
coordinate specified. To move to the coordinates of the specified end point when the circular interpolation
operation is complete, set the MPIE bit in the PRMD register to "1" and turn ON the end point draw function.
If the end point of the circular interpolation is set within the shaded areas, the axes will not stop moving
(perpetual circular motion).
- 86 -
[Circular interpolation with acceleration/deceleration]
To use circular interpolation with acceleration/deceleration, you have to enter the number of circular
interpolation pulses required (circular interpolation step numbers) in the PRCI register for the control axis.
To calculate the number of pulses required for circular interpolation, break the area covered by the X and Y
axes into 8 (0 to 7) sections, using the center coordinate of the circular interpolation as the center point. See
the figure below.
The output pulse status of each axis in each area is as follows
The table above shows the PCL output pulses for either of the axes in each area.
Therefore, the number of pulses required for circular interpolation (the number of circular interpolation
steps) is equal to the number of pulses to move around the trajectory of a square that is surrounded by the
circle used for the circular interpolation.
For example, to draw a 90o arc with radius "a," the number of pulses required for circular interpolation will
be (a ) x 2. Enter this value in the PRCI register.
To obtain the number of steps for any start and end points, follow
the procedure below.
1) First, determine the area that the start point belongs to (area 0
to 7). Then, draw a horizontal (vertical) line to find the contact
point with the square inside the circle.
2) Next, determine the area that the end point belongs to (area 0
to 7). Then, draw a vertical (horizontal) line to find the contact
point with the square inside the circle.
3) Find the distance between the two contact points on the square
(from 1) and 2) above) and enter this value in the PRCI register.
- 87 -
To continue the end point draw function while setting MPIE in the PRMD register to "1", enter the value in
the PRCI register after adding number of pulses required for the end point draw function.
Note 1: The PRCI register value is used to trigger the start of the deceleration timing. When a smaller
value is entered, the PCL will start deceleration sooner and will apply the FL constant time. When
a larger value is entered, the PCL will delay the beginning of deceleration and then will have to
stop suddenly from faster than the FL speed.
However, the interpolation trajectory is the same as the constant speed circular interpolation.
Note 2: To specify a ramp down point manually, think of the PRCI setting as a number of output pulses, so
that the PRDP calculation formula for the positioning operation can be used. However, this
formula cannot be used when the synthesized constant speed operation is ON. In this case, there
is no other way to obtain a ramp down point except by conducting a test to get a value from the
change of the RICI value.
By simultaneously using with linear interpolation, the PCL can synchronize one axis while performing a
circular interpolation on two other axes. This function can be used for things like a circular interpolation
between the X and Y axes and to adjust the angle of a jig toward an arc tangent point with the Z axis. Also, in
this operation the U axis operation will be a dummy motion and it cannot be used for any other purpose.
Using the operation above, set the operation mode (RMD) for the X and Y axes to 66H (67h), and set the Z
and U axes to 61h.
Enter the number of circular interpolation steps in the PRMV register for the U axis.
For details about how to obtain the number of circular interpolation steps, see the discussion of "circular
interpolation with acceleration/deceleration" in the previous section.
To write a start or stop command, make all the bits in SELx to SELu of the COMB1 register equal to "1." Any
axis can be used to write "1."
- 88 -
9-8-11. Operation during interpolation
- Acceleration/deceleration operations
Acceleration and deceleration (linear and S-curve) can be used with Linear interpolation 1 and circular
interpolation operations .Automatic setting of ramp down point is available. However, set the MSDP and
MADJ in the PRMD register the same for all of the interpolated axes.
To control the ramp down point while using linear interpolation1, the PCL executes a comparison of RPLS
and RSDC for the longest axis. The RSDC setting for any shorter axes will be invalid. However, if more than
one axis has the same length and they are the longest axes, to specify a ramp down point manually you
must enter the same value for all of the interpolated axes.
To control the ramp down point while using circular interpolation, the PCL executes a comparison of RCIC
and RSDC on the control axis. Therefore, to specify a ramp down point manually, write to RSD on the
control axis.
- Error stop
If any of the axes being interpolated stops with an error, all of the axes being interpolated will stop (SERR =
1). By reading the REST (error stop cause) register, you can determine which axis actually stopped with an
error.
- SD input
When SD input is enabled (MSDE (bit 8) in the PRMD register is set to 1), and if the SD input turns ON on
any axis interpolated, all axes will decelerate or decelerate and stop.
- Idling control
If any axis is in idling range, none of the axes being interpolated will accelerate.
- Correction function
When a direction is changed by switching of quadrants during circular interpolation, backlash correction
and slip correction control cannot be used.
- Continuous interpolation
The PCL can use the pre-register to make a continuous linear interpolation or circular interpolation.
However, when the axes being interpolated change during a continuous interpolation, special care is
required.
An example of the settings for continuous interpolation using the pre-register is shown in section 11-14-1,
"Start triggered by another axis stopping."
- 89 -
10. Speed patterns
t
1) 2)
FH constant speed 1) Write an FH constant speed start 1) Write an FH constant speed start
operation command (51h). command (51h).
f
2) Stop feeding by writing an 2) Stop feeding when the positioning counter
FH immediate stop command (49h). reaches zero, or by writing an immediate
stop (49h) command.
t * When the deceleration stop command (4Ah) is written to the register, motion of an
1) 2) axis starts deceleration.
High speed operation 1) 1) Write high speed start command 1 1) Write high speed start command 1 (52h).
f (52h).
- 90 -
10-2. Speed pattern settings
Specify the speed pattern using the registers (pre-registers) shown in the table below.
If the next register setting is the same as the current value, there is no need to write to the register again.
Bit length
Pre-register Description Setting range register
setting range
-134,217,728 to 134,217,727
PRMV Positioning amount 28 RMV
(8000000h) (7FFFFFFh)
PRFL Initial speed 16 1 to 65,535 (0FFFFh) RFL
PRFH Operation speed 16 1 to 65,535 (0FFFFh) RFH
PRUR Acceleration rate 16 1 to 65,535 (0FFFFh) RUR
PRDR Deceleration rate Note 1 16 0 to 65,535 (0FFFFh) RDR
PRMG Speed magnification rate 12 2 to 4,095 (0FFFh) RMG
PRDP Ramping-down point 24 0 to 16,777,215 (0FFFFFFh) RDP
PRUS S-curve acceleration range 15 0 to 32,767 (7FFFh) RUS
PRDS S-curve deceleration range 15 0 to 32,767 (7FFFh) RDS
Note 1: If PRDR is set to zero, the deceleration rate will be the value set in the PRUR.
[Relative position of each register setting for acceleration and deceleration factors]
S-curve deceleration
Preset amount for positioning range: Set in PRDS
S-curve Acceleration range: operation : Set in PRMV
Set in PRUS
t
Ramp down point for positioning operation :
Set in PRDP or set automatically
- 91 -
PRUR: Acceleration rate setting register (16-bit)
Specify the acceleration characteristic for high speed operations (acceleration/deceleration operations), in
the range of 1 to 65,535 (0FFFFh)
Relationship between the value entered and the acceleration time will be as follows:
2) S-curve acceleration without a linear range (MSMD=1 in the PRMD register and PRUS register =0)
(PRFH - PRFL) × (PRUR + 1) × 8
Acceleration time [s] =
Reference clock frequency [Hz]
3) S-curve acceleration with a linear range (MSMD=1 in the PRMD register and PRUS register >0)
(PRFH - PRFL + 2 × PRUS) × (PRUR + 1) × 4
Acceleration time [s] =
Reference clock frequency [Hz]
< When (deceleration time) (acceleration time x 2) using an automatic ramping-down point >
Speed
FH
FL Time
Accele Deceleration
ration
<When (deceleration time) > (acceleration time x 2) using an automatic ramping-down point>
Speed
Stop without decelerating to FL speed
FH
FL Time
Acceleration Deceleration
- 92 -
Relationship between the value entered and the deceleration time will be as follows:
2) S-curve deceleration without a linear range (MSMD=1 in the PRMD register and PRDS register = 0)
(PRFH - PRFL) × (PRDR + 1) × 8
Deceleration time [s] =
Reference clock frequency [Hz]
3) S-curve deceleration with a linear range (MSMD=1 in the PRMD register and PRDS register >0)
(PRFH - PRFL + 2 × PRDS) × (PRDR + 1) × 4
Deceleration time [s] =
Reference clock frequency [Hz]
[Magnification rate setting example, when the reference clock =19.6608 MHz] (Output speed unit: pps)
However, the optimum value for a triangle start, without changing the value in the PRFH register while
turning OFF the FH correction function (MADJ = 1 in the PRMD register) will be calculated as shown the
equation below.
(When using idling control, modify the value for PRMV in the equation below by deducting the number of
idling pulses from the value placed in the PRMV register. The number of idling pulses will be "1 to 6"
when IDL = 2 to 7 in RENV5.)
PRMV × (PRDR + 1)
Optimum value [Number of pulses] =
PRUR + PRDR + 2
- 93 -
2) S-curve deceleration without a linear range (MSMD=1 in the PRMD register and the PRDS register
=0)
(PRFH2 + PRFL2 ) × (PRDR + 1) × 2
Optimum value [Number of pulses] =
(PRMG + 1) × 32678
3) S-curve deceleration with a linear range (MSMD=1 in the PRMD register and the PRDS register >0)
(PRFH + PRFL) × (PRFH - PRFL + 2 × PRDS) × (PRDR + 1)
Optimum value [Number of pulses] =
(PRMG + 1) × 32678
Start deceleration at the point when the (positioning counter value) (PRDP set value).
When the value for the ramping-down point is smaller than the optimum value, the speed when stopping
will be faster than the FL speed. On the other hand, if it is larger than the optimum value, the axis will feed
at FL constant speed after decelerating is complete.
In other words, speeds between the FL speed and (FL speed + SSU), and between (FH speed - SSU) and the
FH speed, will be S-curve acceleration operations. Intermediate speeds will use linear acceleration.
However, if zero is specified, "(PRFH - PRFL)/2" will be used for internal calculations, and the operation will
be an S-curve acceleration without a linear component.
In other words, speeds between the FH speed and (FH speed - SSD), and between (FL speed + SSD) and
the FL speed, will be S-curve deceleration operations. Intermediate speeds will use linear deceleration.
However, if zero is specified, "(PRFH - PRFL)/2" will be used for internal calculations, and the operation will
be an S-curve deceleration without a linear component.
- 94 -
10-3. Manual FH correction
When the FH correction function is turned ON (MADJ = 0 in the PRMD register), and when the feed amount is
too small for a normal acceleration and deceleration operation, the LSI will automatically lower the FH speed
to eliminate triangle driving.
However, if values in the PRUR and PRDR registers are set so that the (deceleration time) > (acceleration
time x 2), do not use the FH correction function.
In order to eliminate triangle driving without using the FH correction function (MADJ = 1 in the PRMD register),
lower the FH speed before starting the acceleration/deceleration operation.
When using idling control, enter a value for PRMV in the equation below after deducting the number of idling
pulses. The number of idling pulses will be 1 to 6 when IDL = 2 to 7 in RENV5.
sec
Automatic correction of the maximum speed for changing the feed amount
- 95 -
< To execute FH correction manually>
2) S-curve acceleration without linear acceleration (MSMD=1 in the PRMD, the PRUS register = 0 and the
PRDS register = 0)
When
(PRFH2 − PRFL2 ) × (PRUR + PRDR + 2) × 2
PRMV ≤
(PRMG + 1) × 32768
- 96 -
(3)-2. When PRUS < PRDS
(ii) Eliminate the linear acceleration/deceleration range and make a linear acceleration range smaller.
When
(PRDS + PRFL ) × { PRDS × (PRUR + 2 × PRDR + 3) + PRUS × (PRUR + 1) }× 4
PRMV ≤
(PRMG + 1) × 32768
- 97 -
(3)-3. When PRUS>PRDS
(ii) Eliminate the linear acceleration section and make a linear deceleration range smaller.
When
(PRUS + PRFL ) × { PRUS × (2 × PRUR + PRDR + 3) + PRDS × (PRDR + 1) }× 4
PRMV ≤ and
(PRMG + 1) × 32768
Change to S-curve acceleration/deceleration without any linear acceleration (PRUS = 0, PRDS > 0)
− A + A2 + B
PRFH ≤
2 × PRUR + PRDR + 3
- 98 -
10-4. Example of setting up an acceleration/deceleration speed pattern
Ex. Reference clock = 19.6608 MHz
When the start speed =10 pps, the operation speed =100 kpps, and the accel/decel time = 300 msec,
1) Select the 2x mode for multiplier rate in order to get 100 kpps output
PRMG = 149 (95h)
3) In order to set a start speed of 10 pps, the rate magnification is set to the 2x mode.
PRFL = 5 (0005h)
4) In order to make the acceleration/deceleration time 300 msec, set PRUR = 28,494, from the equation for
the acceleration time and the PRUR value.
(50000 − 5) × (PRUR + 1) × 4
0.3 =
19.6608 × 10 6
PRUR = 28.494
However, since only integers can be entered for PRUR, use 28 or 29. The actual acceleration/deceleration
time will be 295 msec if PRUR = 28, or 305 msec if PRUR = 29.
Speed
110kpps
(Operation speed)
10pps
(Start speed) 305ms 305ms Time
- 99 -
10-5. Changing speed patterns while in operation
By changing the RFH, RUR, RDR, RUS, or RDS registers during operation, the speed and acceleration can
be changed on the fly. However, if the ramping-down point is set to automatic (MSDP = 0 in the PRMD
register) for the positioning mode, do not change the values for RFL, RUR, RDR, RUS, or RDS. The automatic
ramping-down point function will not work correctly.
An example of changing the speed pattern by changing the speed, during a linear
acceleration/deceleration operation
Speed
2)
3)
1)
Time
1) Make RFH smaller while accelerating the axis accelerate or decelerate until it reaches the correct
speed.
2), 3) Change RFH after the acceleration/deceleration is complete. The axis will continue accelerating or
decelerating until it reaches the new speed.
An example of changing the speed pattern by changing the speed during S-curve
acceleration/deceleration operation
Speed
4) 2)
5)
3)
1)
Time
1) Make RFH smaller and if ((change speed) < (speed before change)) and the axis will
accelerate/decelerate using an S-curve until it reaches the correct speed.
5) Make RFH smaller and if ((change speed) (speed before change)) and the axis will
accelerate/decelerate without changing the S-curve's characteristic until it reaches the correct
speed.
4) Make RFH larger while accelerating and the axis will accelerate to the original speed entered
without changing the S-curve's characteristic. Then it will accelerate again until it reaches the newly
set speed.
2), 3) If RFH is changed after the acceleration/deceleration is complete, the axis will
accelerate/decelerate using an S-curve until it reaches the correct speed.
- 100 -
11. Description of the Functions
11-1. Reset
After turning ON the power, make sure to reset the LSI before beginning to use it.
To reset the LSI, hold the #RST terminal LOW while supplying at least 8 cycles of a reference clock signal.
After a reset, the various portions of the LSI will be configured as follows.
- 101 -
11-2. Position override
This LSI can override (change) the target position freely during operation.
There are two methods for overriding the target position.
The axis accelerates/decelerates only when starting in high speed. The target position data (RMV register
value) can be rewritten any number of times until the positioning operation is complete.
Note1: If the ramping-down point is set to automatic and the (deceleration time) > (acceleration time x 2), it
may be the case that the axis cannot reduce the speed to the FL level, as shown below. In this case, if
the target position is set closer than original position and the axis is decelerating, the axis will
decelerate along the deceleration curve from the new override position, and then slow to the FL speed
and finally stop. Then it will start moving to the new position.
Therefore, the axis will overrun the original target position during deceleration (shaded area).
To avoid creating an overrun condition, make sure that the deceleration time is less than two times of the
acceleration time, or if the deceleration time is more than double the acceleration time, make the
ramping-down point a manual setting.
- 102 -
Note 2: If the LSI starts decelerating by changing the target to a closer position, and if you perform a “position
override” to a position further away during this deceleration, the LSI will not re-accelerate. It will feed
to the more distant target after decelerating to FL speed.
Also, if you overshoot the target position to lower than the initial RMV setting value during deceleration
using the automatic ramp down point setting, the LSI will not accelerate using the target position
override.
If you change the target position with the “position override” function while decelerating with the auto
ramp down function, the LSI will accelerate again.
Setting pulse control using the PCS input <Set MPCS (bit 14) in PRMD> [PRMD] (WRITE)
1: Positioning for the number of pulses stored in the PRMV, starting from the 15 0
time at which the PCS input signal is turned ON.
- n - - - - - -
Setting the PCS input logic <Set PCSL (bit 24) in RENV1> [RENV1] (WRITE)
0: Negative logic 31 24
1: Positive logic
- - - - - - - n
Reading the PCS signal < SPCS (bit 8) in RSTS> [RSTS] (READ)
0: Turn OFF PCS signal 15 8
1: Turn ON PCS signal
- - - - - - - n
PCS substitution input <Control command: STAON> [PCS input command]
Perform processes that are identical to those performed by supplying a PCS
28h
signal.
Note: A Position Override 2 cannot be executed while performing an interpolation operation.
- 103 -
11-3. Output pulse control
11-3-1. Output pulse mode
There are four types of common pulse output modes, two types of Two-pulse modes and two types of 90
phase difference modes as the modes to output command pulses.
Common pulse mode: Outputs operation pulses from the OUT terminal and outputs the direction
signal from the DIR terminal.
Two-pulse mode: Outputs positive direction operation pulses from the OUT terminal, and
outputs negative direction operation pulses from the DIR terminal.
90 phase difference modes: Outputs 90 phase difference pulses through the OUT and DIR terminals.
The output mode for command pulses is set in PMD0 to 2 (bits 0 to 2) in RENV1 (environment setting 1).
If motor drivers using the common pulse mode need a lag time (since the direction signal changes, until
receiving a command pulse), use a direction change timer.
When DTMP (bit 28) in the RENV1 (environment setting 1) is set to 0, the operation can be delayed for one
direction change timer unit (0.2 msec), after changing the direction identification signal.
Setting the pulse output mode <Set RENV1.PMD0 to 2 (bit0 to 2)> [RENV1] (WRITE)
When feeding in the When feeding in the
7 0
PMD0 to 2 positive direction negative direction
OUT output DIR output OUT output DIR output - - - - - n n n
OUT OUT
101
DIR DIR
OUT OUT
110
DIR DIR
Setting the direction change timer (0.2 msec) functi [RENV1] (WRITE)
<Set DTMF(bit 28) in RENV1> 31 24
0: ON
1: OFF - - - n - - - -
- 104 -
11-3-2. Control the output pulse width and operation complete timing
In order to put forward the timing of stopping, this LSI controls the output pulse width.
When the output pulse speed is slower than 1/8192 of reference clock (approx. 2.4 Kpps when CLK = 19.6608
MHz), the pulse width is constant and is 4096 cycles of the reference clock (approx. 200 µsec when CLK =
19.6608 MHz). For faster pulse speeds than this, the duty cycle is kept constant (approx. 50%). By setting
PDTC (bit 31) in the RENV1 register (environment setting 1), the output pulse width can be fixed to make a
constant duty cycle (50%).
Also, when setting METM (operation completion timing setting) in the PRMD register (operation mode), the
operation complete timing can be changed.
1) When METM = 0 (the point at which the output frequency cycle is complete) in the PRMD register
#BSY
2) When METM = 1 (when the output pulse is OFF) in the PRMD register
OUT
Last pulse Next start pulse
#BSY
When set to "when the output pulse is OFF," the time interval "Min" from the last pulse until the next starting
pulse output will be TMIN = 15 x TCLK. (TCLK: Reference clock cycle)
Setting the operation complete timing <Set METM (bit 12) in PRMD> [RMD] (WRITE)
0: At the end of a cycle of a particular output frequency 15 8
1: When the output pulse turns OFF.
- - - n - - - -
Setting the output pulse width <Set PDTC (bit 31) in RENV1> [RENV1] (WRITE)
0: Automatically change between a constant output pulse and a constant duty 31 24
cycle (approx. 50%) in accord with variations in speed.
1: Keep the output pulse width at a constant duty cycle (approx. 50%). n - - - - - - -
- 105 -
11-4. Idling control
When starting acceleration or deceleration operation, it can be started after the output of a few pulses at FL
speed (idling output). Set the number of pulses for idling in IDL of the RENV5 register (environment setting 5).
If you will not be using this function, enter a value "n" of 0 or 1. The LSI will start the acceleration at the same
time it begins outputting pulses. Therefore, the start speed obtained from an initial 2-pulse cycle will be faster
than the FL speed.
To use this function, enter a value "n" of 2 to 7. The LSI will start the acceleration by beginning its output on the
"n" th pulse. Therefore, the start speed will be the FL speed and the FL speed can be set to near the maximum
starting pulse rate.
If this function is used with the positioning mode, the total feed amount will not change.
#BSY
FUP
▲Start acceleration on the 0th pulse
FUP
▲Start acceleration on the 0th pulse
FUP
Start acceleration on the 3th pulse▲
Set the number of idling pulses <Set IDL0 to 2 (bits 8 to 10) in RENV5> [RENV5] (WRITE)
Specify the number of idling pulses, from 0 to 7. 15 8
Start accelerating at FL speed after outputting the specified number of pulses.
- - - - - n n n
Read the idling control counter value < IDC0 to 2 (bits 20 to 22) in RSPD> [RSPD] (READ)
Read the idling control counter.
23 16
0 n n n - - - -
Note: While setting the number of idling pulses, when you write a High-Speed Start 1 command (52h or 56h),
motion of an axis will accelerate to FH speed after outputting the specified number of idling pulses at FL
speed. Then the operation will be the same as the High-Speed Start 2 command.
- 106 -
11-5. Mechanical external input control
11-5-1. +EL, -EL signal
When an end limit signal (a +EL signal when feeding in the + direction) in the feed direction turns ON while
operating, motion of a machine will stop immediately or decelerate and stop. After it stops, even if the EL
signal is turned OFF, a machine will remain stopped. For safety, please design a structure of the machine so
that the EL signal keeps ON until a machine reaches the end of the stroke even if the machine moves.
If the EL signal is ON when writing a start command, the axis cannot start moving in the direction of the
particular EL signal that is ON.
By setting ELM in the RENV1 (environment setting 1) register, the stopping pattern for use when the EL signal
is turned ON can be set to immediate stop or deceleration stop (high speed start only). If deceleration stop is
selected, hold the EL input ON until stopping.
The minimum pulse width of the EL signal is 80 reference clock cycles (4 µsec) when the input filter is ON.
When the input filter is turned OFF, the minimum pulse width is two reference clock cycles (0.1 µsec).
The EL signal can be monitored by reading SSTSW (sub status).
By reading the REST register, you can check for an error interrupt caused by the EL signal turning ON.
When in the timer mode, this signal is ignored. Even in this case, the EL signal can be monitored by reading
SSTSW (sub status).
The input logic of the EL signal can be set for each axis using the ELL input terminal.
Set the input logic of the ±EL signal <ELL input terminal>
L: Positive logic input
H: Negative logic input
Stop method used when the ±EL signal turns ON <Set ELM (bit 3) in RENV1> [RENV1] (WRITE)
0: Immediate stop by turning ON the ±EL signal 7 0
1: Deceleration stop by turning ON the ±EL signal
- - - - n - - -
Reading the ±EL signal <SPEL (bit 12), SMEL (bit 13) in SSTSW> [SSTSW] (READ)
SPEL = 0:Turn OFF the +EL signal SPEL = 1: Turn ON the +EL signal 15 8
SMEL = 0:Turn OFF the -EL signal SMEL = 1: Turn ON the -EL signal
- - n n - - - -
Reading the stop cause when the ±EL signal turns on [REST] (READ)
<ESPL (bit 5), ESML (bit 6) in REST> 7 0
ESPL = 1: Stop by turning ON the +EL signal
ESML = 1: Stop by turning ON the -EL signal - n n - - - - -
Setting the ±EL input filter <Set FLTR (bit 26) in RENV1> [RENV1] (WRITE)
1:Apply a filter to the ±EL input 31 24
Apply a filter and any signals shorter than 4 µsec pulse width are ignored.
- - - - - n - -
Note 1: Operation after turning ON the EL signal may be different from the above for the origin return
operation (9-5-1), the origin search operation (9-5-3), and the EL or SL operation mode (9-6). See the
description of each operation mode.
- 107 -
11-5-2. SD signal
If the SD signal input is disabled by setting MSDE in the PRMD register (operation mode) to 0, the SD signal
will be ignored.
If the SD signal is enabled and the SD signal is turned ON while in operation, the axis will: 1) decelerate, 2)
latch and decelerate, 3) decelerate and stop, or 4) latch and perform a deceleration stop, according to the
setting of SDM and SDLT in the RENV1 register (environment setting 1).
[FL constant speed operation] [FH constant speed operation] [High speed operation]
f f f
Decelerate to FL
FH FH
FL FL
Accelerate to FH
t t t
[FL constant speed operation] [FH constant speed operation] [High speed operation]
f f f
Decelerate to FL
FH FH
FL FL
t t t
- 108 -
3) Deceleration stop <SDM (bit 4) = 1, SDLT (bit 5) = 0 in RENV1 register>
- If the SD signal is turned ON while in constant speed operation, the axis will stop. While in high speed
operation, the axis will decelerate to FL speed when the SD signal is turned ON, and then stop. If the
SD signal is turned OFF during deceleration, the axis will accelerate to FH speed.
- If the SD signal is turned ON after writing a start command, the axis will complete its operation without
another start.
- When stopped, the axis will output an #INT signal.
[FL constant speed operation] [FH constant speed operation] [High speed operation]
f f f
Decelerate to FL
FH FH
Accelerate to FH
again when SD
FL FL signal is turned off
while decelerating
t t t
[FL constant speed operation] [FH constant speed operation] [High speed operation]
f f f
Decelerate to FL
FH FH
SD signal is
turned OFF while
FL FL decelerating
t t t
- 109 -
The input logic of the SD signal can be changed. If the latched input is set to accept input from the SD signal,
and if the SD signal is OFF at the next start, the latch will be reset. The latch is also reset when the latch input
(SDLT in RENV1) is set to zero.
The minimum pulse width of the SD signal is 80 reference clock cycles (4.0 µsec) when the input filter is ON.
When the input filter is turned OFF, the minimum pulse width is two reference clock cycles (0.1 µsec). (When
CLK = 19.6608 MHz.)
The latch signal of the SD signal can be monitored by reading SSTSW (sub status). The SD signal terminal
status can be monitored by reading RSTS (extension status). By reading the REST register, you can check for
an error interrupt caused by the SD signal turning ON.
- 110 -
11-5-3. ORG, EZ signals
These signals are enabled in the origin return modes (origin return, leave origin position, and origin position
search) and in the EZ count operation modes. Specify the operation mode and the operation direction using
the PRMD register (operation mode).
Since the ORG signal input is latched internally, there is no need to keep the external signal ON.
The ORG latch signal is reset when stopped.
The minimum pulse width of the ORG signal is 80 reference clock cycles (4 µsec) when the input filter is ON.
When the input filter is turned OFF, the minimum pulse width is two reference clock cycle (0.1 µsec). (When
CLK = 19.6608 MHz.)
The input logic of the ORG signal and EZ signal can be changed using the RENV1 register (environment
setting 1).
The ORG terminal status can be monitored by reading SSTSW (sub status). The EZ terminal status can be
monitored by reading the RSTS register (extension status).
For details about the origin return operation modes, see 9-5, "Origin position operation mode."
Enabling the ORG and EZ signals <Set MOD (bits 0 to 6) in PRMD> [PRMD] (WRITE)
001 0000: Origin return in the positive direction 7 0
001 0010: Leave origin position in the positive direction
001 0101: Origin position search in the positive direction 0 n n n n n n n
010 0100: EZ counting in the positive direction
001 1000: Origin return in the negative direction
001 1010: Leave origin position in the negative direction
001 1101: Origin position search in the negative direction
010 1100: EZ count operation in the negative direction
Set the origin return method <Set ORM0 to 3 (bits 0 to 3) in RENV3> [RENV3] (WRITE)
See the RENV3 register description 7 0
- - - - n n n n
Set the input logic for the ORG signal <Set ORGL (bit 7) in RENV1> [RENV1] (WRITE)
0: Negative logic 7 0
1: Positive logic
n - - - - - - -
Read the ORG signal <SORG (bit 14) in SSTSW> [SSTSW] (READ)
0: The ORG signal is OFF 15 8
1: The ORG signal is ON
- n - - - - - -
Set the EZ count number <Set EZD0 to 3 (bits 4 to 7) in RENV3> [RENV3] (WRITE)
Set the origin return completion condition and the EZ count number for counting. 7 0
Specify the value (the number to count – 1) in EZD0 to 3. The setting range is 0 to
15. n n n n - - - -
Specify the input logic of the EZ signal <Set EZL (bit 23) in RENV2> [RENV2] (WRITE)
0: Falling edge 23 16
1: Rising edge
n - - - - - - -
Read the EZ signal <SEZ (bit 10) in RSTS> [RSTS] (READ)
0: The EZ signal is OFF 15 8
1: The EZ signal is ON
- - - - - n - -
Apply an input filter to EZ <Set FLTR (bit 26) in RENV1> [RENV1] (WRITE)
1: Apply a filter to the EZ input 31 24
By applying a filter, signals with a pulse width of 4 µsec or less will be ignored.
- - - - - n - -
- 111 -
11-6. Servomotor I/F (Case in digital servo)
11-6-1. INP signal
The pulse strings input accepting servo driver systems have a deflection counter to count the difference
between command pulse inputs and feedback pulse inputs. The driver controls to adjust the difference to zero.
In other words, a servomotor moves behind a command pulse and, even after the command pulses stop, the
servomotor systems keep feeding until the count in the deflection counter reaches zero.
This LSI can receive a positioning complete signal (INP signal) from a servo driver in place of the pulse output
complete timing, to determine when an operation is complete.
When the INP signal input is used to indicate the completion status of an operation, the #BSYsignal when an
operation is complete, the main status (bits 0 to 5 of the MSTSW, stop condition), and the extension status
(CND0 to 3, operation status) will also change when the INP signal is input.
Set the operation complete delay using the INP signal [PRMD] (WRITE)
<Set MINP (bit 9) in PRMD> 15 8
0: No operation complete delay waiting for the INP signal.
1: Operation complete (status, #BSY) delay until the INP signal turns ON. - - - - - - n -
Input logic of the INP signal <Set INPL (bit 22) in RENV1> [RENV1] (WRITE)
0: Negative logic 23 8
1: Positive logic
- n - - - - - -
Reading the INP signal <SINP (bit 16) in RSTS> [RSTS] (READ)
0: The INP signal is OFF 23 16
1: The INP signal is ON
0 0 0 0 0 0 0 n
Set the INP input filter <FLTR (bit 26) in RENV1> [RENV1] (WRITE)
1: Apply a filter to the INP input. 31 24
By applying a filter, pulses less than 4 µsec in width are ignored.
- - - - - n - -
- 112 -
11-6-2. ERC signal
A servomotor delays the stop until the deflection counter in the driver reaches zero, even after command
pulses have stopped being delivered. In order to stop the servomotor immediately, the deflection counter in
the servo driver must be cleared.
This LSI can output a signal to clear the deflection counter in the servo driver. This signal is referred to as an
"ERC signal." The ERC signal is output as one shot signal or a logic level signal. The output type can be
selected by setting the RENV1 register (environment setting 1). If an interval is required for the servo driver to
recover after turning OFF the ERC signal (HIGH) before it can receive new command pulses, the ERC signal
OFF timer can be selected by setting the RENV1 register.
ERC
OUT
In order to output an ERC signal at the completion of an origin return operation, set EROR (bit 11) = 1 in the
RENV1 register (environment setting 1) to make the ERC signal an automatic output. For details about ERC
signal output timing, see the timing waveform in section 9-5-1, "Origin return operation."
In order to output an ERC signal for an immediate stop based on the EL signal, ALM signal, or #CEMG signal
input, or on the emergency stop command (05h), set EROE (bit 10) = 1 in the RENV1 register, and set
automatic output for the ERC signal. (In the case of a deceleration stop, the ERC signal cannot be output,
even when set for automatic output.)
The ERC signal can be output by writing an ERC output command (24h).
The output logic of the ERC signal can be changed by setting the RENV1 register. Read the RSTS (extension
status) register to monitor the ERC signal.
Set automatic output for the ERC signal <Set EROE (bit 10) in RENV1> [RENV1] (WRITE)
0: Does not output an ERC signal when stopped by EL, ALM, or #CEMG input. 15 8
1: Automatically outputs an ERC signal when stopped by EL, ALM, or #CEMG
input. - - - - - n - -
Set automatic output for the ERC signal <Set EROR (bit 11) in RENV1> [RENV1] (WRITE)
0: Does not output an ERC signal at the completion of an origin return operation. 15 8
1: Automatically outputs an ERC signal at the completion of an origin return - - - - n - - -
operation.
Set the ERC signal output width <Set EPW0 to 2 (bits 12 to 14) in RENV1> [RENV1] (WRITE)
000: 12 µsec 100: 13 msec 15 8
001: 102 µsec 101: 52 msec - n n n - - - -
010: 408 µsec 110: 104 msec
011: 1.6 msec 111: Logic level output
Select output logic for the ERC signal <Set ERCL (bit 15) in RENV1> [RENV1] (WRITE)
0: Negative logic 15 8
1: Positive logic
n - - - - - - -
Specify the ERC signal OFF timer time [RENV1] (WRITE)
<Set ETW0 to 1 (bits 16 to 17) in RENV1> 23 16
00: 0 µsec 10: 1.6 msec
01: 12 µsec 11: 104 msec - - - - - - n n
Read the ERC signal <SERC (bit 9) in RSTS> [RSTS] (READ)
0: The ERC signal is OFF 15 8
1: The ERC signal is ON
0 - - - - - n -
- 113 -
Emergency stop command <Operation command: CMEMG> [Stop command]
Output an ERC signal 05h
ERC signal output command <Control command: ERCOUT> [ERC output control
Turn ON an ERC signal command]
24h
ERC signal output reset command < Control command: ERCRST> [ERC output control
Turn OFF an ERC signal command]
25h
Stop method when the ALM signal is ON <Set ALMM (bit 8) in RENV1> [RENV1] (WRITE)
0: Stop immediately when the ALM signal is turned ON 15 8
1: Deceleration stop (high speed start only) when the ALM signal is turned ON
- - - - - - - n
Input logic setting of the ALM signal <Set ALML (bit 9) in RENV1> [RENV1] (WRITE)
0: Negative logic 15 8
1: Positive logic
- - - - - - n -
Read the ALM signal <SALM (bit 11) in SSTSW> [SSTSW] (READ)
0: The ALM signal is OFF 15 8
1: The ALM signal is ON
- - - - n - - -
Reading the cause of a stop when the ALM signal is turned ON [REST] (READ)
<ESAL (bit 7) in RSET> 7 0
1: Stop due to the ALM signal being turned ON
n - - - - - - -
Set the ALM input filter <Set FLTR (bit 26) in RENV1> [RENV1] (WRITE)
1: Apply a filter to the ALM input 31 24
When a filter is applied, pulses less than 4 µsec pulse in width will be
ignored. - - - - - n - -
- 114 -
11-7. External start, simultaneous start
11-7-1. #CSTA signal
This LSI can start when triggered by an external signal on the #CSTA terminals. Set MSY (bits 18 to 19) in the
PRMD register (operation mode) to 01 and the LSI will start feeding when the #CSTA goes LOW.
When you want to control multiple axes using more than one LSI, connect the #CSTA terminal on each LSI
and input the same signals. All of the axes set to "waiting for #CSTA input" will all start at the same time. In this
example a start signal can be output through the #CSTA terminal.
The input logic on the #CSTA terminals cannot be changed.
By setting the RIRQ (event interrupt cause) register, the #INT signal can be output together with a
simultaneous start (when the #CSTA input is ON). By reading the RIST register, the cause of an event interrupt
can be checked.
The operation status (waiting for #CSTA input), and status of the #CSTA terminal can be monitored by reading
the RSTS register (extension status).
#CSTA signals can be supplied as level trigger or edge trigger inputs. However, when level trigger input is
selected, if #CSTA = L or a start command is written, the axis will start immediately.
After connecting the #CSTA terminals on each LSI, each axis can still be started independently using start
commands.
To release the "waiting for #CSTA input" condition, write an immediate stop command (49h).
1) To start axes controlled by different LSIs simultaneously, connect the LSIs as follows.
VDD
#CSTA #CSTA #CSTA #CSTA
5k to 10kohm
Start signal
For start signal, supply a one shot input signal with a pulse width of at least 4 reference clock cycles (approx.
0.2 µsec when CLK = 19.6608 MHz).
- 115 -
#CSTAinput <MSY0 to 1 (bits 18 to 19) in PRMD> [PRMD] (WRITE)
01: Start by inputting a #CSTA signal 23 16
- - - - n n - -
Specify the input specification for the #CSTA signal <Set STAM (bit 18) in RENV1> [RENV1] (WRITE)
0: Level trigger input for the #CSTA signal 23 16
1: Edge trigger input for the #CSTA signal
- - - - - n - -
Specify the function of the PCS signal <Set PCSM (bit 30) in RENV1> [RENV1] (WRITE)
1: Make the PCS input a #CSTA signal that is available only for its own axis. 31 24
- n - - - - - -
Set the Waiting for #CSTA input <Set MSY0 to 1 (bits 18 to 19) in RMD> [RMD] (WRITE)
01: Start on a #CSTA input. 23 16
- - - - n n - -
Set the input logic of the PCS signal <Set PCSL (bit 24) in RENV1> [RENV1] (WRITE)
0: Negative logic 31 24
1: Positive logic
- - - - - - - n
Read the PCS signal <SPCS (bit 8) in RSTS> [RSTS] (READ)
0: The PCS signal is OFF 15 8
1: The PCS signal is ON
- - - - - - - n
- 116 -
11-8. External stop / simultaneous stop
This LSI can execute an immediate stop or a deceleration stop triggered by an external signal using the
#CSTP terminal. Set MSPE (bit 24) = 1 in the PRMD register (operation mode) to enable a stop from a #CSTP
input. The axis will stop immediately or decelerate and stop when the #CSTP terminal is LOW. However, a
deceleration stop is only used for a high speed start. When the axis is started at constant speed, the signal on
the #CSTP terminal will cause an immediate stop.
The input logic of the #CSTP terminal cannot be changed.
When multiple LSIs are used to control multiple axes, connect the #CSTP terminals on each LSI with another
#CSTP terminal and input the same signal so that the axes which are set to stop on a #CSTP input can be
stopped simultaneously. In this case, a stop signal can also be output from the #CSTP terminal.
When an axis stops because the #CSTP signal is turned ON, an #INT signal can be output. By reading the
REST register, you can determine the cause of an error interrupt. You can monitor #CSTP terminal status by
reading the RSTS register (extension status).
Even when the #CSTP terminals on LSIs are connected together, each axis can still be stopped independently
by using the stop command.
1) Connect the terminals as follows for a simultaneous stop among different LSIs.
VDD
5k to 10kohm
5k to 10kohm
Stop signal
As a stop signal, supply a one shot signal of 4 reference clock cycles or more in length (approx. 0.2 µsec
when CLK = 19.6608 MHz).
- 117 -
Setting to enable #CSTP input <Set MSPE (bit 24) in PRMD> [PRMD] (WRITE)
1. Enable a stop from the #CSTP input. (Immediate stop, deceleration stop) 31 24
0 0 0 0 - - - n
Auto output setting for the #CSTP signal <Set to MSPO (bit 25) in the PRMD> [PRMD] (WRITE)
1: When an axis stops because of an error, the PCL will output the #CSTP 31 24
signal. (Output signal width: 8 reference clock cycles)
0 0 0 0 - - n -
Specify the stop method to use when the #CSTP signal is turned ON. [RENV1] (WRITE)
<Set STPM (bit 19) in RENV1> 23 16
0: Immediate stop when the #CSTP signal is turned ON.
1: Deceleration stop when the #CSTP signal is turned ON. - - - - n - - -
When the axes are stopped because the #CEMG input is turned ON, the LSI will output an #INT signal. By
reading the REST register, the cause of the error interruption can be determined.
The status of the #CEMG terminal can be monitored by reading the REST register (extension status).
Note: In a normal stop operation, the final pulse width is normal. However, in an emergency stop operation, the
final pulse width may not be normal. It can be glitch. Motor drivers do not recognize glitch pulses, and therefore
only the PCL internal counter may count this pulse. (Deviation from the command position control). Therefore,
after an emergency stop, you must perform an origin return to match the command position with the mechanical
position.
- 118 -
11-10. Counter
11-10-1. Counter type and input method
In addition to the positioning counter, this LSI contains four other counters. These counters offer the following
functions.
- Control command position and mechanical position
- Detect a stepper motor that is "out of step" using COUNTER 3 (deflection counter) and a comparator.
- Output a synchronous signal using COUNTER 4 (general-purpose) and a comparator.
The positioning counter is loaded with an absolute value for the RMV register (target position) at the start,
regardless of the operation mode selected. It decreases the value with each pulse that is output. However, if
MPCS (bit 14) of the RMD register (operation mode) is set to 1 and while a position override 2 is executed, the
counter does will not decrease until the PCS input is turned ON.
Input to COUNTER 1 is exclusively for output pulses. However COUNTERS 2 to 4 can be selected as follows
by setting the RENV3 register (environment setting 3).
- 119 -
The EA/EB and PA/PB input terminal, that are used as inputs for the counter, can be set for one of two signal
input types by setting the RENV2 (environment setting 2) register.
1) Signal input method: Input 90 phase difference signals (1x, 2x, 4x)
Counter direction: Count up (count forward) when the EA input phase is leading. Count down when
the EB input phase is leading.
2) Signal input method: Input count-up (count-forward) pulses or count-down pulses (Two-pulse input).
Counter direction: Count up (count forward) on the rising edge of the EA input. Count down on the
falling edge of the EB input.
The counter direction or EA/EB and PA/PB input signals can be reversed.
The LSI can be set to sense an error when both the EA and EB input, or both the PA and PB inputs change
simultaneously, and this error can be detected using the REST (error interrupt cause) register.
Set the input signal filter for EA/EB/EZ <Set EINF (bit 18) in RENV2> [RENV2] (WRITE)
0: Turn OFF the filter function 23 16
1: Turn ON the filter function (Input signals shorter than 3 reference clock cycles
are ignored.) - - - - - n - -
Setting the EA/EB input <Set EIM0 to 1 (bit 20 to 21) in RENV2> [RENV2] (WRITE)
00: 90 phase difference, 1x 10: 90 phase difference, 4x 23 16
01: 90 phase difference, 2x 11: Input count-up (count forward) pulses or
count-down pulses (Two-pulse input) - - n n - - - -
Specify the EA/EB input count direction <Set to EDIR (bit 22) in RENV2> [RENV2] (WRITE)
0: Count forward when the EA phase is leading. Or, count forward on the rising 23 16
edge of EA.
1: Count forward when the EB phase is leading. Or, count forward on the rising - n - - - - - -
edge of EB.
Enable/disable EA/EB input <Set EOFF (bit 30) in RENV2> [RENV2] (WRITE)
0: Enable EA/EB input 31 24
1: Disable EA/EB input. (EZ input is valid.)
- n - - - - - -
Set the input signal filter for PA/PB <Set PINF (bit 19) in RENV2> [RENV2] (WRITE)
0: Turn OFF the filter function. 23 16
1: Turn ON the filter function (Input signals shorter than 3 reference clock cycles
are ignored.) - - - - n - - -
Specify the PA/PB input <Set to PIM0 to 1 (bit 24 to 25) in RENV2> [RENV2] (WRITE)
00: 90 phase difference, 1x 10: 90 phase difference, 4x 31 24
01: 90 phase difference, 2x 11: Input count-forward pulses or
count-down pulses (Two-pulse input) - - - - - - n n
Specify the PA/PB input count direction <Set to PDIR (bit 26) in RENV2> [RENV2] (WRITE)
0: Count up (count forward) when the PA phase is leading. Or, count up (count 31 24
forward) on the rising edge of PA.
1: Count up (count forward) when the PB phase is leading. Or, count up (count - - - - - n - -
forward) on the rising edge of PB.
Enable/disable PA/PB input <Set POFF (bit 31) in RENV2> [RENV2] (WRITE)
0: Enable PA/PB input 31 24
1: Disable PA/PB input.
n - - - - - - -
Reading EA/EB, PA/PB input error <ESEE (bit 16), ESPE (bit 17) in the REST> [REST] (READ)
ESEE (bit 16) = 1: An EA/EB input error occurred. 23 16
ESPE (bit 17) = 1: A PA/PB input error occurred.
0 0 0 0 0 0 n n
- 120 -
When EDIR is "0," the EA/EB input and count timing will be as follows.
For details about the PA/PB input, see section "9-3. Pulsar input mode."
EA
EB
Counter n n+1 n
EA
EB
Counter n n+1 n+2 n+1 n
EA
EB
Counter n n+1 n+2 n+3 n+4 n+3 n+2 n+1 n
EA
EB
Counter n n+1 n+2 n+1 n
- 121 -
11-10-2. Counter reset
All the counters can be reset using any of the following three methods.
1) When the CLR input signal turns ON (set in RENV3).
2) When an origin return is executed (set in RENV3).
3) When a command is written.
The PCL can also be specified to reset automatically, soon after latching the counter value.
The CLR input timing can be set in RENV1 (environment setting 1). An #INT signal can be output as an event
interrupt cause when a CLR signal is input.
Note: In order to prevent incorrect counts, when the count timing and reset timing match, the counter will be
+1 or -1, never 0. Please note this operation detail when detecting 0 with the comparator function.
- 122 -
11-10-3. Latch the counter and count condition
All the counters can latch their counts using any of the following methods. The setting is made in RENV5
(environment setting 5) register. The latched values can be output from the RLTC1 to 4 registers.
1) Turn ON the LTC signal.
2) Turn ON the ORG signal.
3) When the conditions for Comparator 4 are satisfied.
4) When the conditions for Comparator 5 are satisfied.
5) When a command is written.
The current speed can also be latched instead of COUNTER3 (deflection). Latch at the timing to use hardware
(above items 1) to 4) ) can also stopped.
The LTC input timing can be set by in RENV1 (environment setting 1). An #INT signal can be output when a
counter value is latched by turning ON the LTC signal or the ORG signal. This allows you to identify the cause
of an event interrupt.
- 123 -
11-10-4. Stop the counter
COUNTER1 (command position) stops when the PRMD (operation mode) register is set to stop the counter
and while in timer mode operation.
COUNTER2 (mechanical position), COUNTER3 (deflection), and COUNTER4 (general-purpose) stop when
the RENV3 (environment setting 3) register is set to stop.
By setting the RENV3 register, you can stop counting pulses while performing a backlash or slip correction.
COUNTER4 (general-purpose) can be set to count only during operation (#BSY = low) using the RENV3
register. By specifying 1/2 of the CLK (reference clock) signal, the time after the start can be controlled.
Stopping COUNTER1 (command) <Set MCCE (bit 11) in PRMD> [RMD] (WRITE)
1. Stop COUNTER1 (command position). 15 8
n - - - - - - -
Specify the counting operation for COUNTERS 2 to 4 [RENV3] (WRITE)
<Set CU2H to 4H (bits 29 to 31) in RENV3> 31 24
CU2H (bit 29) = 1: Stop COUNTER2 counting (mechanical position)
CU3H (bit 30) = 1: Stop COUNTER3 counting (deflection) n n n 0 - - - -
CU4H (bit 31) = 1: Stop COUNTER4 counting (general-purpose)
Setting the counters for backlash or slip correction [RENV3] (WRITE)
<Set CU1B to 4B (bits 24 to 27) in RENV3> 31 24
CU1B (bit 24) = 1: Enable COUNTER1 (command position)
CU2B (bit 25) = 1: Enable COUNTER2 (mechanical position) - - - 0 n n n n
CU3B (bit 26) = 1: Enable COUNTER3 (deflection)
CU4B (bit 27) = 1: Enable COUNTER4 (general-purpose)
Specify the counting conditions for COUNTER4 <Set BSYC (bit 14) in RENV3> [RENV3] (WRITE)
1. Enable COUNTER4 (general-purpose) only while operating (#BSY = L). 15 8
- n - - - - - -
- 124 -
11-11. Comparator
11-11-1. Comparator types and functions
This LSI has 5 circuits of 28-bit comparators per axis. It compares the values set in the RCMP1 to 5 registers
with the counter values.
Comparators 1 to 4 can be used as comparison counters and can be assigned as COUNTERS 1 to 4.
Comparator 5 can be assigned as COUNTER 1 to 4, a positioning counter, or to track the current speed.
There are many comparison methods and four processing methods that can be used when the conditions are
met.
Specify the comparator conditions in the RENV4 (environment 4) and RENV5 (environment 5) registers. By
using these comparators, you can perform the following.
- Use comparators for INT outputs, external output of comparison data, and for internal synchronous starts
- Immediate stop and deceleration stop operations.
- Rewrite operation data with pre-register data (used to change speed while operating).
- Software limit function using Comparators 1 and 2.
- Ring count function using COUNTER1 (command position) and Comparator 1.
- Ring count function using COUNTER2 (mechanical position) and Comparator 2.
- Detect out of step stepper motors using COUNTER3 (deflection) and a comparator.
- Output a synchronous signal (IDX) using COUNTER4 (general-purpose) and a Comparator 4.
Comparator 5 is equipped with a pre-register. It can also output an #INT signal as event interrupt cause when
the comparator's conditions are satisfied.
[Comparison data]
Each comparator can select the data for comparison from the items in the following table.
Comparison data Comparator 1 Comparator 2 Comparator 3 Comparator 4 Comparator 5
C1C0 to 1 C2C0 to 1 C3C0 to 1 C4C0 to 1 C5C0 to 2
COUNTER1
O "00" O "00" O "00" O "00" O "000"
(command position)
COUNTER2
O "01" O "01" O "01" O "01" O "001"
(mechanical position)
COUNTER3
O "10" O "10" O "10" O "10" O "010"
(deflection)
COUNTER4
O "11" O "11" O "11" O "11" O "011"
(general-purpose)
Positioning counter O "100"
Current speed O "101"
Pre-register None None None None Yes
+SL -SL
Use Use
Major application IDX output
COUNTER1 as COUNTER1as
a ring counter a ring counter
- 125 -
[Comparison method] Each comparator can be assigned a comparison method from the table below.
Comparator 1 Comparator 2 Compa Compa Compa
-rator3 -rator4 -rator5
Comparison method
C1S0 C1RM C2S0 C1RM C3S0 C4S0 C5S0
to 2 to 2 to 2 to 3 to 2
Comparator = Comparison counter
O "001" '0' O "001" '0' O "001" O "0001" O "001"
(regardless of count direction)
Comparator = Comparison counter
O "010" '0' O "010" '0' O "010" O "0010" O "010"
(count up (count forward) only)
Comparator = Comparison counter
O "011" '0' O "011" '0' O "011" O "0011" O "011"
(count down only)
Comparator > Comparison counter O "100" '0' O "100" '0' O "100" O "0100" O "100"
Comparator < Comparison counter O "101" '0' O "101" '0' O "101" O "0101" O "101"
Use as software limits O "110" '0' O "110" '0'
IDX (synchronous signal) output
O "1000"
(regardless of counting direction)
IDX (synchronous signal) output
O "1001"
(count up (count forward) only)
IDX (synchronous signal) output
O "1010"
(count down only)
Use COUNTER1 as a ring counter O "001" '1' O "1010"
Use COUNTER2 as a ring counter O "001" '1' O "1010"
[Processing method when comparator conditions are satisfied] The processing method that is used when the
conditions are satisfied can be selected from the table below.
Processing method when Comparator 1 Comparator 2 Comparator 3 Comparator 4 Comparator 5
the conditions are met C1D0 to 1 C2D0 to 1 C3D0 to 1 C4D0 to 1 C5D0 to 1
Do nothing "00" "00" "00" "00" "00"
Immediate stop operation "01" "01" "01" "01" "01"
Deceleration stop operation "10" "10" "10" "10" "10"
Rewrite operation data with
"11" "11" "11" "11" "11"
pre-register data
- "Do nothing " is mainly used for INT output, external output of comparison result, or internal synchronous
starts.
- To change the speed pattern while in operation, rewrite operation data with pre-register data. The PRMV
setting will also be transferred to the RMV. However, this does not affect operation.
- The bit assignments to select a processing method are as follows.
C1D0 to 1 (RENV4 bits 5 to 6), C2D0 to 1 (RENV4 bits 13 to 14), C3D0 to 1 (RENV4 bits 21 to 22), C4D0 to
1 (RENV4 bits 30 to 31), C5D0 to 1 (RENV5 bits 6 to 7)
- 126 -
[How to set the INT output, external output of comparison results, and internal synchronous starting]
Set an event interrupt cause <Set IRC1 to 5 (bit 8 to 12) in RIRQ> [RIRQ] (WRITE)
IRC1 (bit 8) = 1 15 8
: Output #INT signal when the Comparator 1 conditions are satisfied.
IRC2 (bit 9) = 1 - - - n n n n n
: Output #INT signal when the Comparator 2 conditions are satisfied.
IRC3 (bit 10) = 1
: Output #INT signal when the Comparator 3 conditions are satisfied.
IRC4 (bit 11)= 1:
Output #INT signal when the Comparator 4 conditions are satisfied.
IRC5 (bit 12)= 1
: Output #INT signal when the Comparator 5 conditions are satisfied.
Read the event interrupt cause <ISC1 to 5 (bit 8 to 12) in RIST> [RIST] (READ)
IRC1 (bit 8) = 1: When the Comparator 1 conditions are satisfied. 15 8
IRC2 (bit 9) = 1: When the Comparator 2 conditions are satisfied.
IRC3 (bit 10) = 1: When the Comparator 3 conditions are satisfied. - - - n n n n n
IRC4 (bit 11) = 1: When the Comparator 4 conditions are satisfied.
IRC5 (bit 12) = 1: When the Comparator 5 conditions are satisfied.
Read the comparator condition status <SCP1 to 5 (bits 8 to 12) in MSTSW> [MSTSW] (READ)
SCP1 (bit 8) = 1: When the Comparator 1 conditions are satisfied. 15 8
SCP2 (bit 9) = 1: When the Comparator 2 conditions are satisfied.
SCP3 (bit 10) = 1: When the Comparator 3 conditions are satisfied. - - - n n n n n
SCP4 (bit 11) = 1: When the Comparator 4 conditions are satisfied.
SCP5 (bit 12) = 1: When the Comparator 5 conditions are satisfied.
Specify the P3/CP1 (+SL) terminal specifications [RENV2] (WRITE)
<P3M0 to 1 (bits 6 to 7) in RENV2> 7 0
00: General-purpose input
01: General-purpose output n n - - - - - -
10: Output a CP1 (Comparator 1 conditions satisfied) signal using negative
logic.
11: Output a CP1 (Comparator 1 conditions satisfied) signal using positive logic.
Specify the P4/CP2 (-SL) terminal specifications [RENV2] (WRITE)
<P4M0 to 1 (bits 8 to 9) in RENV2> 15 8
00: General-purpose input
01: General-purpose output - - - - - - n n
10: Output CP2 (Comparator 2 conditions satisfied) signal using negative logic.
11: Output CP2 (Comparator 2 conditions satisfied) signal using positive logic.
Specify the P5/CP3 terminal specifications [RENV2] (WRITE)
<Set P5M0 to 1 (bits 10 to 11) in RENV2> 15 8
00: General-purpose input
01: General-purpose output - - - - n n - -
10: Output CP3 (Comparator 3 conditions satisfied) signal using negative logic.
11: Output CP3 (Comparator 3 conditions satisfied) signal using positive logic.
Specify the P6/CP4 terminal specifications [RENV2] (WRITE)
<Set P6M0 to 1 (bits 12 to 13) in RENV2> 15 8
00: General-purpose input
01: General-purpose output - - n n - - - -
10: Output CP4 (Comparator 4 conditions satisfied) signal using negative logic.
11: Output CP4 (Comparator 4 conditions satisfied) signal using positive logic.
Specify the P7/CP5 terminal specifications [RENV2] (WRITE)
<Set P7M0 to 1 (bits 14 to 15) in RENV2> 15 8
00: General-purpose input
01: General-purpose output n n - - - - - -
10: Output CP5 (Comparator 5 conditions satisfied) signal using negative logic.
11: Output CP5 (Comparator 5 conditions satisfied) signal using positive logic.
- 127 -
Specify the output timing for an internal synchronous signal [RENV5] (WRITE)
<Set SYO1 to 3 (bits 16 to 19) in RENV5> 23 16
0001: When the Comparator 1 conditions are satisfied.
0010: When the Comparator 2 conditions are satisfied. - - - - n n n n
0011: When the Comparator 3 conditions are satisfied.
0100: When the Comparator 4 conditions are satisfied.
0101: When the Comparator 5 conditions are satisfied.
1000: When the acceleration starts.
1001: When the acceleration is complete.
1010: When the deceleration starts
1011: When the deceleration is complete.
Others: Turn OFF internal synchronous output signal
When the comparator conditions are met, you can use the function "Rewrite operation data with pre-register
data. This function is used to change the speed at a specified position.
Also, Comparator 5 has a pre-register function, and can be specified for use in changing the speed several
time. In this case, use the "command to determine pre-register (4Fh)," to specify several sets of speed data.
If the speed change data (data used with commands to determine) are left in Pre-registers 1 and 2 when the
current operation completes (Example 1), or if the speed change data is left in Pre-register 1 and some next
operation data exists in Pre-register 2 (Example 2), the PCL will ignore the speed change data and shift the
data from the pre-registers.
Then, in Example 2, the PCL will start the next operation after shifting the data from the pre-registers.
Example 1
(PFM=11) (PFM=00)
Pre-register 2 Speed change data 2 Pre-register 2 Speed change data 2
(determined) (undetermined)
Pre-register 1 Speed change data 1 Complete Pre-register 1 Speed change data 2
(determined) current operation (undetermined)
Register Current operation Æ Register Speed change data 1
data (determined) (undetermined)
Example 2
(PFM=11) (PFM=01)
Pre-register 2 Next operation data Pre-register 2 Next operation data
(determined) (undetermined)
Pre-register 1 Speed change data Complete Pre-register 1 Next operation data
(determined) current operation (undetermined)
Register Current operation Æ Register Next operation data
data (determined) (determined)
- 128 -
11-11-2. Software limit function
A software limit function can be set up using Comparators 1 and 2.
Select COUNTER1 (command position) as a comparison counter for Comparators 1 and 2.
Use Comparator 1 for a positive direction limit and Comparator 2 for a negative direction limit to stop the axis
based on the results of the comparator and the operation direction.
When the software limit function is used the following process can be executed.
1) Stop pulse output immediately
2) Decelerate and then stop pulse output
While using the software limit function, if a deceleration stop is selected as the process to use when the
comparator conditions are met (C1D, C2D), when a machine reaches the software limit while in a high speed
start (52h, 53h), that axis will stop using deceleration. When some other process is specified for use when the
conditions are met, or while in a constant speed start, that axis will stop immediately.
If a software limit is ON while writing a start command, the axis will not start to move in the direction in which
the software limit is enabled. However, it can start in the opposite direction.
[Setting example]
RENV4=00003838h: Use Comparator 1 as positive direction software limit. Use Comparator 2 as negative
direction software limit.
Set to stop immediately when the software limit is reached.
RCMP1= 100,000: Positive direction limit value
RCMP2= -100,000: Negative direction limit value
Unable to feed Able to feed in the Able to feed in the Unable to feed
in the negative Positive direction Negative direction in the positive
direction direction
Operation from the negative direction limit position Operation from the positive direction limit position
- 129 -
11-11-3. Out of step stepper motor detection function
If the deflection counter value controlled by the motor command pulses and the feedback pulses from an
encoder on a stepper motor exceed the maximum deflection value, the LSI will declare that the stepper motor
is out of step. The LSI monitors stepper motor operation using COUNTER3 (the deflection counter) and a
comparator.
The process which takes place after an out of step condition is detected can be selected from the table.
[Processing method to use when the comparator conditions are satisfied].
For this function, use an encoder with the same resolution as the stepper motor.
COUNTER3 (deflection) can be cleared by writing a set command to the deflection counter.
There are two methods for inputting a feedback signal: Input 90 phase difference signals (1x, 2x, 4x) on the
EA/EB terminals and input count-up (count-forward) and count-down pulses (Two-pulse mode).
If both EA and EB signals change at the same time, the LSI will treat this as an error and output an #INT signal.
[Setting example]
RENV4 = 00360000h: Satisfy the conditions of Comparator 3 < COUNTER3 (deflection)
Stop immediately when the conditions are satisfied.
RCMP3 = 32: The maximum deflection value is "32" pulses.
RIRQ = 00000400h: Output an #INT signal when the conditions for Comparator 3 are satisfied.
Specify the EA/EB input <Set EIM0 to 1 (bits 20 to 21) in RENV2> [RENV2] (WRITE)
00: 90 phase difference, 1x 23 16
01: 90 phase difference, 2x
10: 90 phase difference, 4x - - n n 0 0 - -
11: Two-pulse mode (count-up (count-forward) pulses and count-down pulses)
Specify the EA/EB input count direction <Set EDIR (bit 22) in RENV2> [RENV2] (WRITE)
0: When the EA phase is leading, or count up (count forward) on the EA rising 23 16
edge.
1: When the EB phase is leading, or count up (count forward) on the EB rising - n - - 0 0 - -
edge
Read the EA/EB input error <ESEE (bit 16) in REST> [REST] (READ)
1: An EA/EB input error has occurred. 23 16
0 0 0 0 0 0 - n
Counter reset command <Control command: CUN3R> [Counter reset
Clear COUNTER3 (deflection) to zero. command]
22h
- 130 -
11-11-4. IDX (synchronous) signal output function
Using Comparator 4 and COUNTER4, the PCL can output signals to the P6n/CP4n terminals at specified
intervals. Setting C4C0 and C4C1 to "11" (in the general-purpose counter) and setting C4S0 thru C4S3 to
"1000", "1001 or "1010" (the IDX output), the PCL can be used for IDX (index) operation.
The counter range of COUNTER4 will be 0 to the value set in RCMP4. If counting down from 0, the next
counter value will be the value set in RCMP4, and if counting up (counting forward) from the value set in
RCMP3, the next counter value will be 0. (RCMP4 setting range: 1 to 134,217,727). The input for COUNTER4
can be set to CI40 or CI41 in RENV3.
By setting IDXM in RENV4, you can select either level output or count output.
Regardless of the feed direction, the PCL will output the IDX signal using negative logic for the output pulses.
(Counting range: 0 to 4.)
Settings: RENV2 = 00002000h, RENV3 = 00000000h, RENV4 = 23000000h, RCMP4 = 4
- 131 -
11-11-5. Ring count function
COUNTER1 and 2 have a ring count function for use in controlling a rotating table.
Set C1PM = 1, C1S0 to 2 = 000, and C1C0 to 1 = 00 in RENV4 and COUNTER1 will be in the ring count mode.
Then the PCL can perform the following operations.
- Count value = If counting up (counting forward) from the value set in RCMP1, the next counter value will be
0.
- Count value = If counting down from 0, the next counter value will be the value set in RCMP1.
Set C2PM = 1, C2S0 to 2 = 000, and C2C0 to 1 = 01 in RENV4 and COUNTER2 will be in the ring count mode.
Then the PCL can perform the following operations.
- Count value = If counting up (counting forward) from the value set in RCMP2, the next counter value will be
0.
- Count value = If counting down from 0, the next counter value will be the value set in RCMP2.
Even if the value for PRMV outside the range of 0 to the value in RCMPn, the PCL will continue to perform
positioning operations.
When driving a rotating table with 3600 pulses per revolution, and when RCMP1 = 3599, MOD = 41h, and
RMV = 7200, the table will rotate twice and the value in COUNTER1, when stopped, will be the same as the
value before starting.
Note: To use the ring counter function, set the count value between 0 and the value in RCMPn. If the value is
outside the range above, the PCL will not operate normally. Set the comparator conditions (C1S0 to 2, C2S0
to 2) when using a counter as a ring counter to "000."
Setting example
RENV4 = XXXXXX80h --- COUNTER1 is in ring counter mode (C1RM = 1, C1S0 to 2 = 000, C1C0 to 1 = 00)
RCMP1 = 4 --- Count range: 0 to 4
- 132 -
11-12. Backlash correction and slip correction
This LSI has backlash and slip correction functions. These functions output the number of command pulses
specified for the correction value in the speed setting in the RFA (correction speed) register before command
operation.
The backlash correction is performed each time the direction of operation changes. The slip correction
function is performed before a command, regardless of the feed direction. The correction amount and method
is specified in the RENV6 (environment setting 6) register.
The operation of the counter (COUNTER 1 to 4) can be set using the RENV3 (environment setting 3) register.
Enter the correction value <BR0 to 11 (bits 0 to 11) in RENV6> [RENV6] (WRITE)
15 8
Backlash or slip correction amount value (0 to 4095)
- - - - n n n n
7 0
n n n n n n n n
Set the correction method <ADJ0 to 1 (bits 12 to13) in RENV6> [RENV6] (WRITE)
00: Turn the correction function OFF 15 8
01: Backlash correction
10: Slip correction - - n n - - - -
Action for backlash/slip correction <CU1B to 4B (bit 24 to 27) in RENV3> [RENV3] (WRITE)
CU1B (bit 24) = 1: Enable COUNTER1 (command position) 31 24
CU2B (bit 25) = 1: Enable COUNTER2 (mechanical position)
CU3B (bit 26) = 1: Enable COUNTER3 (deflection) - - - 0 n n n n
CU4B (bit 27) = 1: Enable COUNTER4 (general-purpose)
- 133 -
11-13. Vibration restriction function
This LSI has a function to restrict vibration when stopping by adding one pulse of reverse operation and one
pulse of forward operation shortly after completing a command pulse operation.
Specify the output timing for additional pulses in the RENV7 (environment setting 7) register.
When both the reverse timing (RT) and the forward timing (FT) are non zero, the vibration restriction function
is enabled.
The dotted lines below are pulses added by the vibration restriction function. (An example in the positive
direction)
(+) pulse
Last pulse
(-) pulse
FT/2
RT/2
RT FT
Specify the reverse operation timing <Set RT0 to 15 (bits 0 to 15) in RENV7> [RENV7] (WRITE)
RT range: 0 to 65,535 15 8
The units are 32x of the reference clock cycle (approx. 1.6 µsec when CLK =
19,6608 MHz) n n n n n n n n
Settable range: 0 to approx. 0.1 sec. 7 0
n n n n n n n n
Specify the forward operation timing <Set FT0 to 15 (bits 16 to 31) in RENV7> [RENV7] (WRITE)
FT range: 0 to 65,535 31 24
The units are 32x of the reference clock cycle (approx. 1.6 µsec when CLK =
19,6608 MHz) n n n n n n n n
Settable range: 0 to approx. 0.1 sec. 23 16
n n n n n n n n
Note: The optimum values for RT and FT will vary with each piece of machinery and load. Therefore, it is best
to obtain these values by experiment.
- 134 -
11-14. Synchronous starting
This LSI can perform the following operation by setting the PRMD (operation mode) register in advance.
- Start triggered by another axis stopping.
- Start triggered by an internal synchronous signal.
- Continuous interpolation by dummy circular interpolation
The internal synchronous signal output is available with 9 types of timing. They can be selected by setting the
RENV5 (environment setting 5) register. By setting the RIRQ (event interrupt cause) register, an #INT signal
can be output at the same time the internal synchronous signal is output. You can determine the cause of
event interrupt by reading the RIST register. The operation status can be checked by reading the RSTS
(extension status) register.
Specify the synchronous starting method <Set MSY0 to 1 (bits 18 to 19) in PRMD> [RMD] (WRITE)
10: Start with an internal synchronous signal. 23 16
11: Start triggered by specified axis stopping.
- - - - n n - -
Select an axis for confirming a stop (setting example) [RMD] (WRITE)
<Specify the axis using MAX 0 to 3 (bits 20 to 23) in PRMD> 23 16
0001: Start when the X axis stops
0010: Start when the Y axis stops n n n n - - - -
0100: Start when the Z axis stops
1000: Start when the U axis stops
0011: Start when both the X and Y axes stop.
0101: Start when both the X and Z axes stop
1011: Start when the X, Y, and U axes all stop.
1111: Start when all of the axes stop.
Select the synchronous starting mode <Set SMAX (bit 29) in RENV2> [RENV2] (WRITE)
0: PCL6045 compatible mode 31 24
1: PCL6045BL mode
- - n - - - - -
Specify the internal synchronous signal output timing [RENV5] (WRITE)
<Set SYO0 to 3 (bits 16 to 19) in RENV5> 23 16
0001: When the Comparator 1 conditions are satisfied.
0010: When the Comparator 2 conditions are satisfied. - - - - n n n n
0011: When the Comparator 3 conditions are satisfied.
0100: When the Comparator 4 conditions are satisfied.
0101: When the Comparator 5 conditions are satisfied.
1000: When the acceleration is started.
1001: When the acceleration is complete.
1010: When the deceleration is started.
1011: When the deceleration is complete
Others: Internal synchronous output signal is OFF.
Specify the input for the internal synchronous signal [RENV5] (WRITE)
<Set SYI0 to 1 (bits 20 to 21) in RENV5> 23 16
00: Use an internal synchronous signal output by the X axis.
01: Use an internal synchronous signal output by the Y axis. - - n n - - - -
10: Use an internal synchronous signal output by the Z axis.
11: Use an internal synchronous signal output by the U axis.
Read the operation status <CND (bits 0 to 3) in RSTS> [RSTS] (READ)
0011: Wait for an internal synchronous signal. 7 0
0100: Wait for another axis to stop.
- - - - n n n n
Select the event interrupt (#INT output) cause <Set bit 4 to 12 of RIRQ> [RIRQ] (WRITE)
IRUS (bit 4) = 1: When the acceleration is started. 7 0
IRUE (bit 5) = 1: When the acceleration is complete.
IRDS (bit 6) = 1: When the deceleration is started. n n n n - - - -
IRDE (bit 7) = 1: When the deceleration is complete. 15 8
IRC1 (bit 8) = 1: When the Comparator 1 conditions are satisfied.
IRC2 (bit 9) = 1: When the Comparator 2 conditions are satisfied. - - - n n n n n
IRC3 (bit 10) = 1: When the Comparator 3 conditions are satisfied.
IRC4 (bit 11) = 1: When the Comparator 4 conditions are satisfied.
IRC5 (bit 12) = 1: When the Comparator 5 conditions are satisfied.
- 135 -
Read the event interrupt (#INT output) cause <Bit 4 to 12 of RIST> [RIST] (READ)
ISUS (bit 4) = 1: When the acceleration is started.
ISUE (bit 5) = 1: When the acceleration is complete.
ISDS (bit 6) = 1: When the deceleration is started. 7 0
ISDE (bit 7) = 1: When the deceleration is complete.
ISC1 (bit 8) = 1: When the Comparator 1 conditions are satisfied. n n n n - - - -
ISC2 (bit 9) = 1: When the Comparator 2 conditions are satisfied. 15 8
ISC3 (bit 10) = 1: When the Comparator 3 conditions are satisfied.
ISC4 (bit 11) = 1: When the Comparator 4 conditions are satisfied. - - - n n n n n
ISC5 (bit 12) = 1: When the Comparator 5 conditions are satisfied.
[Example 1]
After setting steps 1) to 3), start the X axis and Y axis. When both of these axes stop, the U axis starts.
1) Set MSY0 to 1 (bits 18 to 19) in PRMD for the U axis to "11." (Start triggered by another axis stopping.)
2) Set MAX0 to 3 (bits 20 to 23) in PRMD for the U axis to "0011." (When both X axis and Y axis stop.)
3) Write a start command for the U axis.
The "start when another axis stops" function has two operation modes: one is PCL6045 compatible and the
other is the PCL6045BL mode. Select the operation mode using SMAX in the RENV2 register. (When SMAX
= 0, the PCL6045 compatible mode is selected.)
[PCL6045BL mode]
When "start when another axis stops" is specified as the start condition for the next operation in a specific
pre-register, the working axis itself can be included in the MAX setting.
Example
Settings
Operation mode for the X axis in initial operation: MSY0 to 1 = 00, MAX0 to 3 = 0000
Operation mode calling for the X axis in the next operation: MSY0 to 1 = 11, MAX0 to 3 = 0011
Operation mode for the Y axis in initial operation: MSY0 to 1 = 00, MAX0 to 3 = 0000
Operation mode calling for the Y axis in the next operation: MSY0 to 1 = 11, MAX0 to 3 = 0011
(X axis positioning operation time) > (Y axis positioning operation time)
- 136 -
1) When the PCL6045 compatible mode (SMAX = 0) is selected
Stopping
X axis Next operation
Initial operation
Operating
Stopping
Y axis
Operating
X axis Stopping
Operating Initial operation Next operation
Stopping
Y axis Initial operation Next operation
When using continuous interpolation without changing the interpolation axes, you may set the next operation
in the pre-register (you don't need to specify any stop conditions) rather using the "start when another axis
stops" function. The settings are shown in Example 2 below.
The example below describes only the items related to the operations. The settings for speed and
acceleration are omitted.
[Example 2]
How to set up a continuous interpolation (X-Y axis circular interpolation followed by an X-Y axis linear
interpolation) without changing the interpolation axes.
Step Register X axis Y axis Description
PRMV 10000 10000 X and Y axes perform an circular
PRIP 10000 0 interpolation operation of a 90o curve with a
1
PRMD 0000_0064h 0000_0064h radius of 10000
Start command: Write 0351h (FH constant speed start) X and Y axes start command
PRMV 10000 5000 X and Y axes perform a linear interpolation 1
2 PRMD 0000_0061h 0000_0061h with an end point (1000, 5000)
Start command: Write 0351h (FH constant speed start) X and Y axes start command
After the settings above are complete, the LSI will execute a continuous operation in the order shown below.
1. The X and Y axes perform a CW circular interpolation operation of a 90o curve with a radius of 10000.
2. The X and Y axes perform a linear interpolation (10000, 5000)
Precautions are needed for continuous interpolation operations that change a plane containing interpolated
axes using the pre-register function.
Basically, to change a plane containing interpolated axes, enter dummy operation data for all the axes
(positioning operations with the feed amount set to 0), and then write the interpolation data for a new plane.
Note:
When changing the interpolated axis, failure to enter dummy operation data for all the axes may cause a
continuous operation to stop or the interpolation operation may not stop when desired.
- 137 -
[Example 3 (PCL6045 compatible mode)]
How to perform continuous interpolation while changing the interpolated axes (moving from circular
interpolation on the X and Y axes) to (Linear interpolation on the X and Y axes) to (Linear interpolation on the
X and Z axes)
Using the settings above, the PCL will perform steps 1 to 5 continuously.
1. Start a CW circular interpolation of 90o with a radius 10000 on the X and Y axes.
2. After the X and Y axes stop, the Z axis positioning operation is complete (because the feed amount is
0).
3. Linear interpolation is performed on the X and Y axes (10000, 5000)
4. After the X and Y axes stop, the Z axis positioning operation is complete (because the feed amount is
0).
5. Linear interpolation is performed on the X and Z axes (10000, -5000).
Note: In STEP3 above, the value for the Y axis is left the same as in the previous step (STEP2), in order not to
start the Y axis.
- 138 -
[Example 4 (PCL6045B mode)]
How to perform continuous interpolation while changing the interpolated axes (moving from circular
interpolation on the X and Y axes) to (Linear interpolation on the X and Y axes) to (Linear interpolation on the
X and Z axes)
Start command: Write 0751h (FH constant speed The X, Y, and Z axes Start command
start)
The X and Y axes perform linear interpolation.
PRMV 10000 5000 0
The Z axis is given a positioning operation with
a feed amount of 0.
2 PRMD 007C_0061h 007C_0061h 007C_0041h The X, Y, and Z axes wait for the X, Y, and Z
axes to stop.
Start command: Write 0751h (FH constant speed The X, Y, and Z axes Start command
start)
Since a plane containing interpolated axes is
PRMV 0 0 0 changed, all of the axes are given a dummy
operation.
3
PRMD 007C_0041h 007C_0041h 007C_0041h The X, Y, and Z axes wait for the X, Y, and Z
axes to stop
Start command: Write 0751h (FH constant start) The X, Y, and Z axes Start command
The X and Z axes perform linear interpolation.
PRMV 10000 0 -5000 The Y axis is given a positioning operation with
a feed amount of 0.
4 PRMD 007C_0061h 007C_0041h 007C_0061h The X, Y, and Z axes wait for the X, Y, and Z
axes to stop
Start command: Write 0751h (FH constant speed X, Y, and Z axis start command.
start)
Using the settings above, the PCL will perform steps 1 to 3 continuously. (Specify STEP4 after STEP1 is
complete)
1. Start a CW circular interpolation of 90 o with a radius of 10000 on the X and Y axes. The Z axis performs
a positioning operation with a feed amount of 0.
2. The X and Y axes perform a linear interpolation operation (10000, 5000). The Z axis performs a
positioning operation with a feed amount of 0.
3. The X and Z axes perform a linear interpolation operation (10000, -5000). The Y axis performs a
positioning operation with a feed amount of 0.
- 139 -
11-14-2. Starting from an internal synchronous signal
There are 9 types of internal synchronous signal output timing. They can be selected by setting the RENV5
register.
The monitor signal for the internal synchronous signal can be output externally.
Example 1 below shows how to use the end of acceleration for the internal synchronous signal.
f
Y axis
[Example 1]
FH
After completing steps 1) to 3) below, write a start command to
the X and Y axes, the X axis will start when the Y axis
completes its acceleration.
FL Acceleration complete
1) Set MSY0 to 1 (bits 18 to19) in the X axis PRMD to 10.
(Start with an internal synchronous signal)
2) Set SYI0 to 1 (bits 20 to 21) in the X axis to 01. (Use an
internal synchronous signal from the Y axis.) f
X axis
3) Set SYO0 to 3 (bits 16 to 19) in the Y axis RENV5 to 1001.
FH
(Output an internal synchronous signal when the
acceleration is complete)
FL
Example 2 shows how to start another axis using the
satisfaction of the comparator conditions to generate an
internal synchronous signal.
Be careful, since comparator conditions satisfied by timing and the timing of the start of another axis may be
different according to the comparison method used by the comparators.
[Example 2]
Use COUNTER1 (command position) and Comparator 1 to start the X axis when the Y axis = 1000.
1) Set MSY0 to 1 (bits 18 to 19) in the Y axis PRMD to 10. (Start from an internal synchronous signal)
2) Set SYI0 to 1 (bits 20 to 21) in the X axis RENV5 to 01. (Use an internal synchronous signal from the Y
axis)
3) Set SYO0 to 3 (bits 16 to 19) in the Y axis RENV5 to 0001. (Output an internal synchronous signal when
the Comparator 1 conditions are satisfied)
4) Set C1C0 to 1 (bits 0 to 1) in the Y axis RENV4 to 00. (Comparator 1 comparison counter is COUNTER1)
5) Set C1S0 to 2 (bits 2 to 4) in the Y axis RENV4 to 001. (Comparison method: Comparator 1 =
Comparison counter)
6) Set C1D0 to 1 (bits 5 to 6) in the Y axis RENV4 to 00. (Do nothing when the Comparator 1 condition are
satisfied)
7) Set the RCMP1 value of the Y axis to 1000. (Comparison counter value of Comparator 1 is 1000.)
8) Write start commands for the X and Y axes.
The timing chart below shows the period after the Comparator 1 conditions are satisfied and the X axis
starts.
Note: In the example above, even if the Y feed amount is set to 2000 and the X feed amount is set to 1000, the
X axis will be 1 when the Y axis position equals 1000. Therefore, the operation complete position will be one
pulse off for both the X and Y axes. In order to make the operation complete timing the same, set the RCMP1
value to 1001 or set the comparison conditions to "Comparator 1 < comparison counter."
- 140 -
Specify the use of the P0/FUP terminal <Set P0M0 to 1 (bits 0 to 1) in RENV2> [RENV2] (WRITE)
10: Output an FUP (accelerating) signal 7 0
- - - - - - n n
Specify the use of the P1/FDW terminal <Set P1M0 to 1 (bits 2 to 3) in RENV2> [RENV2] (WRITE)
10: Output an FDW (decelerating) signal 7 0
- - - - n n - -
Select the output logic for P0 (one shot) / FUP <Set P0L (bit 16) in RENV2> [RENV2] (WRITE)
0: Negative logic 23 16
1: Positive logic
- - - - 0 0 - n
Select the output logic for P1 (one shot) / FDW <Set P1L (bit 17) in RENV2> [RENV2] (WRITE)
0: Negative logic 23 16
1: Positive logic
- - - - 0 0 n -
Specify the use of the P3/CP1 (+SL) terminal [RENV2] (WRITE)
<Set P3M0 to 1 (bits 6 to 7) in RENV2> 7 0
10: Output CP1 (Comparator 1 conditions are satisfied) using negative logic.
11: Output CP1 (Comparator 1 conditions are satisfied) using positive logic. n n - - - - - -
Specify the use of the P4/CP2 (-SL) terminal [RENV2] (WRITE)
<Set P4M0 to 1 (bits 8 to 9) in RENV2> 15 8
10: Output CP2 (Comparator 2 conditions are satisfied) using negative logic.
11: Output CP2 (Comparator 2 conditions are satisfied) using positive logic. - - - - - - n n
Specify the use of the P5/CP3 terminal <Set P5M0 to 1 (bits 10 to 11) in RENV2> [RENV2] (WRITE)
10: Output CP3 (Comparator 3 conditions are satisfied) using negative logic. 15 8
11: Output CP3 (Comparator 3 conditions are satisfied) using positive logic.
- - - - n n - -
Specify the use of the P6/CP4 terminal <Set P6M0 to 1 (bits 12 to 13) in RENV2> [RENV2] (WRITE)
10: Output CP4 (Comparator 4 conditions are satisfied) using negative logic. 15 8
11: Output CP4 (Comparator 4 conditions are satisfied) using positive logic.
- - n n - - - -
Specify the use of the P7/CP5 terminal <Set P7M0 to 1 (bits 14 to 15) in RENV2> [RENV2] (WRITE)
10: Output CP5 (Comparator 5 conditions are satisfied) using negative logic. 15 8
11: Output CP5 (Comparator 5 conditions are satisfied) using positive logic.
n n - - - - - -
- 141 -
11-14-3. Continuous interpolation by dummy circular interpolation
Using dummy circular interpolation (MOD=6Fh) allows to synchronizing between axes only by control of
pre-registers. In this operation mode, motion is synchronized with the interpolated axes in circular
interpolation, but the LSI does not output pulses. Using this function allows performing linear interpolation
after circular interpolation without dummy operation when switching axes.
[Example]
How to set continuous interpolation while changing the interpolated axes (moving from linear interpolation on
the X and Y axes) to (Circular interpolation on the Y and Z axes) to (Linear interpolation on the X and Z axes)
Using the settings above, the PCL will perform steps 1 to 3 continuously. (STEP 2 and 3 are set during STEP1
operation.)
1. The X, Y and Z axes perform a linear interpolation (10000, 5000, 0). To synchronize stop timing, the Z
axis performs operation with feed amount 0 in interpolation.
2. The X and Y axes perform a 90o linear circular interpolation with a radius of 10000 in CW direction. The
Z axis performs a dummy circular interpolation.
3. The X, Y and Z axes perform a linear interpolation (10000, 0, -5000). To synchronize stop timing, the Y
axis performs operation with feed amount 0 in interpolation.
Like the above, setting interpolation operation allow performing continuous interpolation operation.
Continuous operation with 4 axes using the X and Y axes for circular interpolation and the Z and U axes for
dummy circular interpolation can be available.
- 142 -
11-15. Output an interrupt signal
This LSI can output an interrupt signal (#INT signal): There are 17 types of errors, 19 types of events, and
change from operating to stopping that can cause an #INT signal to be output. All of the error interrupt causes
will always output an #INT signal. Each of the event causes can be set in the RIRQ register to output an #INT
signal or not.
A stop interrupt is a simple interrupt function which produces an interrupt separate from a normal stop or error
stop.
For a normal stop interrupt to be issued, the confirmation process to read the RIST register is necessary as
described in the Cause of an Event section. If your system needs to provide a stop interrupt only when a stop
occurs, it is easy to use the stop interrupt function.
To approximate a free curve interpolation using multiple linear interpolation operations, event interrupts will be
generated at the end of each linear interpolation. When using the stop interrupt, set MENI = 1 in the PRMD
register. You can set it not to output a #INT signal if there is data for the next operation.
The #INT signal is output continuously until all the causes on all the axes that produced interrupts have been
cleared. In default, an error interrupt cause is cleared by writing a "REST (error cause) register read
command." An event interrupt cause is cleared by writing a "RIST (event cause) register read command." A
Stop interrupt is cleared by reading the main status.
However, when RENV5.MSMR(bit 22) or RENV5.ISMR(bit23)=1, the way to clear of error interrupt cause is
different from the way to clear event cause and stop interrupt . In this case, because registers or main status
are not cleared by reading out cause register and main status, # INT output may not turns OFF. Please refer
to "6-5-4. Reading the mains status", "8-3-5. REST register" and "8-3-36. RIST register".
To determine which type of interrupt occurred, on which axis and the cause of the interrupt, follow the
procedures below.
1) Read the main status of the X axis and check whether bits 2, 4, or 5 is "1."
2) If bit 2 (SENI) is "1," a Stop interrupt occurs.
3) If bit 4 (SERR) is "1," read the REST register to identify the interrupt cause.
4) If bit 5 (SINT) is "1," read the RIST register to identify the interrupt cause.
5) Repeat steps 1) to 4) above for the Y, Z, and U axes.
The steps above will allow you to determine the interrupt cause and turn the #INT output OFF.
Note 1: When reading a register from the interrupt routine, the details of the input/output buffer will change. If
the #INT signal is output while the main routine is reading or writing registers, and the interrupt routine
starts, the main routine may produce an error. Therefore, the interrupt routine should execute a
PUSH/POP on input/output buffer.
Note 2: While processing all axes in steps 1) to 4) above, it is possible that another interrupt may occur on an
axis whose process has completed. In this case, if the CPU interrupts reception mode, and is set for
edge triggering, the PCL will latch the #INT output ON and it will not allow a new interrupt to interfere.
Therefore, make sure that the CPU reads main status of all the axes again after you reset the
interrupt reception status Also, make sure there is no #INT signal output from the PCL. Then, end the
interrupt routine.
The #INT signal output can be masked by setting the RENV1 (environment setting 1) register.
If the #INT output is masked (INTM = 1 in RENV1), and when the interrupt conditions are satisfied, the status
will change. However, the #INT signal will not go LOW, but will remain HIGH.
While the interrupt conditions are satisfied and if the output mask is turned OFF (INTM = 0 in RENV1), the
#INT signal will go LOW.
- 143 -
Read the interrupt status <SENI(bit2), SERR (bit 4), SINT (bit 5) in MSTSW> [MSTSW] (READ)
SENI = 1: When IEND = 1 and a stop interrupt occurs, make this bit 1. 7 0
After reading MSTSW, it will become 0.
SERR = 1: Becomes 1 when an error interrupt occurs. Becomes 0 by - - n n - n - -
reading REST.
SINT = 1: Becomes 1 when an event interrupt occurs. Becomes 0 by
reading RIST.
Set the interrupt mask <INTM (bit 29) in RENV1> [RENV1] (WRITE)
1: Mask #INT output. 31 24
- - n - - - - -
Setting a stop interrupt <IEND (bit 27) in RENV2> [RENV2] (WRITE)
1: Enable a stop interrupt. 31 24
- - - - n - - -
Select the stop interrupt mode <MENI (bit 7) of PRMD> [PRMD] (WRITE)
1: When there is data for the next operation in the pre-register, the PCL will not 7 0
output a stop interrupt.
n - - - - - - -
Read the cause of the error interrupt <Register control command: RREST> [Read command]
Copy the data in the REST register (error interrupt cause) to BUF. F2h
Read the event interrupt cause <Register control command: PRIST> [Read command]
Copy the data in the RIST register (event interrupt cause) to BUF. F3h
Set the event interrupt cause <Register control command: WRIRQ> [Write command]
Write the BUF data to the RIRQ register (event interrupt cause). ACh
This is operation is used to write data for the next operation and the operation after that when starting.
Note: Even if IEND = 1 and MENI = 1, if no pre-register has been specified (a Start command has been
written), interrupt signal is output.
- 144 -
[Error interrupt causes] <Detail of REST: The cause of an interrupt makes the corresponding bit "1">
Cause (REST)
Error interrupt cause
Bit Bit name
Stopped by Comparator 1 conditions being satisfied (+SL) 0 ESC1
Stopped by Comparator 2 conditions being satisfied (-SL) 1 ESC2
Stopped by Comparator 3 conditions being satisfied 2 ESC3
Stopped by Comparator 4 conditions being satisfied 3 ESC4
Stopped by Comparator 5 conditions being satisfied 4 ESC5
Stopped by turning ON the +EL input 5 ESPL
Stopped by turning ON the -EL input 6 ESML
Stopped by turning ON the ALM input 7 ESAL
Stopped by turning ON the #CSTP input 8 ESSP
Stopped by turning ON the #CEMG input 9 ESEM
Deceleration stopped by turning ON the SD input 10 ESSD
(Always 0) 11 Not defined
Stopped by an operation data error. 12 ESDT
Simultaneously stopped with another axis due to an error stop on the other axis during
13 ESIP
an interpolation operation
Stopped by an overflow of PA/PB input buffer counter occurrence 14 ESPO
Stopped by an over range count occurrence while positioning in an interpolation 15 ESAO
operation
An EA/EB input error occurs (does not stop). 16 ESEE
A PA/PB input error occurs (does not stop). 17 ESPE
[Event interrupt causes] < The corresponding interrupt bit is set to 1 and then an interrupt occurred>
Set cause (RIRQ) Cause (RIST)
Event interrupt cause
Bit Bit name Bit Bit name
Automatic stop 0 IREN 0 ISEN
The next operation starts continuously 1 IRN 1 ISN
When it is possible to write an operation to the 2nd pre-register 2 IRNM 2 ISNM
When it is possible to write to the 2nd pre-register for Comparator 5 3 IRND 3 ISND
When acceleration starts 4 IRUS 4 ISUS
When acceleration ends 5 IRUE 5 ISUE
When deceleration starts 6 IRDS 6 ISDS
When deceleration ends 7 IRDE 7 ISDE
When the Comparator 1 conditions are satisfied 8 IRC1 8 ISC1
When the Comparator 2 conditions are satisfied 9 IRC2 9 ISC2
When the Comparator 3 conditions are satisfied 10 IRC3 10 ISC3
When the Comparator 4 conditions are satisfied 11 IRC4 11 ISC4
When the Comparator 5 conditions are satisfied 12 IRC5 12 ISC5
When the counter value is reset by a CLR signal input 13 IRCL 13 ISCL
When the counter value is latched by an LTC input 14 IRLT 14 ISLT
When the counter value is latched by an ORG input 15 IROL 15 ISOL
When the SD input is turned ON 16 IRSD 16 ISSD
When the +DR input changes 17 ISPD
17 IRDR
When the -DR input changes 18 ISMD
When the #CSTA input is turned ON 18 IRSA 19 ISSA
- 145 -
12. Electrical Characteristics
12-3. DC characteristics
VIH=5.5V, VDD=3.0V 30 µA
IOL = 6 mA 0.4 V
LOW output voltage VOL
IOH = -6 uA Vdd-0.4 V
HIGH output voltage VOH
LOW output current IOL VOL = 0.4 V 6 mA
HIGH output current IOH VOH = VDD -0.4 V -6 mA
Internal pull up I/O terminals other than #CE, #RD,
RUP 40 240 K-ohm
resistance #WR, A0 to A4, D0 to D15 and CLK
- 146 -
12-4. AC characteristics 1) (reference clock)
- 147 -
12-5. AC characteristics 2) (CPU- I/F)
<Read cycle>
A0 to A4
TAR TRWA
#CS
TCSR TRWCS
#WRQ
TCSWT TWAIT
#RD
TRDHD
D0 to D7
TRDLD TWTHD
<Write cycle>
A0 to A4
TAW TRWA
#CS
TCSW TRWCS
#WRQ
TCSWT TWAIT
#WR TWRD
TWR
D0 to D7
TDWR
- 148 -
12-5-2. CPU-I/F 2) (IF1 = H, IF0 = L) 8086
<Read cycle>
A1 to A4
TAR TRWA
#CS
TCSR TRWCS
#WRQ
TCSWT TWAIT
#RD
TRDHD
D0 to D15
TRDLD
TWTHD
<Write cycle>
A1 to A4
TAW TRWA
#CS TCSW
TRWCS
#WRQ
TCSWT TWAIT
#WR
TWR
TWRD
D0 to D15
TDWR
- 149 -
12-5-3. CPU-I/F 3) (IF1 = L, IF0 = L) H8
Item Symbol Condition Min. Max. Unit
Address setup time for #RD ↓ TAR 11 ns
Address setup time for #WR ↓ TAW 11 ns
Address hold time for #RD, #WR ↑ TRWA 0 ns
#CS setup time for #RD↓ TCSR 3 ns
#CS setup time for #WR ↓ TCSW 3 ns
#CS hold time for #RD, #WR ↑ TRWCS 0 ns
#WRQ ON delay time for #CS ↓ TCSWT CL = 40pF 12 ns
#WRQ signal LOW time TWAIT 4TCLK ns
Data output delay time for #RD ↓ TRDLD CL = 40pF 24 ns
Data output delay time for #WRQ ↑ TWTHD CL = 40pF 13 ns
Data float delay time for #RD ↑ TRDHD CL = 40pF 21 ns
#WR signal width TWR Note 1 7 ns
Data setup time for #WR ↑ TDWR 11 ns
Data hold time for #WR ↑ TWRD 0 ns
Note 1: When a #WRQ signal is output, the duration will be the interval between #WRQ = H and #WR = H.
<Read cycle>
A1 to A4
TAR TRWA
#CS
TCSR TRWCS
#WRQ
TCSWT TWAIT
#RD
TRDHD
D0 to D15
TRDLD TWTHD
<Write cycle>
A1 to A4
TAW TRWA
#CS
TCSW
TRWCS
#WRQ
TCSWT TWAIT
#WR
TWRD
TWR
D0 to D15
TDWR
- 150 -
12-5-4. CPU-I/F 4) (IF1 = L, IF0 = L) 68000
Item Symbol Condition Min. Max. Unit
Address setup time for #LS ↓ TAS 10 ns
Address hold time for #LS ↑ TSA 0 ns
#CS setup time for #LS ↓ TCSS 2 ns
#CS hold time for #LS ↑ TSCS 2 ns
R/#W setup time for #LS ↓ TRWS 4 ns
R/#W hold time for #LS ↑ TSRW 2 ns
TSLAKR CL = 40pF 1TCLK 5TCLK ns
#ACK ON delay time for #LS ↓
TSLAKW CL = 40pF 1TCLK 5TCLK ns
TSHAKR CL = 40pF 15 ns
#ACK OFF delay time for #LS ↑
TSHAKW CL = 40pF 15 ns
Data output advance time for #ACK ↓ TDAKLR CL = 40pF 1TCLK ns
Data float delay time for #LS ↑ TSHD CL = 40pF 22 ns
Data setup time for #LS ↑ TDSL 12 ns
Data hold time for #ACK ↓ TAKDH 0 ns
<Read cycle>
A1 to A4
TAS TSA
#CS
TSCS
TCSS
#LS(A0)
TRWS
TSRW
R/#W(#WR)
TSLAKR
TSHAKR
#ACK(#WRQ)
TDAKLR
D0 to D15
TSHD
<Write cycle>
A1 to A4
TAS TSA
#CS
TSCS
TCSS
#LS(A0)
TRWS
TSRW
R/#W(#WR)
TSLAKW TSHAKW
#ACK(#WRQ)
TDSL
D0 to D15
TAKDH
- 151 -
12-6. Operation timing
Note 1: Longer than 10 cycles of CLK signal is necessary to be input while the #RST terminal is LOW.
Note 2: If the input filter is ON < EINF (bit 18) = 1 in RENV2 >, the minimum time will be 3TCLK.
Note 3: If the input filter is ON < PINF (bit 19) = 1 in RENV2 >, the minimum time will be 3TCLK.
Note 4: If the input filter is ON < FLTR (bit 26) = 1 in RENV1 >, the minimum time will be 80TCLK.
Note 5: If the input filter is ON < DRF (bit 27) = 1 in RENV1 >, the minimum time will be 655,360TCLK.
- 152 -
1) When the EA, EB inputs are in the Two-pulse mode
TEAB TEAB TEAB
EA
TEAB TEAB TEAB TESB
EB
EA
TEAB TEAB TEAB TEAB
EB
EA
TPAB TPAB TPAB EASB
EB
o
4) When the PA, PB inputs are in the 90 phase-difference mode
PA
TPAB TPAB TPAB TPAB
PB
#BSY
TCMDPLS
OUT
Initial output pulse
6) Simultaneous start timing
#CSTA
TSTABSY
#BSY
TSTAPLS
OUT
Initial output pulse
- 153 -
13. External Dimensions
Unit: mm
- 154 -
Appendix 1: List of commands
<Operation commands>
COMB0 Symbol Description COMB0 Symbol Description
05h CMEMG Emergency stop 50h STAFL FL constant speed start
#CSTA output
06h CMSTA 51h STAFH FH constant speed start
(simultaneous start)
#CSTP output High speed start 1 (FH constant speed ->
07h CMSTP 52h STAD
(simultaneous stop) Deceleration stop)
Immediate change to FL High speed start 2 (acceleration -> FH
40h FCHGL 53h STAUD
constant speed constant speed -> deceleration stop)
Immediate change to FH FL constant speed start for remaining
41h FCHGH 54h CNTFL
constant speed number of pulses
FH constant speed start for remaining
42h FSCHL Decelerate to FL speed 55h CNTFH
number of pulses
High speed start 1 for remaining number
43h FSCHH Accelerate to FH speed 56h CNTD
of pulses
High speed start 2 for remaining number
49h STOP Immediate stop 57h CNTUD
of pulses
4Ah SDSTP Deceleration stop
<Control commands>
COMB0 Symbol Description COMB0 Symbol Description
00h NOP (Invalid command) 27h PCPCAN Clear the RCMP5 pre-register
04h SRST Software reset 28h STAON Substitute PCS input
Reset COUNTER1
20h CUN1R 29h LTCH Substitute LTC input
(command position)
Reset COUNTER2 Uses the same process as the
21h CUN2R 2Ah SPSTA
(mechanical position) #CSTA input, but for own axis
Reset COUNTER3
22h CUN3R 2Bh PRESHF Shift the operation pre-register data
(deflection counter)
Reset COUNTER4
23h CUN4R 2Ch PCPSHF Shift the RCMP5 pre-register
(general-purpose)
24h ERCOUT Output an ERC signal 2Dh SENIR Reset SENI bit (MSTSW)
25h ERCRST Reset the ERC signal 2Eh SEORR Reset SEOR bit (MSTSW)
Clear the operation Set the speed change data in the
26h PRECAN 4Fh PRSET
pre-register working pre-register.
- 155 -
<Register control commands>
Register 2nd pre-register
Read command Write command Read command Write command
No. Description
Name COM COM Name COM COM
Symbol Symbol Symbol Symbol
B0 B0 B0 B0
Number of feed
1 pulses / target RMV D0h RRMV 90h WRMV PRMV C0h RPRMV 80h WPRMV
position
2 Initial speed RFL D1h RRFL 91h WRFL PRFL C1h RPRFL 81h WPRFL
3 Operation speed RFH D2h RRFH 92h WRFH PRFH C2h RPRFH 82h WPRFH
4 Acceleration rate RUR D3h RRUR 93h WRUR PRUR C3h RPRUR 83h WPRUR
5 Deceleration rate RDR D4h RRDR 94h WRDR PRDR C4h RPRDR 84h WPRDR
Speed
6 RMG D5h RRMG 95h WRMG PRMG C5h RPRMG 85h WPRMG
magnification rate
Ramping-down
7 RDP D6h RRDP 96h WRDP PRDP C6h RPRDP 86h WPRDP
point
8 Operation mode RMD D7h RRMD 97h WRMD PRMD C7h RPRMD 87h WPRMD
Circular
9 interpolation RIP D8h RRIP 98h WRIP PRIP C8h RPRIP 88h WPRIP
center
S-curve range
10 RUS D9h RRUS 99h WRUS PRUS C9h RPRUS 89h WPRUS
while accelerating
S-curve range
11 RDS DAh RRDS 9Ah WRDS PRDS CAh RPRDS 8Ah WPRDS
while decelerating
Feed speed to
12 correct feed RFA DBh RRFA 9Bh WRFA
distance
Environment
13 RENV1 DCh RRENV1 9Ch WRENV1
setting 1
Environment
14 RENV2 DDh RRENV2 9Dh WRENV2
setting 2
Environment
15 RENV3 DEh RRENV3 9Eh WRENV3
setting 3
Environment
16 RENV4 DFh RRENV4 9Fh WRENV4
setting 4
Environment
17 RENV5 E0h RRENV5 A0h WRENV5
setting 5
Environment
18 RENV6 E1h RRENV6 A1h WRENV6
setting 6
Environment
19 RENV7 E2h RRENV7 A2h WRENV7
setting 7
COUNTER1
20 (command RCUN1 E3h RRCUN1 A3h WRCUN1
position)
COUNTER2
21 (mechanical RCUN2 E4h RRCUN2 A4h WRCUN2
position)
COUNTER3
22 (deflection RCUN3 E5h RRCUN3 A5h WRCUN3
counter)
COUNTER4
23 RCUN4 E6h RRCUN4 A6h WRCUN4
(general-purpose)
24 Comparator 1 data RCMP1 E7h RRCMP1 A7h WRCMP1
25 Comparator 2 data RCMP2 E8h RRCMP2 A8h WRCMP2
26 Comparator 3 data RCMP3 E9h RRCMP3 A9h WRCMP3
27 Comparator 4 data RCMP4 EAh RRCMP4 AAh WRCMP4
28 Comparator 5 data RCMP5 EBh RRCMP5 ABh WRCMP5 PRCP5 CBh RPRCP5 8Bh WPRCP5
Enable various
29 event interrupts RIRQ ECh RRIRQ ACh WRIRQ
(INTs)
COUNTER1 latch
30 RLTC1 EDh RRLTC1
data
COUNTER2 latch
31 RLTC2 EEh RRLTC2
data
COUNTER3 latch
32 RLTC3 EFh RRLTC3
data
COUNTER4 latch
33 RLTC4 F0h RRLTC4
data
- 156 -
Register 2nd pre-register
Read command Write command Read command Write command
No. Description
Name COM COM Name COM COM
Symbol Symbol Symbol Symbol
B0 B0 B0 B0
34 Extension status RSTS F1h RRSTS
35 Error INT status REST F2h RREST B2h WREST
36 Event INT status RIST F3h RRIST B3h WRIST
Positioning
37 RPLS F4h RRPLS
counter
EZ counter, speed
38 RSPD F5h RRSPD
monitor
Ramping-down
39 RSDC F6h RRSDC
point
Number of steps
40 for circular RCI FCh RRCI BCh WRCI PRCI CCh RPRCI 8Ch WPRCI
interpolation
Counter of steps
41 for circular RCIC FDh RRCIC
interpolation
Interpolation
42 RIPS FFh RRIPS
status
- 157 -
Appendix 2: Setting speed pattern
Bit length
Pre-register Description Setting range Register
setting range
-134,217,728 to 134,217,727
PRMV Positioning amount 28 RMV
(8000000h) (7FFFFFFh)
PRFL Initial speed 16 1 to 65,535 (0FFFFh) RFL
PRFH Operation speed 16 1 to 65,535 (0FFFFh) RFH
PRUR Acceleration rate 16 1 to 65,535 (0FFFFh) RUR
PRDR Deceleration rate Note 1 16 0 to 65,535 (0FFFFh) RDR
PRMG Speed magnification rate 12 2 to 4,095 (0FFFh) RMG
PRDP Ramping-down point 24 0 to 16,777,215 (0FFFFFFh) RDP
PRUS S-curve acceleration range 15 0 to 32,767 (7FFFh) RUS
PRDS S-curve deceleration range 15 0 to 32,767 (7FFFh) RDS
Note 1: If PRDR is set to zero, the deceleration rate will be the value set in the PRUR.
[Relative position of each register setting for acceleration and deceleration factors]
Acceleration rate: Set in PRUR
S-curve deceleration
Preset amount for positioning range: Set in PRDS
S-curve Acceleration range: operation : Set in PRMV
Set in PRUS
t
Ramp down point for positioning operation :
Set in PRDP or set automatically
- 158 -
PRUR: Acceleration rate setting register (16-bit)
Specify the acceleration characteristic for high speed operations (acceleration/deceleration operations), in
the range of 1 to 65,535 (0FFFFh)
Relationship between the value entered and the acceleration time will be as follows:
2) S-curve acceleration without a linear range (MSMD=1 in the PRMD register and PRUS register =0)
(PRFH - PRFL) x (PRUR + 1) x 8
Acceleration time [s] =
Reference clock frequency [Hz]
3) S-curve acceleration with a linear range (MSMD=1 in the PRMD register and PRUS register >0)
(PRFH - PRFL + 2 x PRUS) x (PRUR + 1) x 4
Acceleration time [s] =
Reference clock frequency [Hz]
2) S-curve deceleration without a linear range (MSMD=1 in the PRMD register and PRDS register = 0)
(PRFH - PRFL) x (PRDR + 1) x 8
Deceleration time [s] =
Reference clock frequency [Hz]
3) S-curve deceleration with a linear range (MSMD=1 in the PRMD register and PRDS register >0)
(PRFH - PRFL + 2 x PRDS) x (PRDR + 1) x 4
Deceleration time [s] =
Reference clock frequency [Hz]
- 159 -
PRMG: Magnification rate register (12-bit)
Specify the relationship between the PRFL and PRFH settings and the speed, in the range of 2 to 4,095
(0FFFh). As the magnification rate is increased, the speed setting units will tend to be approximations.
Normally set the magnification rate as low as possible.
The relationship between the value entered and the magnification rate is as follows.
[Magnification rate setting example, when the reference clock =19.6608 MHz] (Output speed unit: pps)
However, the optimum value for a triangle start, without changing the value in the PRFH register while
turning OFF the FH correction function (MADJ = 1 in the PRMD register) will be calculated as shown the
equation below.
(When using idling control, modify the value for PRMV in the equation below by deducting the number of
idling pulses from the value placed in the PRMV register. The number of idling pulses will be "1 to 6"
when IDL = 2 to 7 in RENV5.)
PRMV x (PRDR + 1)
Optimum value [Number of pulses] =
PRUR + PRDR + 2
2) S-curve deceleration without a linear range (MSMD=1 in the PRMD register and the PRDS register
=0)
(PRFH2 - PRFL2) x (PRDR + 1) x 2
Optimum value [Number of pulses] =
(PRMG + 1) x 32768
3) S-curve deceleration with a linear range (MSMD=1 in the PRMD register and the PRDS register >0)
(PRFH + PRFL) x (PRFH - PRFL + 2 x PRDS) x (PRDR + 1)
Optimum value [Number of pulses] =
(PRMG + 1) x 32768
Start deceleration at the point when the (positioning counter value) (RDP set value).
When the value for the ramping-down point is smaller than the optimum value, the speed when stopping
will be faster than the FL speed. On the other hand, if it is larger than the optimum value, the axis will feed
- 160 -
at FL constant speed after decelerating is complete.
In other words, speeds between the FL speed and (FL speed + SSU), and between (FH speed - SSU) and the
FH speed, will be S-curve acceleration operations. Intermediate speeds will use linear acceleration.
However, if zero is specified, "(PRFH - PRFL)/2" will be used for internal calculations, and the operation will
be an S-curve acceleration without a linear component.
In other words, speeds between the FH speed and (FH speed - SSD), and between (FL speed +SSD) and the
FL speed, will be S-curve deceleration operations. Intermediate speeds will use linear deceleration.
However, if zero is specified, "(PRFH - PRFL)/2" will be used for internal calculations, and the operation will
be an S-curve deceleration without a linear component.
- 161 -
Appendix 3: Label list
Label Type Position Description Reference
A0 Terminal name 6 Address bus 0 (LSB) P7, 16
A1 Terminal name 7 Address bus 1 P7, 16
A2 Terminal name 8 Address bus 2 P7, 16
A3 Terminal name 9 Address bus 3 P7, 16
A4 Terminal name 10 Address bus 4 (MSB) P7, 16
RENV6
ADJ0 to 1 Register bit Select the feed amount correction method P50
12-13
ALML Register bit RENV1 9 Set the input logic for the ALM signal (0: Negative, 1: Positive) P39, 114
Select the process to use when the ALM input is ON (0:
ALMM Register bit RENV1 8 P39, 114
Immediate stop, 1: Deceleration stop)
ALMu Terminal name 134 U axis driver alarm signal (to stop the axis) P8, 114
ALMx Terminal name 38 X axis driver alarm signal (to stop the axis) P8, 114
ALMy Terminal name 70 Y axis driver alarm signal (to stop the axis) P8, 114
ALMz Terminal name 102 Z axis driver alarm signal (to stop the axis) P8, 114
AS0 to 15 Register bit RSPD 0-15 Monitor current speed P58
BR0 to 11 Register bit RENV6 0-11 Specify a backlash correction or slip correction amount. P50, 133
Increment/decrement COUNTER4 only while in operation
BSYC Register bit RENV3 14 P44, 124
(#BSY = L)
#BSYu Terminal name 148 Operation monitor output for the U axis P10
#BSYx Terminal name 60 Operation monitor output for the X axis P10
#BSYy Terminal name 81 Operation monitor output for the Y axis P10
#BSYz Terminal name 125 Operation monitor output for the Z axis P10
BUFB0 Byte map name 4 for Z80 Write/read the input/output buffer (bits 0 to 7). P16, 18
BUFB1 Byte map name 5 for Z80 Write/read the input/output buffer (bits 8 to 15) P16, 18
BUFB2 Byte map name 6 for Z80 Write/read the input/output buffer (bits 16 to 23) P16, 18
BUFB3 Byte map name 7 for Z80 Write/read the input/output buffer (bits 24 to 31) P16, 18
Word map
BUFW0 4 for 8086 Write/read the input/output buffer (bits 0 to 15) P16, 18
name
Word map
BUFW1 6 for 8086 Write/read the input/output buffer (bits 16 to 31) P16, 18
name
C1C0 to 1 Register bit RENV4 0-1 Select a comparison counter for comparator1 P46, 125
Select a process to execute when the comparator1 conditions
C1D0 to 1 Register bit RENV4 5-6 P46, 126
are met
C1S0 to 2 Register bit RENV4 2-4 Select a comparison method for comparator1 P46, 132
C1RM Register bit RENV4 7 Set COUNTER1 for ring count operation using Comparator 1. P46, 132
C2C0 to 1 Register bit RENV4 8-9 Select a comparison counter for comparator2 P46, 125
RENV4 Select a process to execute when the comparator2 conditions
C2D0 to 1 Register bit P46, 126
13-14 are met
RENV4
C2S0 to 2 Register bit Select a comparison method for comparator2 P46, 126
10-12
C2RM Register bit RENV4 15 Set COUNTER2 for ring count operation using Comparator 2 P46, 132
RENV4
C3C0 to 1 Register bit Select a comparison counter for comparator3 P46, 125
16-17
RENV4 Select a process to execute when the comparator3 conditions
C3D0 to 1 Register bit P47, 126
21-22 are met
RENV4
C3S0 to 2 Register bit Select a comparison method for comparator3 P47, 126
18-20
RENV4
C4C0 to 1 Register bit Select a comparison counter for comparator4 P47, 125
24-25
RENV4 Select a process to execute when the comparator4 conditions
C4D0 to 1 Register bit P47, 126
30-31 are met
RENV4
C4S0 to 3 Register bit Select a comparison method for comparator4 P47, 126
26-29
C5C0 to 2 Register bit RENV5 0-2 Select a comparison counter for comparator5 P48, 125
Select a process to execute when the comparator5 conditions
C5D0 to 1 Register bit RENV5 6-7 P48, 126
are met
C5S0 to 2 Register bit RENV5 3-5 Select a comparison method for comparator5 P48, 126
#CEMG Terminal name 170 Emergency stop signal P8, 118
- 162 -
CI20 to 21 Register bit RENV3 8-9 Specify the input count COUNTER2 (mechanical position) P44, 119
RENV3
CI30 to 31 Register bit Specify the input count COUNTER3 (deflection counter) P44, 119
10-11
RENV3
CI40 to 41 Register bit Specify the input count COUNTER4 (general-purpose) P44, 119
12-13
CLK Terminal name 164 Reference clock (19.6608 MHz as standard) P7
RENV1
CLR0 to 1 Register bit Select the CLR input mode P40, 122
20-21
CLRu Terminal name 151 Clear the counter input for the U axis P9, 122
CLRx Terminal name 50 Clear the counter input for the X axis P9, 122
CLRy Terminal name 86 Clear the counter input for the Y axis P9, 122
CLRz Terminal name 114 Clear the counter input for the Z axis P9, 122
CMEMG Command 05h Emergency stop P23, 118
CMSTA Command 06h Output #CSTA (simultaneous start) signal P22, 116
CMSTP Command 70h 07h Output #CSTP (simultaneous stop) signal P23, 118
CND0 to 3 Register bit RSTS 0-3 Operation status monitor P55
Remaining high speed start pulses (FH constant speed ->
CNTD Command 56h P22
Deceleration stop)
CNTFH Command 55h Remaining pulses FH constant speed start pulses P22
CNTFL Command 54h Remaining pulses FL constant speed start pulses P22
Remaining high speed start pulses (accelerate -> FH constant
CNTUD Command 57h P22
speed -> deceleration stop)
COMB0 Byte map name 0 when Z80 Write control command P16, 18
COMB1 Byte map name 1 when Z80 Axis selection P16, 18
Word map
COMW 0 when 8086 Assign an axis, or write a control command P16, 18
name
COUNTER1 Circuit name 28-bit counter for command position control P2, 119
COUNTER2 Circuit name 28-bit counter for mechanical position control P2, 119
COUNTER3 Circuit name 16-bit counter for the deflection counter P2, 119
COUNTER4 Circuit name 28-bit counter for the general-purpose counter P2, 119
#CS Terminal name 3 Chip select signal P7
#CSTA Terminal name 168 Simultaneous start signal P8, 115
#CSTP Terminal name 169 Simultaneous stop signal P8, 117
Operate COUNTER1 (command position) with backlash/slip
CU1B Register bit RENV3 24 P45 133
correction
Reset COUNTER1 (command position) by turning ON the CLR
CU1C Register bit RENV3 16 P44, 122
input.
Reset COUNTER1 (command position) right after latching the
CU1L Register bit RENV5 24 P49, 122
count value.
Reset COUNTER1 (command position) when the zero return is
CU1R Register bit RENV3 20 P44, 122
complete
Operate COUNTER2 (mechanical position) with backlash/slip
CU2B Register bit RENV3 25 P45, 133
correction
Reset COUNTER2 (mechanical position) by turning ON the
CU2C Register bit RENV3 17 P44, 122
CLR input
CU2H Register bit RENV3 29 Stop the count on COUNTER2 (mechanical position) P45, 124
Reset COUNTER2 (mechanical position) right after latching the
CU2L Register bit RENV5 25 P49, 122
count value.
Reset COUNTER2 (mechanical position) when the zero return
CU2R Register bit RENV3 21 P44, 122
is complete
CU3B Register bit RENV3 25 Operate COUNTER3 (deflection) with backlash/slip correction P45, 133
Reset the COUNTER3 (deflection) by turning ON the CLR
CU3C Register bit RENV3 18 P44, 122
input.
CU3H Register bit RENV3 30 Stop the count on COUNTER3 (deflection) P45, 124
Reset COUNTER3 (deflection) right after latching the count
CU3L Register bit RENV5 26 P49, 122
value.
Reset COUNTER3 (deflection) when the zero return is
CU3R Register bit RENV3 22 P44, 122
complete
Operate COUNTER4 (general-purpose) backlash/slip
CU4B Register bit RENV3 27 P44, 133
correction
Reset COUNTER4 (general-purpose) by turning ON the CLR
CU4C Register bit RENV3 19 P44, 122
input
CU4H Register bit RENV3 31 Stop the count on COUNTER4 (general-purpose) P45, 124
Reset COUNTER4 (general-purpose) right after latching the
CU4L Register bit RENV5 27 P49, 122
count value.
- 163 -
Reset COUNTER4 (general-purpose) when the zero position
CU4R Register bit RENV3 23 P44, 122
operation is complete
Reset COUNTER4 (general-purpose) when the zero position
CU4R Register bit RENV3 23 P44, 122
operation is complete
CUN1R Command 20h Reset COUNTER1 (command position) P25, 122
CUN2R Command 21h Reset COUNTER2 (mechanical position) P25, 122
CUN3R Command 22h Reset COUNTER3 (deflection counter) P25, 122
CUN4R Command 23h Reset COUNTER4 (general purpose) P25, 122
D0 Terminal name 15 Data bus 0 (LSB) P8
D1 Terminal name 15 Data bus 1 P8
D10 Terminal name 27 Data bus 10 P8
D11 Terminal name 28 Data bus 11 P8
D12 Terminal name 29 Data bus 12 P8
D13 Terminal name 30 Data bus 13 P8
D14 Terminal name 31 Data bus 14 P8
D15 Terminal name 32 Data bus 15 (MSB) P8
D2 Terminal name 18 Data bus 2 P8
D3 Terminal name 19 Data bus 3 P8
D4 Terminal name 20 Data bus 4 P8
D5 Terminal name 21 Data bus 5 P8
D6 Terminal name 22 Data bus 6 P8
D7 Terminal name 23 Data bus 7 P8
D8 Terminal name 24 Data bus 8 P8
D9 Terminal name 26 Data bus 9 P8
DIRu Terminal name 146 Motor drive direction signal for the U axis P9, 104
DIRx Terminal name 58 Motor drive direction signal for the X axis P9, 104
DIRy Terminal name 79 Motor drive direction signal for the Y axis P9, 104
DIRz Terminal name 123 Motor drive direction signal for the Z axis P9, 104
DRF Register bit RENV1 27 Apply a filter to +DR, -DR signal input P40, 67
Select +DR, -DR signal input logic (0: Negative logic, 1: Positive
DRL Register bit RENV1 25 P40, 67
logic)
+DRu Terminal name 141 Manual (+) input for the U axis P9, 67
-DRu Terminal name 142 Manual (-) input for the U axis P9, 67
+DRx Terminal name 46 Manual (+) input for the X axis P9, 67
-DRx Terminal name 47 Manual (-) input for the X axis P9, 67
+DRy Terminal name 82 Manual (+) input for the Y axis P9, 67
-DRy Terminal name 83 Manual (-) input for the Y axis P9, 67
+DRz Terminal name 110 Manual (+) input for the Z axis P9, 67
-DRz Terminal name 111 Manual (-) input for the Z axis P9, 67
DTMF Register bit RENV1 28 Turn OFF the direction change timer (0.2 msec) P40
EAu Terminal name 135 Encoder A phase signal for the U axis P9
EAx Terminal name 40 Encoder A phase signal for the X axis P9
EAy Terminal name 71 Encoder A phase signal for the Y axis P9
EAz Terminal name 103 Encoder A phase signal for the Z axis P9
EBu Terminal name 136 Encoder B phase signal for the U axis P9
EBx Terminal name 41 Encoder B phase signal for the X axis. P9
EBy Terminal name 72 Encoder B phase signal for the Y axis P9
EBz Terminal name 104 Encoder B phase signal for the Z axis P9
ECZ0 to 3 Register bit RSPD 16-19 Read the count value of the EZ input to monitor the zero return P58
EDIR Register bit RENV2 22 Reverse the EA, EB input count direction P42, 120
RENV2
EIM0 to 1 Register bit Specify the EA, EB input parameters P42, 120
20-21
EINF Register bit RENV2 18 Apply a noise filter to the EA/EB input P42 120
ELLu Terminal name 174 Select the input logic of the end limit signal for the U axis P8, 107
ELLx Terminal name 171 Select the input logic of the end limit signal for the X axis P8, 107
ELLy Terminal name 172 Select the input logic of the end limit signal for the Y axis P8, 107
ELLz Terminal name 173 Select the input logic of the end limit signal for the Z axis P8, 107
Select the process to execute when the EL input is ON
ELM Register bit RENV1 3 P36, 107
(0: Immediate stop, 1: Deceleration stop)
+ELu Terminal name 130 (+) end limit signal for the U axis P8, 107
-ELu Terminal name 131 (-) end limit signal for the U axis P8, 107
+ELx Terminal name 34 (+) end limit signal for the X axis P8, 107
-ELx Terminal name 35 (-) end limit signal for the X axis P8, 107
- 164 -
+ELy Terminal name 66 (+) end limit signal for the Y axis P8, 107
-ELy Terminal name 67 (-) end limit signal for the Y axis. P8, 107
+ELz Terminal name 97 (+) end limit signal for the Z axis P8, 107
-ELz Terminal name 98 (-) end limit signal for the Z axis P8, 107
EOFF Register bit RENV2 30 Invalid EA, EB input P42, 120
RENV1
EPW0 to 2 Register bit Specify the ERC output signal pulse width P39, 113
12-14
Set the output logic of the ERC signal
ERCL Register bit RENV1 15 P39, 113
(0: Negative logic, 1: Positive logic)
ERCOUT Command 24h Output an ERC signal P25, 114
ERCRST Command 25h Reset the output when the ERC signal is set to level output P25, 114
ERCu Terminal name 147 Driver deflection clear output for the U axis P10, 113
ERCx Terminal name 59 Driver deflection clear output for the X axis P10, 113
ERCy Terminal name 80 Driver deflection clear output for the Y axis P10, 113
ERCz Terminal name 124 Driver deflection clear output for the Z axis P10, 113
EROE Register bit RENV1 10 Automatic output of the ERC signal P39, 113
EROR Register bit RENV1 11 Auto output an ERC signal when the zero return is complete P39, 113
ESAL Register bit REST 7 Equals 1 when stopped by the ALM input turning ON P56, 114
ESAO Register bit REST 15 Equals 1 when the positioning counter exceeds the count range P56
ESC1 Register bit REST 0 Stopped when the comparator1 conditions (+SL) are met P56
ESC2 Register bit REST 1 Stopped when the comparator2 conditions (-SL) are met P56
Stopped when the comaprator3 conditions (detect out-of-step)
ESC3 Register bit REST 2 P56
are met
ESC4 Register bit REST 3 Stopped when the comparator4 conditions are met. P56
ESC5 Register bit REST 4 Stopped when the comparator5 conditions are met P56
ESDT Register bit REST 12 Stopped by an operation data error P56
ESEE Register bit REST 16 An EA/EB input error occurred P56
ESEM Register bit REST 9 Stops by inputting #CEMG ON input P56, 118
When any other axis in an interpolation operation stops in an
ESIP Register bit REST 13 P56
emergency, this axis stops simultaneously
ESML Register bit REST 6 Stopped because the –EL input turned ON P56, 107
ESPE Register bit REST 17 A PA/PB input error occurred P56 ,64
ESPL Register bit REST 5 Stopped because the + EL input turned ON P56,107
ESPO Register bit REST 14 The PA/PB input buffer counter overflowed P56, 64
ESSD Register bit REST 10 Deceleration stop caused by the SD input turning ON P56, 110
ESSP Register bit REST 8 Stops by inputting #CSTP ON input P56, 118
EZL Register bit RENV2 23 Set the input logic for the EZ signal (0: Falling, 1: Rising) P42
EZu Terminal name 137 U axis encoder Z phase signal P9, 69
EZx Terminal name 42 X axis encoder Z phase signal P9, 69
EZy Terminal name 73 Y axis encoder Z phase signal P9, 69
EZz Terminal name 106 Z axis encoder Z phase signal P9, 69
RENV1
ETW0 to 1 Register bits Specify the ERC signal OFF timer P40, 113
16-17
EZD0 to 3 Register bits RENV3 4-7 Enter an EZ count value for a zero return P44, 69
RSPD
IDC0 to 2 Register bits Monitor the idling count (0 to 7 pulses) P58, 106
20-22
IDL0 to 2 Register bits RENV5 8-10 Enter the number of idling pulse (0 to 7 pulses) P48, 106
Select IDX output specification (0: Level output, 1: Pulse
IDXM Register bit RENV4 23 P47, 131
output)
IEND Register bit RENV2 27 Specify that the stop interrupt will be output. P42, 144
IF0 Terminal name 1 CPU-I/F mode selection 0 P7
IF1 Terminal name 2 CPU-I/F mode selection 1 P7
#IFB Terminal name 14 Busy CPU-I/F P7
INPL Register bit RENV1 22 P40, 112
- 165 -
INPu Terminal name 150 In position input for the U axis P9, 112
INPx Terminal name 49 In position input for the X axis P9, 112
INPy Terminal name 85 In position input for the Y axis P9, 112
INPz Terminal name 113 In position input for the Z axis P9, 112
#INT Terminal name 11 Interrupt request signal P7, 143
INTM Register bit RENV1 29 Mask the INT output terminal P40, 144
IOP0 to 7 Sub-status bits
SSTSW 0-7 Read the P0 to P7 terminal status. P20
"2 " when
IOPB Byte map name Read the general I/O port P16
using a Z80
IPCC Register bit RIPS 19 Executing a CCW circular interpolation P59
IPCW Register bit RIPS 18 Executing a CW circular interpolation P59
Executing a linear interpolation by entering master axis feed
IPE Register bit RIPS 17 P59
amount
U axis linear interpolation mode from a specified master axis
IPEu Register bit RIPS 7 P59
feed amount
X axis linear interpolation mode from a specified master axis
IPEx Register bit RIPS 4 P59
feed amount
Y axis linear interpolation mode from a specified master axis
IPEy Register bit RIPS 5 P59
feed amount
Z axis linear interpolation mode from a specified master axis
IPEz Register bit RIPS 6 P59
feed amount
IPFu Register bit RIPS 15 Specify a synthetic constant speed for the U axis P59
IPFx Register bit RIPS 12 Specify a synthetic constant speed for the X axis P59
IPFy Register bit RIPS 13 Specify synthetic constant speed for the Y axis P59
IPFz Register bit RIPS 14 Specify a synthetic constant speed for the Z axis P59
IPL Register bit RIPS 16 Executing a normal linear interpolation P59
IPLu Register bit RIPS 3 U axis is in normal linear interpolation mode P59
IPLx Register bit RIPS 0 X axis is in normal linear interpolation mode P59
IPLy Register bit RIPS 1 Y axis is in normal linear interpolation mode P59
IPLz Register bit RIPS 2 Z axis is in normal linear interpolation mode P59
IPSu Register bit RIPS 11 U axis is in circular interpolation mode P59
IPSx Register bit RIPS 8 X axis is in circular interpolation mode P59
IPSy Register bit RIPS 9 Y axis is in circular interpolation mode P59
IPSz Register bit RIPS 10 Z axis is in circular interpolation mode P59
IRC1 Register bit RIRQ 8 Enable an INT when the comparator1 conditions are met P53,145
IRC2 Register bit RIRQ 9 Enable an INT when the comparator2 conditions are met P53,145
IRC3 Register bit RIRQ 10 Enable an INT when the comparator3 conditions are met P53,145
IRC4 Register bit RIRQ 11 Enable an INT when the comparator4 conditions are met P53,145
IRC5 Register bit RIRQ 12 Enable an INT when the comparator5 conditions are met P53,145
IRCL Register bit RIRQ 13 Enable an INT when the count value is reset by a CLR input P53,145
IRDE Register bit RIRQ 7 Enable an INT when the deceleration is finished P53,145
IRDR Register bit RIRQ 17 Enable an INT when the ±DR input changes P53,145
IRDS Register bit RIRQ 6 Enable an INT when the deceleration starts P53,145
IREN Register bit RIRQ 0 Enable an INT when there is a normal stop P53,145
IRLT Register bit RIRQ 14 Enable an INT when the count value is latched by an LTC input P53,145
IRN Register bit RIRQ 1 Enable INT by continuing with the next operation. P53,145
Enable an INT when writing to the 2nd pre-register for P53,145
IRND Register bit RIRQ 3
comparator5 is enabled
Enable an INT when writing to 2nd pre-register for operation is P53,145
IRNM Register bit RIRQ 2
enabled
IROL Register bit RIRQ 15 Enable an INT when the count value is latched by an ORG input P53,145
IRSA Register bit RIRQ 18 Enable an INT by turning ON the #CSTA input P53,145
IRSD Register bit RIRQ 16 Enable an INT by turning ON the SD input P53,145
IRUE Register bit RIRQ 5 Enable an INT when the acceleration is finished P53,145
IRUS Register bit RIRQ 4 Enable an INT when acceleration starts P53,145
ISC1 Register bit RIST 8 Comparator 1 conditioned status P57,145
ISC2 Register bit RIST 9 Comparator 2 conditioned status P57,145
ISC3 Register bit RIST 10 Comparator 3 conditioned status P57,145
ISC4 Register bit RIST 11 Comparator 4 conditioned status P57,145
ISC5 Register bit RIST 12 Comparator 5 conditioned status P57,145
ISCL Register bit RIST 13 Reset the count value when a CLR signal is input P57,145
ISDE Register bit RIST 7 Equals 1 when deceleration is finished P57,145
ISDS Register bit RIST 6 Equals 1 when deceleration starts P57,145
ISEN Register bit RIST 0 Equals 1 when stopped automatically P57,145
ISLT Register bit RIST 14 Equals 1 when the count value is latched by an LTC input P57,145
- 166 -
ISMD Register bit RIST 18 Equals 1 when a –DR input signal is input. P57,145
Stop auto function to be reset when RIST register and REST
ISMR Register bit RENV5 23 P49
register are read out.
ISN Register bit RIST 1 To start the next operation continuously. P57,145
ISND Register bit RIST 3 Enable writing to the 2nd pre-register for comparator5 P57,145
ISNM Register bit RIST 2 Enable writing to the 2nd pre-register for operations P57,145
ISOL Register bit RIST 15 Latched count value from the ORG input P57,145
ISPD Register bit RIST 17 Equals 1 when the +DR input is ON P57,145
ISSA Register bit RIST 19 Equals 1 when the CSTA input is ON P57,145
ISSD Register bit RIST 16 Equals 1 when the SD input is ON P57,145
ISUE Register bit RIST 5 Equals 1 when the acceleration is finished P57,145
ISUS Register bit RIST 4 Equals 1 when to start acceleration P57,145
LTCH Command 29h Substitute the LTC input (for counting or latching) P25, 123
Select the trigger edge for the LTC signal (0: Falling edge, 1:
LTCL Register bit RENV1 23 P40, 123
Rising edge)
LTCu Terminal name 152 Latch the input for the U axis P10, 123
LTCx Terminal name 51 Latch the input for the X axis P10, 123
LTCy Terminal name 87 Latch the input for the Y axis P10, 123
LTCz Terminal name 115 Latch the input for the Z axis P10, 123
LTFD Register bit RENV5 14 Latch the current speed data in place of COUNTER3 P48, 123
RENV5
LTM0 to 1 Register bits Specify the latch timing of COUNTERS 1 to 4 P48, 123
12-13
LTOF Register bit RENV5 15 Stop the latch using hardware timing P48, 123
Select the input logic for the ORG signal (0: Negative logic, 1: P39, 69
ORG Register bit RENV1 7
Positive logic)
- 167 -
ORGu Terminal name 133 Origin point signal for U axis P8, 69
ORGx Terminal name 37 Origin point signal for X axis P8, 69
ORGy Terminal name 69 Origin point signal for Y axis P8, 69
ORGz Terminal name 101 Origin point signal for Z axis P8, 69
ORM0 to 3 Register bits RENV3 0-3 Select origin return method P43, 70
General-purpo
OTP0 to 7 OTPW 0-7 General-purpose output port P18
se port name
2 when Change status of general-purpose output port (valid only for the
OTPB Byte map name P16
using a Z80 output specified bits)
2 when
Word map Change status of general-purpose output port (valid only for the
OTPW using an P16
name output specified bits)
8086
OUTu Terminal name 145 Motor driving pulse signals for U axis P9, 104
OUTx Terminal name 57 Motor driving pulse signals for X axis P9, 104
OUTy Terminal name 78 Motor driving pulse signals for Y axis P9, 104
OUTz Terminal name 122 Motor driving pulse signals for Z axis P9, 104
- 168 -
P7u/CP5u Terminal name 160 General-purpose port 7 for the U axis / Comparator 5 output P11, 41
P7x/CP5x Terminal name 65 General-purpose port 7 for the U axis / Comparator 5 output P11, 41
P7y/CP5y Terminal name 96 General-purpose port 7 for the U axis / Comparator 5 output P11, 41
P7z/CP5z Terminal name 129 General-purpose port 7 for the U axis / Comparator 5 output P11, 41
P0M0 to 1 Register bits RENV2 0-1 Specify the P0/FUP terminal details P41
P0RST Command 10h Set the general-purpose output port terminal P0 LOW P24
P0SET Command 18h Set the general-purpose output port terminal P0 HIGH P24
Set the P1 terminal output logic (0: Negative logic, 1: Positive P24,41
P1L Register bit RENV2 17
logic)
P1M0 to 1 Register bits RENV2 2-3 Specify the P1/FDW terminal details P41
P1RST Command 11h Set the general-purpose output port terminal P1 LOW P24
P1SET Command 19h Set the general-purpose output port terminal P1 HIGH P24
P2M0 to 1z Register bits RENV2 4-5 Specify the P2/MVC terminal details P41
P2RST Command 12h Set the general-purpose output port terminal P2 LOW P24
P2SET Command 1Ah Set the general-purpose output port terminal P2 HIGH P24
P3M0 to 1 Register bits RENV2 6-7 Specify the P3/CP1 (+SL) terminal details P41
P3RST Command 13h Set the general-purpose output port terminal P3 LOW P24
P3SET Command 1Bh Set the general-purpose output port terminal P3 HIGH P24
P4M0 to 1 Register bits RENV2 8-9 Specify the P4/CP2 (-SL) terminal details P41
P4RST Command 14h Set the general-purpose output port terminal P4 LOW P24
P4SET Command 1Ch Set the general-purpose output port terminal P4 HIGH P24
RENV2 P41
P5M0 to 1 Register bits Specify the P5/CP3 terminal details
10-11
P5RST Command 15h Set the general-purpose output port terminal P5 LOW P24
P5SET Command 1Dh Set the general-purpose output port terminal P5 HIGH P24
RENV2 P41
P6M0 to 1 Register bits Specify the P6/CP4/IDX terminal details
12-13
P6RST Command 16h Set the general-purpose output port terminal P6 LOW P24
P6SET Command 1Eh Set the general-purpose output port terminal P6 HIGH P24
RENV2 P41
P7M0 to 1 Register bits Specify the P7/CP5 terminal details
14-15
P7RST Command 17h Set the general-purpose output port terminal P7 LOW P24
P7SET Command 1Fh Set the general-purpose output port terminal P7 HIGH P24
PAu Terminal name 138 Manual pulsar phase A input for the U axis P9, 62
PAx Terminal name 43 Manual pulsar phase A input for the X axis P9, 62
PAy Terminal name 74 Manual pulsar phase A input for the Y axis P9, 62
PAz Terminal name 107 Manual pulsar phase A input for the Z axis P9, 58
PBu Terminal name 139 Manual pulsar phase B input for the U axis P9, 62
PBx Terminal name 44 Manual pulsar phase B input for the X axis P9, 62
PBy Terminal name 75 Manual pulsar phase B input for the Y axis P9, 62
PBz Terminal name 108 Manual pulsar phase B input for the Z axis P9, 62
PCPCAN Command 27h Clear the pre-register (PRCP5) for PCMP5 P25
PCPSHF Command 2Bh Clear the pre-register (PRCP5) for PCMP5 P25
PCSM Register bit RENV1 300 Allow the PCS input on the local axis #CSPA signal P40
Set the input logic for the PCS signal (0: Negative logic, 1: P40, 116
PCSL Register bit RENV1 24
Positive logic)
PCSu Terminal name 143 Start positioning control for the U axis P9, 116
PCSx Terminal name 48 Start positioning control for the X axis P9, 116
PCSy Terminal name 84 Start positioning control for the Y axis P9, 116
PCSz Terminal name 112 Start positioning control for the Z axis P9, 116
RENV6 P50, 62
PD0 to 10 Register bit Set a division rate for PA, PB inputs.
16-26
PDIR Register bit RENV2 26 Reverse the counting direction of the PA and PB inputs P42, 64
Stop operation by an El signal of the same direction as P48
PDSM Register bit RENV5 11
operation.
PDTC Register bit 31 Keep the pulse width at a 50% duty cycle P40
#PEu Terminal name 140 Enable the PA, PB, +DR, -DR inputs for U axis P9, 62
#PEx Terminal name 45 Enable the PA, PB, +DR, -DR inputs for X axis P9, 62
#PEy Terminal name 76 Enable the PA, PB, +DR, -DR inputs for Y axis P9, 62
#PEz Terminal name 109 Enable the PA, PB, +DR, -DR inputs for Z axis P9, 62
PFC0 to 1 Register bits RSTS 18-19 Used as a status monitor for the PCMP5 pre-register. P32, 55
PFM0 to 1 Register bits RSTS 20-21 Used as a status monitor of the working pre-register. P31, 55
RENV2 P42, 120
PIM0 to 1 Register bits Specify the PA and PB input details
24-25
PINF Register bit RENV2 19 Apply a noise filter to the PA/PB inputs P40, 120
- 169 -
PMD0 to 2 Register bits RENV1 0-2 Specify the output pulse details P39, 104
RENV6 Specify the multiplication rate for the PA/PB inputs. P50, 62
PMG0 to 4 Register bits
27-31
PMSK Register bit RENV2 28 Specify the output pulse mask. P42
POFF Register bit RENV2 31 Disable PA, PB inputs. P42, 64
Pre-register 2nd pre-register for RCI P30, 58
PRCI
name
Pre-register 2nd pre-register for RCMP5 P30, 52
PRCP5
name
Pre-register 2nd pre-register for RDP P30, 34
PRDP
name
Pre-register 2nd pre-register for RDR P30, 34
PRDR
name
Pre-register 2nd pre-register for RDS P30, 37
PRDS
name
PRECAN Command 26h Cancel the operation pre-register. P25
PRESHF Command 27h Shift the data in the operation pre-register. P25
Pre-register 2nd pre-register for RFH P30, 33
PRFH
name
Pre-register 2nd pre-register for RFL P30, 33
PRFL
name
Pre-register 2nd pre-register for RIP P30, 37
PRIP
name
Pre-register 2nd pre-register for RMD P30, 35
PRMD
name
Pre-register 2nd pre-register for RMG P30, 34
PRMG
name
Pre-register 2nd pre-register for RMV P30, 33
PRMV
name
PRSET Command 4Fh Put speed change data into the operation pre-register. P25, 128
Pre-register 2nd pre-register for RUR P30, 33
PRUR
name
Pre-register 2nd pre-register for RUS P30, 37
PRUS
name
Specify the stop method used for stopping when a PA/PB stop P50, 65
PSTP Register bit RENV6 15
command is received
RCI Register name Circular interpolation step number data (Please refer to PRCI.) P 58, 86
RCIC Register name Circular interpolation step number counter P58
RCMP1 Register name Comparison data for comparator1 P51, 125
RCMP2 Register name Comparison data for comparator2 P51, 125
RCMP3 Register name Comparison data for comparator3 P52, 125
RCMP4 Register name Comparison data for comparator4 P52, 125
RCMP5 Register name Comparison data for comparator5 (Please refer to PRCP5.) P52, 125
RCUN1 Register name COUNTER1 (command position) P51
RCUN2 Register name COUNTER2 (mechanical position) P51
RCUN3 Register name COUNTER3 (deflection counter) P51
RCUN4 Register name COUNTER4 (general-purpose counter) P51
#RD Terminal name 4 Lead signal P7
RDP Register name Ramping-down point (Please refer to PRDP.) P34, 91
RDR Register name Deceleration rate (Please refer to PRDR.) P34, 91
RDS Register name S-curve range of deceleration (Please refer to PRDS). P37, 91
Environment setting register 1 (Specify the input/output P30, 39
RENV1 Register name
terminals)
Environment setting register 2 (Specify the details for the P30, 41
RENV2 Register name
general-purpose port)
Environment setting register 3 (Specify the details for a zero P30, 43
RENV3 Register name
return or counter)
Environment setting register 4 (Specify the details for P30, 46
RENV4 Register name
comparators 1 to 4))
Environment setting register 5 (Specify the detail for P30, 48
RENV5 Register name
comparator 5)
Environment setting register 6 (Specify the feed amount P30, 50
RENV6 Register name
correction)
Environment setting register 7 (Specify the vibration reduction P30, 50
RENV7 Register name
function details)
- 170 -
REST Register name Error INT status P56, 143
RFA Register name Speed for feeding the feed correction amount P30,38
RFH Register name Operation speed (Please refer to PRFH.) P33, 91
RFL Register name Initial speed (Please refer to PRFL.) P33, 91
Center position of a circular interpolation / Master axis feed P37, 85
RIP Register name amount when executing a linear interpolation using multiple LSI
chips (Please refer to PRIP.)
RIPS Register name Interpolation setting status and operation status P30
RIRQ Register name Enable various event interrupts P53, 143
RIST Register name Event INT status P57, 143
RLTC1 Register name COUNTER1 (command position) latch data P53, 123
RLTC2 Register name COUNTER2 (mechanical position) latch data P53, 123
RLTC3 Register name COUNTER3 (deflection counter) latch data P54, 123
RLTC4 Register name COUNTER4 (general-purpose) latch data P54, 123
RMD Register name Operation mode (Please refer to PRMD.) P30, 35
RMG Register name Speed magnification rate (Please refer to PRMG.) P34, 91
RMV Register name Feed amount or target position (Please refer to PRMV.) P33, 91
RPLS Register name Number of pulses remaining to be fed P30, 57
RPRCI Command CCh Copy PRCI data to BUF P28
RPRCP5 Command CBh Copy PRCP5 data to BUF P27
RPRDP Command C6h Copy PRDP data to BUF P27
RPRDR Command C4h Copy PRDR data to BUF P27
RPRDS Command CAh Copy PRDS data to BUF P27
RPRFH Command C2h Copy PRFH data to BUF P27
RPRFL Command C1h Copy PRFL data to BUF P27
RPRIP Command C8h Copy PRIP data to BUF P27
RPRMD Command C7h Copy PRMD data to BUF P27
RPRMG Command C5h Copy PRMG data to BUF P27
RPRMV Command C0h Copy PRMV data to BUF P27
RPRUR Command C3h Copy PRUR data to BUF P27
RPRUS Command C9h Copy PRUS data to BUF P27
RRCI Command FCh Copy RCI data to BUF P28
RRCIC Command FDh Copy RCIC data to BUF P28
RRCMP1 Command E7h Copy RCMP1 data to BUF P27
RRCMP2 Command E8h Copy RCMP2 data to BUF P27
RRCMP3 Command E9h Copy RCMP3 data to BUF P27
RRCMP4 Command EAh Copy RCMP4 data to BUF P27
RRCMP5 Command EBh Copy RCMP5 data to BUF P27
RRCUN1 Command E3h Copy RCUN1 data to BUF P27
RRCUN2 Command E4h Copy RCUN2 data to BUF P27
RRCUN3 Command E5h Copy RCUN3 data to BUF P27
RRCUN4 Command E6h Copy RCUN4 data to BUF P27
RRDP Command D6h Copy RDP data to BUF P27
RRDR Command D4h Copy RDR data to BUF P27
RRDS Command DAh Copy RDS data to BUF P27
RRENV1 Command DCh Copy RENV1 data to BUF P27
RRENV2 Command DDh Copy RENV2 data to BUF P27
RRENV3 Command DEh Copy RENV3 data to BUF P27
RRENV4 Command DFh Copy RENV4 data to BUF P27
RRENV5 Command E0h Copy RENV5 data to BUF P27
RRENV6 Command E1h Copy RENV6 data to BUF P27
RRENV7 Command E2h Copy RENV7 data to BUF P27
RREST Command F2h Copy REST data to BUF P28
RRFA Command DBh Copy RFA data to BUF P27
RRFH Command D2h Copy RFH data to BUF P27
RRFL Command D1h Copy RFL data to BUF P27
RRIP Command D8h Copy RIP data to BUF P27
RRIPS Command FFh Copy RIPS data to BUF P28
RRIRQ Command ECh Copy RIRQ data to BUF P27
RRIST Command F3h Copy RIST data to BUF P28
RRLTC1 Command EDh Copy RLTC1 data to BUF P28
RRLTC2 Command EEh Copy RLTC2 data to BUF P28
RRLTC3 Command EFh Copy RLTC3 data to BUF P28
RRLTC4 Command F0h Copy RLTC4 data to BUF P28
RRMD Command D7h Cop RMD data to BUF P27
- 171 -
RRMG Command D5h Copy RMG data to BUF P27
RRMV Command D0h Copy RMV data to BUF P27
RRPLS Command F4h Copy RPLS data to BUF P28
RRSDC Command F6h Copy RSDC data to BUF P28
RRSPD Command F5h Copy RSPD data to BUF P28
RRSTS Command F1h Copy RSTS data to BUF P28
RRUR Command D3h Copy RUR data to BUF P27
RRUS Command D9h Copy RUS data to BUF P27
RSDC Register name Automatically calculated value for the ramping-down point P30, 58
RSPD Register name EZ count / Monitor current speed P30, 58
#RST Terminal name 175 Reset signal P7, 101
RSTS Register name Extension status P30, 55
RT0 to 15 Register bits RENV7 0-15 Enter the RT time for the vibration reduction function P50, 134
RUR Register name Acceleration rate (Please refer to PRUR.) P33, 91
RUS Register name S-curve range during acceleration (Please refer to PRUS.) P37, 91
SALM Sub-status bit SSTSW 11 Equals 1 when the ALM input is ON P20, 114
SCLR Register bit RSTS 13 Equals 1 when the CLR input signal is ON P55, 122
SCP1 Main status bit MSTSW 8 Equals 1 when the CMP1 comparison conditions are met P19, 127
SCP2 Main status bit MSTSW 9 Equals 1 when the CMP2 comparison conditions are met P19, 127
SCP3 Main status bit MSTSW 10 Equals 1 when the CMP3 comparison conditions are met P19, 127
SCP4 Main status bit MSTSW 11 Equals 1 when the CMP4 comparison conditions are met P19, 127
SCP5 Main status bit MSTSW 12 Equals 1 when the CMP5 comparison conditions are met P19, 127
SDIN Register bit RSTS 15 Equals 1 when the SD input signal is ON P55, 110
SDIR Register bit RSTS 4 Set the operation direction (0: Plus direction, 1: Minus direction) P55
Set the input logic of the SD signal (0: Negative logic, 1: Positive P39, 110
SDL Register bit RENV1 6
logic)
SDLT Register bit RENV1 5 Specify the latch function for the SD input (0: ON, 1: OFF) P39, 110
Select the process to execute when the SD input is ON (0: P39, 110
SDM Register bit RENV1 4
Deceleration only, 1: Decelerate and stop)
SDM0 to 1 Register bits RIPS 20-21 Current phase of a circular interpolation P59
SDRM Register bit RSTS 12 Equals 1 when the -DR input signal is ON P55, 67
SDRP Register bit RSTS 11 Equals 1 when the +DR input signal is ON P55, 67
SDSTP Command 4Ah Deceleration stop P23
SDu Terminal name 132 Ramping-down signal for the U axis P8, 108
SDx Terminal name 36 Ramping-down signal for the X axis P8, 108
SDy Terminal name 68 Ramping-down signal for the Y axis P8, 108
SDz Terminal name 99 Ramping-down signal for the Z axis P8, 108
SED0 to 1 Register bits RIPS 22-23 Final phase of a circular interpolation P59
Command bit P18, 82
SELu COMW 11 Select the U axis
name
Command bit P18, 82
SELx COMW 8 Select the X axis
name
Command bit P18, 82
SELy COMW 9 Select the Y axis
name
Command bit P18, 82
SELz COMW 10 Select the Z axis
name
SEMG Register bit RSTS 7 #CEMG Input signal is ON P55, 118
SEND Main status bit MSTSW 3 Equals 0 when started automatically, becomes 1 when stopped P19
SENI Main status bit MSTSW 2 Equals 1 when an interrupt is caused by stopping. P19, 143
SENIR Command 2Dh Reset main status SENI bit. P25
SEOR Main status bit MSTSW 13 Equals 1 when unable to execute a position override. P19, 103
SEORR Command 2Eh Reset main status SEOR bit P25
SERC Register bit RSTS 9 Equals 1 when the ERC output signal is ON P55, 113
SERR Main status bit MSTSW 3 Equals 1 when an error interrupt occurs P19, 143
SEZ Register bit RSTS 10 Equals 1 when the EZ input signal is ON P55, 81
SFC Sub-status bit SSTSW 10 Equals 1 when feeding at constant speed P20
SFD Sub-status bit SSTSW 9 Equals 1 when decelerating P20
SFU Sub-status bit SSTSW 8 Equals 1 when accelerating P20
SINP Register bit RSTS 16 Equals 1 when the INP input signal is ON P55, 112
SINT Main status bit MSTSW 4 Equals 1 when an event interrupt occurs P19, 143
SLTC Register bit RSTS 14 Equals 1 when the LTC input signal is ON P55, 123
Select the PCL6045BL mode for the "start when the specified P42, 136
SMAX Register bit RENV2 29
axis stops" function.
SMEL Sub-status bit SSTSW 13 Equals 1 when the –EL input is ON P20, 107
- 172 -
SORG Sub-status bitSSTSW 14 Equals 1 when the ORG input is ON P20, 111
SPCS Register bit RSTS 8 Equals 1 when the PCS input signal is ON P55, 116
SPDF Main status bit
MSTSW 15 Equals 1 when the pre-register for comparator 5 is full P19, 32
SPEL Sub-status bitSSTSW 12 Equals 1 when the +EL input is ON P20, 107
SPRF Main status bit
MSTSW 14 Equals 1 when the next-operation pre-register is full P19, 31
SPSTA Command 2Ah The same process as the #CSTA input P22
SRST Command 04h Software reset P25
SRUN Main status bit
MSTSW 0 Equals 1 while starting P19
SSC0 to 1 Main status bits
MSTSW 7-6 Sequence code P19
SSCM Main status bit
MSTSW 0 Equals 1 when a start command has already been written P19
SSD Sub-status bitSSTSW 15 Equals 1 when the SD input is ON (latched signal) P20, 110
SSTA Register bit RSTS 5 Equals 1 when the #CSTA input signal is ON P50, 116
SSTP Register bit RSTS 6 Equals 1 when the #CSTP input signal is ON P50, 118
3 when
SSTSB Byte map name Used to read the sub status P16
using a Z80
2 when P16
Word map
SSTSW using an Used to read the sub status, general input/output port
name
8086
STAD Command 52h High speed start 1 (FH constant speed -> deceleration stop) P22
STAFH Command 51h Start using FH constant speed P22
STAFL Command 50h Start using FL constant speed P22
Select #CSTA signal input specification (0: Level trigger, 1: P40, 116
STAM Register bit RENV1 18
Edge trigger)
STAON Command 28h Substitute for a PCs input P25, 103
High speed start 2 (acceleration -> FH constant speed -> P22
STAUD Command 53h
deceleration stop)
STOP Command 49h Immediate stop P23
Select #CSTP stop method (0: Immediate stop, 1: Deceleration P40, 118
STPM Register bit RENV1 19
stop)
RENV5 P48, 135
SYI0 to 1 Register bits Select the axis used to input an internal synchronous signal
20-21
RENV5 P48, 135
SYO0 to 3 Register bits Set the output timing of the internal synchronous signal
16-19
WPRCI Command 8Ch Write BUF data into PRCI P28
WPRCP5 Command 8Bh Write BUF data into PRCP5 P27
WPRDP Command 86h Write BUF data into PRDP P27
WPRDR Command 84h Write BUF data into PRDR P27
WPRDS Command 8Ah Write BUF data into PRDS P27
WPRFH Command 82h Write BUF data into PRFH P27
WPRFL Command 81h Write BUF data into PRFL P27
WPRIP Command 88h Write BUF data into PRIP P27
WPRMD Command 87h Write BUF data into PRMD P27
WPRMG Command 85h Write BUF data into PRMG P27
WPRMV Command 80h Write BUF data into PRMV P27
WPRUR Command 83h Write BUF data into PRUR P27
WPRUS Command 89h Write BUF data into PRUS P27
#WR Terminal name 5 Write signal P7
WRCI Command BCh Write BUF data into the RCI register P27
WRCMP1 Command A7h Write BUF data into the RCMP1 register P27
WRCMP2 Command A8h Write BUF data into the RCMP2 register P27
WRCMP3 Command A9h Write BUF data into the RCMP3 register P27
WRCMP4 Command AAh Write BUF data into the RCMP4 register P27
WRCMP5 Command ABh Write BUF data into the RCMP5 register P27
WRCUN1 Command A3h Write BUF data into the RCUN1 register P27
WRCUN2 Command A4h Write BUF data into the RCUN2 register P27
WRCUN3 Command A5h Write BUF data into the RCUN3 register P27
WRCUN4 Command A6h Write BUF data into the RCUN4 register P27
WRDP Command 96h Write BUF data into the RDP register P27
WRDR Command 94h Write BUF data into the RDR register P27
WRDS Command 9Ah Write BUF data into the RDS register P27
WRENV1 Command 9Ch Write BUF data into the RENV1 register P27
WRENV2 Command 9Dh Write BUF data into the RENV2 register P27
WRENV3 Command 9Eh Write BUF data into the RENV3 register P27
WRENV4 Command 9Fh Write BUF data into the RENV4 register P27
WRENV5 Command A0h Write BUF data into the RENV5 register P27
- 173 -
WRENV6 Command A1h Write BUF data into the RENV6 register P27
WRENV7 Command A2h Write BUF data into the RENV7 register P27
WREST Command B2h Write BUF data into the REST register P28
WRFA Command 9Bh Write BUF data into the RFA register P27
WRFH Command 92h Write BUF data into the RFH register P27
WRFL Command 91h Write BUF data into the RFL register P27
WRIP Command 98h Write BUF data into the RIP register P27
WRIRQ Command ACh Write BUF data into the RIRQ register P27
WRIST Command B3h Write BUF data into the RIST register P28
WRMD Command 97h Write BUF data into the RMD register P27
WRMG Command 95h Write BUF data into the RMG register P27
WRMV Command 90h Write BUF data into the RMV register P27
#WRQ Terminal name 13 Wait request signal P7
WRUR Command 93h Write BUF data into the RUR register P27
WRUS Command 99h Write BUF data into the RUS register P27
- 174 -
Appendix 4: Differences between the PCL6045B and PCL6045BL
The PCL6045BL is a functionally upgraded version of the PCL6045 including single power supply and
standard package and additional function. Additionally, it is upward compatible in software.
This section describes items that have been added to the PCL6045BL.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MIPF MPCS MSDP METM MCCE MSMD MINP MSDE MENI MOD
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 MSDC 0 MIPM MADJ MSPO MSPE MAX3 MAX2 MAX1 MAX0 MSY1 MSY0 MSN1 MSN0
- 175 -
4-3-2. RENV5 register
Bits 11 (PDSM), 22 (MSMR) and 23 (ISMR) have been added.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
LTOF LTFD LTM1 LTM0 PDSM IDL2 IDL1 IDL0 C5D1 C5D0 C5S2 C5S1 C5S0 C5S2 C5C1 C5C0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
0 0 0 0 CU4L CU3L CU2L CU1L ISMR MSMR SYI1 SYI0 SYO3 SYO2 SYO1 SYO0
- 176 -
[Handling Precautions]
1. Design precautions
1) Never exceed the absolute maximum ratings, even for a very short time.
2) Take precautions against the influence of heat in the environment, and keep the temperature around the
LSI as cool as possible.
3) Please note that ignoring the following may result in latching up and may cause overheating and smoke.
- Do not apply a voltage greater than the absolute maximum rating voltage. Please consider the voltage
drop timing when turning the power ON/OFF.
- Be careful not to introduce external noise into the LSI.
- Hold the unused input terminals to +3.3V or GND level.
- Do not short-circuit the outputs.
- Protect the LSI from inductive pulses caused by electrical sources that generate large voltage surges, and
take appropriate precautions against static electricity.
4) Provide external circuit protection components so that overvoltages caused by noise, voltage surges, or
static electricity are not fed to the LSI.
- 177 -
6) When using the method to heat whole LSI such as infrared reflow or air reflow for soldering, please follow
the following conditions and up to 2 reflows is allowed.
- Temperature profile Temperature profile (temperature of plastic surface) of infrared reflow oven
should be within the range showed in the below figure.
- Maximum temperature The maximum temperature of plastic surface is 260 degrees (A profile). A
peak temperature of the surface of a package body should not exceed 260
degrees and do not keep the temperature at 250 degrees or higher for
more than 10 seconds.
We recommend of soldering with low temperature and in short time as
possible so as to reduce hypothermic stress to package.
Temperature °C
Do not keep the temperature at 250 degrees or
260 higher for more than 10 seconds.
250
220
140 to 200
Time
7) Please avoid soldering in a soaking method not so as to give a dramatic change of temperature to a
package and change and not so as to damage to a device.
4. Other precautions
1) When the LSI will be used in poor environments (high humidity, corrosive gases, or excessive amounts of
dust), we recommend applying a moisture prevention coating.
2) The package resin is made of fire-retardant material; however, it can burn. When baked or burned, it may
generate gases or fire. Do not use it near ignition sources or flammable objects.
3) This LSI is designed for use in commercial apparatus (office machines, communication equipment,
measuring equipment, and household appliances). If you use it in any device that may require high quality
and reliability, or where faults or malfunctions may directly affect human survival or injure humans, such as
in nuclear power control devices, aviation devices or spacecraft, traffic signals, fire control, or various types
of safety devices, we will not be liable for any problem that occurs, even if it was directly caused by the LSI.
Customers must provide their own safety measures to ensure appropriate performance in all
circumstances.
No. DA70023-3E
- 178 -
* The specifications may be changed without notice for improvement.
- 179 -