WEIHONG Lambda 4S Series User manual

Lambda Series CNC System
Manufacturers’ Manual
3rd Edition
Weihong Electronic Technology Co., Ltd.
(For PM85A/95A, NC65A/65B)

The copyright of this manual belongs to Weihong Electronic Technology Co., Ltd. (hereinafter referred to as
Weihong Company). This manual and any image, table, data or other information contained in this manual may
not be reproduced, transferred, or translated without any prior written permission of Weihong Company.
The information contained in this manual is constantly being updated. You can login to the official website of
Weihong Company http://en.weihong.com.cn to download the latest PDF edition for free.
Third Edition, July, 2015
First Printing, July, 2015
136 pages

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused i
Preface
About this manual
This manual is intended for manufacturers. If you use the CNC system for the first time, you need to
read through the manual. If you are experienced with the system, you can search for the desired info via
the contents.
With 6 chapters, this manual can be divided into 3 parts, as follows:
1) Part 1: preface, introducing the precautions about transportation and storage, installation,
wiring, debugging, usage, and so on. You need to read them carefully beforehand to ensure
safe operations.
2) Part 2: product, including Chapter 1~4. Chapter 1 is product overview, Chapter 2 wiring,
Chapter 3 and 4 installation and machine debugging.
3) Part 3: appendix, including Chapter 5 and 6. Chapter 5 lists parameter settings and wiring
diagrams of various drivers while Chapter 6 states the software license agreement.
Applicable Product Models
This manual is applicable to Lambda series CNC system, including NC65A/65B host, PM85A/95A
communication card and Lambda series controller. Refer to the table below for details:
Product Model
Remarks
NC65A/65B host
Integrating CPU, 60G SSD, 1G RAM, communication card and
NcStudio motion control software, used together with Lambda
4S/5S series controller.
PM85A/95A communication
card
Self-developed multi-axis communication card, used together with
Lambda series controller.
Lambda series controller
High-performance integrated controller box, including 3L, 3S, 4S
and 5S, used together with PM85A/95A communication card or
NC65A/65B host.
Contact Us
You can contact us by the following info for technical support and pre-sales/after-sales service:
Company Name: Weihong Electronic Technology Co., Ltd.
HeadquartersAddress: No. 29, 2338 Duhui Rd., Minhang, Shanghai 201108
Tel: +86-21-33587550
Fax: +86-21-33587519
Website: http://en.weihong.com.cn
E-mail: sales@weihong.com.cn

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
ii Specialized, Concentrated, Focused
Revision History
You can refer to the following table for the revision records of each edition.
Date
Edition
Revision Contents
2015.04.16
R2
Released for the first time.
2015.07.01
R3
Main revision contents as follows:
1) Update of 2.1 Lambda 3S/3L Series Controller according to the
latest software;
2) Update of 2.2 Lambda 4S/5S Series Controller according to the
latest software;
3) Update of 3.1.2 Driver Update;
4) Update of 3.2.1 Software Setup;
5) Other revisions.
Precautions
Precautions can be divided into caution and warning according to the degree of possible loss or
injury in case of negligence or omission of precautions stipulated in this manual.
CAUTION
: general info, mainly for informing, such as supplementary instructions and
conditions to enable a function. In case of negligence or omission of this kind of precautions, you may
not activate a function. Note that in some circumstances, negligence or omission of even this kind of
precautions could cause physical injury or machine damage.
WARNING
: warning info requiring special attention. In case of negligence or omission of
this kind of precautions, you may suffer physical injury, or even death, machine damage or other losses.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused iii
WARNING
1) Precautions Related to Storage and Transportation
The products should be transported properly in terms of the weight;
An excess of specified quantity of stacking products is prohibited;
Climbing, standing or placing heavy loads on the products is prohibited;
Dragging or carrying the products via cables or devices connected to them is prohibited;
2) Precautions Related to Installation
Only when this equipment installed in the qualified electricity cabinet can it be used. The
construction of the cabinet must reach IP54 grade of protection;
Paste sealing strips on the joint of the cabinet to seal all the cracks;
Cable entry should be sealed while easy-to-open on the spot;
A fan or heat exchanger should be adopted for the heat dissipation and air convection of the
cabinet;
If a fan is adopted, air strainer is a must in air inlet or air outlet;
Dust or cutting fluids may have access to the CNC device via the tiny cracks and tuyere.
Therefore it is necessary to pay attention to the surroundings and air flow direction of the air
vent to make sure that the outflow gas is towards pollution source;
100 mm space should be preserved between the back of the CNC device and the cabinet wall
for plugging cable connected with the device and the ventilation & heat dissipation in the
cabinet;
Space between this device and other equipments should also be preserved according to the
requirements;
The product should be installed firmly and without vibration. During installing, casting,
knocking, striking, or loading on the product is forbidden;
To reduce electromagnetic interference, power-supply components used should be above AC
or DC 50V and the space between cable and CNC device should be preserved above 100mm;
It will be better if CNC device is installed at a position facilitating debugging and maintenance.
TO BE CONTINUED

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
iv Specialized, Concentrated, Focused
WARNING
CONTINUE
3) Precautions Related to Wiring
Only qualified people are allowed to participate in the wiring and checking;
The CNC device should be grounded reliably and grounding resistance should be less than 4
ohm. Neutral line is absolutely not allowed to replace earth wire. Otherwise, it may result in
malfunction of the device due to the interference;
Wiring should be firm and steady, or misoperation may occur;
Voltage values and positive & negative polarity of any connection plug should be in
accordance with specifications set forth in the manual, or it may result in breakdowns such as
short circuit and permanent damage to the device;
To guard against electric shock or CNC device damage, fingers should keep dry before
plugging or touching switch;
The connecting wire should not be damaged and squeezed, or the leakage or short circuit may
occur;
It is prohibited to plug or open the chassis of CNC device when power on.
4) Precautions Related to Running & Debugging
Parameters setting should be checked before running, since wrong setting may lead to
accidental movements;
Modification to parameters should be within the allowable range, or such breakdowns as
unsteady running and machine damage will occur.
5) Precautions in Use
Before power-on, please make sure that the switch is on blackout to avoid occasional start-up;
Please check the electromagnetic compatibility during electrical design in order to avoid or
reduce electromagnetic interference to the CNC device. A low pass filter should be employed
to reduce electromagnetic interference if there are other electrical devices nearby;
It is not allowed to frequently power on and power off. It is recommended to power up the
machine again at least one (1) minute later after power failure or blackout.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused v
CAUTION
1) Precautions Related to Product and Manual
Matters related to restrictions and functions available stipulated in the manuals issued by the
machine manufacturer are prior to those in this manual;
This manual assumes all the optional functions are available, which you must confirm through
manuals issued by the machine manufacturer;
Please refer to manuals issued by the machine manufacturer for the instructions of machine
tools;
Functions, and software interfaces vary with the system and the version of software. Before
using the system, you must confirm the specifications.
2) Precautions When Opening the Package
Please make sure that the products are what you have ordered;
Check if the products are damaged in transit;
Check if the components and accessories are damaged or missing in terms of the detailed list;
Please contact us promptly if product discrepancy, accessory missing or transit damage
occurs.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
vi Specialized, Concentrated, Focused
Contents
1Overview.................................................................................................................................- 1 -
1.1 NC65A/65B Host...........................................................................................................- 1 -
1.2 PM85A/95A Communication Card................................................................................- 2 -
1.2.1 Structural Drawing of PM85A Communication Card ...................................................- 2 -
1.2.2 Structural Drawing of PM95A Communication Card ...................................................- 2 -
1.3 Lambda 3S/3L Series Controller...................................................................................- 3 -
1.4 Lambda 4S/5S Series Controller..................................................................................- 4 -
1.5 System Running Status Description.............................................................................- 5 -
1.6 Configuration.................................................................................................................- 6 -
1.6.1 Lambda 3S/3L Series CNC System............................................................................- 6 -
1.6.2 Lambda 4S/5S Series CNC System ...........................................................................- 6 -
1.7 Overall Wiring Diagram.................................................................................................- 7 -
2Wiring......................................................................................................................................- 8 -
2.1 Lambda 3S/3L Series Controller...................................................................................- 8 -
2.1.1 Definitions of Inputs.....................................................................................................- 9 -
2.1.2 Definitions of Outputs..................................................................................................- 9 -
2.2 Lambda 4S/5S Series Controller................................................................................- 10 -
2.2.1 Engraving and Milling................................................................................................- 10 -
2.2.2 Glass Cutting.............................................................................................................- 14 -
2.2.3 Waterjet Cutting.........................................................................................................- 22 -
2.2.4 Three Axes Laser Cutting..........................................................................................- 32 -
2.2.5 Dual Z Axes...............................................................................................................- 34 -
2.2.6 Three Z Axes.............................................................................................................- 36 -
2.3 Driver Interface ...........................................................................................................- 38 -
2.3.1 Lambda 3S/3L Series Controller ...............................................................................- 38 -
2.3.2 Lambda 4S/5S Series Controller...............................................................................- 38 -
2.4 MPG Interface.............................................................................................................- 39 -
2.5 Extended Terminal Board Interface............................................................................- 40 -
2.5.1 Cascade Connection.................................................................................................- 40 -
2.5.2 Non-cascade Connection..........................................................................................- 41 -
2.6 Signal Types................................................................................................................- 41 -
2.6.1 Binary Input Signal ....................................................................................................- 41 -
2.6.2 Relay Output Signal ..................................................................................................- 42 -
2.6.3 Servo Enable Signal..................................................................................................- 42 -
2.6.4 Encoder Signal..........................................................................................................- 42 -

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused vii
2.6.5 Command Pulse Signal.............................................................................................- 43 -
2.6.6 Analog Output Signal ................................................................................................- 43 -
3Installation............................................................................................................................- 44 -
3.1 PM85A/95A Communication Card..............................................................................- 44 -
3.1.1 Installation Steps .......................................................................................................- 44 -
3.1.2 Driver Update ............................................................................................................- 44 -
3.1.3 Customization of Setup Installation Package............................................................- 48 -
3.2 NC65A/65B Host.........................................................................................................- 49 -
3.2.1 Software Setup..........................................................................................................- 49 -
3.2.2 OS Backup and Restore............................................................................................- 50 -
3.2.3 OS Backup and Restore via USB Flash Disk............................................................- 53 -
4Machine Tool Debugging ....................................................................................................- 56 -
4.1 Debugging Steps.........................................................................................................- 56 -
4.2 Pulse Test....................................................................................................................- 60 -
4.2.1 Stepping Driver..........................................................................................................- 60 -
4.2.2 Servo Driver...............................................................................................................- 60 -
5Appendix...............................................................................................................................- 62 -
5.1 Back to Machine Zero (Back to Reference Point)......................................................- 62 -
5.1.1 Principle of Returning to Machine Origin (without Encoder Feedback) ....................- 63 -
5.1.2 Principle of Returning to Machine Origin (with Encoder Feedback) .........................- 65 -
5.2 Pulse Equivalent Adjustment......................................................................................- 66 -
5.3 Electronic Gear Ratio..................................................................................................- 68 -
5.3.1 Electronic Gear..........................................................................................................- 68 -
5.3.2 Electronic Gear Functions.........................................................................................- 68 -
5.3.3 Computing Method of Electric Gear Ratio.................................................................- 69 -
5.3.4 Samples of Electronic Gear Setting ..........................................................................- 70 -
5.4 Driver Parameters.......................................................................................................- 72 -
5.4.1 Lambda 3S/3L Series................................................................................................- 72 -
5.4.2 Lambda 4S/5S...........................................................................................................- 81 -
5.5 Wiring Diagram of Controller and Driver ..................................................................- 109 -
5.5.1 Lambda 3S/3L Series..............................................................................................- 109 -
5.5.2 Lambda 4S/5S Series ............................................................................................. - 114 -
6Software License Agreement ...........................................................................................- 125 -

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
viii Specialized, Concentrated, Focused

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused - 1 -
1 Overview
1.1 NC65A/65B Host
Independently developed and industrial-mainboard based, NC65A/65B integrated CNC system
comprises Lambda 4S/5S series controller and NC65A/65B host integrating CPU, 60G SSD, 1G RAM,
control card and NcStudio motion control software, having proven its daily use in glass edging, glass
cutting, engraving & milling, and other cutting industries.
Running on PC-based OS platform, NC65A/65B, through strict EMC test, is with digital verification
function and thus anti-virus, featuring high reliability, high cost performance and compact design.
Fig. 1-1 Dimensional drawing of NC65A host
60
235
38
6
248
153.5
NC65B主机外形尺寸图
222
155.15
3.5
Fig. 1-2 Dimensional drawing of NC65B host

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
- 2 - Specialized, Concentrated, Focused
There are some external interfaces on the NC65A/65B host:
L, N and E: live wire, neutral wire and earth wire respectively, for external connection with 220V
power supply;
USB: for external connection with USB device (e.g. USB flash drive);
LAN: Ethernet port, 100Mbps;
VGA: video output interface;
端子板: for external connection with Lambda 4S/5S series controller;
Fuse: replaceable, only available in NC65B host.
1.2 PM85A/95A Communication Card
Independently developed by Weihong Electronic Technology Co., Ltd., PM85A/95A communication
card, when used with NcStudio motion control software, has proven itself in daily use on routers,
engraving and milling machines, drilling machines and cutting machines, available of comprehensive
functions and convenient to use.
1.2.1Structural Drawing of PM85A Communication Card
PM85Ashould be inserted into a PCI slot, and its dimension is 138.4mm * 59.7mm.
D2
D1
+3.3V_OK
SYS_OK
Fig. 1-3 Structural drawing of PM85A communication card
1.2.2Structural Drawing of PM95A Communication Card
PM95Ashould be inserted into a PCI-E slot, and its dimension is 138mm * 60.5mm.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused - 3 -
D2
D1
+3.3V_OK
SYS_OK
Fig. 1-4 Structural drawing of PM95A communication card
CAUTION
Both PM85A and PM95A have two indicator lamps—+3.3V_OK(D2) and SYS_OK (D1). The latter one is the
system indicator lamp. See Section 1.5 for details. The former one is the power indicator lamp, on after the card is
correctly inserted into the PC slot and the PC is started.
1.3 Lambda 3S/3L Series Controller
Independently developed by Weihong Electronic Technology Co., Ltd., Lambda 3S/3L series
controller, used together with PM85A/95A communication card, is mainly applied to controlling routers,
engraving and milling machines, drilling machines and cutting machines, available of comprehensive
functions and convenient to use. Generally, Lambda 3S/3L controller is used together with stepping
motor drivers.
The only difference between Lambda 3L and Lambda 3S is that Lambda 3S has a MPG interface.
That is to say, Lambda 3L does not have a MPG interface. Their other functions are the same.
Lambda 3S/3L series controller includes the following features:
Enclosed controller, oil-proof, dust-proof, and water-proof;
Serial communication, high speed 485 interface, baud rate 10Mbps;
Max. pulse output frequency: 1MHz;
Fewer cables and easier wiring;

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
- 4 - Specialized, Concentrated, Focused
On-line update of hardware, dismounting avoided;
Hardware adaptable, software customizable;
Hardware encryption and software encryption for safety concerns;
Input polarity adjustable, inputs active high/ low.
See Fig. 1-5 for the dimensional drawing of Lambda 3S. The dimension of Lambda 3L is the same
as that of Lambda 3S.
Fig. 1-5 Dimensional drawing of Lambda 3S
1.4 Lambda 4S/5S Series Controller
Fully enclosed, Lambda 4S/5S controller not only has better protection, but also improves
appearance and quality. With a brand new hardware design scheme for the control board in the
controller, Lambda 4S/5S is designed in an integrated way, extensively applied in engraving & milling,
waterjet cutting, glass cutting and other industries.
Lambda 5S can support motion control of up to 5 axes, while Lambda 4S up to 4 axes.
Lambda 4S/5S series controller includes the following features:
Enclosed controller, oil-proof, dust-proof, and water-proof;
Input polarity adjustable, inputs active high/ low;
Cascaded connection available for the extended terminal board;
Serial communication, high speed 485 interface, baud rate 10Mbps;
Max. pulse output frequency: 1MHz;

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused - 5 -
Fewer cables and easier wiring;
On-line update of hardware, dismounting avoided;
Hardware adaptable, software customizable;
Hardware encryption and software encryption for safety concerns;
Encoder feedback available;
2 to 5 axes motion control.
See Fig. 1-6 for the dimensional drawing of Lambda 5S controller, whose dimension is the same as
that of Lambda 4S controller.
Fig. 1-6 Dimensional drawing of Lambda 5S controller
1.5 System Running Status Description
The system indicator lamp of PM85A/95A is SYS_OK, while that of Lambda series controller is
SYSTEM. Their flash frequency is used to tell whether the system communication is normal, as follows:
When the machine tool is in idle status, the flash frequency is 0.33Hz (flashing once every 3
seconds);
When the communication is normal, the flash frequency is 2Hz (flashing twice every 1 second);
When the system is abnormal, the flash frequency is 10Hz (flashing 10 times every 1 second);
When hardware exception occurs, such as under voltage, hardware damage, pseudo soldering,
and short circuit, the system indicator lamp is always on or off.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
- 6 - Specialized, Concentrated, Focused
For a Lambda 4S/5S series CNC system, when PC logical data or physical connection interrupted,
the IO ports on the controller and the extended terminal board maintain their status.
1.6 Configuration
1.6.1Lambda 3S/3L Series CNC System
One communication card (PM85A or PM95A);
One Lambda 3S/3L series controller;
One DB9M/F cable (Cable length customizable);
Cables (DB15) connected to stepping drivers (Configured according to actual situations);
One NcStudio motion control software CD (Not required if software customized);
One NK-MPG-06 handwheel (Optional).
1.6.2Lambda 4S/5S Series CNC System
One communication card (PM85Aor PM95A) or one NC65A/65B or NK300BX host;
One Lambda 4S/5S series controller;
One NcStudio motion control software CD (Not required if software customized);
One DB9M/F cable (Cable length customizable);
One handwheel (Optional, including NK-MPG-06, aviation plug handwheel NK-MPG-09 and
EHDW-DA5S-1M).
CAUTION
1) For the info related to Lambda 4S controller used together with NK300BX host, please refer to NK300BX
Integrated CNC System Manufacturers’Manual.
2) The configuration specified in Section 1.6 is the standard one. Please make sure the configuration according
to the delivery note.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused - 7 -
1.7 Overall Wiring Diagram
Fig. 1-7 Overall wiring diagram
CAUTION
Please connect according to the actual situations. The above picture is provided for reference only.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
- 8 - Specialized, Concentrated, Focused
2 Wiring
2.1 Lambda 3S/3L Series Controller
Lambda series controller is compatible with PNP and NPN switches, with inputs NO/NC and active
high/low. When S is connected to COM, inputs are active high; when connected to +24V, active
low.
The type of the power circuit of Lambda 3S/3L series circuit board is switching power supply, with
overvoltage and undervoltage protection.
+24V Power
Active High/Low
X Axis REF. Point
Y Axis REF. Point
Z Axis REF. Point
Cycle Start
Cycle Stop
ESTOP
Tool Sensor Signal
Analog Output
Common
Spindle ON
Common
Lube Oil
Coolant
Common
Green
Red
To Connect
PM85A/95A
NC65A/65B
To Connect
X-axis Driver
To Connect
Y-axis Driver
To Connect
Z-axis Driver
To Connect
MPG
Fig. 2-1 IO definitions and wiring of Lambda 3S controller
CAUTION
1) Except for no MPG interface, Lambda 3L controller has the same inputs and outputs as Lambda 3S.
2) The above wiring is a standard one, provided for reference only. Please refer to the specific software for IO
definitions and IO wiring.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
Specialized, Concentrated, Focused - 9 -
2.1.1Definitions of Inputs
There are altogether 7 inputs, with their definitions as follows:
Category
Port No.
Definition
Remark
External
power
supply
+24V
DC 24V power
supply
Providing power supply for the controller.
COM
Inputs
commonly
used
X00
Emergency stop
Binary input, generally connected to a NC button.
X01
Tool sensor
signal
Binary input, connected to tool sensor signal.
X02
Cycle stop
For external connection with an operating button.
X03
Cycle start
For external connection with an operating button.
X04
X-axis reference
point
Binary input, connected to X-axis home switch.
X05
Y-axis reference
point
Binary input, connected to Y-axis home switch.
X06
Z-axis reference
point
Binary input, connected to Z-axis home switch.
Common
S
Common port of
the above 7
inputs
When S is connected to COM, inputs are active high;
when to +24V, active low.
2.1.2Definitions of Outputs
The definitions of the outputs are as follows:
Category
Port No.
Definition
Remark
Spindle
control
AVC
Analog voltage
(0~10V) output
signal
Controlling the rotary speed of spindle motor. It
externally connects with the analog voltage frequency
instruction input terminal of an inverter (generally
known as AVI/VI) and controls spindle speed through
voltage change causing frequency change of inverter.
GND
Analog voltage
ground
Connecting with analog ground of an inverter
(generally known asACM).
Y00
Spindle on
Relay output.
Outputs
commonly
used
Y01
Lube oil
Relay output to control auto oil; LED on when lube oil
on, while LED off when lube oil off.
Y02
Coolant
Controlling coolant pump on/off.
Y03
Green
Green lamp on when a machine tool is in normal
working status.

