欢迎图片

06 Operation

Last modified by Jim on 2024/10/22 18:54

Basic settings

Check before operation

No.Content
Wiring
1The main circuit input terminals (L1, L2 and L3) of servo drive must be properly connected.
2The main circuit output terminals (U, V and W) of servo drive and the main circuit cables (U, V and W) of servo motor must have the same phase and be properly connected.
3The main circuit power input terminals (L1, L2 and L3) and the main circuit output terminals (U, V and W) of servo drive cannot be short-circuited.
4The wiring of each control signal cable of servo drive is correct: The external signal wires such as brake and overtravel protection have been reliably connected.
5Servo drive and servo motor must be grounded reliably.
6When using an external braking resistor, the short wiring between drive C and D must be removed.
7The force of all cables is within the specified range.
8The wiring terminals have been insulated.
Environment and Machinery
1There is no iron filings, metal, etc. that can cause short circuits inside or outside the servo drive.
2The servo drive and external braking resistor are not placed on combustible objects.
3The installation, shaft and mechanical structure of the servo motor have been firmly connected.

Table 6-1 Check contents before operation

Power-on

Connect the main circuit power supply

After power on the main circuit, the bus voltage indicator shows no abnormality, and the panel display "rdy", indicating that the servo drive is in an operational state, waiting for the host computer to give the servo enable signal.

If the drive panel displays other fault codes, please refer to “10 Malfunctions"” to analyze and eliminate the cause of the fault.

Set the servo drive enable (S-ON) to invalid (OFF)

Jog operation

Jog operation is used to judge whether the servo motor can rotate normally, and whether there is abnormal vibration and abnormal sound during rotation. Jog operation can be realized in two ways, one is panel jog operation, which can be realized by pressing the buttons on the servo panel. The other is jog operation through the host computer debugging platform.

Panel jog operation

Enter “P10-01” by pressing the key on the panel. After pressing “OK”, the panel will display the current jog speed. At this time, you can adjust the jog speed by pressing the "up" or "down" keys; After adjusting the moving speed, press "OK", and the panel displays "JOG" and is in a flashing state. Press "OK" again to enter the jog operation mode (the motor is now powered on!). Long press the "up" and "down" keys to achieve the forward and reverse rotation of the motor. Press "Mode" key to exit the jog operation mode. For operation and display, please refer to "5.3.2. Jog operation".

Jog operation of servo debugging platform

Open the jog operation interface of the software “Wecon SCTool”, set the jog speed value in the "set speed" in the "manual operation", click the "servo on" button on the interface, and then achieve the jog forward and reverse function through the "forward rotation" or "Reverse" button on the interface. After clicking the "Servo off" button, the jog operation mode is exited. The related function codes are shown below.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit

P10-01

JOG speed

Operation setting

Effective immediately

100

0 to 3000

JOG speed

rpm

Table 6-2 JOG speed parameter

Rotation direction selection

By setting the “P00-04” rotation direction, you could change the rotation direction of the motor without changing the polarity of the input instruction. The function code is shown in below.

Function codeNameSetting methodEffective timeDefault valueRangeDefinitionUnit

P00-04

Rotation direction

Shutdown setting

Effective immediately

0

0 to 1

Forward rotation: Face the motor shaft to watch

  • 0: standard setting (CW is forward rotation)
  • 1: reverse mode (CCW is forward rotation)
-

Table 6-3 Rotation direction parameters 

Braking resistor

The servo motor is in the generator state when decelerating or stopping, the motor will transfer energy back to the drive, which will increase the bus voltage. When the bus voltage exceeds the braking point, The drive can consume the feedback energy in the form of thermal energy through the braking resistor. The braking resistor can be built-in or externally connected, but it cannot be used at the same time. When selecting an external braking resistor, it is necessary to remove the short link on the servo drive.

The basis for judging whether the braking resistor is built-in or external.

  1. the maximum brake energy calculated value > the maximum brake energy absorbed by capacitor, and the brake power calculated value ≤ the built-in braking resistor power, use the built-in braking resistor.
  2. the maximum brake energy calculated value > the maximum brake energy absorbed by capacitor, and the brake power calculated value > the built-in braking resistor power, use external braking resistor.
Function codeName

Setting method

Effective time

DefaultRangeDefinitionUnit
P00-09Braking resistor setting

Operation setting

Effective immediately

00 to 3
  • 0: use built-in braking resistor
  • 1: use external braking resistor and natural cooling
  • 2: use external braking resistor and forced air cooling; (cannot be set)
  • 3: No braking resistor is used, it is all absorbed by capacitor.
-
Note: VD2-010SA1G and VD2F-010SA1P drives have no built-in resistor by default, so the default value of the function code “P00-09” is 3 (No braking resistor is used, it is all absorbed by capacitor).
P00-10External braking resistor value

Operation setting

Effective immediately

500 to 65535It is used to set the external braking resistor value of a certain type of drive.Ω
P00-11External braking resistor power

Operation setting

Effective immediately

1000 to 65535It is used to set the external braking resistor power of a certain type of drive.W

Table 6-4 Braking resistor parameters

Servo operation

Set the servo enable (S-ON) to valid (ON)

The servo drive is in a running state and displays "run", but because there is no instruction input at this time, the servo motor does not rotate and is locked.

S-ON can be configured and selected by the DI terminal function selection of the function code "DIDO configuration".

Input the instruction and the motor rotates

Input appropriate instructions during operation, first run the motor at a low speed, and observe the rotation to see if it conforms to the set rotation direction. Observe the actual running speed, bus voltage and other parameters of the motor through the host computer debugging platform. According to "7 Adjustment", the motor could work as expected.

Timing diagram of power on

image-20220608163014-1.png

Figure 6-1 Timing diagram of power on

Servo shutdown

According to the different shutdown modes, it could be divided into free shutdown and zero speed shutdown. The respective characteristics are shown in Table 6-5. According to the shutdown status, it could be divided into free running state and position locked, as shown in Table 6-6.

Shutdown modeShutdown descriptionShutdown characteristics
Free shutdownServo motor is not energized and decelerates freely to 0. The deceleration time is affected by factors such as mechanical inertia and mechanical friction.Smooth deceleration, small mechanical shock, but slow deceleration process.
Zero-speed shutdownThe servo drive outputs reverse braking torque, and the motor quickly decelerates to zero-speed.Rapid deceleration with mechanical shock, but fast deceleration process.

Table 6-5 Comparison of two shutdown modes

Shutdown statusFree operation statusPosition locked
CharacteristicsAfter the motor stops rotating, it is power-off, and the motor shaft can rotate freely.After the motor stops rotating, the motor shaft is locked and could not rotate freely.

Table 6-6 Comparison of two shutdown status

Servo enable (S-ON) OFF shutdown

The related parameters of the servo OFF shutdown mode are shown in the table below.

Function codeName

Setting method

Effective time

Default value

RangeDefinitionUnit
P00-05Servo OFF shutdown

Shutdown

setting

Effective

immediately

00 to 1
  • 0: Free shutdown, and the motor shaft remains free status.
  • 1: Zero-speed shutdown, and the motor shaft remains free status.
-

Table 6-7 Servo OFF shutdown mode parameters details

Emergency shutdown

It is free shutdown mode at present, and the motor shaft remains in a free state. The corresponding configuration and selection could be selected through the DI terminal function of the function code "DIDO configuration". The V1.18 firmware version adds the Estop stop time setting function. In some occasions where the servo needs to control the emergency stop of the motor, it is necessary to control the emergency stop time of the DI. Therefore, the P01-05 shutdown deceleration time function is added to deal with this situation.

Estop mode 1 (deceleration stop):

1. Configurate DI function code: 8 [ESTOP]

2. Set P1-5 shutdown deceleration time.

3. Trigger DI emergency shutdown.

4. Servo emergency shutdown and deceleration to zero speed.

Estop mode 2:

1. Configurate DI function code: 1 [Servo enable SON]

2. Set P1-05 shutdown deceleration time.

3. Set P0-05 Servo OFF shutdown mode: zero speed stop.

4. Trigger DI to turn off servo enable SON.

Function codeName

Setting

method

Effective

time

DefaultRangeDefinitionUnit
P01-05Shutdown deceleration time

Shutdown

setting

immediately

Effective

500 to 65535The time for the speed command to decelerate from 1000rpm to 0ms

Overtravel shutdown

Overtravel means that the movable part of the machine exceeds the set area. In some occasions where the servo moves horizontally or vertically, it is necessary to limit the movement range of the workpiece. The overtravel is generally detected by limit switches, photoelectric switches or the multi-turn position of the encoder, that is, hardware overtravel or software overtravel.

Once the servo drive detects the action of the limit switch signal, it will immediately force the speed in the current direction of rotation to 0 to prevent it from continuing, and it will not be affected for reverse rotation. The overtravel shutdonw is fixed at zero speed and the motor shaft remains locked.

The corresponding configuration and selection could be selected through the DI terminal function of the function code "DIDO configuration". The default function of DI3 is POT and DI4 is NOT, as shown in the table below.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P06-08DI_3 channel function selectionOperation settingPower-on again30 to 32
  • 0: OFF (not used)
  • 01: S-ON servo enable
  • 02: A-CLR fault and Warning Clear
  • 03: POT forward drive prohibition
  • 04: NOT Reverse drive prohibition
  • 05: ZCLAMP Zero speed
  • 06: CL Clear deviation counter
  • 07: C-SIGN Inverted instruction
  • 08: E-STOP Emergency stop
  • 09: GEAR-SEL Electronic Gear Switch 1
  • 10: GAIN-SEL gain switch
  • 11: INH Instruction pulse prohibited input
  • 12: VSSEL Vibration control switch input
  • 13: INSPD1 Internal speed instruction selection 1
  • 14: INSPD2 Internal speed instruction selection 2
  • 15: INSPD3 Internal speedinstruction selection 3
  • 16: J-SEL inertia ratio switch (not implemented yet)
  • 17: MixModesel mixed mode selection
  • 20: Internal multi-segment position enable signal
  • 21: Internal multi-segment position selection 1
  • 22: Internal multi-segment position selection 2
  • 23: Internal multi-segment position selection 3
  • 24: Internal multi-segment position selection 4
  • Others: reserved
-
P06-09DI_3 channel logic selectionOperation setting

Effective immediately

00 to 1

DI port input logic validity function selection.

  • 0: Normally open input. Active low level (switch on);
  • 1: Normally closed input. Active high level (switch off);
