S Series Spindle System Manual: Hangzhou Bergerda Automation Technology Co., LTD
S Series Spindle System Manual: Hangzhou Bergerda Automation Technology Co., LTD
S Series Spindle System Manual: Hangzhou Bergerda Automation Technology Co., LTD
Manual
Please pay special attention to the following warning signs when reading this
manual.
1
Chapter 1 Product Inspection and Installation
2
Chapter 1 Product Inspection and Installation
3
Chapter 1 Product Inspection and Installation
Basic Single-phaseAC342~418V
Input power
speci 50/60Hz
Display and operation Six-digit seven-segment display LED: four function operation keys.
Inter Position Control / Speed Test Run / Jog Run / Internal Positioning PLC
Control mode
nal Function / RS485 Communication / Internal Speed / Internal Torque.
command
Maximum frequency Differential: 1MHZ Open collector: 200KHZ.
pulse input
Position
control Electronic gear ratio 1~32767/1~32767
mode Speed control range Speed ratio:1:5000
Position Output type ABZ phase line drive output / Z phase collector open circuit output.
signal
Frequency division ratio 1/255~1 Frequency division
Input / output
output 4-point open 1) Servo preparation; 2) Servo alarm output; 3) Positioning completed; 4) Zero speed
signal collector arrival; 5) Position arrival; 6) Speed arrival; Ports are freely definable.
4
Chapter 1 Product Inspection and Installation
1.3 Drive installation
1.3.1 Installation environmental conditions
The environment in which the drive is installed has a direct impact on the
normal function of the drive and its service life. Therefore, the installation
environment of the drive must meet the following conditions::
Item S series servo spindle drive
;
Use temperature 0℃~55℃(No frost)
/ humidity Below 90% RH (no condensation).
Storage -20℃~80℃;
temperature/hu 90%RH(No condensation)
midity
Atmospheric In the control cabinet, there is no corrosive gas, flammable gas,
Environment oil mist or dust;
Less than 0.5G (4.9m/s2) 10 Hz -60Hz (non-continuous
vibration
operation);
Protection level IP54
When installing several drives in a closed environment, please pay attention to the
space to ensure sufficient heat dissipation. Also, add a cooling fan to make the drive
temperature lower than 55 °C.
Install the drive in a vertical position with the front facing forward and the top
facing up for heat dissipation.
Take care during assembly to avoid drilling debris and other foreign objects
falling into the drive.
Use M5 screws to fix it during installation.
When there is a vibration source nearby (punch), if it is unavoidable, please use
a vibration absorber or install an anti-vibration rubber gasket.
When there is a large noise source such as a large magnetic switch or a fusion
splicer near the driver, it is easy to cause the driver to be erroneously operated by
external interference. In this case, a noise filter needs to be installed; however, the
noise filter increases the leakage current, therefore, an insulating transformer is
required at the input of the driver.
5
Chapter 1 Product Inspection and Installation
The following shows the installation interval between a single unit and multiple drive units. In actual
installation, a large interval should be left as far as possible to ensure good heat dissipation conditions
6
Chapter 2 Servo Drive and Motor Wiring
7
Chapter 2 Servo Drive and Motor Wiring
8
Chapter 2 Servo Drive and Motor Wiring
The interface terminals of the S series servo spindle drive unit are configured
as shown in the following table. T1 is a control terminal containing communication
and analog quantity, analog quantity includes voltage and current analog quantity,
communication adopts 485 communication, interface is single row 6pin socket;T2
is the I/O signal output terminal, two I/O port optocoupler outputs, two I/O ports
are relay outputs, and the interface is a single row 9 pin socket. T3 is the I/O signal
input port. It adopts two-way optocoupler to meet the wiring of different upper
computers. The interface is a double-row 10pin socket. T4 is the encoder output
and pulse signal input port. The signal output includes ABZ position output and
single-ended Z signal output. The pulse input includes single pulse, CW/CCW and
AB quadrature pulse. The port uses 3 rows of 15pin sockets. T4 is the port
containing two encoder inputs, where the first encoder is the spindle motor encoder
and the second encoder is the external encoder, which also contains the motor
thermal protection input signal. It has 3 rows of 15pin sockets.
port species name Pin System default function Signal standard
FC 4 Analog common 0V
Analog input
FV 2 -10V ~ +10V Analog input
T1 Analog signal
FI 3 0~10V/4~20mA Optional analog input
Control power
COM- 9 Signal output power supply DC24V common 0V
supply
9
Chapter 2 Servo Drive and Motor Wiring
I1 1 Analog forward
I2 2 Analog inversion
I3 3 Quasi-stop positioning
ST 7 Servo enable
I7 10 Zero speed
Thermal
T1 11 Motor thermal protection input signal
protection input
10
Chapter 2 Servo Drive and Motor Wiring
Cable length: The cable length should be as short as possible. The CN1 cable should not exceed 3 meters,
and the feedback signal CN2 cable should not exceed 20 meters.
Wiring: Keep away from power line wiring to prevent interference. Please install a surge absorbing element
for the inductive component (coil) in the relevant line; the DC coil is connected in parallel with the
freewheeling diode, and the AC coil is connected in parallel with the RC absorption circuit.
R
Main circuit power supply Main circuit power input terminal ~ 380V 50Hz;
S
three-phase Note: Do not connect to the motor output terminals U, V, W.
System ground 2. The servo motor output and power input are grounded at the same
point.
W
The servo motor output terminal must be connected to the motor W,
V Servo motor output
V, and U terminals.
U
L1、L2, L3, PE, U, V, W terminals, line cross-sectional area ≥ 2.5mm2 (AWG14-16). Grounding: The grounding wire
should be as thick as possible. The driver and servo motor should be grounded at the PE terminal one point, and the grounding
resistance is <100Ω.
It is recommended to supply power from a three-phase isolation transformer to reduce the possibility of electric shock.
It is recommended that the power supply be powered by a noise filter to improve the anti-interference ability.
Install a non-fuse (NFB) circuit breaker to shut off the external power supply in the event of a drive failure.
11
Chapter 2 Servo Drive and Motor Wiring
The digital input interface circuit can be controlled by a relay or open collector transistor
circuit. The power is supplied by the user, DC12~24V, current ≥100mA; note; if the
current polarity is reversed, the high and low level of the driver will be negated. Input
signals IN1-IN7 can refer to this connection
When the input signal is in communication with OV, the signal is ON and active. It can be judged by
checking the display menu UN-17. When the input point is ON, the corresponding digital tube bar will light.
When the input is OFF, the corresponding digital tube will be extinguished. The display content is reasonably
In the differential output mode, AM26LS32, MC3487 or similar RS422 line driver is
used as the receiver.
12
Chapter 2 Servo Drive and Motor Wiring
Method 1: According to the pulse quantity input circuit, the driving current is
10 to 25 mA, and the condition that the maximum voltage of the external
power source is 24 V is determined, and the value of the resistance R is
determined. Empirical data: VCC = 24V, R = 1.3 ~ 2k; VCC = 12V, R = 510 ~
820Ω. The external power supply is provided by the user, but it must be noted
that if the polarity of the power supply is reversed, the servo drive unit will be
damaged. The details are as follows:
13
Chapter 2 Servo Drive and Motor Wiring
14
Chapter 3 Operation and Display
Status monitoring
parameter
Parameter operation
Jog operation
15
Chapter 3 Operation and Display
are 22 display states.,The user can select the desired display mode with 、 .
Motor torque
Motor current
control method
Pulse frequency
16
Chapter 3 Operation and Display
Speed command
Torque command
Blank
Operating status
Alarm code
DC bus voltage
code wheel
17
Chapter 3 Operation and Display
Parameter structure
Choose “PN” in layer 1,and press to enter the parameter setting mode. Optional PA-PH
parameters.Press enter the PA-PH arbitrary parameter list and use the 、 to select the parameter
number.Press ,display the value of this parameter,use 、 to modify the parameter value.Press
or once to increase or decrease the parameter by 1,Press and hold or ,the parameters
can be continuously increased or decreased. When the parameter value is modified, the decimal point of the
rightmost LED digital tube will be bright.Press to confirm that the modified value is valid,At this time,
the decimal point of the LED digital tube on the right is turned off. The modified value will be reflected in the
control immediately,After pressing or you can continue to modify the parameters. After the
modification, press to return to the parameter selection state. If you are not satisfied with the value being
modified, do not press to confirm,press to cancel,the parameter will return to the original value,
18
Chapter 3 Operation and Display
Parameter management mainly deals with operations between memory and EEPROM. Select "Sn-" in the first layer,and
press to enter the parameter management mode. First you need to select the operating mode. There are 5 modes, which
can be selected with the 、 key. Take “parameter write” as an example, select “Sn-Set”, and then press and hold
for more than 2 seconds. If the write operation is successful, the display will show “DONE”, if it fails, it will display
Sn-SEt parameter written It indicate that the parameters in the memory are written to the parameter area of the
EEPROM. The user modifies the parameters and only changes the value of the parameter in the memory. The next time
the power is turned on, the original value will be restored. If you want to change the parameter value permanently, you
need to perform the parameter write operation, write the parameters in the memory to the parameter area of the
19
Chapter 3 Operation and Display
Sn-rd Parameter read. It indicates that the data of the parameter area of the EEPROM is read into the memory. This
process is automatically executed once at power-on. At the beginning, the memory parameter values are the same as in
the EEPROM parameter area. However, if the user modifies the parameters, the parameter values in the memory will be
changed. When the user is dissatisfied with the modified parameters or the parameters are disordered, the parameter
reading operation is performed, and the data in the parameter area of the EEPROM can be read into the memory again.
Sn-dEF Restore the default. Indicates that the default value (factory value) of all parameters is read into the
memory and written into the parameter area of the EEPROM. The default parameter will be used the next time the
power is turned on. When the user confuses the parameters and cannot work normally, all the parameters can be
restored to the factory state by using this operation. Because the default values of the parameters corresponding to
different drive models are different, the correctness of the motor ID (parameter PA1) must be guaranteed when using the
default parameters.
20
Chapter 3 Operation and Display
Select “F1-” in the first layer and press to enter the speed trial mode. The speed test run prompt is “S” and the
value unit is r/min. The speed command is provided by the button. With the 、 keys, the speed command can be
changed and the motor runs at the given speed. control speed increases positively, control speed decreases
positively (inverse increase). When the display speed is positive; the motor rotates forward and the display speed is negative; the
motor reverses. Note: (1) The speed mode is continuous motion, please ensure that the motion axis has sufficient running
distance to avoid the impact limit. (2) If the external does not have an enable signal, set the PA6 parameter to 1. Otherwise the
21
Chapter 3 Operation and Display
Select “F2-” in the first layer and press the key to enter the jog mode. The JOG run
prompt is "J", the value unit is r/min, and the speed command is provided by the button.
After entering the F2 operation, press the key and hold, the motor runs at the jog speed,
release the button, the motor stops, keeps the zero speed;Press and hold, the motor runs
in reverse according to the jog speed, release the button, the motor stops, keeps zero speed
Note: If there is no external enable signal, please set the PA6 parameter to 1.
Otherwise the motor cannot rotate
3.7 Other
F4 is the zero function of photoelectric encoder, which is used by motor manufacturers.
F5 open loop operation, Used when motor line sequence is not equal,Users are advised to
Chapter 4 Parameters
The S series AC servo spindle drive has multiple sets of parameters to adjust, and the user parameters can be adjusted to meet most needs. Do not
change the parameters of the motor, or unpredictable results. Among them, PA is a common parameter, PB is a position control parameter, PC is a speed
control parameter, PD is an I/O control parameter, PE is a positioning and rigid tapping parameter, and PG is a current control parameter. PH is the
For the matching motor model. Each motor has only one unique ID
PA2 Software version View the current drive software version. 0~32767
Select the display status of the display after the
23
Chapter 4 Parameters
1:Analog speed/tapping;
2:Speed test run;
3:Jog control mode;
4:I/O speed control;
5:Open loop operation mode;
PA5 FPGA version No. Displays the current FPGA version. 0-32767
0:Servo enable is controlled by external I/O;
PA6 Forced enable 0~1
1:Internal forced enablement;
Position The larger the setting value, the higher the gain and the greater
PB0 proportional the stiffness. Under the same frequency command pulse condition, the 1~6000
gain position lag is smaller. However, too large value may cause
oscillation or overshoot.
Feedforward Set the low-pass filter cutoff frequency of the position loop
PB2 gain low pass feedforward. The higher the cutoff frequency, the better the 1~580
filtering position tracking, but it is easy to oscillate.
0:Pulse + direction;
Position
1:CCW/CW;
PB3 command pulse 0~2
CCW is viewed from the axial direction of the servo motor
form
and rotates counterclockwise, defined as positive;
24
Chapter 4 Parameters
and rotates clockwise, defined as reverse;
Code wheel output pulse 0:Code wheel output pulse A/B phase is normal
PB11 0~1
A/B phase modulation 1:Code wheel output pulse A/B phase modulation
Position command Set the pulse pass frequency, set to 500 to indicate the
PB12 1~1000
FPGA filter maximum pass frequency of the system is 500KHZ.
25
Chapter 4 Parameters
PC Speed control parameters:
No. Name Features Parameter range
smaller the value, the lower the cutoff frequency, the smaller
appropriate.
PC4 Maximum speed setting Maximum speed setting under analog speed operation 0~12000
PC5 Speed reaches the set value Set the speed value when the output signal reaches the valid state. 0~1000
PC6 Jog speed setting Set the jog speed. 1~3000r/min
0: FV channel (+-10V); 1: FI channel (0-10V)
Analog channel
PC7 2: FI channel (4-20MA); 3: FI channel (0-10V, 0~3
selection
direction control enabled);
Analog command When the analog voltage command is lower than this value, the 0~120
PC8
deadband range analog command input is invalid and the motor does not turn. *0.1V
PC9 Analog command zero Adjust the offset of the analog voltage to make it balanced -1000~1000
26
Chapter 4 Parameters
PC10 Blank
Analog command Analog command filtering setting,
PC11 1-1000
filter coefficient 1000 is not filtered
Analog command Adjust the maximum output speed
PC12 0~5000
gain corresponding to the maximum analog input
FV channel (+-10V) 0:FV channel (+-10V) polarity is normal
PC13 0-1
polarity is reversed 1:FV channel (+-10V) polarity is reversed
The set value is the acceleration time of the
acceleration
PC14 motor from 0r/min to 1000r/min. The 0~3000ms
time
acceleration characteristics are linear.
PC16 Zero speed approval range When the speed is less than the set value, it is recognized as 0 turn. 0~1000
PC17 Internal speed 1 Internal speed control mode: The
speed is controlled by the state of
PC18 Internal speed 2
the external I/O point.For example:
PC19 Internal speed 3 SC3 SC2 SC1:
PC17: OFF OFF OFF
PC20 Internal speed 4
PC18: OFF OFF ON -12000~120
PC21 Internal speed 5 PC19: OFF ON OFF 00
PC22 Internal speed 6 PC20: OFF ON ON
PC21: ON OFF OFF
PC23 Internal speed 7
PC22: ON OFF ON
PC23: ON ON OFF
PC24 Internal speed 8
PC24: ON ON ON
PC25 Off enable parking 0: Free stop; 1: Deceleration stop; 0~1
Can turn off the speed of Set the maximum allowable speed of 0~5000
PC26
the motor after enabling the motor *0.1rpm
PC27 Motor rated speed Motor rated speed 0~12000
PC28 Zero speed clamp Position gain in the zero speed 0~6000
27
Chapter 4 Parameters
position gain clamp state of the motor
Zero speed clamp Speed gain in the zero speed clamp
PC29 0~2000
speed gain state of the motor
Zero speed clamp speed Speed integral constant of the
PC30 0~10000
integral constant motor under zero speed clamp
PD IO Control parameters:
No. Name Features Parameter range
Input terminal high The upper five bits of the input signal are inverted to match
PD3 0~31
5 bits reverse the level of the input signal contact.
PD4 Output terminal 4 bit inversion The output signal is inverted to match the level of the output signal. 0~15
0、Do not use port;
PD5 Input terminal 7 definition 0~13
1、Enable;
PD6 Input terminal 1 definition 2、Rigid tapping; 0~13
3、Orientation;
PD7 Input terminal 2 definition
4、Zero speed clamp; 0~13
5、Analog control direction setting;
PD8 Input terminal 3 definition 0~13
6、Analog control direction setting (10
inversion, 01 forward, other invalid);
PD9 Input terminal 4 definition 0~13
7、Internal speed selection(SC1);
PD10 Input terminal 5 definition 8、Internal speed selection(SC2); 0~13
9、Internal speed selection(SC3);
PD11 Input terminal 6 definition
10、Reduction ratio selection; 0~13
11、Reduction ratio selection (00 first
PD12 Input terminal 10 definition 0~13
gear, 01 second gear, 10 third gear, 11
28
Chapter 4 Parameters
Thermal alarm terminal fourth gear);
PD13 0~13
definition 12、Alarm clear;
Set the function of output port 1:
PD14 Output terminal 1 definition 0~6
0:Servo ready
29
Chapter 4 Parameters
PE5 Positioning position Set the desired location 0~32767
PE6 Positioning speed Set the desired positioning speed 0~3000rpm
Positioning completed Set the positioning tolerance
PE7 0~1000
recognition range range
Position proportional Set position proportional gain
PE8 0~2000
gain when positioning
Positioning speed Set the speed proportional gain
PE9 5~2000Hz
proportional gain when positioning
Speed integral time constant Set the speed integral time
PE10 1~10000ms
for positioning constant during positioning
Position proportional gain Set position proportional gain
PE11 0~6000
for positioning completion after positioning is completed
Positioning completion Set the speed proportional gain
PE12 5~2000Hz
speed proportional gain after positioning is completed
Positioning completion Set the speed integral time constant
PE13 1~1000ms
speed integral time constant after positioning is completed
Find the speed of the sensor
Set the speed when looking for the
PE14 switch after finding the
sensor switch 0~1000rpm
deceleration point
31
Chapter 4 Parameters
1, the smaller the setting value, the faster the
PG4 current current loop changes from PI to P, and the value is 100~10000
integration a percentage of the rated current.
PG5 Excitation current The magnetic field holds current when the motor is stopped. 0~300
Set the current command low pass filter cutoff
Current command
frequency. It is used to limit the current command
PG6 low pass filter 1~1500Hz
frequency band, avoid current surge and
coefficient
oscillation, and make the current response smooth.
PG10 low pass filter 2. The smaller the value, the lower the cutoff frequency and the 1~1500
setting lower the noise generated by the motor. If the load inertia is large,
the set value can be appropriately reduced. The value is too small,
32
Chapter 4 Parameters
Zero speed clamp Percentage of excitation current
PG11 1~300%
excitation current using zero speed clamp
Rigid tapping Rigid tapping excitation current
PG12 1~300%
excitation current percentage
Directional Use positioning excitation
PG13 1~300%
excitation current current percentage
Weak magnetic Start weakening magnetic after
PG14 0~3000rpm
control speed point reaching the set speed
PH Motor and protection parameters:
No. Name Features Parameter range
PH2 Motor rated speed Set the rated motor speed. 300~6000 r/min
rated percentage.
Overload torque
PH5 When the current torque of the motor is higher than this value, 0~200%
detection point
the internal overload counter of the system works. After the
PH8 Speed amplifier A speed saturation alarm is generated when the system internal 1~30000
33
Chapter 4 Parameters
saturation speed regulator continuous saturation time exceeds this
PH10 Maximum braking time Set a single maximum braking time 2~500ms
PH11 Number of code lines Enter the number of code lines 500~10000
PH12 Number of 2nd code lines Enter the number of 2nd code lines 500~10000
Motor thermal overload Thermal overload is calculated 100~
PH13
detection starting point using the I*I*T method. 300%
Motor thermal overload This parameter setting is greater 100~
PH14
characteristic torque than PH13。 300%
PH15 Thermal overload time Set the maximum time for thermal overload. 1~30000S
Set the number of magnetic poles of the
PH17 Module current limit Set the module's maximum output current value 1~3000
Motor overheat 0: Software protection;
PH18 0~1
protection 1: IO protection;
4.2 Parameter debugging block diagram model
34
Chapter 4 Parameters
4.3 Servo key parameter description
Since the default motor matching parameters have been optimized, in most applications it is not necessary
to adjust the parameters (except for the electronic gear ratio) and can be used directly. But the actual
machinery is complex and diverse. If an exception occurs during debugging or requires a very high response,
you will need to adjust the parameters to meet your needs. The principle of debugging is the first current
loop, then speed loop, and the last position loop. Current loops are generally not adjusted unless in individual
cases. The speed response is too fast, causing a current surge. Causes AL11 alarm. Then can adjust PG2 to
solve.
Speed loop:Where a higher speed response is required, PC0 can be increased or PC1 can be reduced. But the
PC0 setting is too large to easily vibrate. In the case where the load inertia is too large, if the load motor
motion decelerates, it will stop unstable and shake left and right. At this time, PC1 needs to be increased
to solve it.
Position loop:Where a higher position response is required, PB0 can be increased to obtain. In some occasions,
PB1 needs to be enlarged to meet. However, the PB0 PB1 setting is too large to easily vibrate. The premise
of setting is to debug PB0 first, and PB1 is only used when it is short distance and high response.
Electronic gear ratio: 1) If calculated from the speed angle, the following formula can be used:
f ×( PB4/PB5)=10000
Where f is the pulse sent by the host computer, the unit should be the number of pulses / per revolution.
That is, if you know that the host computer emits a certain number of pulses and rotates the motor or load
for one revolution, the electronic gear ratio setting number can be calculated according to the above formula.
If the lead screw lead is 5mm, the motor and the lead screw are directly connected, and the motor moves 5mm
in one turn. If the required accuracy is 0.001mm, the motor will take 5,000 pulses to make one revolution;
35
Chapter 4 Parameters
Pulse input form: support pulse plus direction and CW/CCW (positive and reverse pulse) input, set PB3.
36
Chapter 5 Operation and Debugging
After the power is turned on, the servo alarm signal is output after 1S, and the
signal output is ready after 1.5S. After 10ms, the response is enabled. The motor is
energized and locked within 10ms; waiting for operation.
5.2 Open loop operation
1) Turning on the control circuit power and the main circuit power, and the
display of the driving unit is lit;If an alarm appears, check the connection.
2) Set the following parameters:
Parameter No. parameter name Definition Set value
PA0 Parameter password Special commissioning 12
PA4 Control mode 5: Open loop mode 5
0:External enable
PA6 Servo enable 1
1:Forced enable
3) After confirming that there is no alarm and any abnormal conditions, the
servo enable (SON) is turned ON, and the motor is energized at zero speed. If the
enable signal is not wired, you can set PA6 to 1 to automatically enable the motor.
4) Adjust the pulse frequency of the input signal to make the motor run as
commanded.
37
Chapter 5 Operation and Debugging
38
Chapter 5 Operation and Debugging
1) The control circuit power and the main circuit power are turned on, and the
display of the drive unit is lit. If an alarm occurs, please check the connection;
2) Set the following parameters:
Parameter No. parameter name Definition Set value
0: position mode;
PA4 Control mode 1: analog speed / tapping; 2
2: Speed trial run
0: external enable;
PA6 Servo enable 1
1: Forced enable.
3) After confirming that there is no alarm and any abnormal conditions, the
servo enable (SON) is turned ON, and the motor is energized at zero speed. If the
enable signal is not wired, you can set PA6 to 1 to automatically enable the motor;
4) Through the key operation, enter the F1 speed trial running operation state,
the speed trial running prompt is “S”, the numerical unit is r/min, the system is in
the speed trial running mode, the speed command is provided by the button, the
speed command is changed by the key , the motor should be run at a given
speed.
39
Chapter 5 Operation and Debugging
40
Chapter 5 Operation and Debugging
41
Chapter 5 Operation and Debugging
42
Chapter 5 Operation and Debugging
0: external enable;
PA6 Servo enable 1
1: Forced enable;
Internal speed
PC17-PC24 Set the corresponding speed
1-8
3)Port definition:
The input port of SC1/SC2/SC3 is defined by setting the value of PD6-PD13,
and the PC17-PC24 is selected according to the level signal of SC1/SC2/SC3 to set
the speed;
4) I/O port internal speed control related parameters:
See PC parameter list;
5) After confirming that there is no alarm and any abnormal conditions, the
servo enable (SON) is turned ON, and the motor is energized at zero speed. If the
enable signal is not wired, you can set PA6 to 1 to automatically enable the motor;
6) The speed is switched by adjusting the signal corresponding to
SC1/SC2/SC3;
43
Chapter 5 Operation and Debugging
5.9 Positioning
1) The control circuit power and the main circuit power are turned on, and the
display of the drive unit is lit. If an alarm occurs, please check the connection;
2) Set the function parameters and related parameters:
Parameter No. parameter name Definition Set value
Positioning 0-7: Total 8 positioning
PE4 Optional
method selection methods are selected
0: external enable;
PA6 Servo enable 1
1: Forced enable;
3)Port definition:
The corresponding port is defined as a positioning signal input port by setting
a value of PD6-PD13 to 3. When there is a signal input, the positioning is
performed according to the setting requirements; the sensor switch positioning
signal input port T3 of port 5, the PD10 needs to be set to 0 when using.
PE4 positioning mode selection has 0-7 total 8 ways to choose, where in the
first code wheel is positioned as a motor encoder and the second code wheel is
positioned as an external encoder. The inductive switch positioning signal is input
into the drive by the defined I/O port feedback.
4) I/O port internal speed control related parameters:
PE5 Positioning position Set the desired location Set value
PE6 Positioning speed Set the speed required for positioning --
Positioning completed
PE7 Set the positioning tolerance range --
recognition scope
Speed integral time Set the speed integral time constant during
PE10 --
constant for positioning positioning
Positioning completion
Set the speed integral time constant at zero
PE13 speed integral time --
speed after positioning is completed.
parameter
45
Chapter 6 RS485 Communication
This driver adds RS485 communication function, which can drive servo system,
change parameters, monitor servo system status and many other functions. To suit
specific application needs.
External sketch
46
Chapter 6 RS485 Communication
6.2 Communication protocol
The servo system adopts the standard asynchronous serial master-slave MODBUS communication protocol. Only one device host in the network can
establish a protocol. The other device slaves can only respond to the host by providing data or according to the commands of the host. The host refers to
a personal computer, an industrial control device or a PLC, and the slave refers to the servo system.
When the communication command is sent by the sending device (host) to the receiving device (slave), the slave device that meets the
corresponding address code receives the communication command, and reads the information according to the function code and related requirements.
If the CRC check is correct, the corresponding task is executed, and the execution result (data) is returned to the host. The returned information
includes the address code, function code, executed data, and CRC check code. If the CRC check error occurs, no information will be returned.。
10 Write multiple registers Write multiple sets of binary data to multiple registers
For example, the host should read the three slave register data with address 01 and start address 0116.
The address and data of the slave (PDM) data register are:
0116 1784 UA
0117 1780 UB
0118 178A UC
47
Chapter 6 RS485 Communication
For example, the host should save the data 07D0 to the slave register with the address 002C (the slave address code
is 01). After the communication data is saved, the original storage information of the PDM table with the address 002C is:
002C 04B0
The format of the message returned by the slave (PDM) response is exactly the same as the format and data content of the
The host uses this function code to save multiple data to the data memory of the PDM table. The registers in the Modbus
communication protocol refer to 16 bits (ie 2 bytes) with the high order first. Thus the memory of the PDM is two bytes.
Since the Modbus communication protocol allows up to 60 registers to be saved at a time, PDM allows up to 60 data
For example, the host should save 0064, 0010 to the slave register at address 002C, 002D (slave address code is 01).
48
Chapter 6 RS485 Communication
After the communication data is saved, the information stored in the PDM table with the address 002C/002D is:
Save data word length 2 0002 Word length of the saved data (2 words total)
Save data byte length 1 04 Byte length of the saved data (4 bytes total)
some other interference, the information sometimes has an error during transmission. The error check code (CRC) can check whether
the information of the host or the slave during the transmission of the communication data is incorrect, and the wrong data can be
discarded (regardless of Whether it is sent or received), which increases the security and efficiency of the system.
The CRC (redundant cyclic code) of the MODBUS communication protocol contains 2 bytes, that is, a 16-bit binary
number. The CRC code is calculated by the transmitting device (host) and placed at the end of the transmitted information
frame. The device receiving the information (slave) recalculates the CRC of the received message, and compares whether
the calculated CRC matches the received one. If the two do not match, it indicates an error.
49
Chapter 6 RS485 Communication
Only 8 data bits are used in the CRC calculation.The start bit and the stop bit, if
there is a parity bit and a parity bit, do not participate in the CRC calculation.
●The calculation method of the CRC code is:
1.Preset a 16-bit register to be hexadecimal FFFF (that is all 1); call this register a CRC register;
2.The first 8-bit binary data (the first byte of the communication information frame) is differentiated
from the lower 8 bits of the 16-bit CRC register, and the result is placed in the CRC register;
3.Move the contents of the CRC register one bit to the right (toward the lower bits),
pad the highest bit with 0, and check the shifted out bit after the right shift;
4.If the shift bit is 0: repeat step 3 (shift one bit to the right again);If the shift bit
is 1: the CRC register is XORed with the polynomial A001 (1010 0000 0000 0001);
5.Repeat steps 3 and 4 until the right shift is 8 times, so that the entire 8-bit data is processed.
6.Repeat steps 2 through 5 to process the next byte of the communication information frame;
7.After all the bytes of the communication information frame are calculated according to the above
steps, the high and low bytes of the obtained 16-bit CRC register are exchanged;
highest position of the function code is 1, that is, the function code returned by the slave to the host is 128 based on the
function code sent by the host. The following codes indicate that an unexpected error has occurred.
If the information received by the PDM from the host has a CRC error, it will be ignored by the PDM table.
The format of the error code returned by PDM is as follows (except CRC code):
Address code: 1 byte
Function code: 1 byte (the highest bit is 1)
Error code: 1 byte
CRC code: 2 bytes.
The PDM response returns the following error code:
81. Illegal function code. The received function code PDM table is not supported.
82. Illegal data location. The specified data location is outside the
scope of the PDM table.
83. Illegal data value. Received the data value sent by the host beyond
the data range of the corresponding address of the PDM.
50
Chapter 6 RS485 Communication
software from the manufacturer, it can be stored directly on the computer. To connect the computer to
the drive, you must use the factory-specific debug communication line (model CABLE02). Using other
2. Click the serial port setting software to automatically identify the COM
port. The baud rate should be selected according to the drive settings. If
there is no match, a communication error will occur. The default baud rate
of the software and the drive is 9600. The station number is selected
according to the drive settings.Once the drive model is selected, Other
parameters default, save, and then click the "Connect" button, the
software and the drive can communicate normally. Offline mode is used to
not connect to the drive and view other software information.
51
Chapter 6 RS485 Communication
52
Chapter 6 RS485 Communication
3. Click Parameter Settings. This interface mainly views and modifies the drive parameters. It can be
modified individually or in batches to greatly improve the debugging efficiency of the drive.
Function Description:
Read: Read the external parameter file to the current computer software.
Save: Store the parameter table in the current computer software to another file for download.
Upload: Upload the parameters in the drive to the computer software.
Release: Download the parameters in the computer software to the drive. Parameter batch processing
One by one: download the parameters in the computer software to the drive. Single parameter processing
Save: Save the parameters modified in the current computer software directly to the EEPROM of the
drive.
drive. Please refer to the instructions in the debugging software for instructions on how to use it. This manual not discusses.
53
Chapter 6 RS485 Communication
Read multiple registers (for example, read PB4 PB5 electronic gear ratio)
01 03 00 09 00 02 14 09
Station No Read command Address 9 2 data Check Digit
Return
01 03 04 00 01 00 01 6A 33
Return result: 4 bytes The two parameter data are 01 01 respectively. PB4 PB5=1
Write multiple registers (for example, write PB4 PB5 electronic gear ratio)
01 10 00 09 00 02 04 00 05 00 04 22 07
Station No Write command Address 9 2data 4 bytes Data 5 and 4 Check code
Return
01 10 00 09 00 02 91 CA
Return result: Two bytes have been written to view the drive, PB4=5 PB5=4
Read a single register(For example,read the magnitude of the current output by the servo, that is, the UN-I address is 148.)
01 03 00 94 00 01 C5 E6
Return:01 03 02 00 03 F8 45 Indicates that the data read is 03 for 0.3A.
54
Chapter 6 RS485 Communication
Read the current motor absolute position
01 03 00 9A 00 02 E4 24
Return:01 03 04 C4 C8 00 03 06 FC
C4C8=50376 actually needs X2, so it is 100753
So the current absolute position is:03 100753
If you are reading a negative number of turns, the actual number of pulses should
be: the number of pulses read - 65536 or the number of pulses read - 256.
Note:
①. Read the address of the monitoring menu, mainly through the 485 communication, let
the host computer read, used to transfer the servo status to the host computer.
②. Monitoring menu address: 140 ~ 160, the sequence is the same as the original drive,
only the number of motor turns is inserted behind 154, the absolute position does not display
the lowest bit (display digits are not enough).
③. Write the address of input port IO48-IO54 for controlling the input point through
communication.
The input port address is 128~134, and the output port address is 135/136/137.
④. The communication port standard is debugged by S series servo software, and can also
be debugged by computer serial port. Use a computer to debug the converter that needs to be
connected to the USB to RS485.
55
Chapter 6 RS485 Communication
Note:
1) Only 16-bit information is displayed in the absolute position of the motor 009BH. It is
necessary to *2 to be the correct position information after reading.
56
Chapter 7 Alarm and Processing
AL-6 Speed amplifier saturation Speed regulator is saturated for a long time
AL-9 Encoder exception The encoder has a wire break or short circuit
AL-11 Overcurrent 1 IPM module output current is too large
AL-12 Over current 2 DSP detects excessive current
AL-13 Overload Servo output torque exceeds the allowable value
AL-14 Brake abnormality Abnormal brake circuit
AL-15 Encoder count is abnormal Encoder AB count deviation is too large
AL-16 Motor thermal overload Motor overload for a long time
AL-19 Second code wheel short line Bad second code wheel line
AL-20 EPROM error Servo internal EEPROM read and write exception
AL-24 FPGA communication is abnormal FPGA communication is abnormal
AL-32 Encoder UVW is invalid Encoder signal error
AL-45 ADC error ADC error
AL-46 Servo power down signal is abnormal Servo power down signal is abnormal
AL-47 Second code wheel counter error Second code wheel line error
57
Chapter 7 Alarm and Processing
ADC
AL-45 ADC error Replace the drive.
error
Servo power
Power failure detection
AL-46 down signal Replace the drive.
abnormal
is abnormal
If the power-on alarm cannot be eliminated, replace the drive and observe.
7.3 Common problems or exception handling in use
1、The no-load running motor vibrates or screams strongly, and the load is noisy or misaligned.
Remedy: Confirm that the drive ID (PA1 parameter) matches the connected motor, set the correct ID
parameter according to the table in Appendix A, and then perform the factory reset operation (SN-DEF).
4)Operate the driver to enter the SN-DEF interface, press and hold the ENTER button on the
display panel for two seconds, when the display shows DONE, it means success;
60
Chapter 7 Alarm and Processing
This servo system defaults to 10,000 pulse motors for one revolution. If the upper machine control
requirement is 3000 pulses that the motor needs to rotate one turn, and then the gear ratio needs to be set
4、The host computer sends a pulse but the motor does not run.
Please confirm the UN-12 monitoring value after PA4=0. If there is a digital display indicating that
the driver has received the pulse, it can be explained that there is no problem with the control signal
connection line. Then please refer to Method 1 to troubleshoot. If the display is F 0 means the drive
does not receive a pulse. Please refer to Method 2 for troubleshooting. The unit displayed by UN-12 is
KHZ. For example, F 150 indicating that the current drive receives a pulse frequency of 150KHZ.
Method 1:
Set the following two parameters: PA6=1 PA4=3 Perform the jog function in F2 mode. If the motor
can rotate, it means that the motor, motor power line and encoder line are connected correctly.
Mainly check whether the T4 signal has an INH signal or the CLE signal is ON. Can be found by
observing UN-16.
1)Detect if the drive has an enable motor can turn the motor shaft by hand. If it does not move, the
motor is enabling locked. If the motor can be turned on, it means that it is not enabled. Please check if
the T3 input enable signal is connected correctly. If the enable signal does not require host computer
control. Moreover, the T3 input enable signal is not connected, set PA6=1,then the drive power-on
2)Check if the power cable between the drive and the motor is connected and the plug is loose.
Whether the output of the driver U V W PE corresponds to the motor U V W PE . The U V W PE of the
power cable must be connected properly, and the order of the V V PE must not be changed at will;
Method 2:
1)Check the pulse amplitude input to the drive, the standard is 5V. If the pulse amplitude is 12V,
the 1K resistor must be connected in series. If the pulse amplitude is 24V, the 2K resistor must be
connected in series. Failure to follow the string resistance will burn the driver input circuit. Causing the
2) Confirm that the pulse wiring mode is correct, and the wiring mode: differential wiring mode
and single-ended wiring mode. See the picture below for details:
62
Chapter 7 Alarm and Processing
5、The motor can only be turned in one direction
1) Confirm the pulse type input to the driver, pulse plus direction setting PB3=0; CW/CCW setting
PB3=1; A/B quadrature pulse setting PB3=2, and confirm the driver model;
2) Observe the UN-12 display status. F xx should be displayed when the host computer sends a
forward signal. F – xx should be displayed when the signal is inverted. If the host computer sends a
forward or reverse signal, both are F xx or F – xx. Please check the direction signal SIGN of the host
6、Drive shows AL-3 when stopped at high speed or when moving from top to bottom for negative work
1)Modify the deceleration time of the upper computer;
2)Reduce the speed of the motor;
3)The low power driver is connected to an external braking resistor;
4)Please contact the factory technician. for medium and high power drivers.
7、No display after power on
1)Confirm the power cable and input power;
2)Please contact the factory technician.
8、Powered on drive displays "....." or "888888"
1)Input power phase loss, check each phase power line;
2)The servo motor has been short-circuited and damaged, causing damage to
the drive. The damage of the motor can be judged by rotating the motor shaft
under no-load conditions. If the shaft is rotated for one turn, the shaft is not
smooth, and there is a stuck phenomenon to determine that the motor is broken.
9、Motor positioning is not accurate
1) Irregular, check the mechanical connection of the motor;
2) Regular, monitoring UN-02 UN-03 UN-04 UN-05 analysis can produce results;
63
Chapter 7 Alarm and Processing
3) Check the on-site interference, use the shielded wire and ground for the signal line, and
install the magnetic ring. Use a shielded cable for the motor cable. The electric control
system is re-wired, and the strong and weak electricity are separated. Add filters and so on.
The role of servo monitoring menu in analysis and debugging
1)UN-01 Motor speed Observe the actual running speed of the motor;
2)UN-02 UN-03 The current position of the motor: used to observe the
current position of the motor, expressed in the form of the number of pulses, such
as controlling the fixed trajectory, then repeating each time. When going to the
same position, the displayed value should be the same, indicating that each time
accurate positioning;
3)UN-04 UN-05 Pulse command count is used to monitor whether the pulse
from the host computer is accurate.
For example, if you control a fixed trajectory, you will repeat it each time.
When going to the same position, the displayed value should be the same,
indicating that the pulse sent by the host computer is accurate;
4)UN-08 The current torque of the motor is used to observe the actual running
force of the motor. If the value exceeds 90 for a long time, it means that the motor
selection is too small;
5)UN-12 Input pulse frequency, used to observe the pulse frequency and
stability of the host computer;
6)UN-17 The state of the input signal is used to judge whether the input signal
is normal; the first digit of the decimal point is an alarm signal;
7)UN-18 The output signal status is used to judge whether the output signal is
normal.
8) UN-23 The analog input voltage AD value is used to indicate the input
voltage level. 2048 when there is no input.
9) UN-24 Analog input current AD value is used to indicate the input voltage
level. 0 when there is no input.
10)UN-25 Displays the current DC bus voltage.
11)UN-26 The current speed of the second dial is displayed.
12)UN-27 The second code wheel absolute position is displayed for detecting the second code wheel positioning position.
64
Chapter 8 Motor Specifications and Selection
65
Chapter 8 Motor Specifications and Selection
(4)Ensure that the motor shaft line is parallel to the input shaft line of the load mechanism during installation;
(5)Ensure that the motor is well ventilated;
(6)Ensure that the grounding terminal in the motor terminal box is properly grounded;
(7)Motors with fans pay attention to the fan power supply separately;
8.2 Motor use
( 1 ) The U, V, W terminals of the motor must be in one-to-one
correspondence with the U, V, and W terminals of the driver;
(2)The cable plug of the encoder must be plugged in firmly;
(3)When the fan is wired, the wind direction must be correct;
(4)The motor must be running smoothly without abnormal noise;
(5)The surface temperature of the motor is high during operation, avoiding
the touch by hand to prevent burns;
8.3 Motor model description
Take model AMZ-200AH055AAA as example:
66
Chapter 8 Motor Specifications and Selection
1、Motor end:
AMM motor:
Pin 5 10 4 9 3 8 2 7 6 1
signal PV1 G1 A+ A- B+ B- Z+ Z- T1 shield
AMZ Motor:
See motor identification.
2、Drive end:
See the standard control mode wiring diagram.
67
Chapter 8 Motor Specifications and Selection
Appendix A: Parameter setting table for S series driver and asynchronous AC motor
68
Appendix B
*Because of the wrong use, such as the wrong power supply, self-disassembly,
transformation, water, oil and other human factors caused by damage;
69
Hangzhou Bergerda Automation Technology Co., Ltd.
Address: Building 8, Sitai Science and Technology Park, No. 493
Linping Avenue, Yuhang Economic Development Zone, Hangzhou
Hot tell:0571-88326782/ 0086-15906666401(Whatsapp)
Service:0571-89719501
Web:www.bergerda.com