5. Applications Functions
5.1 Power Supply
The main circuit and control circuit of the Drive can be operated with AC power input. When AC power input is selected, single- phase or three phase power input can be used. You should set the parameter Pn007.1 and Pn007.3 (use AC power input) according to the applicable power supply.
An alarm A.24 (Main Circuit Power Supply Wiring Error) may occur if the setting of Pn007.1 does not match the actual power supply.
5.2 Motor Rotation Direction
You can reverse the direction of Motor rotation by changing the setting of Pn001.0.
The default setting for Forward Rotation is counterclockwise (CCW) as viewed from the Drive end.
5.3 Overtravel Limit
5.3.1 Function Description
Overtravel is a safety function of the Drive that forces the Motor to stop in response to a signal input from a limit switch that is activated when a moving part of the machine exceeds the safe range of movement.
The overtravel signals include the P-OT (Forward Drive Prohibit) and the N-OT (Reverse Drive Prohibit) signals.
You use the P-OT and N-OT signals to stop the machine by installing limit switches at the positions where you want to stop the machine that is operated by the Motor.
An example of wiring for the P-OT signal and the N-OT signal is shown in Figure 5-1.
Using the overtravel function is not necessary for rotating applications such as rotary tables and conveyors. No wiring for overtravel input signals is required.
5.3.2 Connecting the Overtravel Signal
To use the overtravel function, connect the following overtravel limit switch input signal terminals
5.3.3 Enabling/Disabling the Overtravel Signal
Parameters can be set to disable the overtravel signal. If the parameters are set, there is no need to wire the overtravel input signal.
5.4 Motor Stopping Methods
The following 4 ways are available to stop the drive alarming (Gr.1 or Gr.2), OT state, and servo OFF occurs:
Also, you can let the Motor enter the following states after the Motor stops.
5.4.1 Motor Stop Methods for Gr.1 Alarms, Safety State and Servo OFF
You can select the Motor stopping methods for Gr.1 Alarms occur, in Safe state or Servo OFF by setting the parameter Pn003.0.
5.4.2 Motor Stop Methods for Overtravel
You can select the Motor stopping methods for overtravel occurrence by setting the parameter Pn003.1.
5.4.3 Motor Stop Methods for Gr.2 Alarms
You can select the Motor stopping methods for Gr.2 Alarms occur by setting the parameter Pn004.0
5.4.4 Reverse Brake Torque Limit Setting
If Pn004.0 is set to 3 or 4, the Motor will be decelerated to a stop using the torque set in Pn405 as the
maximum torque.
5.5 Holding Brake
5.5.1 Function Description
A holding brake is used to hold the position of the moving part of the machine when the Drive is turned OFF so that the moving part does not move due to gravity or an external force.
You can use the brake that is built into a Motor with a Brake, or you can provide one on the machine.
The holding brake is used in the following cases.
5.5.2 Brake Operating Sequence
You must consider the time required to release the brake and the time required to brake to determine the brake operation timing, as described below.
(1): The brake delay times for Motors with Holding Brakes.
(2): Before you output a reference from the host controller to the Drive, wait for at least 50 ms plus the time required to release the brake after you send the S-ON command.
(3): Use Pn506 (Servo OFF Waiting Time), Pn507 (Brake Enable Speed Threshold), and Pn508 (Brake Enable Waiting Time) to set the timing of when the brake will operate and when the servo will be turned OFF.
5.5.3 BK (Brake) Signal
The /BK signal is turned OFF (to operate the brake) when the Servo is turned OFF or when an alarm is detected. You can adjust the timing of brake operation (i.e., the timing of turning OFF the /BK signal) with the Servo OFF Waiting time (Pn506).
The /BK signal is not allocated in default setting, set its allocation in Pn511.
5.5.4 Output Timing of /BK Signal when Motor is Stopped
When the Motor is stopped, the /BK signal turns OFF as soon as the S-OFF (Servo OFF) command is
received. Use the servo OFF delay time (Pn506) to change the timing to turn OFF power supply to the
Motor after the S-OFF command is input.
When the Motor is used to control a vertical axis, the machine moving part may move slightly due to gravity or an external force.
You can eliminate this slight motion by setting the servo OFF delay time (Pn506) so that power supply to the Motor is stopped after the brake is applied.
5.5.5 Output Timing of /BK Signal when Motor is operating
If an alarm occurs or S-OFF command is received while the Motor is operating, the Motor will start stopping and the /BK signal will be turned OFF. You can adjust the timing of /BK signal output by setting the Brake Enable Waiting Time (Pn508).
The /BK signal goes to H level (brake ON) when either of the following conditions is satisfied:
⚫ When the Motor speed falls below the level set in Pn507 after the power to the Motor is turned OFF.
⚫ When the time set in Pn508 is exceeded after the power to the Motor is turned OFF.
5.6 Encoder Settings
5.6.1 Absolute Encoder Selection
Absolute encoders are fitted on motors with an encoder type of L, e.g., MXL-02ALA211. These encoders require a battery supply to retain the absolute encoder data when the Drive power is removed.
With a system that uses an absolute encoder, the host controller can monitor the current position.
Therefore, it is not necessary to perform an origin return operation when the power supply to the system is turned ON.
There are two types of encoders for Motors. The usage of the encoder is specified in Pn002.2.
5.6.2 Encoder Alarm Resetting
If alarm A.47 or A.48 occurs, replace the battery as soon as possible. After replacing the battery, perform the operation Absolute encoder alarm reset and Fn010 (Absolute encoder multi-turn reset.
For details about how to replace the battery and how to perform the replacement, see 3.5.4 Installing or Replacing a Battery.
5.6.3 Multiturn Limit Setting
The multiturn limit is used in position control for a turntable or other rotating body.
For example, consider a machine that moves the turntable shown in the following diagram in only one direction.
Because the turntable moves in only one direction, the upper limit to the number of revolutions that can be counted by an absolute encoder will eventually be exceeded.
The multiturn limit is used in cases like this to prevent fractions from being produced by the integral ratio of the number motor revolutions and the number of turntable revolutions.
For a machine with a gear ratio of n:m, as shown above, you can set Pn228 (OB 30A9h in EtherCAT) as m, and the value of m - 1 will be the setting for the multiturn limit setting.
The relationship between the number of turntable revolutions and the number of motor revolutions is shown in the following figure.
The data will change as shown below when this parameter is set to anything other than the default setting.
⚫ If the motor operates in the reverse direction when the multiturn data is 0, the multiturn data will change to the value set in (Pn228-1).
⚫ If the motor operates in the forward direction when the multiturn data is at the value set in (Pn228-1), the multiturn data will change to 0.
⚫ When you use a single-turn absolute encoder
⚫ When you set Pn002.2 = 1 (Use the encoder as an incremental encoder)
5.6.4 Encoder pulse dividing output
Pulse dividing signals.
Encoder pulse dividing pulse output processes the signals sent from the encoder inside the driver, and outputs such signals to the outside in the form of two-phase pulses (Phase A, and Phase B) with 90° phase differential. It can be used as position feedback in the host controller.
Note: Even in reverse mode (Pn001.0=1), the pulse dividing output phase form is the same as the standard setting (Pn001.0=0).
Output Phase Form
Pulse Dividing Ratio Setting
Encoder pulse dividing means that the divider converts data into the pulse density (Pn200) set by the user parameter based on the pulse data of the motor encoder, and outputs it. The setting unit is the number of pulses/revolutions.
⚫ Set the number of pulses for PG output signals (PAO,/PAO,PBO,/PBO) externally from the servo drive through Pn200.
⚫ Feedback pulses from the encoder per revolution are divided inside the servo drive by the number set in Pn200 before being output.
⚫ Set the encoder pulse dividing ratio according to the system specifications of the machine or host controller.
⚫ The setting of the encoder pulse dividing number is restricted by the encoder's resolution. [Output Example] Pn200=16 (when 16 pulses are output per revolution), the output examples of signals of encoder pulse dividing output phase A (PAO) signal and encoder pulse dividing output phase B (PBO) are shown below.
5.7 IO Signal Allocation
Functions are allocated to the pins on the I/O signal connector (X2) in advance. You can change the allocations and the polarity for some of the connector pins. Function allocations and polarity settings are made with parameters.
Operation panel can only display 5 digits. When distributing IO signals, it is necessary to display or set all the signals by page turning. The display instructions are detailed as follows (take Pn509 as an example).
5.7.1 Input Signal Allocations
Allocation Description
X2 provides a total of 8 pin numbers available for allocation of input signals, corresponding to the subparameters of Pn509 and Pn510. Moreover, there are 8 virtual input bits controlled by Modbus communication, corresponding to the sub-parameters of Pn709 and Pn710.
Default Input Signals
Table 5-1 lists the input signals that can be allocated and their corresponding values. Set the sub-parameters of Pn509, Pn510, Pn709 and Pn710 to use the following values, which means that they are allocated to the corresponding pins.
5.7.2 Output Signal Allocations
Allocation Description
The I/O signal connector (X2) on the Drive provides three groups of pins (points) for allocating the output signals, corresponding to the parameter Pn511, as is shown in Figure 5-2.
Default Output Signals
Table 5-2 lists the output signals that can be allocated and their corresponding values. Set the parameter Pn511 to use the following values, which means that they are allocated to the corresponding pins.
5.8 Control Mode Selection
Speed control, position control and torque control are available to servo drive. Set through the control mode selection (Pn005.1).
5.9 Speed Control
Speed control is selected by Pn005.1:
5.9.1 Setting speed control
Speed reference input signal.
To control the speed of the servo motor at a speed proportional to the input voltage, it is necessary to set the speed reference input signal.
When performing position control by a host controller such as a programmable controller, connect it to the speed reference output terminal of the host controller.
Setting speed reference input gain
Sets the Analogue voltage level for the speed reference (V-REF) necessary to operate the servomotor at the rated speed through Pn300.
Speed Reference Input Example
Pn300=150 [factory setting]:
5.9.2 Adjustment of Speed Reference Offset:
When speed control is used, even if the command is 0V (the command speed is 0 or haled), the servo motor may rotate at a slight speed. This is because there is a slight deviation in the reference inside the servo unit. This slight deviation is called "offset". When the servo motor is moving at a slight speed, it is necessary to use the offset adjustment function to eliminate the offset.
Auto Adjustment of Speed Reference Offset:
The auto adjustment of the Speed Reference Offset is a method for the servo drive to automatically adjust the voltage of the speed command after offset measurement.
The following provides the steps for auto adjustment of the Speed Reference Offset.
Step 1 Confirm that the servo drive is in the servo OFF state.
Step 2 Input 0V command voltage from the host controller or external circuit.
Step 3 Press [M] key several times to select the Utility Function Mode.
Step 4 Press [▲] key or [▼] key to select the function number Fn003.
Step 5 Press [◄] key and the operating panel are displayed as follows.
Step 6 Press key to execute automatic offset adjustment.
Step 7 Press the [◄] key to return to the display of the Fn003.
----End
Manual Adjustment of Speed Reference Offset
The manual adjustment of the speed reference offset is a method that inputs the speed command offset directly for adjustment. Use the manual adjustment in the following situations.
⚫ If a loop is formed with the host controller and the position error pulse is set to be zero when servo lock is stopped.
⚫ To deliberately set the offset to some value.
⚫ To check the offset data set in the speed reference offset auto adjustment mode.
⚫ The following provides the steps for manual adjustment of the Speed Reference Offset.
Step 1 Input 0V command voltage from the host controller or external circuit.
Step 2 Press [M] key on operating panel several times to select the Utility Function Mode.
Step 3 Press [▲] key or [▼] key to select the function number Fn004.
Step 4 Press [◄] key and the operating panel are displayed as follows.
Step 5 Turn ON the servo S-ON signal, so that the servo drive enters the servo ON state.
Step 6 Press the [M] key for one second to display the current speed reference offset.
Step 7 Press [▲] key or [▼] key to adjust the offset manually.
[Note] The adjustment range of the offset is -1024 to 1024.
Step 8 Press and hold the [◄] key for 1 second to return to the manual adjustment display.
Step 9 Press the [M] key to return to the display of the Fn004.
----End
5.9.3 Soft Start
The soft start function converts the stepwise speed reference inside the drive to a consistent rate of acceleration and deceleration.
First, the user needs to select the running curve of the speed reference via Pn310 (speed reference curve form).
When speed reference uses ramp form (Pn310=0)
The figure below shows the timing diagram of the speed reference in the ramp form (Pn310=0). Among them, Pn306 is the time interval for the motor to accelerate from the stop state to speed of 1000rpm, and Pn307 is the time interval for the motor from 1000rpm to the stop state.
When speed reference uses S-curve (Pn310=1)
The figure below shows the timing diagram of the speed reference in the S-curve (Pn310=1). Among them, Pn309 is the time interval for the motor to accelerate from the stop state to the target speed, or the time interval for the motor to decelerate from the target speed to the stop state.
Moreover, transition form of the S-curve via Pn311 can also be selected. Users can try and choose the appropriate setting.
When speed reference uses filtering (Pn310=2 or 3)
Pn308 (speed filter time constant) smooths the speed reference by applying a 1st-order delay filter that can be applied to the Analogue speed reference (VREF) input.
This parameter is generally not set. If the set value is too large, the responsiveness may be reduced. It is recommended to set while confirming responsiveness.
5.9.4 Zero Clamp Function
When the zero clamp function is used for speed control, the upper controller is a system that forms a loop.
The zero clamp function locks the servo when the input voltage of the speed reference (VREF) drops below the set speed in the zero clamp level parameter (Pn502) while the zero clamp signal (/ZCLAMP) is ON (low level). At this moment, a loop is formed inside the servo drive, ignoring the speed reference.
The servo motor is fixed within ±1 pulse of the zero clamp effective position. Even if it moves due to external force, it returns to the zero-clamp position.
Adjust the position loop gain in Pn104 (position loop gain) if the servomotor oscillates in the zero clamp state. If the gain switching function is used, adjusting Pn109 (2nd position loop gain) is also required.
Zero-Clamp Signal Allocations
The /ZCLAMP signal is not allocated in the factory setting, and the user needs to set it through Pn509 or Pn510.
Setting Zero Clamp Function
When the control mode (Pn005.1) is set to A, the zero clamp function is active when the following two conditions are satisfied.
⚫ Low level when /P-CON is ON
⚫ The speed reference (VREF) drops below the set value of Pn502.
5.9.5 Speed Coincidence Detection (/VCMP) Signal
The Speed Coincidence Detection (/VCMP) Signal is the signal output when the speed of the servomotor coincides with the reference speed. It is used on occasions such as interlocking with the upper controller.
This output signal can only be used during speed control.
This output signal can be distributed to other output terminals via Pn511. For details, please refer to "5.7.2 Output Signal Allocation".
The VCMP signal is output when the difference between the motor speed and the reference speed drops below the set speed of Pn501.
5.10 Position Control
Use Pn005.1 to select Position Control:
The control block diagram for position control is shown in figure below.
5.10.1 Basic Settings of Position Control
Setting position reference input form
Use Pn004.2 to set the input form of the position reference.
The input multiplier can be set when the 90º phase difference is of two-phase pulse reference form.
Also, the user can choose whether to invert the PULS signal and SIGN signal using Pn004.3.
Electrical specifications for position reference input
Connection Example
The pulse train output form of the reference controller includes the following.
⚫ Linear drive
⚫ +24V open-collector output
⚫ +12V/+5V open-collector output
Connection Example for Linear drive Output
Applicable linear driver: SN75174 manufactured by TI or MC3487 or the equivalent.
Connection Example for Open-Collector Output
5.10.2 Function and Setting of Position Error Clear (/CLR) Signal
Allocation of Position Error Clear Signal
When the /CLR signal is set to low level, clear error counter:
⚫ The error counter inside the servo drive is set to“0”
⚫ Position loop operation is disabled.
Setting the Clear Signal Mode
In position control mode, pulses will still be presented in the servo drive when servo OFF, thus it should be cleared when servo drive is turned ON (S-ON). Set Pn004 to choose whether clearing the pulses automatically when servo OFF.
5.10.3 Electronic Gear
Function Overview
The electronic gear enables the workpiece travel distance per input reference pulse from the reference controller to be set to any value.
One reference pulse from the reference controller, i.e., the minimum position data unit, is called “1 reference unit”.
If the mechanical reduction ratio between the motor shaft and the load side is set to m/n, the setting value of the electronic gear ratio can be calculated according to following formula. (When the servomotor rotates m revolutions, the load shaft rotates n revolutions)
2 nd Electronic Gear Switching
Switch between electronic gear ratio numerator 1 (Pn201) and electronic gear ratio numerator 2 (Pn203) according to the external/P-CON signal. The switching sequence is determined by the setting of Pn002.0. This function is enabled by user parameter Pn001.3.
Setting Steps
Set the electronic gear ratio as per the steps and instructions described in the table below.
Setting Examples
Electronic Gear Ratio Equation
Where: Δl is the reference unit; P_G is the encoder pulse; P is the pitch of the ball screw; m/n is the reduction ratio.
Set A and B with the following parameters Pn202 and Pn201.
5.10.4 Smoothing
The smoothing filters the reference pulse input to make the travel of the servomotor smoother. This function is more effective in the following cases.
⚫ When the host controller outputs a reference that cannot perform acceleration/deceleration processing.
⚫ When the reference pulse frequency is too low.
⚫ When the conversion of position reference is large (𝑃𝑛201/𝑃𝑛202 ≥ 10)
Set the position reference filtering method using Pn205 (position reference filter form selection).
Then set the filter time of the position reference using Pn204 (position reference filter time constant).
The figure below shows the 1st order filtering for position reference:
5.10.5 Positioning Completion (/COIN) Signal
This signal indicates that servomotor movement has been completed during position control. Use the signal to confirm that positioning has been completed at the host controller.
[Note] X2-11, 12 output the VCMP (speed coincidence) signals during speed control.
This output signal can be allocated to an output terminal with parameter Pn511. Refer to "0 Output Signal Allocation".
The positioning completion (COIN) signal is output when the difference (position error pulse) between the number of reference pulses output by the host controller and the travel distance of the servomotor is less than the value set in tPn500, and the stabilization time is more than the value of Pn520 (position completion time).
5.10.6 Reference Pulse Inhibit Function (INHIBIT)
This function stops (inhibits) the Drive from counting input pulses during position control. When this function is active, the Drive enters a state where it cannot receive reference pulse input.
When this function is used, it is necessary to set Pn005.1=B.
Inhibit (INHIBIT) is switched via/P-CON signal:
5.11 Torque Control
This mode inputs a torque reference in the form of an Analogue voltage reference to the Drive and controls the operation of the servomotor using a torque proportional to the input voltage. This control mode needs to be selected via Pn005.1 and Pn409.
5.11.1 Basic Settings of Torque Control
Specification of Torque Reference Signal Input
To apply torque control to the servomotor with a torque proportional to the input voltage, it is necessary to set the torque reference input signal.
When performing position control by a host controller such as a programmable controller, connect it to the Analogue reference output terminal of the host controller.
Setting Torque Reference Input Gain
Pn400 is used to set the Analogue voltage value of the torque reference (TREF) that operates the servomotor at the rated speed.
Torque Reference Input Example
When Pn400=30:
5.11.2 Adjustment of Torque Reference Offset
When using torque control, the servomotor may rotate slowly even when 0V (reference speed is 0 or stop) is specified as the Analogue reference voltage. This occurs when there’s slight offset for internal reference of servo drive. Such slight offset is called “Offset.” When the servo motor is moving at a low speed, it is necessary to use the offset adjustment function to eliminate the offset.
Auto Adjustment of the Torque Reference Offset
The auto adjustment of torque reference offset automatically measures the offset and adjusts the torque reference voltage automatically.
The following provides the operating steps for auto adjustment of the torque reference offset.
Step 1 Make sure that the servo drive is in the servo OFF state.
Step 2 Input the 0V reference voltage from the host controller or external circuit.
Step 3 Press the [M] key to select the utility function mode.
Step 4 Press the [▲] or [▼] key to select the utility function number Fn003.
Step 5 Press [◄] key. The operating panel displays as follows.
Step 6 Press the [M] key, and the reference offset will be automatically adjusted.
Step 7 Press the [◄] key to return to the utility function mode display Fn003.
----End
Manual Adjustment of the Torque Reference Offset
The manual adjustment of torque reference offset directly inputs the torque reference offset for adjustment. Manual adjustment is used in the following cases.
⚫ If a position loop is formed with the host controller and the error is zeroed when servo loop is stopped.
⚫ To deliberately set the offset to some value.
⚫ Use this mode to check the offset data that was set in the auto adjustment mode of the torque reference offset.
The following provides the operating steps for manual adjustment of the torque reference offset.
Step 1 Input the 0V reference voltage from the host controller or external circuit.
Step 2 Press the [M] key on the operating panel to select the utility function mode.
Step 3 Press the [▲] or [▼] key to select the utility function number Fn004.
Step 4 Press [◄] key. The operating panel displays as follows.
Step 5 Turn on the S-ON signal to make the servo drive enter the servo ON state.
Step 6 Press and hold the [M] key for 1 sec or longer, the operation panel will display the current torque reference offset.
Step 7 Press the [▲] or [▼] key to adjust the offset manually.
[Note] The adjustment range of the offset is -1024 to 1024.
Step 8 Press and hold the [◄] for 1 sec and return to the display of manual adjustment.
Step 9 Press the [◄] key to return to the function number display Fn004.
----End
5.11.3 Setting Torque Reference Input Filter
It is possible to apply a 1st -order delay filter to the Analogue torque reference (VREF) input via Pn105 (torque reference filter time constant), to smooth the torque reference.
This parameter is generally not set. If the set value is too large, the responsiveness may be reduced. It is recommended to set while confirming responsiveness.
5.11.4 Speed Limit During Torque Control
The speed limit during torque control is a function used to limit the speed of the servomotor to protect the machine.
For torque control, the servomotor is controlled to output the specified torque, but the motor speed is not controlled. Therefore, if a reference torque is input that is larger than the machine torque, the speed of the servomotor may increase greatly. If that may occur, use this function to limit the speed.
Selection of Speed Limit Detection
Select the speed limit way using Pn001.
Internal Speed Limit Function
When Pn001.1=0, the internal speed limit function is selected.
In this case, users need to set Pn408 as the limit value of the maximum motor speed. If the set value of Pn408 exceeds the maximum motor speed, the speed limit value is the maximum speed of the motor.
External Speed Limit Function
When Pn001.1=1, the external speed limit function is selected. Users can limit the speed via the VREF input signal and the set value of Pn408.
In torque control, the motor speed limit value is controlled by Analogue reference:
⚫ When Pn001.1=1, the smaller of the speed limit input from VREF and the set value of Pn408 is valid.
⚫ The voltage value input as the limit value depends on the set value of Pn400, not the polarity.
5.11.5 Internal Torque Contact Control
The internal torque contact control is a method to control the operation of the servo motor by the torque reference generated inside the servo drive. This control mode is selected using Pn005.1 and Pn409.
Setting Internal Torque Reference
To select a torque contact reference value, users need to allocate TORQ_JD1 and TORQ_JD2.
The different states of TORQ_JD1 and TORQ_JD2 can be switched to select the corresponding torque contact parameters.
Setting Internal Torque Reference Limit
Users need to allocate TORQ_SPEED_LIMIT1 and TORQ_SPEED_LIMIT2 when using the torque reference limit, to select the required speed limit.
The different states of TORQ_SPEED_LIMIT1 and TORQ_SPEED_LIMIT2 can be switched to select the corresponding torque contact parameters.
5.12 Internally Set Speed Control
It is a function that allows us to set up to 7 motor speeds in the internal parameters of the servo drive and selects the speed and moving direction from them through external input signals for speed control and operation. Since it is controlled by the internal parameters of the servo drive, a speed generator and pulse generator are not required to be installed externally.
5.12.1 Basic Settings of Internally Set Speed Control
Setting Input Signal
The input signals for switching the operating speed are listed in table below.
Selection of Internally Set Speed Control
Use Pn005.1 to select the torque control:
5.12.2 Speed Setting of Internally Set Speed
5.12.3 Switching Internally Set Speed by Input Signal
Use ON/OFF combinations of the following input signals to select the internally set speeds.
5.12.4 Running Example of Internally Set Speed Control
Figure below shows an example of operation during internally set speed control. This example is the operation method when internally set speed control and soft start are used in combination. Using the soft start function would reduce the impact of speed switching
5.13 PCP Control
This function uses the 32 program contacts (PCP[0] to PCP[31]) preset in the drive for purpose of position control and PJOG operation.
When PCP control is selected, the drive will be controlled by the internal pulse generator to generate reference pulses based on the settings of the related parameters. In this case, the signal input from an external linear drive is not required.
5.13.1 PCP Control Selection
Select PCP control by setting Pn005.1=C.
5.13.2 Paramter Setting of PCP Control
Parameter Setting of Contact
Servo drive allows to set a total of 32 point references (PCP[0] to PCP[31]). Each contact reference includes pulse reference, speed, attribute, acceleration/deceleration, and delay.
The pulse reference defines the number of pulses of the contact, the speed defines the running speed of the contact, the attributes defines the motion attribute of contact, the acceleration and jerk define the acceleration/deceleration of the contact, and the delay defines the delay time after the contact reference is sent.
Use Pn014.1to set the IO trigger mode.
The attributes in each contact reference are set by the corresponding contact reference with the same meaning. For example, the setting of the attribute parameter PnA64 of PCP[0] is described as follows.
5.13.3 Contact Command Model
Position Command
The acceleration/deceleration are trapezoidal according to the given position and the acceleration/deceleration planning path and can be set separately.
The position planning during Interrupt is to plan the position reference based on the original reference speed.
⚫ The initial speed is in the same direction with the planned position
⚫ The initial speed is the direction opposite to the planned position
PJOG Command
It is valid under PCP contact control. PJOG can only be performed after the contact operation is ended.
At the same time, the contact cannot be triggered during PJOG operation.
PJOG curve is a trapezoidal, Pn305 is for speed, Pn306 is for acceleration, and Pn307 is for deceleration.
Halt Command
This function allows you to stop running through the external input signal STOP
It is valid under PCP contact control. It can stop operation through the IO port during PJOG and PCP contact operation.
Input STOP signal (active at low level) to stop the current motion state, decelerate the speed to zero as per the deceleration set by Pn719. All control states are cleared after stopping and cannot be restored to the original motion state. They shall be triggered again.
5.13.4 Contact Trigger
The contact uses digital IO port trigger mode, by which users can trigger using the commands of POS0, POS1, POS2, POS3, POS4 and PCON.
The relationships are as defined as follows:
The corresponding IO relationships for each contact number are listed below:
* PCP[0] is available by setting parameter Pn014.2=1; Contact 0 is not executed
5.13.5 Software Limits
Compare the current motor running position of the Un009 with the position limit. It stops running if out of limits, and the servo enters the warning state, the servo is still under excitation status, the panel display shows A.XX in flashing status, and the upper computer can read the current warning number (same address as the alarm number) via Modbus. SoftOt output is available if the IO output signal is configured.
In case of a soft limit, there is no need to manually clear the warning but set the reverse motion command to exit the limit state.
Relevant alarm codes:
When Pn015.0 = 0, the soft limit function is not enabled
When Pn015.0 = 0, the soft limit function is enabled and warning A.D7 occurs if the current position Un009 is greater than the range of Pn325~Pn326. Warning A.D8 occurs if the current position Un009 is less than the range of Pn325~ Pn326.
When Pn325 < Pn326, the two values are exchanged, and the limit range is Pn326~Pn325.
5.13.6 Partial In-place Output
The Contacts 1 to 7 in-place outputs can be individually monitored.
The Pn511 outputs can be configured as follows:
[A]REMOTE0\PCP_COIN0
[B]REMOTE1\PCP_COIN1
[C]REMOTE2\PCP_COIN2
5.13.7 When Overtravel Occurs
During contact operation: When an overtravel occurs, the contact will enter the limit state and exit the contact operation. Un024 is displayed as the current given position.
⚫ If stopped by P-OT, exit the POT by giving a reverse position. The reverse position must be smaller than the current one.
⚫ If stopped by N-OT, exit NOT by giving a positive position. The positive position must be greater than the current one.
When PJOG is running:
⚫ PJOG+ can reverse as PJOG- when it stops by encountering P-OT.
⚫ PJOG- can reverse as PJOG- when it stops by encountering N-OT.
5.13.8 Display
Un024 (PCP target position)
⚫ Under non-contact operation state, STOP, PJOG and Servo-off are displayed as the given motor position.
⚫ Under contact operation state, it is displayed as the current target position of PCP.
5.14 Selection of Control Mode Combinations
The servo drive can combine the two control modes and switch between them. The control mode combinations can be selected by setting "4" to "B" in Pn005.1.
When Pn005.1=4, 5 and 6
Switch the control mode by using /P-CON, /PCL and /NCL signals.
[Example] The running example of Pn005.1 = 5 [Speed control (contact reference) ↔ Position control (pulse train reference)] is detailed as follows.
When Pn005.1=7, 8 and 9
Switch control mode using /P-CON.
When Pn005.1=A and B
Switch control modes using /P-CON.
5.15 Torque Limit
The servo drive provides the following three methods for limiting output torque to protect the machine.
5.15.1 Internal Torque Limits
This function limits the maximum output torque through parameters Pn401 and Pn402.
Figure below shows a comparison of waveform curves with internal torque and without torque limit:
5.15.2 External Torque Limits
This function limits the torque through the input signal of the upper controller when the torque to be limited at specific times during machine operation. It can be used to stop the action or to hold operations for robot workpieces.
Input Signal
The input signals to enable the external torque limits are listed in table below.
Changes in the Output Torque for External Torque Limits
In the following figure, when setting Pn001.0=0 (under the forward reference, the incremental encoder is used in the positive counting direction), it indicates to set the internal torque limit as 300% of output torque (Pn401 and Pn402 are both 300%).
5.15.3 Torque Limiting Using an Analogue Reference
This function uses TREF (X2-26, -27) as Analogue reference input terminal to limit the torque arbitrarily.
This limit method can only be used in speed control or position control but be invalid in torque control.
Figure below is the block diagram under speed control
[Note] There is no issue with input voltage polarity of the Analogue voltage reference for torque limiting. The absolute values of both + and – voltages are input, and a torque limit value corresponding to that absolute value is applied in the forward or reverse direction.
Input Signal
The input signals when the torque limiting using Analogue reference is made are as follows.
5.15.4 Torque Limit Confirmation Signals
Output signal indicating the status of motor output torque limit is shown below.
For ways to allocate output signals, see "0 Output Signal Allocation".
5.16 Homing
5.16.1 Function Overview
The Storing Origin function is available after homing.
Users can choose whether to home directly after power-up.
User may choose whether to continue homing after a limit or to enter a limit state.
Multiple homing modes are supported.
Storing Origin:
Clear origin data when Pn689.2 = 0.
When Pn689.2 = 1, the Storing Origin is performed after homing is completed, which stores the current single-turn position and the multi-turn position information that can be viewed via Un035 and Un036, respectively. (The origin is stored in parameters Pn694 and Pn695 and will not be displayed). When powering up again, there is no need to perform the homing operation again. The current position of the motor (absolute position with respect to the origin position) can be updated by calculating from the current multi-turn position and single-turn position of the motor as well as the stored position information, and homing done signal is then output. The current position can be viewed via Un009.
Warning A.D9 occurs if the Storing Origin function is switched on and succeeded or the origin stored is lost due to no homing operation.
Homing parameters:
5.16.3 Selection of Homing Modes
Select homing mode using Pn692. The Homing mode is valid after re-powering on.
5.16.4 Allocating Homing Signals
SHOM and ORG signals need to be allocated before homing operation, which can be set via Pn509 or Pn510.
Set the output signal (/HOME) after homing via Pn511.
5.16.5 Homing Timing Sequence
Homing modes 1 and 2, using deceleration point and origin as ORG switch
Hit the deceleration signal (ORG rising edge) before encountering the limit signal.
Hit the limit signal before encountering deceleration signal (ORG rising edge).
Homing modes 3 and 4, using deceleration point as ORG switch, and origin as Motor’s Z signal
Hit the deceleration signal (ORG rising edge) before encountering the limit signal.
Hit the limit signal before encountering deceleration signal (ORG rising edge).
Homing modes 5 and 6, using origin as motor’s Z signal
Hit the deceleration signal (Z signal rising edge) before encountering the limit signal.
Hit the limit signal before encountering deceleration signal (Z signal rising edge).
Homing modes 7 and 8, using deceleration point and origin as overtravel switch
Homing modes 9 and 0, using deceleration point as overtravel switch, and origin as motor’s Z signal
Homing found point does not return when hitting the falling edge of OT.
5.17 Other Output Signals
5.17.1 Alarm Output Signal (/ALM)
The servo drive outputs an alarm output signal (/ALM) when it detects an alarm.
Connection of Alarm Output Signal
The following diagram shows the right way to connect the Alarm Output Signal:
An external +24V I/O power supply is required.
Ways to Reset Alarm
When “servo alarm (ALM)” happens, always remove alarm reasons first, and then turn the input signal "/ALM-RST" to ON position to reset alarm status.
5.17.2 Rotation Detection Output Signal (/TGON)
/TGON is output when the motor is currently operating above the setting set in parameter Pn503. Signal Specification
5.17.3 Servo Ready (/S-RDY) Output Signal
The servo drive outputs the servo READY signal (/S-RDY) after receiving servo ON (S-ON) signal. The signal is output under the following conditions:
⚫ The main circuit power supply is ON.
⚫ No alarm occurs.
The specification of signal is as follows:




























































































































































































































