Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

ZLAC706 Manual for Low Voltage Servo Driver V1.

3(Special for Hub Motor)

ZLAC706
Manual for Low Voltage
Servo Driver
(Special for Hub Motor)
[Pl ease read th e manu al carefull y b efore use to avoid d amag e to th e d river ]

1
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Version Update Instruction

Create/modify date Editor Version Remark

2019-4-25 PC V1.3 Add separate individual parameters: motor


status, bus voltage, output current, motor
speed, position reference, position
feedback, and add emergency stop
command and release emergency stop
command for 232 communication. (Driver
version 16211)

2
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

CATALOGUE
Preface .................................................................................................................... 4
Safety Precautions ...................................................................................................5
Outline ....................................................................................................................7
1. Basic Feature .......................................................................................................7
2. Application ..........................................................................................................7
3. Technical Indicator ...............................................................................................7
4. Interface Definition ..............................................................................................8
4.1 Power/Motor Interface(P3) .......................................................................8
4.2 Encoder Interface(P2) ...............................................................................8
4.3 Control Interface(P1) ................................................................................9
4.4 OUT/IN Interface ..................................................................................... 11
4.5 Communication Interface........................................................................ 12
5. Control Mode .................................................................................................... 12
5.1 Basic Control .......................................................................................... 12
6. Typical Wiring .................................................................................................... 14
7. Indicator Light and Fault Judgment ..................................................................... 15
8. Communication Protocol .................................................................................... 15
8.1 RS232 Communication Protocol ............................................................... 15
8.2 RS232 Communication Application Example ............................................ 23

3
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Preface

Thanks for choosing the easy-use low voltage servo driver.

This manual describes the installation, debugging, maintenance, operation and other
aspects of this servo driver(25W ~400W). Before use, please read the manual and
make clear of the safety precautions of this product.

This manual will be timely revised when product is improved, specifications and
version are changed or some other reasons, which will not be notified.

Any questions when using our products, please read the relevant manual or call our
technical service department, we will meet your requirements in the shortest
possible time.

Marks and warning signal:

Danger: Indicates that this operation error may endanger personal


safety!

Attention: Indicates that this operation error may result in equipment


damage!

4
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Safety Precautions

Open package and Check

Do not install controllers which is damaged or with missing parts.

The servo driver must be used with a matching servo motor.

Installation

Please Install driver on a non-flammable metal frame, prevent the intrusion


of dust, corrosive gases, conductive objects, liquids and flammable materials, and
maintain good heat dissipation conditions.
When installing, be sure to tighten the mounting screws of the driver. The
servo driver and servo motor should avoid vibration and forbidden to withstand
shock.

Wiring

Please perform the wiring work by professional electrical engineer.


Before wiring, please confirm that the input power is off. Wiring and
inspection must be performed after the power is turned off and the driver indicator
is off to prevent electric shock.

When plugging and unplugging the driver terminals, make sure that the
driver indicator is off before proceeding.

The grounding terminal PE shall be reliably grounded through the left screw
of the driver.

Please set the emergency stop circuit outside the controller.


Do not connect the power input cable to the output U, V, W terminals.
Please tighten the output terminal with a suitable torque.

Electrify

Please confirm whether the main circuit input power is consistent with the
5
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

rated working voltage of the driver.

Do not test the driver for high voltage and insulation resistance at will.

Do not connect the electromagnetic contactor or electromagnetic switch to


the output circuit.

Operation

Do not directly touch the output terminals after the driver is powered on.

When the system is on operation, the driver and motor may have a high
temperature rise, do not touch it.
Please confirm the input and output signals to ensure safe operation.
The alarm can be reset only after the operation signal is cut off. Alarm resetting
in the running signal state will cause the driver to restart suddenly.

Do not change the parameter settings of the driver at will. The parameter
modification needs to be performed under standby condition.

Maintenance and Inspection

Do not touch the controller terminals directly, and some have high voltage,
very dangerous.

Before powering up,be sure to install the cover; when removing the cover,
be sure to cut off the power supply first.

Before wiring, please confirm whether the input power is off.

After cutting off the main circuit input power and confirming the driver
indicator light has completely extinguished, it can be inspected and maintained.
Do the inspection and maintenance by professional electrical engineer.
Do not do wiring, disassembling or other operation on the terminals during
power on. There is an integrated circuit on the main control board of the driver.
Please pay full attention when checking to avoid damage caused by static induction.