-
P06-10DI_3 input source selectionOperation setting

Effective immediately

00 to 1

Select the DI_3 port type to enable

  • 0: Hardware DI_3 input terminal
  • 1: virtual VDI_3 input terminal
-
P06-11DI_4 channel function selection

Operation setting

again Power-on

40 to 32
  • 0: OFF (not used)
  • 01: SON Servo enable
  • 02: A-CLR Fault and Warning Clear
  • 03: POT Forward drive prohibition
  • 04: NOT Reverse drive prohibition
  • 05: ZCLAMP Zero speed
  • 06: CL Clear deviation counter
  • 07: C-SIGN Inverted instruction
  • 08: E-STOP Emergency shutdown
  • 09: GEAR-SEL Electronic Gear Switch 1
  • 10: GAIN-SEL gain switch
  • 11: INH Instruction pulse prohibited input
  • 12: VSSEL Vibration control switch input
  • 13: INSPD1 Internal speed instruction selection 1
  • 14: INSPD2 Internal speed instruction selection 2
  • 15: INSPD3 Internal speed instruction selection 3
  • 16: J-SEL inertia ratio switch (not implemented yet)
  • 17: MixModesel mixed mode selection
  • 20: Internal multi-segment position enable signal
  • 21: Internal multi-segment position selection 1
  • 22: Internal multi-segment position selection 2
  • 23: Internal multi-segment position selection 3
  • 24: Internal multi-segment position selection 4
  • Others: reserved
-
P06-12DI_4 channel logic selectionOperation setting

Effective immediately

00 to 1

DI port input logic validity function selection.

  • 0: Normally open input. Active low level (switch on);
  • 1: Normally closed input. Active high level (switch off);
-
P06-13DI_4 input source selectionOperation setting

Effective immediately

00 to 1

Select the DI_4 port type to enable

  • 0: Hardware DI_4 input terminal
  • 1: virtual VDI_4 input terminal
-

Table 6-8 DI3 and DI4 channel parameters

(4) Malfunction shutdown

When the machine fails, the servo will perform a fault shutdown operation. The current shutdown mode is fixed to the free shutdown mode, and the motor shaft remains in a free state.

Brake device

The brake is a mechanism that prevents the servo motor shaft from moving when the servo drive is in a non-operating state, and keeps the motor locked in position, so that the moving part of the machine will not move due to its own weight or external force.

image-20220611151617-1.png

✎The brake device is built into the servo motor, which is only used as a non-energized fixed special mechanism. It cannot be used for braking purposes, and can only be used when the servo motor is kept stopped;

✎ After the servo motor stops, turn off the servo enable (S-ON) in time;

✎The brake coil has no polarity;

✎When the brake coil is energized (that is, the brake is open), magnetic flux leakage may occur at the shaft end and other parts. If users need to use magnetic sensors and other device near the motor, please pay attention!

✎When the motor with built-in brake is in operation, the brake device may make a clicking sound, which does not affect the function.

Wiring of brake device

The brake input signal has no polarity. User need to prepare a 24V power supply. The standard connection of brake signal BK and brake power supply is shown in the figure below. (take VD2B servo drive as example)

image-20220608163136-2.png

Figure 6-2 VD2B servo drive brake wiring

image-20220611151642-2.png

✎The length of the motor brake cable needs to fully consider the voltage drop caused by the cable resistance, and the brake operation needs to ensure that the voltage input is 24V.

✎It is recommended to use the power supply alone for the brake device. If the power supply is shared with other electrical device, the voltage or current may decrease due to the operation of other electrical device, which may cause the brake to malfunction.

✎It is recommended to use cables above 0.5 mm².

Brake software setting

For a servo motor with brake, one DO terminal of servo drive must be configured as function 141 (BRK-OFF, brake output), and the effective logic of the DO terminal must be determined.

Related function code is as below.

DO function codeFunction nameFunction

Effective time

141

BRK-OFF Brake output

Output the signal indicates the servo motor brake releasePower-on again

Table 6-2 Relevant function codes for brake setting

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P1-30Delay from brake output to instruction reception

Operation setting

Effective immediately2500 to 500Set delay that from the brake (BRK-OFF) output is ON to servo drive allows to receive input instruction. When brake output (BRK-OFF) is not allocated, the function code has no effect.ms
P1-31In static state, delay from brake output OFF to the motor is power off

Operation setting

Effective immediately1501 to 1000When the motor is in a static state, set the delay time from brake (BRK-OFF) output OFF to servo drive enters the non-channel state. When the brake output (BRK-OFF) is not allocated, this function code has no effect.ms
P1-32Rotation status, when the brake output OFF, the speed threshold

Operation setting

Effective immediately300 to 3000

When the motor rotates, the motor speed threshold when the brake (BRK-OFF) is allowed to output OFF.

When the brake output (BRK-OFF) is not allocated, this function code has no effect.

rpm
P1-33Rotation status, Delay from servo enable OFF to brake output OFF

Operation setting

Effective immediately5001 to 1000

When the motor rotates, the delay time from the servo enable (S-ON) OFF to the brake (BRK-OFF) output OFF is allowed.

When brake output (BRK-OFF) is not allocated, this function code has no effect.

ms

Table 6-9 Brake setting function codes

According to the state of servo drive, the working sequence of the brake mechanism can be divided into the brake sequence in the normal state of the servo drive and the brake sequence in the fault state of the servo drive.

Servo drive brake timing in normal state

The brake timing of the normal state could be divided into: the servo motor static (the actual speed of motor is lower than 20 rpm) and servo motor rotation(the actual speed of the motor reaches 20 and above).

  • Brake timing when servo motor is stationary

When the servo enable changes from ON to OFF, if the actual motor speed is lower than20 rpm, the servo drive will act according to the static brake sequence. The specific sequence action is shown in Figure 6-3

image-20220611151705-3.png

✎After the brake output is from OFF to ON, within P01-30, do not input position/speed/torque instructions, otherwise the instructions will be lost or operation errors will be caused.

✎When applied to a vertical axis, the external force or the weight of the mechanical moving part may cause the machine to move slightly. When the servo motor is stationary, and the servo enable is OFF, the brake output will be OFF immediately. However, the motor is still energized within the time of P01-31 to prevent mechanical movement from moving due to its own weight or external force.

image-20220608163304-3.png

Figure 6-3 Brake Timing of when the motor is stationary

Note: For the delay time of the contact part of the brake at ② in the figure, please refer to the relevant specifications of motor.

  • The brake timing when servo motor rotates

When the servo enable is from ON to OFF, if the actual motor speed is greater than or equal to 20 rpm, the drive will act in accordance with the rotation brake sequence. The specific sequence action is shown in Figure 6-4.

image-20220611151719-4.png

✎When the servo enable is turned from OFF to ON, within P1-30, do not input position, speed or torque instructions, otherwise the instructions will be lost or operation errors will be caused.

✎When the servo motor rotates, the servo enable is OFF and the servo motor is in the zero-speed shutdown state, but the brake output must meet any of the following conditions before it could be set OFF:

P01-33 time has not arrived, but the motor has decelerated to the speed set by P01-32;

P01-33 time is up, but the motor speed is still higher than the set value of P01-32.

✎After the brake output changes from ON to OFF, the motor is still in communication within 50ms to prevent the mechanical movement from moving due to its own weight or external force.

image-20220608163425-4.png

Figure 6-4 Brake timing when the motor rotates

Brake timing when the servo drive fails

The brake timing (free shutdown) in the fault status is as follows.

image-20220608163541-5.png

 Figure 6-5 The brake timing (free shutdown) in the fault state

Position control mode

Position control is the most important and commonly used control mode of the servo system. Position control refers to controlling the position of the motor through position instructions, and determining the target position of the motor by the total number of position instructions. The frequency of the position instruction determines the motor rotation speed. The servo drive can achieve fast and accurate control of the position and speed of the machine. Therefore, the position control mode is mainly used for occasions that require positioning control, such as manipulators, mounter, engraving machines, CNC machine tools, etc. The position control block diagram is shown in the figure below.

image-20220608163643-6.png

Figure 6-6 Position control diagram

Set “P00-01” to 1 by the software “Wecon SCTool”, and the servo drive is in position control mode.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P00-01Control mode

Operation setting

immediately Effective

11 to 6

1: position control

2: speed control

3: torque control

4: position/speed mix control

5: position/torque mix control

6: speed /torque mix control

VD2L drive P00-01 setting range: 1-3, not supprt mix mode

-

Table 6-10 Control mode parameters

Position instruction input setting

When the VD2 series servo drive is in position control mode, firstly set the position instruction source through the function code “P01-06”.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-06Position instruction source

Operation setting

immediately Effective

00 to 1

0: pulse instruction

1: internal position instruction

-

Table 6-12 Position instruction source parameter

The source of position instruction is pulse instruction (P01-06=0)

Low-speed pulse instruction input

image-20220804160519-1.jpeg

VD2A, VD2B and VD2C servo drives

image-20220804160624-2.jpeg

VD2F and VD2L servo drive

Figure 6-7 Position instruction input setting

VD2 series servo drive has a set of pulse input terminals to receive the input of position pulse (via the CN2 terminal). The position pulse mode connection is shown in Figure 6-7.

The instruction pulse and symbol output circuit on the control device(HMI/PLC) side could select differential input or open collector input. The maximum input frequency is shown as below.

Pulse methodMaximum frequencyVoltage
Open collector input200K24V
Differential input500K5V

Table 6-13 Pulse input specifications

  • Differential input

Take VD2A and VD2B drive as examples, the connection of differential input is shown as below.

image-20220707092615-5.jpeg

Figure 6-8 Differential input connection

Note: The differential input connection of the VD2F drive differs only from the signal pin number. Please refer to “4.4.3 position instruction input signal

  • Open collector input

Take VD2A and VD2B drive as examples, the connection of differential input is shown as below.

image-20220707092401-3.jpeg

Figure 6-9 Open collector input connection

Note: The differential input connection of the VD2F drive differs only from the signal pin number. Please refer to “4.4.3 position instruction input signal

  • Position pulse frequency and anti-interference level

When low-speed pulses input pins, you need to set a certain pin filter time to filter the input pulse instructions to prevent external interference from entering the servo drive and affecting motor control. After the filter function is enabled, the input and output waveforms of the signal are shown in Figure 6-10.

image-20220608163952-8.png

Figure 6-10 Example of filtered signal waveform

