Faq of Weiong CNC System
Faq of Weiong CNC System
Manufactures’/Users’ manual
Version 2, April 5th, 2009
Contents
3.1 What is the parameter “Stop spindle when pause” used for?................................................10
3.2 What is “Workpiece coordinate range check” used for?........................................................10
4 FAQ in debugging.................................................................................................................... 20
6.8 In cutting cylinder, how can it be solved, when small platform occurs in 4 reversal points or
the machining circle is smaller than actual one?.......................................................................30
6.9 How can Mirror Machining Function be used?.......................................................................30
7 Appendix................................................................................................................................... 31
Answer:
Weihong system is based on the open CNC system of industry PC, including software
Ncstudio and the equipped hardware; product list is as below:
Softwa
re
Product Applicable Object Fittings
Versio
n
Mould engraving
and milling Terminal board 6A-EX2
machine Yaskawa,
Ncstud
Mould machine, Worktable, turntable, double Mitsubishi,
io V8
Card PCIMC-6A with turntable interfaces terminal board 6A-EX4 Panasonic
(without Mould machine, Double Z axes terminal board 6A- and Delta
compute Double Z-axes EX6 wiring
r Waterjet cutting Ncstud
Waterjet terminal board 6A-EX5
industria machine io V9
l Stepping system
compute Carving machine, Ncstud
PCIMC-6B Terminal board 6B-EX1
r) Advertising io V8
machine
Glass Cutting,
PCIMC- Ncstud
Four/ Five axes, Terminal board 75A-EX1
75A io V10
Wire saw cutting
Embedd
ed Servo system Terminal board;
(with mould engraving Yaskawa, Mitsubishi, Panasonic and Delta V8-
industria NC1000 and milling wiring; NC100
l machine, large Optional: 15″LCD, professional panel for CNC 0
compute woodworking lathe engraving and milling.
r)
Shanghai Weihong Electronic Technology Co. Ltd. is professionally engaged in the application
solution of Motion Control System and provides the relating services and products. Our company
has a complete technique develop strength from hardware to software, as well as a wholehearted
service team before sale and after-sale, following the management concept of “Take Customer as
Center”, and take customer’s interest and profit as our own target and mission.
2.3 Why is power filter needed, and where should the filter be connected?
Answer:
Power filter is used to reduce the interference of machine’s strong power system to CNC
system. The power input end of CNC system should be connected to power filter; the power input
end of spindle transducer and servo driver should also be connected to power filter to reduce their
pollution to the power supply. Following is the outline map of a power filter:
2.4 What are the requirements for layout and wiring in machine cabinet?
Answer:
1. CNC system must be some distance away from transducer and contactor; you’ d better lay
them at different end of the cabinet;
2. power line can’t be parallel with signal line in a wiring slot;
3. The Output line of transducer can’t be parallel with the input power line of machine;
4. There can’t be any break within encoder signals.
2.5 Which should be installed first, the control card or the software?
Answer:
Regarding a computer that has not installed Ncstudio system, we recommend installing
software first, and then the control card; so it can avoid the trouble of MS Windows prompting user
to install the driver. Generally speaking, Ncstudio can automatically install the driver of the control
card without the need of user intervention.
2.6 How should an origin switch be connected?
Answer:
The input signal of system is low-level activated, if you are using Mechanical Switch, please
directly connect one end of switch to inport (X0, Y0, Z0) of terminal board, the other end to COM of
24V power; If you are using proximity switch, please connect one output end of switch to inport (X0,
Y0, Z0) of system, short circuiting COM of switch to COM port of terminal board (if the proximity
switch and terminal board share the same switch power, short circuit is not needed); the wiring
connection of tool calibration and e-stop are also the same.
2.7 Why does alarm occur after starting up software?
Answer:
There are all kinds of alarm in CNC system, for instance, position limited, drive alarm, E-stop,
etc. System will work properly under these alarm ceased.
1. Alarm will occur, if the software starts up before machine installation finished;
2. Alarm will occur, if the software starts up before machine starting up.
Generally, the alarm signal is set Normal Closed, and the alarm will occur if the signal is cut off.
If you just want to test software, please change the polarity of alarm input to normal open (Meaning
from P to N, please refer to Question 2.8)
2.8 How should the polarity “P” and “N” of input & output port be set?
Answer:
Polarity setting of input/output port in accordance with switch type: If the normal closed switch
is selected, the polarity should be set as “P”; If the normal open switch is selected, the polarity
should be set as “N”. The alternative polarity method is as following:
Enter Ncstudio→ Click [I/O State] window→ select the needed IO port →Press “Ctrl + Shift +
Alt” simultaneously → Right-click and choose [Change the polarity]
2.9 How can the correctness of input & output signal be checked?
Answer:
Power the machine signal system (proximity switch, etc). Debug the LED signal indication on
terminal board: For example, the connected original switch is normal closed, the three LEDs (X0,
Y0, Z0) should be on at this time. You are allowed triggering the origin switch through artificially
imitation. For travel switch, artificial compression can be used to observe whether signals can be
received. For photo switch, artificially obstruct the light to see if the signals can be gotten. For metal
proximity switch, artificially touch it with metal to see if the signals can be gotten. If the
corresponding LED is out, it indicates the origin signals have been sent to the extended board. If
the origin switch connected is normally opened, LED should be usually out, and by artificially
touching the switch, LED will become light, which shows the origin signals have been received by
extended board. Same method can be taken to test other ports.
2.10 What can make the machine moved before complete installation?
Answer:
That machine moves after complete installation is recommended. If you want to make it move
before origin switch, limited switch or E-stop button connected, the steps are as following:
1. Set the polarity of limit input/ E-stop input of software as “N”, meaning “Normal Open”,
system alarm won’t occur unless these signals received;
2. Supply the terminal board with Power 24V DC, which is needed in driver;
3. Set servo parameter referring to Question: 2.11;
4. Test Machine Motion Direction: Manually move machine, make X/ Y axis move gradually
to detect if the direction of machine is correct or not;
5. Set low feedrate to move machine manually. If servo motor with brake is selected for Z
axis, please don’t move Z axis, ensuring Z brake connected (Refer to Question 2.16, 2.17,
2.18).
2.11 What are the key points in servo drive?
Answer:
1. First, confirm the SON signal type of selected servo drive, if it is low-level activated or not.
(Meaning: it’s ON when connected to the COM of 24V power);
2. Confirm the electrical level of servo drive alarm output port without alarm, if it’s low-level,
the drive alarm inport polarity of [Hardware Information] in software should be set “P”, on
the contrary, the polarity should be set “N”;
3. Correct set parameter of servo motor as following: received pulse signal type “pulse +
direction”, negative-logic; control mode is position control;
4. Confirm if there is external E-stop signal input in servo drive signal input terminal and the
logic of signal. For instance, Mitsubishi servo signal is low-level activated, normal closed.
Servo drive begins to work under connection between this pin and GND;
5. If drive is still out of work, please check if “Forward rotation input prohibited” and “Reverse
rotation input prohibited” in drive parameter are selected, these should be set unable.
2.12 Why is twisted pair used in pulse/direction signal, how can it be made?
Answer:
The pulse and direction signal sent by CNC system determine the motion direction and
distance of each axis. To advance anti-Interference, differential output with twisted pair is adopted.
The definition of twisted pair is a pair of rubber-covered wires twisted together; two ends of the
differential signal (XP+ /XP-) are connected to a pair of twisted wires to transform signals.
It is provided that the connected cables for PCIMC-6A, NC1000 mating with YASKAWA,
Panasonic, Mitsubishi, Delta servo drive. Cables for other brand servo aren’t provided. And the
connected cable between PCIMC-6B and drive are made by clients themselves.
Both bought twisted pair and customized twisted pair are available.
Generally, in bought twisted pair, there are many twisted pairs after stripping rubber, aluminum
foil shield, for instance, green lines are twisted around green white wires, blue wires are twisted
around blue black wires……
To make customized twisted pair, select two different colors, same flexible rubber-covered
wires, take two blocks of same length, twist them together uniformly.
2.13 How can pulse equivalent be calculated?
Answer:
Electronic gear ratio: Assume that command of 5000 pulses issued by host controller can
enable servo motor to complete one circle. But now you want the same command of 5000 pulses
making the servo motor complete two circles, you need to add a mechanical gear between motor
spindle and load-spindle or set servo parameters. The function to realize mechanical gear by
electronic circuit is defined as the Electronic Gear.
Function of electronic gear: It enables the Command Unit (the moving distance of screw
corresponding to one pulse sent by host controller) can be freely set. Frequency Reduplication can
be used to amplify the frequency of pulse issued by mater controller.
Pulse unit: the moving distance of screw corresponding one pulse sent to servo motor.
Electronic gear ratio: pulse number of each encoder circle × 4 × mechanical deceleration
ratio× pulse unit /lead screw pitch
Thereinto, mechanical deceleration ratio= rotary speed input in reducer / rotary speed output
=teeth number of driven gear / teeth number of driving number
An Example of YASKAWA servo, encoder equipped with the servo motor is 13-bit incremental
encoder; Deceleration ratio of connecting shaft is 3:1.
=6000
2.18 What is the function of two wires on servo driver connection cable?
Answer:
The two wires on Z axis servo driver connection cable are Z axis Band brake signal wires,
which are equipped for PCIMC-6A, NC1000.
2.19 How can Z axis descending be prevented after installation of Band Brake?
Answer:
The Band Brake signal will be distributed to two pins corresponding to the two dragging wires,
and the pins can’t also be applied to other function. An Example of YASKAWA servo brake signal,
the pins (“CN1-29” and “CN1-30”) used in brake signal are also default set as “Rotating Check
Signal”, after E-stop, Z-axis began to descend, which is the output signal of “Rotating Check
Signal” keeping brake open. Please refer to manufacturers’ manual to see detailed parameter
setting value.
2.20 What are the key parameters needed to be set in frequency converter?
Answer:
1. Set rotary command resource as external terminal.
2. Motion Frequency resource as external terminal, analog voltage 0-10V;
3. Set Maximum operation frequency (corresponding to maximum spindle speed in
software);
4. Set maximum operation frequency of analog voltage.
2.21 What can be done if the spindle doesn’t rotate?
Answer:
1. Press spindle start-up button; if the “circle” before “spindle” under “Hardware Information”
or “I/O state” is green, software works properly;
2. Hardware works properly, if the spindle start-up indication lamp on terminal board is light;
3. If 6A system is selected, please check if the relay on terminal board is plugged firmly. If
relay is broken, please change it;
4. If the above all work properly, the frequency and spindle motor must have some problems.
2.22 What can be done if the rotary speed is out of control?
Answer:
Stepless speed regulation of spindle motor is available in 6A, 6B, NC1000 system;
Check parameter of frequency converter to see if motion frequency is from external terminal,
analog voltage 0-10V;
If the parameter of frequency converter is correct, please measure if there is voltage between
SVC and GND (spindle speed regulating analog signal output) on terminal board with multimeter.
When spindle override is adjusting, hardware failure occurs if this voltage doesn’t vary.
2.23 How can make rotary speed meet the requirements?
Answer:
If spindle rotary speed doesn’t reach the set value after manually starting up spindle,
1. Check if set value of rotary speed is suitable;
2. Check if the maximum operation frequency of converter is set too small;
3. Check if the set value of maximum operation frequency of analog voltage is correct;
4. Refer to Question 22 and frequency converter specification.
If the spindle rotary speed doesn’t meet requirement under auto machining,
1. Check if spindle override is too low;
2. Check if specified rotary speed (Data after M code) in machining program is correct;
3. Check if “Used default spindle speed” under operators’ parameter is set “True” or “False”;
If it’s “True”, please check whether the set value of “default spindle speed” under
manufacturers’ parameter is unsuitable.
2.24 How can spindle alarm be connected to system?
Answer:
Input port of spindle alarm is available on 6A-EX4, 6A-EX7 terminal board equipped with 6A
control card, input port named S_ALM and COM, which are correspondingly connected to
converter alarm output port and public port. Referring to 6B controller and other types of 6A
terminal board, such as 6A-EX2 without spindle alarm input port, this function can be fulfilled by
following steps. The method is that spindle alarm shares one loop E-stop input with E-stop button,
the principle of which is that any break will lead to system E-stop, disconnection between E-stop
and GND under series connection of all alarm if normal closed switch is selected by alarm signal
input; Any closing will lead to breakover between E-stop and GND under parallel connection of all
alarm if normal open switch is selected by alarm signal input.
Normal closed alarm signal is recommended. First, make sure logic signal of converter alarm
output, which control the relay operating that directly connect in series with E-stop button by relay
contacts. And converter alarm output logic signal will determine whether relay contact is normal
closed or normal open. Please refer to the picture in Question 2.25.
2.25 How can other alarm be connected to system?
Answer:
Please refer to question 23, all kinds of alarm can share E-stop port. Following is the shared E-
stop wiring diagram between PCIMC-6B system and immediate system E-stop needed signals,
such as, E-stop button, limit switch, spindle alarm, pressure alarm and others. (Tips: Detect switch
selected in Fig. is NPN type, spindle converter alarm is selected open-collector output, and so on)
make it small enough to convey from slot drill without surface wear, avoiding early drill wear.
3.6 What does “G76, G87 direction while fixed drill stop” mean?
Answer:
Execution of G76, G87 command is referring to setting cutter pointed direction when fixed drill
stop with oriented drill selection; “0” stands for “+X” direction, “1” stands for “-X” direction, “2”
stands for “+Y” direction, “3” stands for “-Y” direction.
3.7 What is “Jiggle”?
Answer:
“Jiggle” means error detection in order to decrease error and make machining more accurate if
motion trace error is found in machining. It is only available under pause state during auto
machining, which is used to achieve deep minor adjustments under continuous machining. The
result of jiggle is only effective to current machining task, unavailable under “start” or “continue”
selection after “Stop”. The function of “Setting workpiece coordinate of current point” is
recommended to use.
3.8 Which one is selected “Default Feedrate” or “Default Spindle speed”?
Answer:
If users don't want to use program feedrate, “Use Default Feedrate” can be selected. And the
feedrate is the set value of parameter “default feedrate”. If “Use Default Spindle speed” is available,
spindle will move at the constant speed of “Default Spindle speed” under manufacturers’ parameter,
uncontrolled by spindle revolution command in program.
3.9 What does “Z Down Feedrate” distinguish from “Z Max Machining Speed”?
Answer:
“Z Down Feedrate” limits speed to prevent Z axis descending too fast in machining, and Z axis
will move at the speed of “Z Down Feedrate” before reaching dry running deceleration distance,
which is unavailable to G00 command. “Z Maximum Machining Speed” refers to maximum down
speed of Z axis in cutting process to protect cutter. When multi-axis linkage is selected, “Z
Maximum Machining Speed” will limit velocities of other axes according to ratio, because of this,
speed of X axis or Y axis will be found unable to match the specified feedrate in program.
3.10 What is the advantage of “optimizing Z tool raising speed”?
Answer:
“Optimizing Z tool raising speed” refers to whether to use G00 speed to lift cutter, when Z axis
moves upward vertically during machining.
3.11 What is the function of “Circle Speed limit”?
Answer:
If the parameter is set as “True”, the velocity of each axis will be limited when executing
machining file, machining along circle, the main function is as following:
1. High oscillation prevention; when machining small circle, machine will oscillating strongly if
the speed is too fast, so deceleration is needed to decrease machine oscillation.
2. Trace error deduction; when machining circle, trace error is proportional to the square of
velocity, so deceleration can reduce error effectively.
Refer to “what is reference circle, how can its max velocity and radius be ensured?”
3.12 What does “Circle Radius Tolerance” mean?
Answer:
Circle radius will be calculated twice in IJK of G02, G03 command, and the value of these two
calculations generally won’t be the same; Difference between them is defined as tolerance.
Generally, great tolerance won’t occur to common circle command, 10 µm is enough.
3.13 What is the function of “Cutter lifting height in dry running”?
Answer:
“Cutter lifting height in dry running” is used especially for ENG format file, referring to the Z
axis workpiece coordinate height while getting tool change command. And its function is to lift
spindle while getting tool change command to make it more convenient for users to change tool.
The default system value is 1MM, which can be modified according to users’ actual need.
3.14 How much should “PLT unit” be set?
Answer:
“PLT” is one kind of two-dimension file format defined by American Hewlett Packard, generally
used in relief and Advertising Engraving. And plt is also one kind of unit, just the same as
1m=1000mm, generally 1plt=40.195mm, which is unchangeable; But it’s not fixed in our software. If
setting value is smaller / larger than actual value, it is actually scaling-down/ scaling-up.
3.15 How much should “tool distance in PLT area while machining” be set?
Answer:
Tool distance is set according to tool diameter, which makes overlap in adjacent tool path. If a
rectangle graph is processed, the tool distance of two tools can’t surpass 6mm to machine whole
products with 6mm flat-bottomed cutter in reciprocating Machining. And the setting value is within
0-6mm under overlap between two cutters in machining.
3.16 What does “Use first point as origin in DXF files” mean?
Answer:
Software will use first point as workpiece coordinate origin for machining in analyzing DXF file.
3.17 What is the function of “Pause and prompt in tools change”?
Answer:
Receiving tool change command, Machine will pause in the process of machining, and Z axis
will lift up a height, tool change message will prompt in information bar of software. User could
change tool now according to own need; if this parameter is set as “False”, machine won’t pause in
the machining process, but tool change message will prompt in information bar of software.
3.18 Why is “Spindle start/ stop delay” needed?
Answer:
It will take certain time for spindle to reach rated revolution from start; if machine begins to
process before reaching rated revolution, cutter will be damaged or waste will be produced, so start
delay is needed to begin machining after spindle reaching rated revolution. Spindle stop delay is
just the same. And system default value is 5 s, which can be adjustable according to actual needs.
3.19 What is pulse equivalent?
Answer:
Please refer to debugging chapter “How can pulse equivalent be set?”
3.20 What is the function of worktable stroke inspection?
Answer:
There are limit switches (Also called hardware limit) on machine to protect machine from over
travel and damage. Apart from this, software limit also exists; Enabling “workpiece coordinate range
inspection” after setting “Worktable stroke” in manufacturers’ parameter, software limit will be
effective after backing to mechanical origin, stopping the machine before hitting hardware switch.
3.21 How should worktable stroke be set?
Answer:
“Worktable stroke” is referring to the effective machining range of machine in X, Y, Z direction.
Generally speaking, mechanical origin switch (also called zero switches) is installed in side of each
axis, whose position is called mechanical coordinate origin (also called zero position of mechanical
coordinate). The principle of “start < terminal” should be complied in setting stroke range.
Normally, origin switch of X-axis is installed on leftmost side, so the leftmost side of X-axis is
zero, and it’s usually conventional that positive direction of X-axis is rightward motion. So the
maximum mechanical coordinate of X axis is on the rightmost. For instance, the available stroke of
X axis is 1000mm, and then the stroke range of X axis is 0 to 1000;
It’s a bit complicated for Y axis, since there are two kinds of motion, horizontal type and table
type. But no matter which type it is, we set the side that cutters move away from operators as
positive direction. And the mechanical switch of Y-axis is installed on the side near operator, so the
bottom of Y-axis is zero; the top of Y-axis is the maximum mechanical coordinate. For instance, the
available stroke of Y axis is 1000mm, and then the stroke range of Y axis is 0 to 1000;
The mechanical switch is on the top of Z-axis, so the top of Z-axis is zero, and the positive
direction of Z-axis is usually upward. Then the bottom of Z-axis is the minimum value of mechanical
coordinate, also a negative value. For instance, the available stroke of Z axis is 100mm, and then
the stroke range of Z axis is -100 to 0;
It will offer great help in machine protection that actual stroke is specified according to
mechanical switch position. After setting worktable stroke range reasonably, software alarm will
prompt in system if machine moves out of the range, but limit switch doesn’t take effect actually
rather than the result which is calculated by comparison between current mechanical coordinate
and worktable stroke does. Damage will be avoided by hitting limit switch or hardware limit.
In initial setting, we could set smaller stroke range than actual value to protect against
incidents.
3.22 What is the function of “Axis Direction”?
Answer:
In debugging machine, users should confirm positive direction of each axis by right hand
coordinate, then press manual button under operation picture to confirm if the motion direction is
correct, if it’s opposite, motion direction in servo system can be altered by setting driver parameter,
motion direction in stepping system can be changed by exchanging two connection wires. More
simple method is changing corresponding axis direction instead of using drive or exchanging wires.
3.23 Why should “Back to mechanical origin signal” be cleared after E-stop?
Answer:
It’s recommended that “Clear back to mechanical origin signal after E-stop” is set “True”.
Unless low precision is needed, it can be set “False”; Please refer to question “why is ‘backing to
mechanical origin before machining’ compulsory” in FAQ in using software.
3.24 How can “Machine Origin Position” be confirmed?
Answer:
The definitions of “Mechanical origin position” and “reference point position” are the same.
After backing to mechanical origin, the default value is generally set zero.
3.25 What are “Coarse positioning” and “Fine positioning”?
Answer:
Both of the parameters are backing to mechanical origin parameters, which take effect in
backing to mechanical origin.
“Coarse positioning” refers to process that spindle is moving from this position until receiving
signal during backing to mechanical origin from arbitrary position;
“Fine positioning” means the process that machine moves slowly towards “Fine positioning
direction” at the speed of “Fine positioning speed” after getting origin signal until getting encoder
zero signal, and retracting “Retract distance” after completing “Back to mechanical origin“.
3.26 What is the function of “Retract Distance”?
Answer:
“Retract” refers to the distance that machine moves back to isolate from signal sensitizing
range of origin switch after backing to mechanical origin.
3.27 What is “Lead screw Error Compensation”?
Answer:
Please refer to <lead screw error compensation> and <lead screw error compensation file
specification> in appendix.
3.28 What is the meaning of “Only backlash compensation valid”?
Answer:
If the parameter is “True”, only backlash compensation of each axis is valid, users only need to
compensate backlash, but now file configuration (axeserr.dat) is invalid. On the contrary, it’s valid.
3.29 How can backlash be measured?
Answer:
Spindle is generally fixed on lead screw, outer lead and inner lead are unlikely identical.
Usually, spindle moves towards one direction and space between lead screws of last direction must
be compensated if suddenly moving reverse. Referring to this, we call it backlash compensation.
Specialized admeasuring apparatus can be adopted in measuring backlash. First, instrument
is fixed near spindle, and the needle is pointed to zero; manually move “a” thread (1 thread= 10
µm), then move reversely “a” thread, and needle moves b thread. And the backlash is “a-b” thread.
3.30 How can “cross quadrant errors compensation” be set?
Answer:
Cross quadrant error refers to great error in transitional from one quadrant to another in
machining circle, which is usually sharp angle. Please refer to <cross quadrant error compensation
specialization> in appendix to read detailed compensation method.
3.31 What is “Tool presetter thickness in floating presetting”, how can it be
measured?
Answer:
It refers to the distance between top of tool presetter and bottom when signal is received after
pressing tool presetter by tool head. Please refer to “what is floating presetting” in using software.
3.32 What is “Maximum tool calibration tolerance”?
Answer:
It’s the setting tool calibration allowable error in system, comparing with the average value of
five times calibration error in floating presetting. If the result is smaller than setting value, tool
calibration succeeds; on the contrary, tool calibration fails.
3.33 What does “Manual Direction” mean?
Answer:
“Manual direction” means that direction controlled by direction key on keyboard is identical to
actual motion direction of machine.
3.34 What does “start stop button” mean?
Answer:
If this parameter is set “True”, “start, stop” button is enabled; if it’s “false”, “continue-pause,
stop” button is selected.
3.35 What do “Interval of starting Lubrication”& “lubrication open time” mean?
Answer:
“Interval between start lubrication” refers to interval that users need lubricate lead screw, which
needs specification. And “lubrication open time” refers to time duration of lead screw lubrication.
3.36 What is “Strict handwheel pulse counting”?
Answer:
“Strict handwheel pulse counting” means that displacement of machine strictly abides by
calculation according to handwheel pulse, which won’t stop the machine when handwheel stops
until finishing all received pulse signals from handwheel.
3.37 Is the value “handwheel multiple x1, x10, x100” adjustable?
Answer:
The value of “handwheel multiple x1, x10, x100” is adjustable, but the value among three must
keep that “X1” value is smaller than “X10”, meanwhile, “X10” value is smaller than “X100”, and all
of the three must less than 1000.
3.38 What is “handwheel leading multiplier”?
Answer:
It refers to ratio of rotary speed to corresponding feedrate of axis in hanwheel mode,
delegating by division of two integers, which are handwheel guide numerator and denominator.
3.39 What is concrete meaning of “Handwheel Acceleration”?
Answer:
This parameter can make machine speed steady without oscillation in adjusting handwheel.
3.40 What is “Dry Running Deceleration Distance”?
Answer:
It refers to distance between targeted position and beginning of deceleration in dry running,
please refer to “what is approaching workpiece speed”.
3.41 What is “speed while approaching workpiece”?
Answer:
It’s the feedrate when cutter is almost approaching workpiece in dry running. In the machining
beginning, Z-axis moves down at G00 dry running speed, keeping Z-axis feed rate before reaching
dry running deceleration distance; when reaching this distance, Z-axis will move at approaching
workpiece speed which is much smaller than Z-axis feedrate to protect cutter.
3.42 What is “Start-up Feed rate”, how much is it generally set?
Answer:
“start-up feedrate” refers to the reached speed directly starting from zero without acceleration,
which is exclusively for stepping system, and the value for servo system is set zero because
stepping motor performance is usually not good in low speed stage. And start-up frequency
parameter is generally in motor factory parameter, but this value usually should reduce according to
motor power and machine inertia after installing machine. Firstly, set a small value →repeat typical
motion and multi axes linkage→ increase gradually without stagnation→ reduce setting value after
confirming maximum start-up speed, and leave 50% allowance. And the range is usually 300 -400.
3.43 What is single axis acceleration?
Answer:
Single axis acceleration is used to delegate for acceleration or deceleration capability of single
axis, and the unit is mm/s2, which depends on physical feature of machine, such as Weight of
moving parts, and torque, drag, cutting load of feed motor. The higher the value is, the less time
spent in deceleration, the higher the efficiency is. To servo motor, the range is generally 400-1200.
In the process of setting, low acceleration at first→ after running a while, repeat typical
movement→ observe if any abnormal situation happens, and increase the value→ If it occurs,
please reduce this value, and leave 50%-100% allowance.
3.44 What is connection acceleration?
Answer:
Connection acceleration means the max acceleration of adjacent axes in feed motion, which
can’t be small; twice of single axis acceleration is recommended. And the range is 1000-5000.
3.45 What does “pulse acceleration” mean?
Answer:
“Pulse acceleration” means growth rate of acceleration, increasing quantity of acceleration in
unit time, and unit is mm/s^3. This parameter is only available under S-acceleration/ deceleration to
decrease adverse effect of sudden acceleration deceleration of machine.
3.46 What is “Accurate stop time”?
Answer:
It’s used to solve lagging effect of servo system, which is caused by huge inertia difference of
each axis in machining, generally, default value is selected.
3.47 What is the function of “Track tolerance”?
Answer:
The main purpose is to reduce effect of whole track, as following:
F N
M D E
C
A
The description track in machining file is ABC, and tool won’t pass “B” rather than “ADFC” after
setting tolerance “e”. And the distance between “B” and “DF” can not exceed “e”, the distance
between “B” and “D”, “F” can not exceed the half of “AB”, “BC”.
The usage of this parameter is to decrease the effect of single point to whole track, and the
recommended value is within 0.005-0.01mm. Since “DF” can not exceed mid-point of current line at
most, even bigger “e” will not lead to big deformation of workpiece.
3.48 What is the function of “Flat time”?
Answer:
The function is just the same as post-acceleration/ deceleration. The higher the value is, the
more ambiguous the details of workpiece is, more smooth. But it will lead to reduction of arc radius
in machining arc. And it will also dwarf wave peak in machining file resembling waves.
The range within 0.05s is recommended, as following:
3.49 What is reference circle, how can its max velocity and radius be ensured?
Answer:
After installing machine, user can make machine move along arc, and machine will oscillate
because of centrifugal force along arc. Increasing the feed rate to observe the situation of machine,
the maximum along arc feed rate will be the utmost machine bearing without huge oscillation, and
this arc can be considered as reference circle, the maximum bearing feedrate will be maximum
feedrate of reference circle. In future circle machining, maximum centripetal acceleration of circle
will be calculated according to these two values to ensure that centrifugal force is within debugging
values, and oscillation of machine won’t be stronger than factory debugging. Of course, the
precondition is that “Circle speed limit enabled” under operators’ parameter is set “True”.
3.50 What is the function of “minimum circular speed”?
Answer:
Please refer to question 48. In machining small radius circle, even low rotary feedrate will
calculate big centripetal acceleration; machining speed is too low because of arc speed limit. So,
“minimum circular speed” is needed to make machining at this speed when calculated speed is
lower than setting value.
3.51 What does “Display USB keyboard information in LOG” mean?
Answer:
USB interface operation panel is optional in Naiky NC1000 CNC system, and USB keyboard
abnormal communication information will be recorded under the condition that “Display USB
keyboard information in LOG” is set “True”, this parameter is only available under connection of
USB keyboard with system, which is set “False” without USB interface operation panel.
3.52 What is register? How can it be used?
Answer:
Register is encryption software tool, which is used to limit usage time of users. Application
Method: Open register →Input keyword “ncstudio”→ Input card No.
If no time limit is needed, please input “-1” to use limitlessly to generate key; Input the key in
the register of software, “Successful Registration” dialogue will prompt if succeed.
4 FAQ in debugging
4.1 How can pulse equivalent be set?
Answer:
Pulse equivalent: the degree of worktable stroke or rotary axis is corresponding to per pulse
sent by CNC device, which is the minimum distance controlled by CNC system. The smaller the
value is, the higher precision and surface quality is, after all sorts of compensation. And the
maximum feed speed of machine is determined by pulse equivalent value, smaller pulse equivalent
can be set under meeting requirement of feed speed.
Generally, the pulse equivalent of die processing unit can be 0.001mm/P (maximum feedrate:
9600mm/min) or 0.0005mm/P (maximum feedrate: 4800mm/min); For users, who only need low
precision, pulse equivalent can be higher, for instance, 0.002mm/P (maximum feedrate:
19200mm/min) or 0.005mm/P (maximum feedrate: 48000mm/min).
For servo system, after setting pulse equivalent, please refer to “How can electronic gear ratio
be set?” For two-phase stepping motor, pulse equivalent= pitch/ (200* subdivision). Pitch means
moving distance of feed axis corresponding to per revolution of motor. And the complete pulse
equivalent calculation is as following:
Assumed that the lead screw pitch is “d” mm, stepping angle of motor is “θ”, and subdivision is
“n”, deceleration ratio from motor to lead screw is “l”. Then the pulse equivalent P of this axis is:
Example 1: lead screw pitch of certain type of X axis is 5mm, stepping angle of motor is 1.8°,
and subdivision is 10. Lead screw is directly connected to motor by bearing axle, and then pulse
equivalent of X axis is:
pulse equivalent= workpiece rotary degree/ (motor revolution No.*subdivision*200). Example, the
deceleration ratio of rotary and electrode is 80:1, pulse equivalent=360°/ (80*subdivision*200)
(YASKAWA as an example), assumed that Pn202/Pn203=32768/1250, pulse equivalent is set
as X, then Pn202/Pn203= (encoder pulse No. per revolution)*4* deceleration ratio/ X*(workpiece
rotary degree/ motor revolution) → X=360°×32768/32768×4×80×1250≈0.001mm/p
4.3 How can incorrect machining size be solved? How can it be verified if
electronic gear ratio and pulse equivalent are mating?
Answer:
Incorrect machining size is caused by mismatch between setting value of pulse equivalent and
electronic gear ratio of servo drive or setting subdivision of stepping drive.
After finishing installation, users can make each axis move certain distance (1cm, for
example), measuring the actual distance with a ruler to verify if it’s correct.
4.4 How can loss of pulse be debugged?
Answer:
The objective method: point workpiece blank with a sharp knife→ set this point as workpiece
origin→ lift Z axis→ set coordinate of Z axis as 0; Repeat running machine, for instance, dry run a
typical machining program (best included three axes linkage)→ pause or stop in machining→ back
to workpiece origin→ descend Z axis slowly→ observe if knife point is identical with point on blank.
For servo system, a more accurate method is available: set “Input pulse counting method”
under monitor mode in servo (e.g. YASKAWA servo Parameter [UN000C]) until displaying 4 digital
values (hexadecimal system) (“L” before setting value)→ record pulse count No. after setting work
origin→ repeat dry running machining program→ back to work origin→ check if the actual pulse
count No. is identical with origin one. For YASKAWA servo, system works properly if the difference
of actual No. and original No. is within “4” (inner servo generates quadruplicated frequency of pulse
sent by main controller), indicating that deduction or increment of main controller pulse is within “1”.
Or, please check the pulse signal type of driver, if its reception mode is identical with controller
pulse type.
4.5 How can oscillation of machine servo positioning system be examined?
Answer:
Under normal condition, after finishing installation, servo positioning system should be steady
in balance point, but sometimes machine will oscillate greatly around the balance point because of
improper installation or other causes, which is called incorrect positioning. “Weng” noise can be
heard if the is serious, which will lead to ineffective machining.
Vibration can be examined by monitoring the pulse counting feedback of servo motor encoder:
YASKAWA as an example, parameter UN000D is encoder pulse counting feedback. Set motor until
displaying 4 digital values (hexadecimal system) (“L” before setting value) → repeatedly move the
Answer:
Please modify parameter “Coarse Positioning Direction” according to axis of opposite direction.
Answer:
X center distance refers to the initial evaluated distance between cutter head and X boundary
in centering, which must be a little larger than actual value.
Y center distance refers to the initial evaluated distance between cutter head and Y boundary
in centering, which must be a little larger than actual value.
Down distance means cutter moves down certain distance in centering when one side runs out
of range, which enables cutter contacting workpiece in reciprocating motion.
5.9 What does floating presetting distinguish from workpiece surface
calibration?
Answer:
Workpiece surface calibration is exclusively used in Naiky/ Weihong system, used for auto
setting Z axis work origin, being equivalent to function of floating presetting when thickness of tool
presetter is zero.
5.10 What is auto boundary alignment?
Answer:
Workpiece origin is generally set as workpiece blank center or boundary in programming. So,
auto boundary alignment is used for boundary finding and setting it as workpiece origin. For
instance, one point aligns X positive boundary; Cutter moves slowly towards positive direction of X
axis, when cutter touches workpiece boundary, the workpiece coordinate of X axis of this point is
set Zero. So does Y axis, please refer to “What is special tool calibration”.
5.11 What is handwheel lead, how can it be used?
Answer:
“Hand wheel lead” is a motion control method that auto running speed is manually controlled in
auto machining. The purpose is to prevent hazardous conditions caused by wrong program
installation or improper tool path, after loading machining program, select “handwheel lead”, then
press “Start”; when rotating handwheel, machining program starts automatically, and running speed
is determined by handwheel rotating speed, machine will halt if stop rotating the handwheel.
1. NC1000 system: ”Auto”→ “Processing Option”→ “Handwheel Lead”→ Back to “Auto”
again→ Press “Start”→ Rotate handwheel to start machining; Unselect “Handwheel Lead”
under “Processing Option” → Exit “Handwheel lead” state→ Continue auto machining
2. 6A,6B system: “Operation”→”Handwheel Lead”→ Press “Start”→ Rotate handwheel to
start machining; If users want auto machining, please exit “Handwheel Lead” under
“Operation”
5.12 Why is backing to mechanical origin compulsory after start-up and E-stop?
Answer:
Servo system adopts incremental encoder, and then system is only able to know current
position comparing with former position, arbitrary position as a fixed coordinate, and a reference
position is needed, which is called mechanical origin.
Actually without backing to mechanical origin before machining, precision in auto machining
won’t be affected if no E-stop and power failure occur in machining. But if power failure occurs in
machining, offset will appear in resuming machining after restarting the machine because motor
turns into idle state in power failure. Likewise, offset will appear in resuming machining after E-stop
because oscillation occurs in E-stop when motor turns into idle state.
After starting-up and backing to mechanical origin, workpiece coordinate is established
according to mechanical coordinate. If E-stop and power failure occur during machining, backing to
mechanical origin must be executed to reconfirm workpiece coordinate and keep precision.
5.13 Why can’t manual feedrate meet the specified value?
Answer:
The ways in Ncstudio are different in dealing with manual motion and auto motion. For auto
mode, strict precision in machining size is first priority, for manual mode, running smoothness is
superior. The entire motion of machine is finished by stage. And every small time scale is called
control cycle. When smoothness is superior, the distance for each control cycle is the same in
manual mode. For Example, when control cycle=1ms, manual feedrate=1500mm/min,distance per
control cycle= 1500/60/1000=0.025mm; when pulse unit is 0.005, pulse No. per control
cycle=0.025/0.014≈1.78, and the pulse No. per control cycle must be integer, which is rounding off
“1” in manual mode, actual feedrate=1×0.014×1000×60=840mm/min;
If manual feedrate =3000mm/min, with same pulse unit, actual distance per control cycle =
3000/60/1000 =0.05mm, pulse No. per control cycle=0.05/0.014≈ 3.57, which is rounding off “3” in
manual mode, actual feedrate = 3×0.014×1000×60=2520mm/min.
Under this condition, specified value of manual feed rate needs to be adjusted until when the
error between actual feed rate and set value is small. For instance, when manual feed rate is 1680,
with former pulse equivalent, the actual feed rate will be identified with set value.
A dialogue will prompt, please input following parameter and execute it.
Machining result displays in parallelogram in milling direction, which is reliable and repetitive.
6.2 What are the causes leading to low machining smoothness?
Answer:
Machining smoothness quality depends on material, cutter selection, knife edge sharpness,
machinery steady state (if machine oscillates during machining), matching of driver parameter and
control system (Include stepping driver and servo driver), parameter adjustment of control system,
etc. And good machining effect is related to each element, these questions can be solved by
confirming specified element depending on concrete situation.
6.3 What causes improper backing to mechanical origin?
Answer:
The cause is usually origin switch damage; Move machine to origin switch, see if the point of
origin signal under “I/O State” of software turns green. If it doesn’t turn green, please check if the
lamps corresponding to X0, Y0, Z0 on terminal board vary; if they don’t change, check if electric
circuit is loose or origin switch failure. If the lamps vary, please check the connection wires between
terminal board and control card, or control card may be damaged, please contact us.
6.4 For NC1000, how can abnormal button response on panel be solved?
Answer:
1. Check if the USB plug from panel to the top of NC1000 is loose or not;
2. Reinsert the USB plug or restart the machine after power failure to see if it works.
If the above doesn’t work, the USB interface panel may be broken.
6.5 For NC1000, how can needle disorder of feedrate &spindle override be
solved?
Answer:
Disorder of feed rate needle or spindle override needle is generally caused by range switch
damage; open electronic box, and adjust the positions of metal knob and tail plastic code wheel. If
it doesn’t work, the cause may be band switch failure or incorrect type or wrong wiring order
between band switch and interface panel, please contact the manufacturers.
If disorder of feed rate needle or spindle override needle suddenly occurs in proper using, the
cause may be strong interference or USB interface panel damage, please contact us to change it.
6.6 What are the attentions in updating software?
Answer:
1. Parameter setting; related important parameter and modified parameter need to be
recorded, such as axis direction, pulse equivalent, worktable upper & lower limit, backlash
compensation, cross quadrant compensation, periodical start-up lubrication, single axis
acceleration, corner acceleration, plus acceleration, accurate stop time , flat time and track
tolerance under manufacturers’ parameter, etc.
2. Record polarity value of I/O state
3. Restart the software; some parameters become valid after restarting (Marked in software).
6.7 How can it be solved, when the track in bottom is perpendicular to tool path
in the process of machining concave ball along 45° or 135°?
Answer:
Generally this is caused by backlash. First measure backlash “A” of Z axis with measuring
apparatus, and input the value to “Backlash” of Z axis under manufacturers’ parameter in software,
then set “lead screw error compensation” and “Only backlash compensation valid” as “True”, restart
the software at last.
6.8 In cutting cylinder, how can it be solved, when small platform occurs in 4
reversal points or the machining circle is smaller than actual one?
Answer:
The machining scheme is as following:
1 、Possible Reasons:
7 Appendix
7.1 Using Mirror function in ncstudio
Mirror function can be fulfilled by proportional machining command in Ncstudio, and edited
workpiece frame can be proportionally minified or magnified.
G51: proportion on
G50: proportion off
The default value is G50.
G51 I_ J_ K_ P_
“I, J, K” specifies proportion center; Keep origin center constant, center of starting-up is “0”.
“P” refers to proportion ratio; Keep former ratio unchanged, proportion ratio of starting-up is “1”.
The proportion range is 0.000001-99.999999.
For instance: P0.666666→zoom out 0.666666 times, P3→zoom in triple
When “P” is omitted, the default proportion ratio is “1”, delegating neither enlarging nor
reducing.
For example:
One machining file with workpiece origin on the lower left corner, which contains a reversal of
Y axis in 200mm, and the concrete steps are as following:
Use any text editor or use program editing of Ncstudio to open the file (Best backup before
operation) → Add a line in the file header “G51 J200 P-1”→ Add a line in the end-of-file ”G50” →
Save the file → Open Ncstudio, start simulation and mirror function is available;
Note:
1. If mirror function of X axis is needed, please change the above J*** to I***.
2. If reversal is needed in the workpiece origin, change J*** to “0”, the workpiece coordinate.
3. If mirror function is needed for the whole machining file, addition of “G50” can be optional,
but if it is only needed in the head part of file, use “G50” to close the function after
finished.
Following is the machining track without mirror function:
Picture 1
Picture 2
Compensation method:
In pitch compensation, pitch error value isn’t generally related to feed direction. That is, when
pitch is too small in positive feed, additional pulse is needed, and when negative feed passes the
same position, same amount of feed pulse should be added. But if the pitch is large, deduction of
pulse is needed, and reducing amount is unrelated to feed direction. In software compensation,
allowance of each point on error curve should be tabulated and saved to system memory. Then
auto compensation of coordinate of each point is available in running to improve machine precision.
2. Backlash compensation:
Hysteresis feature is caused by forward reverse clearance, shown as picture 3. Assumed that
CW rotation of spindle is negative motion, leading driven shaft to counter motion, servo (stepping)
motor will be dry running without moving worktable because of chain backlash, when spindle
suddenly begins to CCW rotation (positive motion). After staying certain position for certain time,
worktable moves backward with axis, when the direction changes again, the situation is the same,
which is called Hysteresis. If pitch error doesn’t exist, under ideal condition, the moving curve of
worktable is as Picture 3, and the horizontal section of curve is during the dry running of servo
(stepping) motor, while worktable stays. The actual moving curve of worktable is as Picture 4.
Compensation method:
If one axis moves from positive to negative, “+Q” pulse will be output before reversal;
conversely, from negative to positive, “-Q” pulse will be output (Q as backlash, preset by program)
7.3 Lead screw error compensation file specification
Answer:
File of lead screw error compensation is named axeserr.dat, which is under installation
directory. And the file format is:
(1)First specify length unit, currently support length unit: mm.
Unit = mm
(2)Specify error sequence of each axis
[Axis.<Axis Name>]
<Nominal Mechanical Coordinate>, <Negative Error>, <Positive Error>
<Nominal Mechanical Coordinate>, <Negative Error>, <Positive Error>
<Nominal Mechanical Coordinate>, <Negative Error>, <Positive Error>
<Nominal Mechanical Coordinate>, <Negative Error>, <Positive Error>
......
Hereinto, <Axis Name> is X , Y, Z… (Case-insensitive)
With sign and ascending sort, nominal mechanical coordinate refers to related mechanical
coordinate calculated by given pitch and pulse unit (calculated length based on Nominal pitch, not
actual physical one), which must be within the range, or the compensation is invalid.
The above must be ascending sort in terms of nominal value or improper work occurs.
Negative error is the error moving towards coordinate deduction direction,
Positive error is the error moving towards coordinate increasing direction.
Uniformly-spaced of nominal coordinate is unnecessary, with no limit on record density and
points. Error =nominal mechanical coordinate –actual mechanical coordinate
What needs special attention is nominal mechanical coordinate and sign of actual mechanical
coordinate. Calculation must be after correctly mechanical coordinate conversion, especially for the
length measured by instrument, such as laser interferometer, etc, or wrong result occurs.
(3)Note must be in an independent line and begin with “;”, the grammar is as following:
; <Note content>
Please notice that “;” must be the first character in this line, in other words, no other
character is allowed before “;”, such as spaces, etc.
Example1: Unit=mm
[Axis. X]
-570.025, 0.027, 0.083
-450.020, 0.025, 0.077
-330.015, 0.015, 0.068
-210.010, 0.000, 0.057