6
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Outline

The low-voltage servo driver is developed with a high-performance processor to


provide users with a cost-effective servo control solution. Under the premise of
ensuring stability and reliability, we pursue the functions and performance that are
closest to the application. Compared with stepper product, it has low noise, low heat
generation, high speed, constant torque output, and no step lost. Compared with
stepper servo product, it completely eliminates the inherent disadvantages of
stepper product, and has better function, performance and reliability. Compared
with well-known foreign high voltage servo product, it has similar performance, but
its price is lower, and it is easy to use.

1. Basic Feature
Working voltage: 24V-60VDC (200W motor 24V-36VDC, 400W motor 24V-60VDC).
Output current: average 8A, peak 24A.
Rotate speed: up to 1000RPM for hub motor.
Adapter motor: 400W inner for hub motor.
Control mode: external pulse, analog quantity, host computer communication
control etc.
support position, speed and torque mode.
Parameter commissioning: RS232 communication, PC debugging software write once,
can backup and import parameters.
Communication method: RS232.
Abnormal protection: with functions of under-voltage, over-voltage, overload,
over-current, encoder abnormality, etc. and has alarm output.

2. Application
Various types of electronic processing equipment, assembly line material conveying
device, medical equipment, instrumentation, precision testing equipment, channel
gate control, Cartesian robot, servo fixed length positioning, garage blocking control,
equipment loading and unloading device, equipment auxiliary exercise device, grab
and handling machinery, inkjet printers, photo machines, home and office
automation devices etc.

3. Technical Indicator
Adopt FOC magnetic field orientation control technology and SVPWM space vector
modulation algorithm can easily modify the motor parameters to adapt to various
motors with different specifications, built-in electronic gear, graphical debugging and
monitoring software. The control function can be customized according to the user's
needs to integrate control and drive.

7
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Repeat tracking error: 1Pulse;


Speed control accuracy: 2RPM.
Receiving frequency: 600KHZ.
Maximum speed: 1000RPM for hub motor.
Minimum speed: 1RPM.
Positioning accuracy: 1/10000.
Highest no-load acceleration: 200RPM/MS.
Adaptable to 24V/36V/48V/60V hub motor within 400W.

4. Interface Definition
4.1 Power/Motor Interface(P3)
NO. Mark Name Remark
1 GND Input power-
DC 24V-60V
2 VDC Input power+

3 U Motor power line U phase


Must be connected to the
4 V Motor power line V phase motor one by one according
to the mark
5 W Motor power line W phase
Tab 4-1

Fig.4-1 Power/motor interface terminal diagram

4.2 Encoder Interface(P2)


NO. Mark Name NO. Mark Name
1 GND Output power ground 7 B+ Encoder B phase positive input
2 VCC Output power+5V 8 A+ Encoder A phase positive input
Encoder W phase positive 9~
3 W+ No connection
input 12
4 V+ Encoder V phase positive input 13 Z- Encoder Z phase negative input
5 U+ Encoder U phase positive input 14 B- Encoder Z phase negative input
6 Z+ Encoder Z phase positive input 15 A- Encoder A phase negative input
Tab 4-2
8
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Fig.4-2 Encoder interface terminal diagram

4.3 Control Interface(P1)


NO. Mark Name Remark
Enable signal: This signal is used to
1 ERC- Enable negative input enable or disable the servo motor. When
the ERC+ and ERC- are at high level,
the drive will cut off the motor power, so
that the motor is in a free state and does
not respond to the pulse. When the
2 ERC+ Enable positive input
ERC+ and ERC- are low, the motor is
enabled. If use 12V or 24V, need to string
1.5-2.2K resistor.
Direction signal: When the input
3 DIR- Direction negative input between DIR+ and DIR- is at high level , it
is reversed, and vice versa. The DIR signal
must be established at least 5uS ahead
of PUL signal, 4-5V at high level and
4 DIR+ Direction positive input
0-0.5V at low level. If use 12V or 24V,
need to string 1.5-2.2K resistor.

5 PUL- Pulse negative input Pulse signal: Pulse rising edge is


effective, 4-5v at high level, 0-0.5v at low
level, the pulse width should be greater
than 1.6uS. If 12V or 24V is used, need to
6 PUL+ Pulse positive input string 1.5-2.2k resistor.

Tab 4-3

Fig.4-3 Control interface terminal diagram

9
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