The input pulse frequency refers to the frequency of the input signal, which can be modified through the function code “P00-13”. If the actual input frequency is greater than the set value of “P00-13”, it may cause pulse loss or alarm. The position pulse anti-interference level can be adjusted through the function code “P00-14”, the larger the set value, the greater the filtering depth. The details of related function code parameters are as shown below.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P00-14Position pulse anti-interference level

Operation setting

Power-on again

20 to 9

Set the anti-interference level of external pulse instruction.

  • 0: no filtering;
  • 1: Filtering time 128ns
  • 2: Filtering time 256ns
  • 3: Filtering time 512ns
  • 4: Filtering time 1.024us
  • 5: Filtering time 2.048us
  • 6: Filtering time 4.096us
  • 7: Filtering time 8.192us
  • 8: Filtering time 16.384us
  • 9:
    • VD2: Filtering time 25.5us
    • VD2F: Filtering time 25.5us
-

Table 6-14 Position pulse frequency and anti-interference level parameters

Function codeName

Setting

method

Effective

time

Default valueRangeDefinitionUnit
P00-14Position pulse anti-interference level

Operation

setting

Power-on

again

20 to 8

VD2L drive set the anti-interference level of external pulse instruction.

0: no filtering;

1: Filtering time 111.1ns

2: Filtering time 222.2ns

3: Filtering time 444.4ns

4: Filtering time 888.8ns

5: Filtering time 1777.7ns

6: Filtering time 3555.5ns

7: Filtering time 7111.7ns

8: Filtering time 14222.2ns

 

-

Table 6-15 VD2L Position pulse frequency and anti-interference level parameters

  • Position pulse type selection

In VD2 series servo drives, there are three types of input pulse instructions, and the related function codes are shown in the table below.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P00-12Position pulse type selection

Operation setting

Power-on again

00 to 5
  • 0: direction + pulse (positive logic)
  • 1: CW/CCW
  • 2: A, B phase quadrature pulse (4 times frequency)
  • 3: Direction + pulse (negative logic)
  • 4: CW/CCW (negative logic)
  • 5: A, B phase quadrature pulse (4 times frequency negative logic)

✎Note: VD2F and VD2L series drivers do not support the pulse form of CW/CCW! P0-12 parameter setting range of VD2L: 0, 2, 3, 5

-

Table 6-15 Position pulse type selection parameter

Pulse type selectionPulse typeSignalSchematic diagram of forward pulseSchematic diagram of negative pulse
0

Direction + pulse

(Positive logic)

PULSE

SIGN

image-20220707094340-6.jpegimage-20220707094345-7.jpeg
1CW/CCW

PULSE (CW)

SIGN (CCW)

image-20220707094351-8.jpeg
2

AB phase orthogonal

pulse (4 times frequency)

PULSE (Phase A)

SIGN (Phase B)

 

image-20220707094358-9.jpeg

Phase A is 90° ahead of Phase B

 

image-20220707094407-10.jpeg

Phase B is 90° ahead of Phase A

3

Direction + pulse

(Negative logic)

PULSE

SIGN

image-20220707094414-11.jpegimage-20220707094418-12.jpeg
4

CW/CCW

(Negative logic)

PULSE (CW)

SIGN (CCW)

image-20220707094423-13.jpeg
5

AB phase orthogonal

pulse (4 times frequency negative logic)

PULSE (Phase A)

SIGN (Phase B)

 

image-20220707094429-14.jpeg

Phase B is ahead of A phase by 90°

 

image-20220707094437-15.jpeg

Phase A is ahead of B phase by 90°

Table 6-16 Pulse description

The source of position instruction is internal position instruction (P01-06=1)

The VD2 series servo drive has a multi-segment position operation function, which supports maximum 16-segment instructions. The displacement, maximum operating speed (steady-state operating speed) and acceleration/deceleration time of each segment could be set separately. The waiting time between positions could also be set according to actual needs. The setting process of multi-segment position is shown in Figure 6-11.

The servo drive completely runs the multi-segment position instruction set by P07-01 once, and the total number of positions is called completing one round of operation.

image-20220608164116-9.png

Figure 6-11 The setting process of multi-segment position

  • Set multi-segment position running mode
Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P07-01Multi-segment position running mode

Shutdown setting

Effective immediately

00 to 2

0: Single running

1: Cycle running

2: DI switching running

-
P07-02Start segment number

Shutdown setting

Effective immediately

11 to 161st segment NO. in non-DI switching mode-
P07-03End segment number

Shutdown setting

Effective immediately

11 to 16last segment NO. in non-DI switching mode-
P07-04Margin processing method

Shutdown setting

Effective immediately

00 to 1

0: Run the remaining segments

1: Run again from the start segment

-
P07-05Displacement instruction type

Shutdown setting

Effective immediately

00 to 1

0: Relative position instruction

1: Absolute position instruction

-

Table 6-17 multi-segment position running mode parameters

VD2 series servo drive has three multi-segment position running modes, and you could select the best running mode according to the site requirements.

  1. Single running

In this running mode, the segment number is automatically incremented and switched, and the servo drive only operates for one round (the servo drive runs completely once for the total number of multi-segment position instructions set by P07-02 and P07-03). The single running curve is shown in Figure 6-12, and S1 and S2 are the displacements of the 1st segment and the 2nd segment respectively

image-20220608164226-10.png

Figure 6-12 Single running curve (P07-02=1, P07-03=2)

  • 2. Cycle running

In this running mode, the position number is automatically incremented and switched, and the servo drive repeatedly runs the total number of multi-segment position instructions set by P07-02 and P07-03. The waiting time could be set between each segment. The cycle running curve is shown in Figure 6-13, and S1,S2,S3 and S4 are the displacements of the 1st, 2nd, 3rd and 4th segment respectively.

image-20220608164327-11.png

Figure 6-13 Cycle running curve (P07-02=1, P07-03=4)

image-20220611151917-5.png

In single running and cycle running mode, the setting value of P07-03 needs to be greater than the setting value of P07-02.
  1. DI switching running

In this running mode, the next running segment number could be set when operating the current segment number. The interval time is determined by the instruction delay of the host computer. The running segment number is determined by DI terminal logic, and the related function codes are shown in the table below.

DI function codeFunction nameFunction
21INPOS1: Internal multi-segment position segment selection 1Form internal multi-segment position running segment number
22INPOS2: Internal multi-segment position segment selection 2Form internal multi-segment position running segment number
23INPOS3: Internal multi-segment position segment selection 3Form internal multi-segment position running segment number
24INPOS4: Internal multi-segment position segment selection 4Form internal multi-segment position running segment number

Table 6-18 DI function code

The multi-segment segment number is a 4-bit binary number, and the DI terminal logic is level valid. When the input level is valid, the segment selection bit value is 1, otherwise it is 0. Table 6-17 shows the correspondence between the position bits 1 to 4 of the internal multi-segment position and the position number.

INPOS4INPOS3INPOS2INPOS1Running position number
00001
00012
00103
00114
01005
01016
01107
01118
10009
100110
101011
101112
110013
110114
111015
111116

Table 6-20 INPOS corresponds to running segment number

The operating curve in this running mode is shown in Figure 6-14.

image-20220608164545-12.png

Figure 6-14 DI switching running curve

VD2 series servo drives have two margin processing methods: run the remaining segments and run from the start segment again. The related function code is P07-04.

Run the remaining segments

In this processing way, the multi-segment position instruction enable is OFF during running, the servo drive will abandon the unfinished displacement part and shutdown, and the positioning completion signal will be valid after the shutdown is complete. When the multi-segment position enable is ON, and the servo drive will start to run from the next segment where the OFF occurs. The curves of single running and cycle running are shown in Figure 6-15 and Figure 6-16 respectively.

image-20220608164847-13.png

Figure 6-15 Single running-run the remaining segments (P07-02=1, P07-03=4)

image-20220608165032-14.png

Figure 6-16 Cycle running-run the remaining segment (P07-02=1, P07-03=4)

Run again from the start segment

In this processing mode, when the multi-segment position instruction enable is OFF during running, the servo drive will abandon the uncompleted displacement part and shutdown. After the shutdown is completed, the positioning completion signal is valid. When the multi-segment position enable is ON, and the servo drive will start to operate from the next position set by P07-02. The curves of single running and cycle running are shown in Figure 6-17 and Figure 6-18 respectively.

image-20220608165343-15.png

Figure 6-17 Single running-run from the start segment again (P07-02=1, P07-03=4)

image-20220608165558-16.png

Figure 6-18 Cyclic running-run from the start segment again (P07-02=1, P07-03=4)

VD2 series servo drives have two types of displacement instructions: relative position instruction and absolute position instruction. The related function code is P07-05.

  • Relative position instruction

The relative position instruction takes the current stop position of the motor as the start point and specifies the amount of displacement.

image-20220608165710-17.png

Figure 6-19 Relative position diagram

image-20220608165749-18.png

Figure 6-20 Displacement diagram

  • Absolute position instruction

The absolute position instruction takes "reference origin" as the zero point of absolute positioning, and specifies the amount of displacement.

image-20220608165848-19.png

Figure 6-21 Absolute indication

image-20220608170005-20.png

Figure 6-22 Displacement

  • Multi-segment position running curve setting

The multi-segment position running supports maximum 16 segments different position instructions. The displacement, maximum running speed (steady-state running speed), acceleration and deceleration time of each position and the waiting time between segment could all be set. Table 6-19 are the related function codes of the 1st segment running curve.

Function codeNameSetting methodEffective timeDefault valueRangeDefinitionUnit
P07-09

1st segment

displacement

Operation setting

Effective immediately

10000

-2147483647 to

2147483646

Position instruction, positive and negative values could be set-
P07-10Maximum speed of the 1st displacement

Operation setting

Effective immediately

1001 to 5000Steady-state running speed of the 1st segmentrpm
P07-11Acceleration and deceleration of 1st segment displacement

Operation setting

Effective immediately

1001 to 65535The time required for the acceleration and deceleration of the 1st segmentms
P07-12Waiting time after completion of the 1st segment displacement

Operation setting

Effective immediately

1001 to 65535Delayed waiting time from the completion of the 1st segment to the start of the next segmentSet by P07-06

Table 6-21 The 1st position operation curve parameters table

After setting the above parameters, the actual operation curve of the motor is shown in Figure 6-23.

image-20220608170149-21.png

Figure 6-23 The 1st segment running curve of motor

  • multi-segment position instruction enable