上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
- 10 - Specialized, Concentrated, Focused
Category
Port No.
Definition
Remark
Y04
Red
Red lamp on when system E-stop occurs, also on as a
reminder when machining ends regularly.
Common
C00
Common of Y00
C01
Common of Y01
and Y02
C02
Common of Y03
and Y04
2.2 Lambda 4S/5S Series Controller
The normal working range of Lambda 4S/5S series controller is 17V~30V, and the rated voltage is
24V. When the voltage difference between power voltage and the Common S is over 8V, the input
connection becomes effective. The inputs of Lambda 4S/5S series controller can be active high/low, so
can the extended terminal board. When Common S is connected to COM, inputs are active high;
when to +24V, active low.
CAUTION
The wirings below are for the general software for the time being, provided for reference only. Please refer to the
specific software for IO definitions and IO wiring, because IO definitions and IO wiring change with software IO
definitions.
2.2.1Engraving and Milling
See this section for the wiring diagrams of controller for three to five axes engraving and milling
machines.
For three and four axes engraving and milling machines, Lambda 4S controller is used. When IOs
are not enough, you can choose extended terminal board EX27A.
For five axes engraving and milling machines, Lambda 5S controller is used. When IOs are not
enough, you can choose extended terminal board EX31A.
This manual suits for next models
1
Table of contents
Popular Controllers manuals by other brands

Centric Air
Centric Air RT2 User& installer's manual

Cypress
Cypress CapSense CY3280-24x94 quick start guide

TSI Instruments
TSI Instruments 8636-N2 Manual supplement

Siemens
Siemens SIMATIC S5-90U System manual

Fuji Electric
Fuji Electric FRENIC-HVAC series instruction manual

HORNER APG
HORNER APG HEXT240C115 Specifications and installation