4.3.1 Control signal input example

Control signal differential mode input, control signal interface wiring diagram, as
shown in figure 4-4.

Fig 4-4 Wiring diagram of differential mode control signal interface

The wiring diagram of the single-ended mode control signal interface as figure 4-5.

Fig 4-5 Single-ended mode control signal interface wiring diagram

Special Notice:
When the control signal is 12V or 24V, an external current limiting resistor is required.
12V connected to 1K 1/8W resistor, and 24V connected to 2K 1/8W resistor.
Otherwise, long-term operation will damage the driver opto-isolated device.

10
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

4.4 OUT/IN Interface


Terminal NO. Name Remark Terminal NO. Name Remark

1 5V Output +5V power 2 GND Power ground

Encoder A phase 4 EA- Encoder A phase


3 EA+
positive output negative output
Encoder B phase 6 EB- Encoder B phase
5 EB+
positive output negative output
Encoder Z phase 8 EZ- Encoder Z phase
7 EZ+
positive output negative output
9 AI Analog input 10 GND Power ground

11 FAULT Alarm signal output 12 COM Output power ground

Tab 4-6

Fig 4-6

4.4.1 Analog input control example

The analog external potentiometer is shown in figure 4-7. There are two ways to
control the analog control, which can be selected by RS232 debugging software:
position control mode - external analog input and speed control mode - external
analog input.

Fig 4-7 Analog quantity external potentiometer diagram


11
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

4.4.2 Alarm signal output example

The FAULT port is an opto-isolated OC output with the maximum withstand voltage
30VDC and maximum saturation current 50mA. When the driver is working normally,
the output optocoupler is not conductive.
FAULT 11

COM 12

4.5 Communication Interface


Communication Interface RS232
Terminal
Name Remark
No.
1 VCC Input +5V power
6 1
2 TX RS232 signal transmitted

3 NC No connection

4 GND Signal ground

5 RX RS232 signal received

6 NC No connection
Tab 4-4

5. Control Mode
5.1 Basic Control
The driver provides three basic operation modes: position, speed and torque, using a
single control mode. All operation modes and instructions are listed below.

12
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Control mode
Control source selection Description
selection
The driver accepts a position
command to control the motor to the
External pulse input target position. The position
command is input by the terminal,
and the signal type is pulse + direction
Relative position:
The driver enable start time is
mechanical 0 point, each time the PC
Position control
digital input value is written, the
mode
motor rotates the target distance.
Absolute position:
PC digital input
The driver enable start time is
mechanical 0 point, each time the PC
digital input value is written, the
motor rotates to the target position
with the mechanical 0 point as the
reference.
Speed control
PC digital input Input range: -1000RPM~+1000RPM
mode
The input range is -7500~+7500. The
corresponding output current is
Torque control 24A.When the input is positive, it
PC digital input
mode corresponds to the positive torque,
and the negative value is the reverse
torque.
Tab 5-1

13
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

6. Typical Wiring

14
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

7. Indicator Light and Fault Judgment


Green LED is the power indicator, which is always on when the driver is powered up.
It is off when the driver is powered off.
Red LED is the fault indicator. When a fault occurs, the LED flashes in a cycle of 5
seconds. When the fault is cleared, it keeps off. It flashes at 2Hz, with the LED on for
200ms and off for 300ms. Its flash number in 5 seconds represents different fault
information, as shown in the following table:

NO. Flash waveform Red indicator flash Fault description


waveform
1 1 Overload fault
2 2 Under-voltage fault(VDC≤16V)
3 3 Over-voltage fault(VDC≥80V)
4 4 Encoder falling fault
5 5 Over-current fault
Users can also read the corresponding fault code through the PC host computer and
serial text.

8. Communication Protocol

8.1 RS232 Communication Protocol

Data Data
Function High 8 bits High 8
Add. checksum Remark
Description (A2) bits (A2)
(A1) (A1+A2+A3)

Write motor enable


Motor start 0x00 0x00 0x01 0x01
(PC control mode is valid)

Write motor disable


Motor stop 0x00 0x00 0x00 0x00
(PC control mode is valid)

Motor emergency stop


Motor (only valid in PC speed,
0x54 0x00 0x00 0x54
emergency stop position mode).
In the locked axis state
Release the motor
emergency stop state.
Release
0x54 0x00 0x01 0x55 Send speed command in
emergency stop
speed mode to rotate
motor
15
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Speed mode Command source