When selecting multi-segment position instruction as the instruction source, configure 1 DI port channel of the servo drive to function 20 (internal multi-segment position enable signal), and confirm the valid logic of the DI terminal.

DI function codeFunction nameFunction
20ENINPOS: Internal multi-segment position enable signal

DI port logic invalid: Does not affect the current operation of the servo motor.

DI port logic valid: Motor runs multi-segment position

image-20220611152020-6.png

It should be noted that only when the internal multi-segment position enable signal is OFF, can the P07 group parameters be actually modified to write into the servo drive!

Electronic gear ratio

Definition of electronic gear ratio

In the position control mode, the input position instruction (instruction unit) is to set the load displacement, and the motor position instruction (encoder unit) is to set the motor displacement, in order to establish the proportional relationship between the motor position instruction and the input position instruction, electronic gear ratio function is used. "instruction unit" refers to the minimum resolvable value input from the control device(HMI/PLC) to the servo drive. "Encoder unit" refers to the value of the input instruction processed by the electronic gear ratio.

With the function of the frequency division (electronic gear ratio <1) or multiplication (electronic gear ratio > 1) of the electronic gear ratio, the actual the motor rotation or movement displacement can be set when the input position instruction is 1 instruction unit.

It it noted that the electronic gear ratio setting range of the 2500-line incremental encoder should meet the formula (6-1), and the electronic gear ratio setting range of the 17-bit encoder should meet the formula (6-2), setting range of the electronic gear ratio of 23-bit encoder should meet the formula (6-3)

image-20220707094901-16.png

Otherwise, the servo drive will report Er.35: "Electronic gear ratio setting exceeds the limit"!

Setting steps of electronic gear ratio

image-20220707100850-20.jpeg

Figure 6-24 Setting steps of electronic gear ratio

lectronic gear ratio switch setting

When the function code P00-16 is 0, the electronic gear ratio switching function could be used. You could switch between electronic gear 1 and electronic gear 2 as needed. There is only one set of gear ratios at any time. Related function codes are shown in the table below.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P00-16Number of instruction pulses when the motor rotates one circle

Shutdown setting

Effective immediately

100000 to 131072Set the number of position command pulses required for each turn of the motor. When the setting value is 0, [P00-17]/[P00-19] Electronic gear 1/2 numerator, [P00-18]/[P00-20] Electronic gear 1/2 denominator is valid.

Instruction pulse

unit

P00-17

Electronic gear 1

numerator

Operation setting

Effective immediately

11 to 4294967294

Set the numerator of the 1st group electronic gear ratio for position instruction frequency division or multiplication. P00-16 is effective when the number of instruction pulses of one motor rotation is 0.

VD2L: 1-2147483647

-
P00-18

Electronic gear 1

denominator

Operation setting

Effective immediately

11 to 4294967294

Set the denominator of the 1st group electronic gear ratio for position instruction frequency division or multiplication. P00-16 is effective when the number of instruction pulses of one motor rotation is 0.

VD2L: 1-2147483647

-
P00-19

Electronic gear 2

numerator

Operation setting

Effective immediately

11 to 4294967294

Set the numerator of the 2nd group electronic gear ratio for position instruction frequency division or multiplication. P00-16 is effective when the number of instruction pulses of one motor rotation is 0.

VD2L: 1-2147483647

-
P00-20

Electronic gear 2

denominator

Operation setting

Effective immediately

11 to 4294967294

Set the denominator of the 2nd group electronic gear ratio for position instruction frequency division or multiplication. P00-16 is effective when the number of instruction pulses of one motor rotation is 0.

VD2L: 1-2147483647

-

Table 6-20 Electronic gear ratio function code

To use electronic gear ratio 2, it is necessary to configure any DI port as function 09 (GEAR-SEL electronic gear switch 1), and determine the valid logic of the DI terminal.

DI function codeFunction nameFunction
09GEAR-SEL electronic gear switch 1

DI port logic invalid: electronic gear ratio 1

DI port logic valid: electronic gear ratio 2

Table 6-21 Switching conditions of electronic gear ratio group

P00-16 valueDI terminal level corresponding to DI port function 9Electronic gear ratio 
0DI port logic invalid

image-20220707101328-21.png

DI port logic valid

image-20220707101336-22.png

1 to 131072--

image-20220707101341-23.png

Table 6-22 Application of electronic gear ratio

When the function code P00-16 is not 0, the electronic gear ratio image-20220707101509-25.png is invalid.

Position instruction filtering

Position instruction filtering is to filter the position instruction (encoder unit) after the electronic gear ratio frequency division or frequency multiplication, including first-order low-pass filtering and average filtering operation.

In the following situations, position instruction filtering should be added.

  1. The position instruction output by host computer has not been processed with acceleration or deceleration;
  2. The pulse instruction frequency is low;
  3. When the electronic gear ratio is 10 times or more.

Reasonable setting of the position loop filter time constant can operate the motor more smoothly, so that the motor speed will not overshoot before reaching the stable point. This setting has no effect on the number of instruction pulses. The filter time is not as long as possible. If the filter time is longer, the delay time will be longer too, and the response time will be correspondingly longer. It is an illustration of several kinds of position filtering.

image-20220608170455-23.png

Figure 6-25 Position instruction filtering diagram

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P04-01Pulse instruction filtering method

Shutdown setting

Effective immediately

00 to 1
  • 0: 1st-order low-pass filtering
  • 1: average filtering
-
P04-02Position instruction 1st-order low-pass filtering time constantShutdown setting

Effective immediately

00 to 1000Position instruction first-order low-pass filtering time constantms
P04-03Position instruction average filtering time constantShutdown setting

Effective immediately

00 to 128Position instruction average filtering time constantms

Table 6-25 Position instruction filter function code

Clearance of position deviation

Position deviation clearance means that the drive could zero the deviation register in position mode. The user can realize the function of clearing the position deviation through the DI terminal;

Position deviation = (position instruction-position feedback) (encoder unit)

Position-related DO output function

The feedback value of position instruction is compared with different thresholds, and output DO signal for host computer use.

Positioning completion/positioning approach output

the positioning completion function means that when the position deviation meets the value set by P05-12, it could be considered that the positioning is complete in position control mode. At this time, servo drive could output the positioning completion signal, and the host computer could confirm the completion of the positioning of servo drive after receiving the signal.

image-20220608170550-24.png

Figure 6-26 Positioning completion signal output diagram

When using the positioning completion or approach function, you could also set positioning completion, positioning approach conditions, window and hold time. The principle of window filter time is shown in Figure 6-27.

To use the positioning completion/positioning approach function, a DO terminal of the servo drive should be assigned to the function 134 (P-COIN, positioning completion)/ 135 (P-NEAR, positioning approach). The related code parameters and DO function codes are shown as Table 6-24.

image-20220608170650-25.png

Figure 6-27 Positioning completion signal output with increased window filter time diagram

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P05-12Positioning completion threshold

Operation setting

Effective immediately

8001 to 65535Positioning completion thresholdEquivalent pulse unit
P05-13Positioning approach threshold

Operation setting

Effective immediately

50001 to 65535Positioning approach thresholdEquivalent pulse unit
P05-14Position detection window time

Operation setting

Effective immediately

100 to 20000Set positioning completion detection window timems
P05-15Positioning signal hold time

Operation setting

Effective immediately

1000 to 20000Set positioning completion output hold timems

Table 6-26 Function code parameters of positioning completion

DO function codeFunction nameFunction
134P-COIN positioning completeOutput this signal indicates the servo drive position is complete.
135

P-NEAR positioning close

Output this signal indicates that the servo drive position is close.

Table 6-27 Description of DO rotation detection function code

VD2-0xxSA1H collector pulse signal DO Function and VD2L pulse signal DO output function

(1) VD2-0xxSA1H collector pulse signal DO Function

The pulse signal of VD2-0xxSA1H is a collector signal output through DO, which can be connected to the high-speed pulse input of PLC without conversion through differential to collector circuit board. However, the pulse frequency division output used by VD2 series is a differential signal, which needs to pass through differential to collector circuit board to be connected to the high-speed pulse input of PLC.

(2) Pulse signal DO output function of VD2L-0xxSA1P

The pulse signal of VD2L-0xxSA1P is the collector signal output by DO, and it can be connected to the high-speed pulse input of PLC without the conversion of differential to collector circuit board.

(3) The difference of collector pulse signal DO Function of VD2-0xxSA1H and DO output function of pulse signal of VD2L-0xxSA1P

The pulse signal of VD2-0xxSA1H is the collector signal output through DO, and it is a 4 times frequency pulse signal of Phase A/B. DO signal of VD2L is a pulse+direction signal.

DO2, DO3, and DO4 respectively correspond to the pulse frequency division outputs of the Z-axis, A-axis, and B-axis of the pulse output, as shown in the following table.

P06-28Parameter nameSetting methodEffective timeDefaultSet rangeApplication categoryUnit
DO_2 channel function selectionOperation settingEffective immediately143128-148DI/DO-

Used to set DO functions corresponding to hardware DO2. Refer to the following table for the functions corresponding to the set value:

Setting valueDO channel function Setting valueDO channel function
128OFF (not used) 139T-LIMIT (Torque limit)
129RDY (Servo ready) 140V-LIMIT (speed limited)
130ALM (fault signal) 141BRK-OFF (Brake Output) Note1
131WARN (warning signal) 142SRV-ST (Servo start status output)
132TGON (rotation detection) 143OZ (Z pulse output) Note2
133ZSP (zero speed signal) 144N/A
134P-COIN (Positioning completed) 145COM_VDO1 (communication VDO1 output)
135P-NEAR (positioning approach) 146COM_VDO1(Communication VDO2 output)
136V-COIN (consistent speed) 147COM_VDO1(communication VDO3 output)
137V-NEAR (speed approach) 148COM_VDO1(communication VDO4 output)
138T-COIN (torque arrival)   

When P06-28 is set to a value other than the above table, it is considered to not use DO port function.

The same DO channel function is not allowed to be assigned to multiple DO ports, otherwise the servo driver will report A-90 (DO port configuration duplicate).

Note 1: To use the BRK-OFF function code, you need to repower to take effect.

Note 2:

① Only VD2L and VD2F support function code 143. The code for this function of VD2-0xxSA1G model is empty!

② Only in the VD2-0xxSA1H model, the default function code for the DO_1 channel function selection is 130ALM (fault signal)! In the VD2-0xxSA1H model, the function code for the DO_2, DO_3, and DO_4 channels are 143 OZ (Z/A/B pulse output), and these 3 channels correspond to the Z-axis, A-axis, and B-axis of the pulse output respectively!