selection --- PC 0x02 0x00 0xc4 0xc6 selection is given in
digital input control mode
Position mode
Command source
selection -
0x02 0x00 0xc0 0xc2 selection is given in
external pulse
control mode
input
Position mode Command source
selection - PC 0x02 0x00 0xd0 0xd2 selection is given in
digital input control mode
Command source
Torque mode - PC
0x02 0x00 0xc1 0xc3 selection is given in
digital input
control mode
Take lower 8 It is recommended to
Speed
0x40 _____ _____ bits modify according to the
proportional gain actual conditions based
(A1+A2+A3)
on the factory default
Take lower 8
Speed integral parameters.
0x41 _____ _____ bits
gain Under the default
(A1+A2+A3)
parameter setting, if the
Take lower 8 motor vibrates, reduce
Speed differential
0x42 _____ _____ bits
gain the value of the speed
(A1+A2+A3)
ratio and increase the
Take lower 8 speed integral value
Position
0x1a _____ _____ bits appropriately without
proportional gain
(A1+A2+A3) vibrating. If the speed
Take lower 8 proportional gain is
Position
0x1b _____ _____ bits reduced, the motor is not
differential gain
(A1+A2+A3) vibrated, and then the
position proportional gain
value is reduced. In the
case of no-vibration,
Take lower 8 slowly increase the speed
Position feed
0x1c _____ _____ bits proportional gain value
forward gain
(A1+A2+A3) and reduce the speed
integral gain value. Under
the condition of satisfying
the rigidity, appropriately

16
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

increasing the speed


differential gain value can
reduce the motor
vibration, and increasing
the excessive differential
gain value will cause high
frequency noise.
Speed mode (valid deceleratio
acceleration Take lower 8
for PC digital n
0x0a bits
input) --- ACC and
_____ _____ (A1+A2+A3)
DEC setting
Position debug
mode position Take lower 8
The upper 16 bits of the
given high 16 0x50 _____ _____ bits
32-bit data input
bits----PC---positio (A1+A2+A3)
n
Position debug
mode position Take lower 8
The lower 16 bits of the
given lower 16 0x05 _____ _____ bits
32-bit data input
bits ------- (A1+A2+A3)
PC-------position
The input torque 2500
Torque debug Take lower 8
actually corresponds to
mode-----PC digital 0x08 _____ _____ bits
8A, and can be set to
input (A1+A2+A3)
-7500~+7500
Speed debug The set digital 16384
mode-----PC digital 0x06 _____ _____ _____ corresponds to actual
input speed 6000RPM
If send the command
Looking for Z
when running, the motor
signal mechanical 0x53 0x00 0x00 0x53
will find the Z signal
origin
position automatically

Clear default 0x4a 0x00 0x00 0x4a Clear current fault

Absolute /relative 0x51 0x00 0x00 0x51 Absolute position


position switching
control in position
0x51 0x00 0x01 0x52 Relative position
mode

17
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Speed limit value


in position
mode(The actual
Take lower 8 The set digital 16384
speed at a given
0x1d _____ _____ bits corresponds to the actual
position is
(A1+A2+A3) speed 6000RPM
reached under the
position
command)
Take lower 8
Modify rated
0x2d _____ _____ bits Set the value unit to mA
current
(A1+A2+A3)
Read monitoring Send 0x80 0x00 0x80 directly, the driver will return the corresponding monitoring
parameters information

Take lower 8 bits Status_word is the


Fault status 0x80 0x00 Status_word
(A1+A2+A3) custom parameter

80 00 01 81
80 00 81 01
Motor Startup
status
E1 Bus voltage
Internal Control (PC): address
Send 80 00 80 E2 Output current
Return 80 00 01 81 E1 00 19 FA E2 00 18 FA E4 02 8B 71 E6 00 address
00 E4 Output speed
E6 E7 21 8A 92 E8 00 00 E8 E9 1B 24 28 address
External control (PLC): E6 Position given
Send 80 00 80 high 16-bit
Return 80 00 81 01 E1 00 19 FA E2 00 18 FA E4 02 8B 71 E6 00 address
00 E7 Position given
E6 E7 21 8A 92 E8 00 00 E8 E9 1B 24 28 low 16-bit address
E8 Position
feedback high
16-bit address
E9 Position
feedback low
16-bit address

18
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

The fault information corresponding to each bit of Status_word is as follows