③ The function selection code of DO_2, DO_3 and DO_4 channels in the VD2L-0xxSA1P model are 143 OZ (Z pulse output), and these 3 channels correspond to Z axis, pulse axis, and direction axis of the pulse output respectively!

P06-30Parameter nameSetting methodEffective timeDefaultSet rangeApplication categoryUnit
DO_3 channel function selectionOperation settingEffective immediately143128-148DI/DO-

Used to set DO functions corresponding to hardware DO3. Refer to the following table for the functions corresponding to the set value:

Setting valueDO channel function Setting valueDO channel function
128OFF (not used) 139T-LIMIT (torque limit)
129RDY (Servo ready) 140V-LIMIT (speed limited)
130ALM (fault signal) 141BRK-OFF (Brake Output) Note1
131WARN (warning signal) 142SRV-ST (Servo start status output)
132TGON (rotation detection) 143OA (A pulse output) Note2
133ZSP (zero speed signal) 144None
134P-COIN (Positioning completed) 145COM_VDO1 (communication VDO1 output)
135P-NEAR (positioning approach) 146COM_VDO1(Communication VDO2 output)
136V-COIN (consistent speed) 147COM_VDO1(communication VDO3 output)
137V-NEAR (speed approach) 148COM_VDO1(communication VDO4 output)
138T-COIN (torque arrival)   

When P06-30 is set to a value other than the above table, it is considered to not use DO port function.

The same DO channel function is not allowed to be assigned to multiple DO ports, otherwise the servo driver will report A-90 (DO port configuration duplicate).

Note 1: To use the BRK-OFF function code, you need to repower to take effect.

Note 2:

① Only VD2L and VD2F support function code 143. The code for this function of VD2-0xxSA1G model is empty!

② Only in the VD2-0xxSA1H model, the default function code for the DO_1 channel function selection is 130ALM (fault signal)! In the VD2-0xxSA1H model, the function code for the DO_2, DO_3, and DO_4 channels are 143 OZ (Z/A/B pulse output), and these 3 channels correspond to the Z-axis, A-axis, and B-axis of the pulse output respectively!

③ The function selection code of DO_2, DO_3 and DO_4 channels in the VD2L-0xxSA1P model are 143 OZ (Z pulse output), and these 3 channels correspond to Z axis, pulse axis, and direction axis of the pulse output respectively!

P06-32Parameter nameSetting methodEffective timeDefaultSet rangeApplication categoryUnit
DO_4 channel function selectionOperation settingEffective immediately143128-148DI/DO-

Used to set DO functions corresponding to hardware DO4. Refer to the following table for the functions corresponding to the set value:

Setting valueDO channel function Setting valueDO channel function
128OFF (not used) 139T-LIMIT (Torque limit)
129RDY (Servo ready) 140V-LIMIT (speed limited)
130ALM (fault signal) 141BRK-OFF (Brake Output) Note1
131WARN (warning signal) 142SRV-ST (Servo start status output)
132TGON (rotation detection) 143OB (B pulse output) Note2
133ZSP (zero speed signal) 144None
134P-COIN (Positioning completed) 145COM_VDO1 (communication VDO1 output)
135P-NEAR (positioning approach) 146COM_VDO1(Communication VDO2 output)
136V-COIN (consistent speed) 147COM_VDO1(communication VDO3 output)
137V-NEAR (speed approach) 148COM_VDO1(communication VDO4 output)
138T-COIN (torque arrival)   

When P06-32 is set to a value other than the above table, it is considered to not use DO port function.

The same DO channel function is not allowed to be assigned to multiple DO ports, otherwise the servo drive will report A-90 (DO port configuration duplicate).

Note 1: To use the BRK-OFF function code, you need to repower to take effect.

Note 2:

① Only VD2L and VD2F support function code 143. The code for this function of VD2-0xxSA1G model is empty!

② Only in the VD2-0xxSA1H model, the default function code for the DO_1 channel function selection is 130ALM (fault signal)! In the VD2-0xxSA1H model, the function code for the DO_2, DO_3, and DO_4 channels are 143 OZ (Z/A/B pulse output), and these 3 channels correspond to the Z-axis, A-axis, and B-axis of the pulse output respectively!

③ The function selection code of DO_2, DO_3 and DO_4 channels in the VD2L-0xxSA1P model are 143 OZ (Z pulse output), and these 3 channels correspond to Z axis, pulse axis, and direction axis of the pulse output respectively!

Speed control mode

Speed control refers to controlling the speed of the machine through speed instructions. Given the speed instruction by digital voltage or communication, the servo drive can control the mechanical speed fast and precisely. Therefore, the speed control mode is mainly used to control the rotation speed such as analog CNC engraving and milling machine. Figure 6-28 is the speed control block diagram.

6.28.jpg

Figure 6-28 Speed control block diagram

Speed instruction input setting

In speed control mode, VD2A and VD2B servo drives have two instruction source: internal speed instruction and analog speed instruction. VD2F drive only supports internal speed instruction. Speed instruction source is set by function code P01-01.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-01Speed instruction source

Shutdown setting

Effective immediately

00 to 1
  • 0: internal speed instruction
  • 1: AI_1 analog input (not supported by VD2F)
-

Table 6-26 Speed instruction source parameter

Speed instruction source is internal speed instruction (P01-01=0)

Speed instruction comes from internal instruction, and the internal speed instruction is given by a number. The VD2 series servo drive has internal multi-segment speed running function. There are 8 segments speed instructions stored in servo drive, and the speed of each segment could be set individually. The servo drive uses the 1st segment internal speed by default. To use the 2nd to 8th segment internal speed, the corresponding number of DI terminals must be configured as functions 13, 14, and 15. The detailed parameters and function codes are shown as belo

Function codeName

Setting

method

Effective

time

Default valueRangeDefinitionUnit
P01-02

Internal speed

Instruction 0

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 0

When DI input port:

  • 15-INSPD3: 0
  • 14-INSPD2: 0
  • 13-INSPD1: 0,

select this speed instruction to be effective.

rpm
P01-23

Internal speed

Instruction 1

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 1

When DI input port:

  • 15-INSPD3: 0
  • 14-INSPD2: 0
  • 13-INSPD1: 1,

Select this speed instruction to be effective.

rpm
P01-24

Internal speed

Instruction 2

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 2

When DI input port:

  • 15-INSPD3: 0
  • 14-INSPD2: 1
  • 13-INSPD1: 0,

Select this speed instruction to be effective.

rpm
P01-25

Internal speed

Instruction 3

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 3

When DI input port:

  • 15-INSPD3: 0
  • 14-INSPD2: 1
  • 13-INSPD1: 1,

Select this speed instruction to be effective.

rpm
P01-26

Internal speed

Instruction 4

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 4

When DI input port:

  • 15-INSPD3: 1
  • 14-INSPD2: 0
  • 13-INSPD1: 0,

Select this speed instruction to be effective.

rpm
P01-27

Internal speed

Instruction 5

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 5

When DI input port:

  • 15-INSPD3: 1
  • 14-INSPD2: 0
  • 13-INSPD1: 1,

Select this speed instruction to be effective.

rpm
P01-28

Internal speed

Instruction 6

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 6

When DI input port:

  • 15-INSPD3: 1
  • 14-INSPD2: 1
  • 13-INSPD1: 0,

Select this speed instruction to be effective.

rpm
P01-29

Internal speed

Instruction 7

Operation

setting

Effective

immediately

0-5000 to 5000

Internal speed instruction 7

When DI input port:

  • 15-INSPD3: 1
  • 14-INSPD2: 1
  • 13-INSPD1: 1,

Select this speed instruction to be effective.

rpm

Table 6-27 Internal speed instruction parameters

DI function codefunction nameFunction
13INSPD1 internal speed instruction selection 1Form internal multi-speed running segment number
14INSPD2 internal speed instruction selection 2Form internal multi-speed running segment number
15INSPD3 internal speed instruction selection 3Form internal multi-speed running segment number

Table 6-28 DI multi-speed function code description

The multi-speed segment number is a 3-bit binary number, and the DI terminal logic is level valid. When the input level is valid, the segment selection bit value is 1, otherwise it is 0. The corresponding relationship between INSPD1 to 3 and segment numbers is shown as below.

INSPD3INSPD2INSPD1Running segment numberInternal speed instruction number
00010
00121
01032
......
11187

Table 6-29 Correspondence between INSPD bits and segment numbers

image-20220608170845-26.png

Figure 6-29 Multi-segment speed running curve

Speed instruction source is internal speed instruction (P01-01=1)

The servo drive processes the analog voltage signal output by the host computer or other equipment as a speed instruction. VD2A and VD2B series servo drives have 2 analog input channels: AI_1 and AI_2. AI_1 is analog speed input, and AI_2 is analog speed limit.

image-20220608153341-5.png

Figure 6-30 Analog input circuit

Taking AI_1 as an example, the method of setting the speed instruction of analog voltage is illustrated as below.

image-20220608170955-27.png

Figure 6-31 Analog voltage speed instruction setting steps

Explanation of related terms:

  • Zero drift: When analog input voltage is 0, the servo drive sample voltage value relative to the value of GND.
  • Bias: After zero drift correction, the corresponding analog input voltage when the sample voltage is 0.
  • Dead zone: It is the corresponding analog input voltage interval when the sample voltage is 0.
image-20220608171124-28.png

Figure 6-32 AI_1 diagram before and after bias

Function codeNameSetting methodEffective timeDefault valueRangeDefinitionUnit
P05-01☆AI_1 input biasOperation settingEffective immediately0-5000 to 5000Set AI_1 channel analog bias valuemV
P05-02☆AI_1 input filter time constantOperation settingEffective immediately2000 to 60000AI_1 channel input first-order low-pass filtering time constant0.01ms
P05-03☆AI_1 dead zoneOperation settingEffective immediately200 to 1000Set AI_1 channel quantity dead zone valuemV
P05-04☆AI_1 zero driftOperation settingEffective immediately0-500 to 500Automatic calibration of zero drift inside the drivemV

Table 6-30 AI_1 parameters

Note: “☆” means VD2F servo drive does not support the function code .

Acceleration and deceleration time setting

The acceleration and deceleration time setting can achieve the expectation of controlling acceleration by converting the speed instruction with higher acceleration into the speed instruction with gentle acceleration.

In the speed control mode, excessive acceleration of the speed instruction will cause the motor to jump or vibrate. Therefore, a suitable acceleration and deceleration time can realize the smooth speed change of the motor and avoid the occurrence of mechanical damage caused by the above situation.

image-20220608171314-29.png

Figure 6-33 of acceleration and deceleration time diagram

image-20220707103616-27.png

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-03Acceleration time

Operation setting

Effective immediately

500 to 65535The time for the speed instruction to accelerate from 0 to 1000rpmms
P01-04Deceleration time

Operation setting

Effective immediately

500 to 65535The time for the speed instruction to decelerate from 1000rpm to 0ms

Table 6-31 Acceleration and deceleration time parameters

Speed instruction limit

In speed mode, the servo drive could limit the size of the speed instruction. The sources of speed instruction limit include:

  1. P01-10: Set the maximum speed limit value
  2. P01-12: Set forward speed limit value
  3. P01-13: Set reverse speed limit value
  4. The maximum speed of the motor: determined by motor model

The actual motor speed limit interval satisfies the following relationship:

The amplitude of forward speed instruction ≤ min (Maximum motor speed, P01-10, P01-12)

The amplitude of negative speed command ≤ min (Maximum motor speed, P01-10, P01-13)

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-10Maximum speed threshold

Operation setting

Effective immediately

36000 to 5000Set the maximum speed limit value, if exceeds this value, an overspeed fault will be reportedrpm
P01-12Forward speed threshold

Operation setting

Effective immediately

30000 to 5000Set forward speed limit valuerpm
P01-13Reverse speed threshold

Operation setting

Effective immediately

30000 to 5000Set reverse speed limit valuerpm

Table 6-32 Rotation speed related function codes

Zero-speed clamp function

The zero speed clamp function refers to the speed control mode, when the zero speed clamp signal (ZCLAMP) is valid, and the absolute value of the speed instruction is lower than the zero speed clamp speed threshold (P01-22), the servo motor is at In locked state, the servo drive is in position lock mode at this time, and the speed instruction is invalid.

If the speed instruction amplitude is greater than zero-speed clamp speed threshold, the servo motor exits the locked state and continues to run according to the current input speed instruction.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-21

Zero-speed clamp function selection

Operation setting

Effective immediately

00 to 3

Set the zero-speed clamp function. In speed mode:

  • 0: Force the speed to 0;
  • 1: Force the speed to 0, and keep the position locked when the actual speed is less than P01-22
  • 2: When speed instruction is less than P01-22, force the speed to 0 and keep the position locked
  • 3: Invalid, ignore zero-speed clamp input
-
P01-22

Zero-speed clamp speed threshold

Operation setting

Effective immediately

200 to 1000Set the speed threshold of zero-speed clamp functionrpm

Table 6-33 Zero-speed clamp related parameters

image-20220608171549-30.png

Figure 6-34 Zero-speed clamp diagram

Speed-related DO output function

The feedback value of the position instruction is compared with different thresholds, and could output DO signal for host computer use.

Rotation detection signal

After the speed instruction is filtered, the absolute value of the actual speed absolute value of the servo motor reaches P05-16 (rotation detection speed threshold), it could be considered that the motor is rotating. At this time, the servo drive outputs a rotation detection signal (TGON), which can be used to confirm that the motor has rotated. On the contrary, when the absolute value of the actual rotation speed of the servo motor is less than P05-16, it is considered that the motor is not rotating.

image-20220608171625-31.png

Figure 6-35 Rotation detection signal diagram

To use the motor rotation detection signal output function, a DO terminal of the servo drive should be assigned to function 132 (T-COIN, rotation detection). The function code parameters and related DO function codes are shown in Table 6-34 and Table 6-35.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P05-16

Rotation detection

speed threshold

Operation setting

Effective immediately

200 to 1000Set the motor rotation signal judgment thresholdrpm

Table 6-34 Rotation detection speed threshold parameters

DO function codeFunction nameFunction
132

T-COIN rotation detection

Valid: when the absolute value of motor speed after filtering is greater than or equal to the set value of function code P05-16

Invalid, when the absolute value of motor speed after filtering is less than set value of function code P05-16

Table 6-35 DO rotation detection function code

Zero-speed signal

If the absolute value of the actual speed of servo motor is less than a certain threshold P05-19, it is considered that servo motor stops rotating (close to a standstill), and the servo drive outputs a zero speed signal (ZSP) at this time. On the contrary, if the absolute value of the actual speed of the servo motor is not less than this value, it is considered that the motor is not at a standstill and the zero-speed signal is invalid.

image-20220608171904-32.png

Figure 6-36 Zero-speed signal diagram

To use the motor zero-speed signal output function, a DO terminal of servo drive should be assigned to function 133 (ZSP, zero-speed signal). The function code parameters and related DO function codes are shown in Table 6-36 and Table 6-37.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P05-19Zero speed output signal threshold

Operation setting

Effective immediately

100 to 6000Set zero-speed output signal judgment thresholdrpm

Table 6-36 Zero-speed output signal threshold parameter

DO function codeFunction nameFunction
133

ZSP zero speed signal

Output this signal indicates that the servo motor is stopping rotation

Table 6-37 DO zero-speed signal function code

Speed consistent signal

When the absolute value of the deviation between the actual speed of the servo motor after filtering and the speed instruction meets a certain threshold P05-17, it is considered that the actual speed of the motor has reached the set value, and the servo drive outputs a speed coincidence signal (V-COIN) at this time. Conversely, if the absolute value of the deviation between the actual speed of the servo motor and the set speed instruction after filtering exceeds the threshold, the speed consistent signal is invalid.

image-20220608172053-33.png

Figure 6-37 Speed consistent signal diagram

To use the motor speed consistent function, a DO terminal of the servo drive should be assigned to function 136 (V-COIN, consistent speed). The function code parameters and related DO function codes are shown in Table 6-38 and Table 6-39.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P05-17Speed consistent signal threshold

Operationsetting

Effective immediately

100 to 100Set speed consistent signal thresholdrpm

Table 6-38 Speed consistent signal threshold parameters

DO Function codeFunction nameFunction
136

U-COIN consistent speed

The output signal indicates that the absolute deviation of the actual speed of servo motor and the speed instruction meets the P05-17 set value

Table 6-39 DO speed consistent function code

Speed approach signal

After filtering, the absolute value of the actual speed of the servo motor exceeds a certain threshold [P05-17], and it is considered that the actual speed of the servo motor has reached the expected value. At this time, the servo drive can output a speed close signal (V-NEAR) through the DO terminal. Conversely, if the absolute value of the actual speed of the servo motor after filtering is not greater than this value, the speed approach signal is invalid.

image-20220608172207-34.png

Figure 6-38 Speed approaching signal diagram

To use the motor speed approach function, a DO terminal of the servo drive should be assigned to function 137 (V-NEAR, speed approach). The function code parameters and related DO function codes are shown in Table 6-40 and Table 6-41.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P05-18Speed approach signal threshold

Operation setting

Effective immediately

10010 to 6000Set speed approach signal thresholdrpm

Table 6-40 Speed approaching signal threshold parameters

DO function codeFunction nameFunction
137

V-NEAR speed approach

The output signal indicates that the actual speed of the servo motor has reached the expected value

Table 6-41 DO speed approach function code

Torque control mode

The current of the servo motor has a linear relationship with the torque. Therefore, the control of the current can realize the control of the torque. Torque control refers to controlling the output torque of the motor through torque instructions. Torque instruction could be given by internal instruction and analog voltage.

image-20220608172405-35.png

Figure 6-39 Torque mode diagram

Torque instruction input setting

In torque instruction, VD2A and VD2B servo drives have two instruction source: internal torque instruction and analog torque instruction. VD2F drive only has internal torque instruction. The torque instruction source is set by the function code P01-07.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-07Torque instruction source

Shutdown setting

Effective immediately

00 to 1

0: internal torque instruction

1: AI_1 analog input(not supported by VD2F and VD2L)

-

Table 6-42 Torque instruction source parameter

Torque instruction source is internal torque instruction (P01-07=0)

Torque instruction source is from inside, the value is set by function code P01-08.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-08Torque instruction keyboard set value

Operation setting

Effective immediately

0-3000 to 3000-300.0% to 300.0%0.1%

Table 6-43 Torque instruction keyboard set value

Torque instruction source is AI_1 analog input (P01-07=1)

The servo drive processes the analog voltage signal output by host computer or other equipment as torque instruction. VD2A and VD2B series servo drives have 2 analog input channels: AI_1 and AI_2. AI_1 is analog torque input, and AI_2 is analog torque limit.

image-20220608153646-7.png

Figure 6-40 Analog input circuit

Taking AI_1 as an example, the method of setting torque instruction of analog voltage is as below.

image-20220608172502-36.png

Figure 6-41 Analog voltage torque instruction setting steps

Explanation of related terms:

  • Zero drift: When analog input voltage is 0, the servo drive sample voltage value relative to the value of GND.
  • Bias: After zero drift correction, the corresponding analog input voltage when the sample voltage is 0.
  • Dead zone: It is the corresponding analog input voltage interval when the sample voltage is 0.
image-20220608172611-37.png

Figure 6-42 AI_1 diagram before and after bias

Function codeNameSetting methodEffective timeDefault valueRangeDefinitionUnit
P05-01☆AI_1 input biasOperation settingEffective immediately0-5000 to 5000Set AI_1 channel analog bias valuemV
P05-02☆AI_1 input filter time constantOperation settingEffective immediately2000 to 60000AI_1 channel input first-order low-pass filtering time constant0.01ms
P05-03☆AI_1 dead zoneOperation settingEffective immediately200 to 1000Set AI_1 channel dead zone valuemV
P05-04☆AI_1 zero driftOperation settingEffective immediately0-500 to 500Automatic calibration of zero drift inside the drivemV

Table 6-44 AI_1 parameters

Note: “☆” means VD2F servo drive does not support the function code .

Torque instruction filtering

In torque mode, the servo drive could realize low-pass filtering of torque instruction, making the instruction smoother and reducing the vibration of servo motor. The first-order filtering is shown in Figure 6-43.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P04-04Torque filtering time constant

Operation setting

Effective immediately

5010 to 2500This parameter is automatically set when “self-adjustment mode selection” is selected as 00.01ms

Table 6-45 Torque filtering time constant parameter details

Note: If the filter time constant is set too large, the responsiveness will be reduced. Please set it while confirming the responsiveness.

image-20220608172646-38.png