(high effective)
Status_ov_i = Status_word^1, over-current
Status_ov_u = Status_word^2, over-voltage
Status_err_enc = Status_word^3, encoder error
Status_ov_q = Status_word^5, under-voltage
Status_ov_load = Status_word^6, overload

Take lower 8
Bus voltage 0xe1 _____ _____ bits (tolerance ±2V)
(A1+A2+A3)
Take lower 8
The actual current by 100
Output current 0xe2 _____ _____ bits
times reduced
(A1+A2+A3)

Take lower 8 The returned digital


Output rotate
0xe4 _____ _____ bits 16384 corresponds to the
speed
(A1+A2+A3) actual speed 6000RPM

Take lower 8 The position is given as


Position given
0xe6 _____ _____ bits 32-bit data, and the
high 16 bits
(A1+A2+A3) actual value is
Take lower 8 recombined according to
Position given low
0xe7 _____ _____ bits the upper 16 bits and the
16 bits
(A1+A2+A3) lower 16 bits.
Take lower 8 The position feedback is
Position feedback
0xe8 _____ _____ bits 32-bit data, and the
high 16 bits
(A1+A2+A3) actual value is
Take lower 8 recombined according to
Position feedback
0xe9 _____ _____ bits the upper 16 bits and the
low 16 bits
(A1+A2+A3) lower 16 bits.

Individually readable monitoring parameters

Parameter Address Instruction format Remark

Internal Control (PC):


Send 0x60 0x00 0x00 0x60 Stop state
Return 60 60 80 00 00 80
Alarm status 0x60 Startup state
60 60 80 00 01 81
Overcurrent
60 60 80 00 02 82
60 60 80 00 04 84 Overvoltage

19
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

60 60 80 00 08 88 Encoder fault
60 60 80 00 10 10 Overheat
60 60 80 00 20 A0
Undervoltage
60 60 80 00 40 C0
overload
External control (PLC):
Send 0x60 0x00 0x00 0x60
Return 60 60 80 00 80 00
60 60 80 00 81 01
60 60 80 00 82 02
60 60 80 00 84 04
60 60 80 00 88 08
60 60 80 00 90 10
60 60 80 00 A0 20
60 60 80 00 C0 40
Send 0x61 0x00 0x00 0x61 Voltage=0x19
Bus voltage 0x61
Return 61 61 E1 00 19 FA corresponds to 25V
Send 0x62 0x00 0x00 0x62 Current=0x0A
Output current 0x62
Return 62 62 E2 00 0A EC corresponds to 10mA
Send 0x63 0x00 0x00 0x63 Actual speed = set value /
Return 63 63 E4 01 12 F7 8192 * 3000RPM
0x01 0x12 corresponds to
Motor speed 0x63
274
Speed =
274/8192*3000=100rpm
Send 0x64 0x00 0x00 0x64 After E6 is the position
Return 64 64 E6 00 00 E6 E7 27 10 1E high 16 bits 0x00 0x00
Position given 0x64 After E7, the position is
lower 16 bits 0x27
0x10=10000counts
Send 0x65 0x00 0x00 0x65 After E8, the position
Return 65 65 E8 00 00 E8 E9 27 09 19 feedback is 16 bits high.
Position feedback 0x65
After E9, the position
feedback is lower 16 bits.

Description:
(1) The data command format received by the controller is: address + data 8 bits
+ data low 8 position + data checksum (take the lower 8 bits of the first 3 data sums),
If the host computer send it correctly in this format, the driver immediately returns
the two addresses of the command to the host computer, indicating that the driver
20
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

has successfully received the command. For example: the host computer sends: 0x09
0x32 0x32 0x6d the driver returns to the host: 0x09 0x09 This indicate the driver has
finished receiving command.

(2) When selecting the position debug mode, the host computer sends a
control command through the serial port. The setting sequence is: set the driver to
the position debug mode (send 0x02 0x00 0xd0 0xd2) ---------- set its acceleration and
deceleration ----------- motor start (0x00 0x00 0x01 0x01)------------ Position given the
upper 16 bits ------------ position given the lower 16 bits.

(3) If all parameters have been set when the driver is debugging parameters,
such as the acceleration and deceleration, control mode, speed limit (the factory has
defaulted to a suitable value). In this situation, only need to set the motor to start,
then send position to the positioning.
Steps: Motor start (0x00 0x00 0x01 0x01) ------------ Position given high 16 bits
------------ position given lower 16 bits.