Figure 6-43 Torque instruction-first-order filtering diagram

Torque instruction limit

When the absolute value of torque instruction input by host computer is greater than the absolute value of torque instruction limit, the drive's actual torque instruction is limited and equal to the limit value of torque instruction. Otherwise, it is equal to the torque instruction value input by host computer.

At any time, there is only one valid torque limit value. And the positive and negative torque limit values do not exceed the maximum torque of drive and motor and ±300.0% of the rated torque.

image-20220608172806-39.png

Figure 6-44 Torque instruction limit diagram

Set torque limit source

You need to set the torque limit source by function code P01-14. After the setting, the drive torque instruction will be limited within the torque limit value. When the torque limit value is reached, the motor will operate with the torque limit value as the torque instruction. The torque limit value should be set according to the load operation requirements. If the setting is too small, the motor's acceleration and deceleration capacity may be weakened. During constant torque operation, the actual motor speed cannot reach the required value.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-14

Torque limit source

Shutdown setting

Effective immediately

00 to 1
  • 0: internal value
  • 1: AI_1 analog input (not supported by VD2F and VD2L)
-
  • Torque limit source is internal torque instruction (P01-14=0)

Torque limit source is from inside, you need to set torque limit, and the value is set by function code P01-15 and P01-16.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-15

Forward torque limit

Operation setting

Effective immediately

30000 to 3000When P01-14 is set to 0, the value of this function code is forward torque limit value0.1%
P01-16

Reverse torque limit

Operation setting

Effective immediately

30000 to 3000When P01-14 is set to 0, the value of this function code is reverse torque limit value0.1%

Table 6-46 Torque limit parameter details

  • Torque limit source is external (P01-14=1)

Torque limit source is from external analog channel. The limit value is determined by the torque value corresponding to external AI_2 terminal.

Set torque limit DO signal output

When torque instruction reaches the torque limit value, the drive outputs a torque limit signal (T-LIMIT) for the host computer use. At this time, one DO terminal of the drive should be assigned to function 139 (T-LIMIT, in torque limit) , and confirm that the terminal logic is valid.

DO function codeFunction nameFunction
139

T-LIMIT in torque limit

Output of this signal indicates that the servo motor torque is limited

Table 6-47 DO torque limit function codes

Speed limit in torque mode

In torque mode, if the given torque instruction is too large to exceed the load torque of the mechanical side. This would cause the servo motor to continuously accelerate and overspeed. In order to protect the machinery, the speed of the motor must be limited.

In torque mode, the actual motor speed would be in the limited speed. After the speed limit is reached, the motor runs at a constant speed at the speed limit. The running curves are shown as Figure 6-45 and Figure 6-46.

image-20220608172910-40.png

Figure 6-45 Forward running curve

image-20220608173155-41.png

Figure 6-46 Reverse running curve

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P01-17

Forward speed

limit in torque mode

Operation setting

Effective immediately

30000 to 5000

Forward torque

limit in torque mode

rpm
P01-18

Reverse speed

limit in torque mode

Operation setting

Effective immediately

30000 to 5000

Reverse torque

limit in torque mode

rpm

Table 6-48 Speed limit parameters in torque mode

Note: Function codes P01-17 and P01-18 are only effective in limiting motor speed under the torque mode. The speed limit value is set according to load requirements. To set speed limit in speed mode or position mode, please refer to 6.3.3 Speed instruction limit.

Torque-related DO output functions

The feedback value of torque instruction is compared with different thresholds, and could output the DO signal for the host computer use. The DO terminal of the servo drive is assigned to different functions and determine the logic to be valid.

Torque arrival

The torque arrival function is used to determine whether the actual torque instruction reaches the set interval. When the actual torque instruction reaches the torque instruction threshold, the servo drive outputs a torque arrival signal (T-COIN) for the host computer use.

image-20220608173541-42.png

Figure 6-47 Torque arrival output diagram

To use the torque arrival function, a DO terminal of the servo drive should be assigned to function 138 (T-COIN, torque arrival). The function code parameters and related DO function codes are shown in Table 6-49 and Table 6-50.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P05-20

Torque arrival

threshold

Operation setting

Effective immediately

1000 to 300

The torque arrival threshold must be used with “Torque arrival hysteresis value”:

When the actual torque reaches Torque arrival threshold + Torque arrival hysteresis Value, the torque arrival DO is valid;

When the actual torque decreases below torque arrival threshold-torque arrival hysteresis value, the torque arrival DO is invalid

%
P05-21

Torque arrival

hysteresis

Operation setting

Effective immediately

100 to 20Torque arrival the hysteresis value must be used with Torque arrival threshold%

Table 6-49 Torque arrival parameters

DO function codeFunction nameFunction
138

T-COIN torque arrival

Used to determine whether the actual torque instruction has reached the set range

Table 6-50 DO Torque Arrival Function Code

Mixed control mode

Mixed control mode means that when the servo enable is ON and the status of the servo drive is "run", the mode of the servo drive could be switched between different modes. The VD2 series servo drives have the following 3 mixed control modes:

  • Position mode⇔ Speed mode
  • Position mode ⇔Torque mode
  • Speed mode ⇔Torque mode

Set the function code P00-01 through the software of Wecon “SCTool” or servo drive panel, and the servo drive will run in mixed mode.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P00-01Control mode

Shutdown setting

Shutdown setting

11 to 6
  • 1: Position control
  • 2: Speed control
  • 3: Torque control
  • 4: Position/speed mixed control
  • 5: Position/torque mixed control
  • 6: Speed/torque mixed control

VD2L drive P0-01 setting range: 1-3, not support mixed mode

-

Table 6-51 Mixed control mode parameters

Please set the servo drive parameters in different control modes according to the mechanical structure and indicators. The setting method refer to “Parameters”. When function code P00-01=4/5/6 (that is, in mixed mode), a DI terminal of the servo drive needs to be assigned to function 17 (MixModeSel, mixed mode selection), and the DI terminal logic is determined to be valid.

DI function codeNameFunction nameFunction
17MixModeSelMixed mode selectionUsed in mixed control mode, when the servo status is "run", set the current control mode of the servo drive
P00-01MixModeSel terminal logicControl mode
4ValidSpeed mode
invalidPosition mode
5ValidTorque mode
invalidPosition mode
6ValidTorque mode
invalidSpeed mode

Table 6-52 Description of DI function codes in control mode

Note: In mixed control mode, it is recommended to switch the mode at zero speed or low speed, and the switching process will be smoother.

Absolute system

Overview

Absolute encoder could detect the position of the servo motor within one turn, and could count the number of turns of the motor. This series of servo drives are equipped with a maximum of 23-bit encoders and could memorize 16-bit multi-turn data, and position, speed, torque control modes could be used. Especially in position control, the absolute value encoder does not need to count, could achieve direct internal high-speed reading and external output, and could significantly reduce the subsequent calculation tasks of the receiving device controller. When the drive is powered off, the encoder uses battery backup data. After power on, the drive uses the encoder's absolute position to calculate the absolute mechanical position, eliminating the need for repeated mechanical origin reset operations.

The absolute value encoder is determined by the mechanical position of the photoelectric code disc, and is not affected by power failure or interference. Each position of the absolute encoder determined by the mechanical position is unique, and no external sensor is required to assist in memorizing position.

Single-turn absolute value system

The single-turn absolute value system is applicable for the equipment load stroke within the single-turn range of the encoder. At this time, the absolute encoder is only as a single-turn system function and does not need to be connected to the battery. The types and information of encoders adapted to VD2 series servo drives are shown as below.

Encoder typeEncoder resolution (bits)Data range
A1 (single-turn magnetic encoder)170 to 131071

Table 6-53 Single-turn absolute encoder information

The relationship between encoder feedback position and rotating load position is shown in the figure below. (take a 17-bit encoder as an example).

image-20220608173618-43.png

Figure 6-48 Diagram of relationship between encoder feedback position and rotating load position

Multi-turn absolute value system

The encoder adapted to the multi-turn absolute value system is equipped with 16-bit RAM memory. Compared with the single-turn absolute value, it can additionally memorize the number of turns of the 16-bit encoder. The multi-turn absolute encoder is equipped with a battery (the battery is installed on the encoder cable with a battery unit), which can achieve direct internal high-speed readings and external output without the need for external sensors to assist memory positions. The types and information of encoders adapted to VD2 series servo drives are shown as below.

Encoder typeEncoder resolution (bits)Data range
C1 (multi-turn magnetic encoder)170 to 131071
D2 (multi-turn Optical encoder)230 to 8388607

Table 6-54 Multi-turn absolute encoder information

The relationship between encoder feedback position and rotating load multi-turn is shown in the figure below (take a 23-bit encoder as an example).

image-20220608173701-44.png

Figure 6-49 The relationship between encoder feedback position and rotating load position

Multi-turn absolute value position U0-56 origin setting (only for multi-turn encoders)
Under the following two working conditions: 1. The current physical position of the motor cannot reach the
absolute zero point (U0-56). The value of U0-56 can be calibrated by moving the motor to the target position and setting the offset value of P10-8. 2. Move the motor to a known position on the machine and use this function to determine the position of U0-56.
P10-08 multi-turn absolute encoder origin offset compensation is used in conjunction with U0-56 multi-turn absolute encoder current position. When setting P10-06=1, the value of U0-56 is updated to the value of P10-8 multi-turn absolute value encoder origin offset compensation at the reset time.

Function codeName

Setting

method

Effective

time

DefaultRangeDefinitionUnit
P10-06Multi-turn absolute encoder reset

Shutdown

setting

Effective immediately00 to 1

0: No operation

1: Clear rotation number of multi-turn absolute encoder, multi-turn absolute encoder current position and encoder fault alarms.

✎Note: After resetting the multi-turn data of the encoder, the encoder absolute position will change suddenly, and the mechanical origin return operation is required.

-
Function codeName

Setting

method

Effective

time

DefaultRangeDefinitionUnit
P10-08Multi-turn absolute encoder origin offset compensation

Operation

setting

Effective immediately0-2147483647 to 2147483646P10-08 multi-turn absolute encoder origin offset compensation is used in conjunction with U0-56 multi-turn absolute encoder current position. When P10-6 is set to 1, the value of U0-56 is updated to P10-8.-

Related functions and parameters

Encoder feedback data

The feedback data of the absolute value encoder can be divided into the position within 1 turn of the absolute value encoder and the number of rotations of the absolute value encoder. The related information of the two feedback data is shown in the table below.

Monitoring numberCategoryNameUnitData type
U0-54UniversalAbsolute encoder position within 1 turnEncoder unit32-bit
U0-55UniversalRotations number of absolute encodercircle16-bit
U0-56UniversalMulti-turn absolute value encoder current positionInstruction unit32-bit

Table 6-55 Encoder feedback data

Shield multi-turn absolute encoder battery fault

The VD2 series absolute value servo drive provides shielded multi-turn absolute encoder battery fault function to shield under voltage and low-voltage fault. You could set by setting the function code P00-30.

Function codeName

Setting

method

Effective

time

Default valueRangeDefinitionUnit
P00-30Shield multi-turn absolute encoder battery faultOperation settingPower on again00 to 1
  • 0:Detect multi-turn absolute encoder battery under voltage, and battery low voltage fault
  • 1: (Not recommended) Shield multi-turn absolute motor battery failure alarm. Multi-turn absolute application may cause mechanical fault, only multi-turn absolute encoder motors is used as single-turn absolute
-

This function is permitted when a multi-turn absolute encoder motor is used as a single-turn absolute and when it is confirmed that no mechanical failure will occur.

A93 warning solution

Check the encoder communication wire and its placement, reduce the abnormal frequency, and eliminate A93. In this way, the A93 warning problem can be completely solved, and the operation of the motor will not be affected after the A93 warning is released.
Increase the threshold for encoder read-write check exceptions is only suitable as a temporary solution. Eliminate A93 warning by increasing exception threshold. The disadvantage is that the motor may run in an unstable state.

Function codeName

Setting

method

Effective

time

DefaultRangeDefinitionUnit
P00-31Encoder read-write check abnormal frequency

Operation

setting

immediately

Effective

200 to100

The setting of the alarm threshold for the abnormal frequency of the encoder read-write

0: no alarm

Others: When this setting value is exceeded, report A93.

-

✎Note: Be sure to use the shield multi-turn absolute encoder battery fault function carefully, otherwise it may cause data loss, mechanical failure, or even personal injury or death.

Absolute value system encoder battery box use precautions.

Cautions

Er.40 (Encoder battery failure) will occur when the battery is turned on for the first time, and the function code P10-03 must be set to 1 to clear the encoder fault to operate the absolute value system again.

image-20220707111333-28.png

Figure 6-50 the encoder battery box

When it is detected that the battery voltage is less than 3.1V, A-92 (Encoder battery low voltage warning) will occur. Please replace the battery in time.

Replace the battery

Please replace the battery while keeping the servo drive and motor well connected and the power on.

The specific replacement method is as follows:

  • Step1 Push open the buckles on both ends of the outer cover of the battery compartment and open the outer cover.
  • Step2 Remove the old battery.
  • Step3 Embed the new battery, and the battery plug wire according to the anti-dull port on the battery box for placement.
  • Step4 Close the outer cover of the battery box, please be careful not to pinch the connector wiring when closing.

When the servo drive is powered off, if the battery is replaced and powered on again, Er.40 (encoder battery failure) will occur, and the multi-turn data will change suddenly. Please set the function code P10-03 or P10-06 to 1 to clear the encoder fault alarms and perform the origin return function operation again.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P10-06Multi-turn absolute encoder reset

Shutdown setting

Effective immediately

00 to 1
  • 0: No operation
  • 1: Clear rotation number of multi-turn absolute encoder, multi-turn absolute encoder current position and encoder fault alarms.

Note: After resetting the multi-turn data of the encoder, the encoder absolute position will change suddenly, and the mechanical origin return operation is required.

-

Table 6-56 Absolute encoder reset enable parameter

Battery selection

Battery selection specificationItemValue

Nominal Voltage: 3.6V

Nominal capacity: 2700mAh

Standard battery voltage (V)3.6
Standard cell voltage (V)3.1
Battery ambient temperature range0 to 40
Battery storage ambient temperature range-20 to 60

Table 6-57 Absolute value encoder battery information

✎Note: 

If the battery is replaced when the servo drive is powered off, the encoder data will be lost.

When the servo drive is powered off, please ensure that the maximum speed of motor does not exceed 3000 rpm to ensure that the encoder position information is accurately recorded. Please store the storage device according to the specified ambient temperature, and ensure that the encoder battery has reliable contact and sufficient power, otherwise the encoder position information may be lost.

Correct placement of batteries +, - direction

  1. Do not disassemble the battery or put the battery into the fire! If the battery is put into the fire or heated, there is a risk of explosion!
  2. This battery cannot be charged.
  3. If the battery is left inside the machine after a long period of use or the battery is no longer usable, liquid may leak out, etc. Please replace it as soon as possible! (Recommended to replace every 2 years, you can contact the manufacturer's technical staff for replacement)
  4. Do not allow the battery to short-circuit or peel the battery skin! Otherwise, there may be a one-time outflow of high current, making the battery's power weakened, or even rupture.
  5. After the replacement of the battery, please dispose of it according to local laws and regulations.

Other functions

VDI

VDI (Virtual Digital Signal Input Port) is similar to hardware DI terminal. The DI function could also be assigned for use.

Note: If multiple VDI terminals are configured with the same non-zero DI function, servo drive will occur an error “A-89” (DI port configuration is duplicate).

Take the VDI_1 terminal assignment forward drive prohibition (03-POT) as an example, and the use steps of VDI are as the figure below.

image-20220608173804-46.png

Figure 6-51 VDI_1 setting steps

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P13-1Virtual VDI_1 input valueOperation settingEffective immediately00 to 1

When P06-04 is set to 1, DI_1 channel logic is control by this function code.

VDI_1 input level:

  • 0: low level
  • 1: high level
-
P13-2Virtual VDI_2 input valueOperation settingEffective immediately00 to 1

When P06-07 is set to 1, DI_2 channel logic is control by this function code.

VDI_2 input level:

  • 0: low level
  • 1: high level
-
P13-3Virtual VDI_3 input valueOperation settingEffective immediately00 to 1

When P06-10 is set to 1, DI_3 channel logic is control by this function code.

VDI_3 input level:

  • 0: low level
  • 1: high level
-
P13-4Virtual VDI_4 input valueOperation settingEffective immediately00 to 1

When P06-13 is set to 1, DI_4 channel logic is control by this function code.

VDI_4 input level:

  • 0: low level
  • 1: high level
-
P13-05☆Virtual VDI_5 input valueOperation settingEffective immediately00 to 1

When P06-16 is set to 1, DI_5 channel logic is control by this function code.

VDI_5 input level:

  • 0: low level
  • 1: high level
-
P13-06☆Virtual VDI_6 input valueOperation settingEffective immediately00 to 1

When P06-19 is set to 1, DI_6 channel logic is control by this function code.

VDI_6 input level:

  • 0: low level
  • 1: high level
-
P13-07☆Virtual VDI_7 input valueOperation settingEffective immediately00 to 1

When P06-22 is set to 1, DI_7 channel logic is control by this function code.

VDI_7 input level:

  • 0: low level
  • 1: high level
-
P13-08☆Virtual VDI_8 input valueOperation settingEffective immediately00 to 1

When P06-25 is set to 1, DI_8 channel logic is control by this function code.

VDI_8 input level:

  • 0: low level
  • 1: high level
-

Table 6-57 Virtual VDI parameters

Note: “☆” means VD2F servo drive does not support the function code .

Port filtering time

VD2A and VD2B servo drives have 8 hardware DI terminals (DI_1 to DI_8) , and VD2F servo drive has 4 hardware DI terminals (DI_1 to DI_4) . All the DI terminals are normal terminals.

Setting valueDI channel logic selectionIllustration
0Active high levelimage-20220707113050-31.jpeg
1Active low levelimage-20220707113205-33.jpeg

Table 6-58 DI terminal channel logic selection

VDO

In addition to being an internal hardware output port, DO terminal is also used as a communication VDO. The communication control DO function could help you to achieve communication control DO output on the servo drive.

Take the DO_2 terminal as communication VDO, and the use steps of VDI are as the figure below.

image-20220608173957-48.png

Figure 6-52 VDO_2 setting steps

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P13-11Communication VDO_1 output valueOperation settingEffective immediately00 to 1

VDO_1 output level:

  • 0: low level
  • 1: high level
-
P13-12Communication VDO_2 output valueOperation settingEffective immediately00 to 1

VDO_2 output level:

  • 0: low level
  • 1: high level
-
P13-13Communication VDO_3 output valueOperation settingEffective immediately00 to 1

VDO_3 output level:

  • 0: low level
  • 1: high level
-
P13-14Communication VDO_4 output valueOperation settingEffective immediately00 to 1

VDO_4 output level:

  • 0: low level
  • 1: high level
-

Table 6-59 Communication control DO function parameters

DO function numberFunction nameFunction
145COM_VDO1 communication VDO1 outputUse communication VDO
146COM_VDO1 communication VDO2 outputUse communication VDO
147COM_VDO1 communication VDO3 outputUse communication VDO
148COM_VDO1 communication VDO4outputUse communication VDO

Table 6-60 VDO function number

Note: You are advised to configure function codes for DO terminals in sequence to avoid errors during DO signal observation

If multiple DO terminals are configured with the same non-128 DI function, servo drive will occur an error “A-90” (DO port configuration is duplicate).

Motor overload protection

VD2 Series absolute encoder (VD2SA) servo drive provides motor overload protection to prevent motor burning due to high temperature. By setting function code P10-04 to modify motor overload alarm (A-82) and motor overload protection fault time (Er.34). The default value of P10-04 is 100%.

Function codeName

Setting method

Effective time

Default valueRangeDefinitionUnit
P10-04motor overload protection time coefficientOperation settingEffective immediately1000 to 800

According to the heating condition of the motor, the value could be modified to make the overload protection time float up and down in the reference value.

50 corresponds to 50%, that is, the time is reduced by half. 300 corresponds to 300%, that is, the time extended to 3 times. When the value is set to 0, the overload protection fault detection function is disabled

%

In the following cases, it could be modified according to the actual heat generation of the motor

  1. The motor works in a place with high ambient temperature
  2. The motor runs in cycle circulates, and the single running cycle is short and the acceleration and deceleration is frequent.

In the case of confirming that the motor will not burn out, it is also possible to shield the overload protection fault detection function (P10-04 set to 0).

Note: It is advised to configure function codes for DO terminals in sequence to avoid errors. Please use the shielded overload protection fault detection function with caution, otherwise it will cause burn out the motor.