(4) The input length given by the position is a 32-bit data, which needs to be
decomposed into high 16 bits and low 16 bits when transmitting. Moreover, the
16-bit data is also decomposed into high-eight and low-eight bits meanwhile. The
data splitting is done by the data format generator in the file. As long as the user
writes the data to be sent on it, it can be automatically split into the format used for
communication.

(5) Use of the data format generator. For example, set the acceleration and
deceleration to 50, and enter it in the 16-bit data generation box: Address: 09
Acceleration write 50 Deceleration write 50 then display. At this time, the data
format is generated 0x09 0x32 0x32 0x6d and then the host computer sends this
command to set the acceleration and deceleration in the position debug mode.

(6) Set the 32-bit position given command. The 32-bit data corresponds to the
pulses number. For example, when the numerator denominator is set to 1 in the set
electronic gear. When the encoder lines number is 2500, the pulses number required
for one rotation of the motor is 10000. When the position reference is written as
10000, the driver starts at the mechanical zero point and the motor rotates once.
When 100000 is written, the motor rotates 10 turns. If 0 is written, the motor rotates
to the position just start.

(7) About the position mode, whether the send position command is an
21
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

absolute position or a relative position. When the send command is 0x52 0x00 0x00
0x52, the send position is absolute position. When the send command is 0x52 0x00
0x01 0x53, the position is relative position.

(8) In position mode, the maximum stable speed limit of the output motor is
determined by VLimit. The send command is (0x1d set value high 8 bits set value
lower 8 bits checksum), where the limit speed corresponds to the set value =
(required set limit speed / 6000) * 16384, the obtained data is rounded off. For
example, if the motor require 3000 RPM, the set value is 8192. If 1RPM is required,
the set value is 3 (rounded).

(9) About finding the mechanical Z signal origin, after the parameter
configuration is completed and after sending the origin operation (0x53 0x00 0x00
0x53), then send the motor start (0x00 0x00 0x01 0x01). The motor will rotate slowly
until find the Z signal origin, and then it will not move. The hub motor has no origin
signal.

(10) About monitoring command. The command to send a monitor command is


( 0x80 0x00 0x80 ). After receiving the command, the driver will return the following
data: fault information, bus voltage, output current (amplified by 100 times, the
actual display current need to be divided by 100, for example, the receipt is 123,
actual current is 1.23A), and the output speed ( The output speed is digital, and the
conversion relationship is actual speed = (digital speed / 16384 ) * 6000), the current
position given value is high 16 bits, the current position given value is low 16 bits,
and the current position feedback value is high 16 bits. The current position feedback
value is low16 bits.

Please refer to the above table for the corresponding relationship. The format
returned is 4 data per frame. The format is: Address Data high 8 Bits Data low 8 bits
Checksum (take the low 8 bits).

(11) Parameters will take effect after power-off and restart: Control mode
conversion (PC/PLC); CAN ID change.

PC control monitoring return information example description:

Internal alarm code Add to alarm code in internal control mode 00 00 00 00


External control code Add 00 00 80 00 to alarm code in external control mode

22
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

Internal control (PC control):


Send: 80 00 80
Return: 80 00 01 81 E1 00 19 FA E2 00 18 FA E4 02 8B 71 E6 00 00
E6 E7 E7 27 10 1E E8 00 00 E8 E9 27 10 20
Stop state: 80 00 00 80 Status_word 00 00 00 00
Startup state: 80 00 01 81 Status_word 00 00 00 01
Overcurrent: 80 00 02 82 Status_word 00 00 00 10
Overvoltage: 80 00 04 84 Status_word 00 00 01 00
Encoder fault: 80 00 08 88 Status_word 00 00 10 00
(Position error is too large)
Overheat: 80 00 10 90 Status_word 00 01 00 00
Undervoltage: 80 00 20 A0 Status_word 00 10 00 00
Overload: 80 00 40 C0 Status_word 01 00 00 00
External control (PLC control):
Stop state: 80 00 80 00 Status_word 00 00 00 00
Startup state: 80 00 81 01 Status_word 00 00 00 01
Overcurrent: 80 00 82 02 Status_word 00 00 00 10
Overvoltage: 80 00 84 04 Status_word 00 00 01 00
Encoder fault: 80 00 88 08 Status_word 00 00 10 00
(Position error is too large)
Overheat: 80 00 90 10 Status_word 00 01 00 00
Undervoltage: 80 00 A0 20 Status_word 00 10 00 00
Overload: 80 00 C0 40 Status_word 01 00 00 00

(12) About modification of rated current. Send command (0x2d higher 8


bits of set value lower 8 bits of set value checksum)
The unit of set value is mA. For example, if setting 8000mA, you need to send
command (0x2d 0x1f 0x40 0x8c).

(13) About torque debugging mode - PC input. The setting sequence is: set
the driver to torque debugging mode - PC input
(Send 0x02 0x00 0xc1 0xc3)--Set the torque value---Start (0x00 0x00 0x01
0x01)--Stop (0x00 0x00 0x00 0x00)

8.2 RS232 Communication application example


The following command data is hexadecimal, and the host computer sets the control
mode is PC control.

1. Control step in Position mode is as follow:


1. Position mode: 02 00 D0 D2
2. Position mode limit speed (select one from three speed):
23
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

(1)30RPM: 1D 00 52 6F
(2)60RPM: 1D 00 A4 C1
(3)120RPM: 1D 01 48 66
Calculation is as follow: set value = 60 / 6000 * 16384 = 164 = 0XA4
Checksum: 0x1D+0x00+0xA4 takes lower 8 bits, and the last command is 1D
00 A4 C1
3. Enable, motor lock shaft: 00 00 01 01
4. Give position:
(1)50 00 00 50 Give position 10000 higher 16 bits
05 27 10 3C Give position 10000 lower 16 bits
(2)50 FF FF 4E Give position-10000 higher 16 bits
05 D8 F0 CD Give position-10000 lower 16 bits
Calculation is as follow, 10000=0X00002710 send higher 16 bits and lower 16
bits separately.
Higher 16 bits command checksum: 0x50+0x00+0x00=0X50
Send command : 50 00 00 50
Lower 16 bits command checksum: 0x05+0x27+0x10=0X3C
Send command: 05 27 10 3C
Negative position calculation: for example, -10000=0xFFFFD8F0, that is,
0x00002710 is reversed plus 1.
5. The speed limit can be modified during position given process.

2. Control step in Speed mode is as follow:


1. PC speed mode: 02 00 C4 C6
2. Set acceleration/deceleration time: 0A 14 14 32
The front 0x14 is acceleration time 20*100mS, and the back 0x14 is acceleration
time 20*100mS.
3. Set the speed (RPM), reference speed is as follow:
Speed(RPM) Command Remark
50 06 00 88 8E
-50 06 FF 78 7D
100 06 01 11 18
-100 06 FE EF F3
200 06 02 22 2A
-200 06 FD DE E1

4. Enable motor: 00 00 01 01
According to the demand, the feedforward gain of hub motor's position
ring will be set to 1 by default. In speed mode, you need to send 80 00 80 in 1 second,
otherwise the motor shaft will be locked. When the current feed gain is set to 0, you
don't need to send 80 00 80 is and the motor shaft will not be locked. (The value of
the feed forward gain can be set to 0 or 1).
5. Stop motor: send 00 00 00 00, the motor will stop immediately, and it's

24
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com
ZLAC706 Manual for Low Voltage Servo Driver V1.3(Special for Hub Motor)

offline, receive 00 00. Or send 54 00 00 54, motor will stop immediately, and it's not
offline (lock axis), receive 54 54 , then send 54 00 01 55, the motor will enter
emergency stop state, and receive 54 54.

3. Current modification example is as follow:

Current(mA) Command Remark


500 2d 01 f4 22
1000 2d 03 e8 18
3000 2d 0b b8 f0
5000 2d 13 88 c8
8000 2d 1f 40 8c

4. Torque mode
1. PC torque mode: 02 00 C1 C3
2. Set torque values as follow:

Set Value Current(A) Command Remark


0 0 08 00 00 08
200 0.64 08 00 C8 D0
500 1.6 08 01 F4 FD
1000 3.2 08 03 E8 F3
2500 8 08 09 C4 D5
3. Start motor: 00 00 01 01
4. Stop motor: 00 00 00 00
5. Alarm clear: 4A 00 00 4A
If have more technical support need, please call technical support of manufacturer:
+86-13164768688 (Mr Zhang).

25
Shenzhen ZhongLing Technology Co.,Ltd. TEL:+86-13316898692 FAX:0755-29124283 Web: www.zlingkj.com

You might also like