Professional Documents
Culture Documents
User Manual
GREAT-150IM-II
MANUALS
INDEX
CHAPTER I
PREFACE................................................................................................................................................ 1
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
4.4.28 EDIT THE OUTPUT FUNCTION OF OUTPUT POINT AND AUX-RELAY IN CNC PROGRAM DIRECTLY ............................ 118
4.4.29 CONDITIONAL SKIP FUNCTION ............................................................................................................................... 118
4.4.30 AUXILIARY FUNCTION ........................................................................................................................................... 118
4.5
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
GREAT-150IM-II
CHAPTER I
MANUALS
PREFACE
150IM-II is one middle grade flush type CNC control system that has been designed by SoTeng CNC
Technology Co., Limited, aiming specially at milling machine & machining center.
Based on modern computer technology, system move control core & PLC program running technology,
and stable unique real time control engine subsystem RTAI, this system ensures the stabilization of
operation. The use of high performance, low power consumption industrial grade ARM microprocessor
as core of hardware, large scale FPGA integrate circuit, multiple layer (4,6) printed circuit, 32MB flash
memory, 8.4 inch real color LCD which provides friendly human-machine dialogue interface makes this
system work to its best.
1. WARNING
Applied when there is a danger of user being injured or user being injured and equipment is damaged.
2. CAUTION
Reminds operator must be caution in the relative operation, otherwise lead this operation failure or
damage the equipment.
3. NOTE
APPLIED TO INDICATE SUPPLEMENTARY INFORMATION AND EXPLANATION.
NOTE
This system has function to backup parameters. After debugging machine, it can backup all parameters
of machine & system and PLC documents to computer. It is convenient not only for mass debugging, but
also for machine recovery to normal after changing system. (refer to Chapter 3.6)
NOTE
WHEN USE THIS SYSTEM AT THE FIRST TIME, PLEASE READ CAREFULLY ALL
THE DETAILS OF EACH CHAPTER SO AS TO MAKE IT WORK MORE EFFICIENTLY.
GREAT-150IM-II
MANUALS
32 bits high performance, low power consumption industrial grade ARM microprocessor
64MB memory
32MB user store room
640x480 8.4 inch real color LCD displayer
Touch screen main and sub panel
High anti-jamming switch power
USB-disk interface
RS232 interface
Programmable I/O 118X46
Spindle servo speed control/spindle frequency conversion speed control
Manual pulse generator
GREAT-150IM-II
MANUALS
2.3.6 Program exchange between CNC system and IBM/PC series compatible
computer
Apply CAD/CAM/CAPP auxiliary programming by using PC series compatible computer's abundant
software resources, then transfer the CNC program into CNC system through (USB-disc port, RS232
port. Likewise it also can transfer the program from system to PC through communication port.
GREAT-150IM-II
MANUALS
Switch introduction:
Chart 1: Switch introduction
Switch
Functions
Driver and motor stop immediately, turns off the spindle, coolant,
waits for the release E-stop button, and initializes values
GREAT-150IM-II
MANUALS
Functions
Letter key
Number key
Edit key
Function key
Esc
returning to upper level or stop a operation
Enter
selecting sub-menu and changing a new line
Shift
top key input
program shift to program edition interface
para
shift to parameter setting interface
dgnos shift to diagnosis function interface
manual shift to manual status interface
auto
shift to automatic status interface
MDI
shift to MDI function interface
coolant on/off
Control key
lubrication on/off
adjust federate
Feed key
+X +Y +Z +4 X Y Z -4
GREAT-150IM-II
MANUALS
Used for rapid moving axis in manual mode
Rapid key
Self-definition key
K1, K2, . . . K8
Soft key
F1, F2, F8
GREAT-150IM-II
MANUALS
8. M code display area: show the validity of M code. Green light means valid and red-light means invalid.
9. tool status display area: show relevant information, as show in fig3.2 from left to right, the first T01
means the current tool number on the spindle; H0 means the current tool edge H (length compensation
number); D0 means the current tool edge D (radius compensation number) 01 means current cutter seat
number, cutter seat number at tool exchange position; T00 means tool number on the current cutter seat.
10. machine coordinates display area: show the coordinates value of machine coordinates (G53)
11. coordinates display area: dynamic coordinates display, showing present coordinates (machine
coordinate system or work coordinate system).the circle behind coordinates sign (X, Y, Z, A)means
indicator light, which shows the status of reference returning for each coordinate, green light means the
coordinates has returned machine refer zero, otherwise not. Make sure all zero returning indicator are
green during running or before auto running.
NOTE: If servo driver alarm or other phenomenon after zero returning, the green light will go off.
12. machining time display area: show the executed time for present program.
13. workpiece number display area: show the cycle times for present program, quantity of machined
workpieces
14. program block display area: show the exact program block for present program.
15. information display area: show the relevant information of system and machine. such as alarm, soft
limit and so on.
16. program running status display area: show the auto running status of the program .such as step,
continual, real machining, simulation, stop, run etc.
17. menu display area: used for display function menu. Press corresponding softkey (F) to shift.
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
the data in the dialogue box by pressing F1, set the data as 0 by pressing F8.
3.3 Parameter
Shift to parameter setting menu by pressing PARAM on the main panel, press PARAM once will shift
to parameter interface, including USER, SPEED, COORD, MACRO, AXIS, COMP, PASSWD,
CANCEL; press twice will shift to diagnosis interface, including Contrl, I/O, LadStat, ALARM,
EditLad, ResetDr, Editcfg, CANCEL; press three times will shift to pitch error compensation
interface, including X-axis, Y-axis, Z-axis, Fourth, Fifth, CLEAR, CANCEL; shift to the
parameter setting interface by pressing corresponding key, press CANCEL or Esc will return to main
interface.
NOTE
Repeat press PARAM will shift among PARAM, Diagnosis, and PITCH.
GREAT-150IM-II
MANUALS
10
GREAT-150IM-II
MANUALS
Fig3.7
NO.2 program automatic running times with M20
Set times of cycle programming using M20 command. if the value is set to be minus, means limitless
recycle.
NO.3 retraction value "d" of canned cycle G73 (mm)
Set the dimension of retraction value d of high speed deep hole drill cycle G73. unit:mm.
NO.4 retraction value "d" of canned cycle G83 (mm)
Set the dimension of retraction value d of chip removal drill cycle G83. unit: mm.
NO. 5 direction of offset Q of canned cycle G76
To set G76 Circle codes offset (Q) direction of precision boring cycle. The coordinates and directions are
some differences to same value in different plane, refer to following tables:
Plane
G17
G18
G19
+X
-X
+Y
-Y
+Z
-Z
+X
-X
+Y
-Y
+Z
-Z
11
GREAT-150IM-II
MANUALS
G17
G18
G19
+X
-X
+Y
-Y
+Z
-Z
+X
-X
+Y
-Y
+Z
-Z
12
GREAT-150IM-II
MANUALS
function is invalid; set to be 8 means Y-axis soft limit function is invalid; set to be 32 means A-axis soft
limit function is invalid; set to be 64 means B-axis soft limit function is invalid;
NOTE
1. Set two or more axes soft limit function is invalid, just add the corresponding axes parameter value. i.e.
set X and Z axes soft limit function is invalid, the parameter is set to be 20(4+16).
2. This parameter setting depends on users need, normally we suggest this value set to be valid, to
prevent equipment is damaged from excess of stroke. Please attention, to realize soft limit function,
besides set this parameter, you have to set the each axis limit stroke in the USER parameter.
CAUTION
This parameters setting depends on using situation, but may lead to accident because of improper
setting or operation, please pay attention!
NO.35 system default coordinate system (54-59 corresponding G54-G59, other G53)
Applied to set the system default coordinate system, value 54-59 corresponding to G54-G59, other value
is G53.
i.e.: this parameter is set to be 54 means system default coordinate system is G54.
NO.36 can G92 modify G54-G59 (800: yes, 0: no)
As this parameter set to be 800, G92 will modify the current work coordinate system as program running,
set to be 0 will not modify the current work coordinate system.
37. are lubrication and cooling keys valid in auto mode(1:yes, 0: no)
Set whether the lubrication and cooling keys valid in the AUTO mode. As this parameter set to be 0
means invalid; set to be 1 means valid.
This parameter setting related to operation mode, as this parameter set to be valid, operator can control
the valid status of lubrication and cooling to satisfy the condition of manufacturing process.
NO.38 does spindle rotation and tool unclamp interlock (1:yes, 0: no)
Set whether spindle rotation and tool unclamp interlock, as this parameter set to be 0 means spindle
tighten/release tool is not related to spindle rotation; as this parameter set to be 1 means that spindle
tighten/release tool is interlocked with spindle rotation, that means spindle can be rotated only in the
status of tool tightened.
This parameter setting is related to machine tools configuration and user applied request, for the sake of
safety, strongly recommend set this parameter to be 1 and make it interlock.
NO.39 request for zero return as booting and program running (1: no need, 0: hint, 8:force,
9:super force)
To set the treatment mode of reference returning as system booting, there are 4 kinds of treatment mode
as below:
Set to be 1: there is no remind or limit to reference returning after system booting.
Set to be 0 is remind mode: there is a dialogue box remind operator to execute reference returning
after system booting every time, there is no limit after then.
Set to be 8 is force mode: there is a dialogue box reminds operator to execute reference returning
every time after system booting and run system, system will reminds feed axes have not returned to
reference and wont execute program if not execute reference returning before running in the AUTO
mode.
Set to be 9 is super forcing mode: there is a dialogue box reminds operator to execute reference
returning every time after system booting and feed axes moving, system will reminds feed axes have
not returned to reference and wont execute moving if not execute reference returning.
CAUTION
13
GREAT-150IM-II
MANUALS
This parameter setting is related to machine tools configuration, set to be other value if no reference
point switch on the machine, if there is reference point switch on the machine, suggest set this parameter
to be 8 or 9, to prevent equipment failure from without reference returning.
NO.40 checking input point of G31 (valid+300, invalid+400)
As this parameter set to be 300, will check the input signal of skip function; as this value set to be 400,
wont check the input signal of skip function.
NO.41 G31_X
NO.42 G31_Y
NO.43 G31_Z
NO.44 G31_A
NO.45 G31_B
NO.41~NO.45 parameters are skip block function.
NO.51 edit increment value of program sequence number
This parameter is applied to set increment value of program sequence number.
NO.100 set LCD brightness
Set the brightness of LCD display. In the parameter dialogue box: PgUp means increasing brightness,
PgDn means decrease brightness, Home means back to default.
NO.101 set system time(Y-M-D-H-M)
Applied to modify system date and rime, system will base on this time after setting, will time according to
inner clock, and display on the top right corner.
Set methods as below:
Select NO.101 under the interface of USER, press enter and pop up dialogue as Fig3.8, input year,
month, day, hour, minute to set, press Enter after setting: for example: August, 04, 2008. 09:50, will input
2008-8-4-09-50 and then press Enter.
Fig3.8
NO.102 restore factory para setting
Set factory parameter to be current parameter. If there is parameter confused in the process of
debugging, apply this parameter to set the factory parameter to be current parameter.
NOTE
After executing restore factory parameter, the existing parameter will be covered.
3.4.2 Speed
in order to make sure feed axis motor(machine work table) run in the safe scope and guaranty operation
characteristic, this system supply some parameter setting related to speed and acceleration.
In the parameter interface, press SPEED soft key will shift to speed parameter setting menu. Select the
parameter needs to be modified, then press Enter will pop up a dialogue box, then input value. Refer to
fig3.9.
14
GREAT-150IM-II
MANUALS
15
GREAT-150IM-II
MANUALS
16
GREAT-150IM-II
MANUALS
17
GREAT-150IM-II
MANUALS
18
GREAT-150IM-II
MANUALS
Normally this parameter is set as not enable, it will increase calculation cost of CPU, may decrease the
running efficiency of system.
NO.36 manual feed axis speed, unit: mm/min
Set feed axis speed in manual mode. Initial value: 5000, value range: less than the max speed in the
manual mode (the value of NO.28 in SPEED).
NOTE:
The two parameters above is changed depends on manual setting, that means system will refresh this
parameter as modify the speed in the manual mode.
NO.100 spindle manual revolution, unit: rpm
Set the max rotate speed of spindle in manual mode. Initial value: 2000, value range: less than the max
speed of spindle.
NO.101 max spindle revolution at top gear (rpm)
Set the max rotate speed of spindle. Unit: r/min
This parameter is the top gear or first gear speed if there is top/low gears or multi-gears function.
NO.102 max spindle revolution at low gear (2nd gear) , unit: rpm
Set the max speed of low gear/2nd gear of spindle. Unit: r/min
NO.103 max spindle revolution at 3rd gear, unit: rpm
For multi-gears function, this parameter is applied to set the max speed of the 3rd gear. Unit: r/min.
NO.104 max spindle speed at 4th gear, unit: rpm
For multi-gears function, this parameter is applied to set the max speed of the 4th gear. Unit: r/min.
NO.105 max revolution of 2nd spindle, unit: rpm
For double spindles, this parameter is applied to set the max speed of the 2nd spindle. Unit: r/min.
NO.106 acceleration of spindle pulse control, unit: (mm/min)/s
Set the speed up/down time constant(acceleration) as spindle is pulse control mode, the more the value,
the higher the speed, contrarily, the speed is lower.
Initial value:8000, value range: 199999.
NO.120 serial communication speed of RS232
Set the baud rate of RS232 serial communication. the corresponding baud rate table as below:
NO.120 parameter
value setting
serial communication
rate(unit: bps)
NO.120 parameter
value setting
serial communication
rate(unit: bps)
7200
38400
9600
57600
14400
115200
19200
19
GREAT-150IM-II
G54 : work coordinate system 1
G56 : work coordinate system 3
G58 : work coordinate system 5
MANUALS
G55 : work coordinate system 2
G57 : work coordinate system 4
G59 : work coordinate system 6
20
GREAT-150IM-II
MANUALS
In the interface of PARAM, press AXIS soft key, will shift to AXIS parameter setting interface, select
parameter need to be modified by up/ down key and input value by press Enter. Refer to fig 3.11.
21
GREAT-150IM-II
MANUALS
22
GREAT-150IM-II
MANUALS
121. the initial swing direction as spindle shifting gear (0:positive, 1:negative)
122. positive swing duration as spindle shifting gear (0.01s)
123. reverse swing duration as spindle shifting gear (0.01s)
124. will output signal of spindle gear-shifting be hold (0:no, 1: yes)
130. high speed detection for hard limit of feed axis (0:yes, 1: no)
Axis parameter explanation
NO.1. negative max stroke of X-axis (mm/inch)
To set the max stroke of X axis in the reverse direction, unit: mm/inch, range:-99999+99999.
NO.2. positive max stroke of X-axis(mm/inch)
Set the max stroke of X axis in the positive direction, unit: mm/inch, range:-99999+99999.
NO.3. negative max stroke of Y-axis(mm/inch)
Set the max stroke of Y axis in the reverse direction, unit: mm/inch, range:-99999+99999.
NO.4. positive max stroke of Y-axis(mm/inch)
Set the max stroke of Y axis in the positive direction, unit: mm/inch, range:-99999+99999.
NO.5. negative max stroke of Z-axis(mm/inch)
Set the max stroke of Z axis in the reverse direction, unit: mm/inch, range:-99999+99999.
NO.6. positive max stroke of Z-axis(mm/inch)
Set the max stroke of Z axis in the positive direction, unit: mm/inch, range:-99999+99999.
NO.7. negative max stroke of 4th-axis(mm/inch/deg)
Set the max stroke of 4th-axis in the reverse direction, unit: mm/inch, range:-99999+99999.
NO.8. positive max stroke of 4th-axis(mm/inch/deg)
Set the max stroke of 4th-axis in the positive direction, unit: mm/inch, range:-99999+99999.
NO.9. negative max stroke of 5th-axis(mm/inch/deg)
Set the max stroke of 5th-axis in the reverse direction, unit: mm/inch, range:-99999+99999.
NO.10. positive max stroke of 5th-axis(mm/inch/deg)
Set the max stroke of 5th-axis in the positive direction, unit: mm/inch, range:-99999+99999.
CAUTION
Value setting for soft limit is related to equipment stroke and the usage of user. While the max value cant
be more than the value which the hard limit detection switch show on the machine coordinates,
otherwise, machine accident may occur.
NO.11. backlash compensation of X-axis(um)
To set backlash compensation value as X-axis reverse moving. As this axis move to reverse direction,
system will call this value and execute compensation automatically to eliminate errors.
NO.12. backlash compensation of Y-axis(um)
To set backlash compensation value as Y-axis reverse moving. As this axis move to reverse direction,
system will call this value and execute compensation automatically to eliminate errors.
NO.13. backlash compensation of Z-axis(um)
To set backlash compensation value as Z-axis reverse moving. As this axis move to reverse direction,
system will call this value and execute compensation automatically to eliminate errors.
NO.14. backlash compensation of 4th-axis(um)
To set backlash compensation value as 4th-axis reverse moving. As this axis move to reverse direction,
system will call this value and execute compensation automatically to eliminate errors.
NO.15. backlash compensation of 5th-axis(um)
To set backlash compensation value as 5th-axis reverse moving. As this axis move to reverse direction,
system will call this value and execute compensation automatically to eliminate errors.
23
GREAT-150IM-II
MANUALS
NO.16. whether apply electronic gear for feed axis (0: yes, 1: no)
To set whether apply electric gear for feed axis, 0 means use electric gear "1" means not use.
NO.17. numerator of X-axis electronic gear(1-32767)
To set X-axis electronic gear numerator, value range: 1--32767
NO.18. denominator of X-axis electronic gear(1-32767)
To set X-axis electronic gear denominator, value range: 1--32767
NO.19. numerator of Y-axis electronic gear(1-32767)
To set Y-axis electronic gear numerator, value range: 1--32767
NO.20. denominator of Y-axis electronic gear(1-32767)
To set Y-axis electronic gear denominator, value range: 1--32767
NO.21. numerator of Z-axis electronic gear(1-32767)
To set Z-axis electronic gear numerator, value range: 1--32767
NO.22. denominator of Z-axis electronic gear(1-32767)
To set Z-axis electronic gear denominator, value range: 1--32767
NO.23. numerator of 4th-axis electronic gear(1-32767)
To set 4th-axis electronic gear numerator, value range: 1--32767
NO.24. denominator of 4th-axis electronic gear(1-32767)
To set 4th-axis electronic gear denominator, value range: 1--32767
NO.25. numerator of 5th-axis electronic gear(1-32767)
To set 5th-axis electronic gear numerator, value range: 1--32767
NO.26. denominator of 5th-axiss electronic gear(1-32767)
To set 5th-axis electronic gear denominator, value range: 132767
NOTE
The setting methods of feed axis electronic gear (to match with servo motor), refer to following formula:
24
GREAT-150IM-II
MANUALS
command direction reverse; as this value is 1, the moving direction of 4th-axis equates to command
direction.
NO.31. direction signal of 5th-axis(0:reverse, 1:normal )
To change moving direction of 5th-axis, as this value is 0, the moving direction of 5th-axis equates to
command direction reverse; as this value is 1, the moving direction of 5th-axis equates to command
direction.
NO.32. reference returning method for feed axis
(0-reverse, check 0; 1-REV, no CHE 0; 2-no REV, CHE 0; other-no REV, no CHE 0)
To set the methods of detecting reference switch and zero pulse signal of motor encoder as axes do
reference returning.
0: as reference returning, run in reverse to detect switch after hitting reference switch, then
detect zero pulse signal of motor encoder.
1: as reference returning, run reversely to detect switch and free after hitting reference switch.
2: as reference returning, running forward to detect switch and free, then detect zero pulse
signal of motor encoder after hitting reference switch.
3: as reference returning, running forward to detect switch and free after hitting reference switch.
Please set the methods of Reference returning according to equipment circuit. Normally, we recommend
to set as 0 or 2, because if not to detect zero pulse signal of motor encoder, the precision will all relay
on reference and the precision will be poorer than detect by motor encoder.
NO.33. switch NC setting of feed axis for reference return (X1,Y2,Z4,A8,B16)
To set the reference switch type of each axis as reference returning is NO or NC. As this parameter is set
to be 0, means all axes switch as reference returning are NO; set to be 1 means X-axis reference
returning switch is NC; set to be 2 means Y-axis reference returning switch is NC; set to be 4 means
Z-axis reference returning switch is NC; set to be 8 means A-axis reference returning switch is NC; set
to be 16 means B-axis reference returning switch is NC;
Want to set multiple axes reference returning switches to be NC, should plus corresponding axes value
setting.
It is related to the switches of machine.
For example: to set the reference switches of X-axis, Z-axis and A-axis to be NC, set this parameter to
be 13(1+4+8=13).
NO.34. reverse of reference returning for feed axis(X4,Y8,Z16,A32,B64)
To set the direction of feed axis reference point returning. Value 0 means the axis reference point return
to positive direction; as return to reverse direction, please follow the steps below:
Reference point of X axis return to reverse direction: 4;
Reference point of Y axis return to reverse direction: 8;
Reference point of Z axis return to reverse direction: 16;
Reference point of A axis return to reverse direction: 32;
Reference point of B axis return to reverse direction: 64;
To set multiple axes return to reverse direction, should plus corresponding axes value setting.
For example: to set the reference points of X-axis and Z-axis return to reverse direction, this parameter
set to be 20(4+16=20).
NO.35. the max length to check zero as X-axis reference returning (0.1mm)
To set the detection range of zero pulse signal of motor encoder after release from reference switch as
X-axis return to reference, Unit: 0.1mm.
NO.36. the max length to check zero as Y-axis reference returning (0.1mm)
To set the detection range of zero pulse signal of motor encoder after release from reference switch as
25
GREAT-150IM-II
MANUALS
26
GREAT-150IM-II
MANUALS
For example
A axis follows up X axis ---means running track of A axis and X axis are absolutely same. As
programming or in manual mode, only operate X-axis, A axis will completely follows up X axis,
For hardware, the pulse quantity from X axis drive output is same with that of from A axis drive output, to
realize following up function.
NOTE
1. Following up function usually applied into situation with high synchronicity requirement. Synchronicity
coordination adjusting for two axes, please adjust parameters like rigidity parameter, etc to up to the best
status.
2. In this system, only realize one axis (A axis or C axis) follow up a certain axis.
NO.48. equivalent treating for XY(C)ZA axis
To set frequency multiple for each axes pulse equivalent. This parameter setting will avoid motor over
speed in multi-axes simultaneous and mainly apply into the cases that there is much difference between
reduction ratio of certain axis and other axes.
Setting guide:
Value setting to change equivalent frequency multiply of X axis: 16+ multiple
Value setting to change equivalent frequency multiply of Y axis: 32+ multiple
Value setting to change equivalent frequency multiply of Z axis: 64+ multiple
Value setting to change equivalent frequency multiply of Z axis: 128+ multiple
For example:
1/2 original pulse equivalent of X axis(2 times frequency):
1/2 original pulse equivalent of Y axis(2 times frequency):
16+2=18;
32+2=34;
27
GREAT-150IM-II
MANUALS
28
GREAT-150IM-II
MANUALS
29
GREAT-150IM-II
MANUALS
To set electronic gear numerator at low grade, the value range : 132767
NO.112. denominator of electronic gear as spindle at low gear(1-32767)
To set electronic gear denominator at low grade, the value range : 132767
NO.113. numerator of electronic gear as spindle at top gear(1-32767)
To set electronic gear numerator at top grade, the value range : 132767
NO.114. denominator of electronic gear as spindle at top gear(1-32767)
To set electronic gear denominator at top grade, the value range : 132767
NOTE
Spindle electronic gear setting, please calculate according to following formula:
A: spindle rotation degree when the spindle motor rotates one revolution. unit: degree
P: feedback pulse number when the spindle motor rotates one revolution.(motor encoder line x4 )
NO.115. is there gear control for spindle (1:yes, 0: no)
To set spindle high and low grade function. As machine possesses auto gear shifting function, system
will realize gear shifting between high and low grade, and speed control corresponding to gears
according to the commands.
Value 1 means the machine possesses high and low grade;
Value 0 means the machine no high and low grade.
If set the spindle has high and low grade, the standard setting of K1on subpanel is high grade and K2
to control low gear grade. M61 is spindle high gear grade and M62 is spindle low gear grade in program.
Auxiliary relay M64, M65 are separately high gear grade and low gear grade control, to realize high or
low gear grade control, please edit PLC ladder to lead corresponding auxiliary relay to output relay Y,
then to control gear shift circuit. M40, M41 separately are high or low gear grade detection, to detect gear
shift in position, please edit PLC ladder and lead corresponding detection signal to the corresponding
auxiliary relay.
Revolution setting at high or low gear grade: set revolution for high or low gear grade through No.101 or
No.102 parameter in SPEED menu.
NOTE
If the high or low gear are manual shift mode, please just lead corresponding detection signal to
corresponding auxiliary relay and set right revolution at high or low gears when edit the PLC ladder. No
need enable high or low gear grade function.
NO.116. whether close spindle 3rd, 4th gear (1:yes, 0: no)
Whether close the 3rd and 4th gear function of spindle, value 1 means close the 3rd and 4th gear function;
value 0 means not close.
NO.117. whether start spindle as gear shifting (1:yes, 0: no)
This parameter is to confirm whether the spindle swing or not when gear shift, value 1 means swing,
value 0 means not swing.
To swing or not is connected with the machine structure; usually spindle need swing when change gears.
NO.118. duration from stop to swing as spindle shifting gear (0.01s)
To set the delay time from system output stop signal to start shifting gear, change gears as spindle
running, unit: 0.01s.
30
GREAT-150IM-II
MANUALS
The setting status is connected with the spindle highest speed, if this value set too small, the gear teeth
may be damaged.
NO.119. duration from swing to gear-shifting as spindle shifting gear (0.01s)
Set the swing signal duration before output gear shifting signal. Unit: 0.01s
NO.120. swing speed of motor as spindle shifting gear (0.01 rpm)
Set the spindle motor speed as shifting gear, unit: .0.01r/min.
It is related to the machine structure.
NO.121. the initial swing direction as spindle shifting gear (0: positive, 1:negative)
Set the initial rotate direction of spindle motor as shifting gear. Value 0 means same direction with M03;
value 1 means the opposite direction of M03.
NO.122. positive swing duration as spindle shifting gear (0.01s)
Set positive swing duration when shifting gear, unit: 0.01s
Setting status is connected with machine structure of gear shifting unit
NO.123. reverse swing duration as spindle shifting gear (0.01s)
Set reverse swing duration when shifting gear, unit: 0.01s.
Setting status is connected with machine structure of gear unit. Generally, the rotate time is same
between CW and CCW.
NO.124. will output signal of spindle gear-shifting be hold (0:no, 1: yes)
Set whether keep the spindle gear shifting signal after completed shifting (the status of auxiliary relay
M64, M65), value 1 means keep; value 0 means not keep.
Setting status is connected with machine structure of gear shifting unit. Usually not keep.
NO.130. high speed detection for hard limit of feed axis (0:yes, 1: no)
Value 0 means high speed detecting the hard limit of feed axis, the detecting period is 2ms, value 1
means not execute high speed detecting.
31
GREAT-150IM-II
MANUALS
Fig 3.13
Comprehensive parameter list:
1. subpanel control(18: all controlled by PLC)
2. inner para(6: auto enter, 8: allow import, reset by inputting 9 and enter)
3. language selection(1: , 0: English)
4. tool length/canned cycle/circular backlash type
5. B-type backlash speed of arc (mm/min)
6. subpanel type (A3;B0;C3;D6;E7;F15)
7. whether display self-defined alarm(0:no, 1: yes)
8. whether display feed axis and spindle alarm(0:no, 1: yes)
9. whether display cool/lub alarm(0:no, 1: yes)
10. whether enable tool selection and tool exchanging function(0:no, 1: yes)
11. tool management type
12. tool selection mode/ tool count signal
13. the axis returned to tool exchanging point (3:ZX;4:ZY;5:ZXY;other:Z)
14. which reference point does feed axis return as tool exchanging
15. whether detect spindle orientation and feed axis return to exchange tool point before tool exchanging (0:
no, 1 : yes)
16. whether spindle do orientation as tool exchanging 0: not orientation, 1: orientation
17. spindle orientation stopping degree as tool exchanging (0.1 deg) negative means no orientation
18. tool magazine type(0: rotary, 1: no magazine or lathe tool post, other: umbrella)
19. special tool magazine(0: standard, 16: special umbrella, 32: servo ,64:special ARM)
20. the lifting height of Z-axis as tool exchanging for umbrella tool magazine (mm)
21. lifting speed of Z-axis as tool exchanging for umbrella tool magazine (mm/min)
22. Z-axis rapid lifting distance for umbrella tool magazine mm
23. delay time of tool restoring for umbrella tool magazine(rotary tool seat down/tight)(0.1s)
24. delay time after tool release as exchanging tool(0.1s)
25. does Z-axis motion are interlocked with arm seizing tool/umbrella tool magazine (1:yes, 0: no)
26. whether tool magazine forward instruction M41 check Z-axis position(0: yes, 1: no)
27. the max tool No. in fixed tool location zone (initialize tool seat after setting this parameter)
28. axis power status as startup (0: auto power up when startup, 1: no power up when startup)
29. delay time between driver power off and reboot(0.1s)
32
GREAT-150IM-II
MANUALS
33
GREAT-150IM-II
MANUALS
For example:
If select B mode for length compensation, A mode for canned cycle and B mode for arc backlash
compensation; should input 5 (value in binary system: 101).
NO.5. B-type backlash speed of arc (mm/min)
Set the running speed of B mode backlash compensation. Unit: mm/min.
NO.6. subpanel type (A3;B0;C3;D6;E7;F15)
Set the subpanel type. Value 3 means A type or C type, 0 means B type, 6 means D type, 7 means
E type, 15 means F type.
NO.7. whether display self-defined alarm (0:no, 1: yes)
Whether display the status of auxiliary relay of self-defined alarm on the information bar real time. Value
1 means display, 0 means not display.
NO.8. whether display feed axis and spindle alarm(0:no, 1: yes)
Whether display the status of auxiliary relay of feed axis alarm and spindle alarm on the information bar
real time. Value 1 means display, 0 means not display.
NO.9. whether display cool/lub alarm(0:no, 1: yes)
Whether display the status of auxiliary relay of cooling and lubrication on the information bar real time.
Value 1 means display, 0 means not display.
NO.10. whether enable tool selection and tool exchanging function(0:no, 1: yes)
34
GREAT-150IM-II
MANUALS
Set whether enable select & exchange tool function or not, this parameter setting is connected with
machine equipment configuration (whether possesses tool magazine). Value 0 means the function is not
available; 1 means enable.
Value 1 means the machine equipment with automatic tool exchange function and can work with
multiple tools. if there is no tool magazine on the machine, should set this parameter to be 0, but in the
auto mode, after manual change tool, still apply TxxDxxHxx instruction to realize multi-tools control and
radius, length compensation.
NO.11. tool management type
(0: use M06, 1: directly tool exchanging by T instruction)
Set the tool exchanging mode for tool magazine of rotary type and umbrella type, value 1 means
apply T commands to change tool directly, value 0 means apply M06 commands to change tool.
NO.12. tool selection mode/ tool count signal
(0 digit: 0 means single dir/1 means bi-dir tool select; 1digit: tool count REV)
Set tool selection mode and whether tool count signal is reverse, which denoted by double figure in
binary system. Input in decimal system transferred from binary system calculation.
0 digit: set the rotate direction of cutterhead is uni-direction or bi-direction as selecting tools: 0 means
uni-direction, 1 means bi-direction (select tool from nearer side).
1digit: set whether the tool count signal valid mode is reverse: 0 means the valid mode of tool count
signal is same direction with default mode; 1 means the valid mode of tool count signal is reverse with
default mode.
The tool selection mode is related to tool magazine type, normally set to be bi-direction tool selection; set
whether tool count signal is valid related to debugging, as debugging, if cutterhead rotate CW and CCW
alternately, but the tool seat number in the tool status column on the display doesnt change accordingly,
need to set the valid mode of tool count signal to be reverse from current mode, normally set as reverse.
NO.13. the axis returned to tool exchanging point (3:ZX;4:ZY;5:ZXY;other:Z)
Set which feed axes need to return to a given reference point (tool exchange point). Value 3 means X, Z
axes return to tool exchange point as auto exchange tool; value 4 means Y, Z return to tool exchange
point as auto exchange tool; 5 means X, Y, Z axes return to tool exchange point as auto exchange tool;
other value except for 3, 4, 5 means only Z axis return to tool exchange point as auto exchange tool.
This parameter setting related to machine type and tool magazine type, normally auto exchange tool for
vertical machining center, only Z axis return to tool exchange point.
NO.14. which reference point does feed axis return as tool exchanging
(1, 2,3, 4 denotes corresponding reference point, other value means no motion)
Set the coordinates value of auto exchange tool applies which reference point, setting range 14
(corresponding to 1st refer to 4th refer), normally apply the 2nd reference point value as exchange tool
point. Set to be other values expect for 1, 2, 3, 4 means all axes wont moving as exchanging tool.
NO.15. whether detect spindle orientation and feed axis return to exchange tool point before tool
exchanging (0: no, 1: yes)
Set whether detect spindle orientation finished and feed axes moved to tool exchange point before auto
exchange tool. Set to be 1 means detect the spindle orientation degree and feed axes coordinates to
improve safety; se to be 0 means no need detect spindle orientation degree and feed axes coordinates.
Recommend set this parameter to be 1 as machine possesses auto exchange tools function, to
improve safety of auto exchange tools.
NO.16. whether spindle do orientation as tool exchanging (0: not orientation, 1: orientation)
Set whether system control spindle orientation function automatically and prepare fortool exchange in
automatic tool exchange mode
Value 0 means the system will not control spindle orientation automatically, apply corresponding
35
GREAT-150IM-II
MANUALS
commands to let spindle orientating before exchange tool, 1 means the system control spindle orientation
automatically.
NO.17. spindle orientation stopping degree as tool exchanging (0.1 deg) negative means no
orientation
Set spindle stop degree in automatic tool exchange mode. Value range: 0-3600, unit: 0.1degree.
Usually spindle stop degree is realized through spindle servo driver in automatic tool exchange status. Set
this parameter to confirm spindle stop degree as auto exchange tool only as parameter NO.104 set to be
0.
NO.18. tool magazine type (0: rotary, 1: no magazine or lathe tool post, other: umbrella)
Set tool magazine type of the machine equipment in order to determine the control mode of tool magazine.
Value 0 means to match with rotary type tool magazine(cam type with mechanical arm)
Value 1 means without tool magazine; value 2 means to match umbrella type tool magazine
The parameter setting is connected with machine equipment. to control tool magazine beside set this
parameter and also need to edit relative PLC program.
NO.19. special tool magazine (0: standard, 16: special umbrella, 32: servo ,64:special ARM)
Set tool magazine type of the machine equipment in order to determine the control mode of tool magazine.
Set this parameter to be 0 means standard rotary type or umbrella type tool magazine; 16 means
special umbrella tool magazine; 32 means servo control tool magazine; 64 means special ARM tool
magazine.
The parameter setting is connected with machine equipment. to control tool magazine beside set this
parameter and also need to edit relative PLC program.
NO.20. the lifting height of Z-axis as tool exchanging for umbrella tool magazine (mm)
To set Z axis lift up height as tool release in automatic tool exchange process when match with umbrella
tool magazine .unit: mm
The parameter value must larger than the tool handle length to avoid interference between tool handle and
spindle head as cutterhead rotate or back after tool releasing.
NO.21. lifting speed of Z-axis as tool exchanging for umbrella tool magazine (mm/min)
Set the moving speed of Z axis get to the lift height which set by No.22 as tool releasing in the process of
exchanging tool for umbrella tool magazine. Unit: mm/min.
This parameter value not too large, Otherwise affect the precision of cutterhead rotation or lead to tool
magazine deformation because spindle will hit the cutterhead as departing and approaching; but not too
small to decrease exchange tool efficiency.
NO.22. Z-axis rapid lifting distance for umbrella tool magazine mm
Set the rapid lift distance of Z-axis in auto exchange tool process as tool releasing when match umbrella
type tool magazine, unit: mm.
This value must less than the value of NO.20.
NO.23. delay time of tool restoring for umbrella tool magazine(rotary tool seat down/tight)(0.1s)
This parameter is to set delay time for three cases.
1.
Umbrella type tool magazine exchange tool: To set delay time to retract cutterhead after
spindle move down to catch the tool handle and tighten the tool;
2.
Rotary type tool magazine exchange tool: delay time for manipulator to perform fasten tool
operation after tool down.
3.
Rotary type tool magazine exchange tool: delay time for manipulator return to zero after tool
exchange and tighten the tool. Unit: 0.1s
This parameter setting is related to tool magazine type.
NO.24. delay time after tool release as exchanging tool (0.1s)
Set time delay time to execute the next operation of tool exchange after the exact tool release signal is
36
GREAT-150IM-II
MANUALS
valid in auto tool exchange mode, which can avoid delay of mechanical parts. Unit: 0.1s
NO.25. does Z-axis motion is interlocked with arm seizing tool/umbrella tool magazine (1:yes, 0:
no)
Set whether the motion range of Z-axis is interlocked with cutterhead (umbrella tool magazine ) or
manipulator (rotary tool magazine). Thats to say, whether limit the coordinates of Z axis lower than tool
exchange point value of Z axis when the cutterhead pushed out or the manipulator stay in fastening tool
status.
Value 1 means to limit to avoid Z axis moving lower than tool exchange point and enhance safety.
Value0 means not limit.
This parameter setting is connected with usage status. Usually set as 0 as debugging, but should make
sure the position of Z axis not interfere with cutterhead. We recommend to set as1 for safety in normal
operation.
NO.26. whether tool magazine forward instruction M41 check Z-axis position (0: yes, 1: no)
Whether detect Z-axis position when the tool magazine moves forward in manual and MDI mode.
Value0 means to detect and the system can move forward only when the tool exchange point of Z axis
is more than +20mm; value1 mean not to detect.
This parameter is set to be 1 when the machine debugging at the first time; in normal operation, we
recommend set to be 0 for safety sake.
NO.27. the max tool No. in fixed tool location zone (initialize tool seat after setting this parameter)
Set the fixed tool number area zone for rotary tool magazine (tool and toolseat must be one-to-one
correspondence and cant exchange tools randomly).value range: from No.1 to the max tool number
For example:
Value 5, means the fixed tool seat zone is from No.1 toolseat to No.5 toolseat, tools status as exchange
tools in this zone are one-to-one correspondence with the initial install tools and cant exchange tools
random.
This parameter mainly applied into the installation of tools with big diameter. The tool diameter may
bigger than the distance between two toolseats and may create tool collision trouble once change tools
random. So its better to place in a fixed tool number area.
NOTE : Must initialize toolseat table after setting this parameter
NO.28. axis power status as startup (0: auto power up when startup, 1: no power up when startup)
Set power control status of axes in system control interface after start the system. Value0 means power
up to each axis automatically after system self checking normal at booting; value "1" Means the system will
not power up to each axis automatically and need to operate manually.
The precondition for setting this parameter is the power supply of each axis driver is controlled by contactor
and etc. there is no significance to set this parameter if the power supplied directly by the machine
equipment.
1. If set as 0, then light indicator K8 will be lighten when the system starts and the E-STOP button
released. Control outside circuit by editing PLC program to power up each axis.
2. if set as 1, need to press K8 keypad and edit PLC program to power up all axes.
NO.29. delay time between driver power off and reboot (0.1s)
As driver power supply controlled by CNC system, the delay time between system cut off the power supply
to driver and re-supply power to driver. Unit: 0.1s
NO.31. setup type of tool radius C compensation (0: A type, 1: B type)
Set establishment patterns of tool radius compensation C, there are two kinds of establishment of tool
radius compensation A and B (please refer to Chapter4.6 for detail)
Value0 means the establishment type of tool radius compensation is A mode;
37
GREAT-150IM-II
MANUALS
38
GREAT-150IM-II
MANUALS
Fig3.16
NO.203. defined current parameter as factory parameter
Define the current parameter to be factory parameter (original parameter). Applied for backup parameter
after debugging, it is convenient for maintenance of machine in the future.
3.4.7 Password
Password interface mainly used for right setting and system program upgrade and backup. Enter into
password setting interface by pressing PASSWD soft key, please refer to Fig3.17:
39
GREAT-150IM-II
MANUALS
40
GREAT-150IM-II
MANUALS
The second step is to set new password: move the cursor to No.5 parameter Modify Machine
Co.s password, then Enter into dialogue box as followed.
41
GREAT-150IM-II
MANUALS
The second step set new password: move the cursor to NO.6modify users password, then
Enter into dialogue as followed:
42
GREAT-150IM-II
MANUALS
3.5 Diagnose
Under the main interface, press "PARAM" key to enter the diagnosis interface. Under this interface,
operator can monitor every I/O port and edit every I/O function name and reset of driver error alarm
43
GREAT-150IM-II
MANUALS
Fig 3.32
Editing method: Move the cursor to the cell need to edit by pressing """" And "ENTER" and insert
configure explanation in the dialogue box.
44
GREAT-150IM-II
MANUALS
Fig 3.33
press key in menu, shift to the other interface:
Fig 3.34
press will back to the interface in fig 3.33. In these two interfaces, it can edit PLC ladder diagram
according to system PLC source. Finished editing, press save in fig 3.34 to Enter, then press
COMPIL softkey, it creates or modify PLC documents. ESC to quit from EditLad interface.
Operation guide for editing ladder, please refer to the chapter of programmable logic control PLC.
NOTE: 1. in the status of LadStat and EditLad under DIAGNOSE interface, press S key and input
45
GREAT-150IM-II
MANUALS
the cell wanted to search for, will find the needed cell.
2. After PLC files renewed, must reboot system or shift to Ladder in the PARAM to press R
46
GREAT-150IM-II
MANUALS
47
GREAT-150IM-II
MANUALS
The pitch error compensation points of each axis are evenly distributed. The interval of compensation
points is set on the each axis. The minimum value of pitch error compensation points are limited,
calculated by following formula:
Minimum value of pitch error compensation points = max feed speed (rapid feed speed) /3750.
Unit: minimum value of pitch error compensation points: mm max feed speed mm/min
For example
Example 1: Linear axis: when length of travel is -400mm+800mm,interval of points 50mm,reference
point compensation NO. is No.40, it can figure out that Com. Point NO. of furthest end in the negative
direction is:
Compensation point No of reference-machine travel in negative direction/compensation point interval
+1=40-400/50+1=33
Com. point No. of the furthest end in the positive direction is :
Compensation point No. of reference + machine travel in positive direction/ compensation point interval =
40+800/50=56.
Machine coordinate and compensation point NO. correspondence is:
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
56
value
+2
+1
+1
-2
-1
-1
+2
+1
-1
-1
-2
+1
+1
48
GREAT-150IM-II
MANUALS
Example 2: rotary axis: when movement per revolution is 360, interval of points 45, reference point
compensation NO. is No.60, the Com. Point NO. of furthest end in the negative direction is usually same
with the reference point com. point NO.
Com. point NO.of the furthest end in positive direction is:
Reference compensation point NO.+ movement per revolution/comp point interval=60+ 360/45=68.
Machine coordinate and compensation point NO. correspondence is:
Fig 3.41
EXPLANATION
Input value in small circle. If the total amount from 61 to 68 doesnt equal 0, accumulated pitch error per
revolution will deviate, so same value shall be input into point 60 and 68. Parameter sets as follows:
z
Compensation point NO.of reference point: 60
z
Com.point NO.of furthest end in negative direction: 60
z
Com.point NO.of furthest end in positive direction: 68
z
Compensation percentage:1
z
Compensation point interval:45000
Output compensation value at corresponding point:
NO.
60
61
62
63
64
65
66
67
68
VALUE
+1
-2
+1
+3
-1
-1
-3
+2
+1
3.7 Tool
Press REDEEM on the panel will shift to tool parameter setting interface.
49
GREAT-150IM-II
MANUALS
There are six function keys in REDEEM menu as Radius, Length, ACLEA, CLEAR,
Toolseat, Set.
Radius to set radius compensation value of tool
Length to set length compensation value of tool
ACLEA clear all the length and radius compensation value
CLEAR clear the current length and radius compensation value
Toolseat to set or monitor match status between tool and toolseat
Set set tool management (at most 99tools)
50
GREAT-150IM-II
MANUALS
51
GREAT-150IM-II
MANUALS
3.8 Program
All programs in this system are managed in files and can be saved up to 32MB in NAND FLASH storage.
Program editing can be operated in full screen and protected by insert password.
Press "PRAM" on the panel and shift to program interface, refer to fig3.47.
3.8.1 New/Sek
Press New/Sek soft key under Program interface, then a dialogue box pop up and ask for input new
file or sought files(refer to fig3.48)
52
GREAT-150IM-II
MANUALS
3.8.2 Copy
"Copy" Means to copy the current program file or folder into another program file or folder. Press
"",""keys to select program files or folder to do copy operation and "Enter", then a dialogue box pop up
and ask for inserting a new file name or folder name.
Fig3.49 Copy
As fig 3.49 shows, if the inserting file name already exist and another dialogue box like fig3.50 pops up
and remind whether to cover the file. If not the file name, it will be treated as the current program file or
current folder and displayed with reverse color.
Fig 3.50
3.8.3 Rename
Select the file to rename and press "RENAM" Soft key, then a dialogue box (refer to fig3.51) pops up and
ask for inputting new file name or folder name.
53
GREAT-150IM-II
MANUALS
As fig 3.52 shows, if the inputted file name already exist and another dialogue box like fig3.52 pops up
and remind whether to cover the file. If not existed, it will be treated as the new file or folder.
Fig 3.52
3.8.4 Delete
Under program interface, move the cursor to select the program file or file box and "Del" it.
CAUTION
Please make sure everything before deleting a file, because the data can not be recovered after deleting.
3.8.5 Information
in the PRGRM interface, Move the cursor to select program file and press "INFOR" Soft key to know
relative information of the program file, (refer to fig3.53)
Fig3.53 Information
NOTE
Folder only display the system remaining space.
54
GREAT-150IM-II
MANUALS
Fig 3.54
As fig3.54 shows all files in USB disk displayed in the middle area of the screen (Display area) and at the
bottom of the screen is path display area and "/tmp/USB" is system default path.
Return to program interface by pressing "SYSTEM" Under USB interface.
A dialogue like fig3.55 may pop up and remind unidentified after inserting the USB disk, please reboot
system, if the USB-disk still cant be found, need to change another USB disk.
Fig 3.55
Import program files from USB disk to the system: Insert USB-disk, press USBdisk will display
program file in the USB-disk. Select the file or folder needs to be imported into system by press"","" key,
then press Import key, will pop up a dialogue box, input program folder or folder name and press
Enter.
Fig 3.56
If the inputted file name already exist, a dialogue box (Fig3.57) pops up and remind whether to cover it. If
this name is not existed in the system, it will be acted as the current program file or folder and reverse
color display.
Fig 3.57
Export program file or folder from system into USB disk: press "",""Keys to select program files to
be exported and press "USBdisk"--->"EXPORT"-->insert file name in dialogue box and "Enter" .Refer to
fig3.58
55
GREAT-150IM-II
MANUALS
Fig3.58
If the inputted file name already exist, a dialogue box (Fig3.59) pops up and remind whether to cover it. If
this name is not existed in the USB-disk, it will be acted as the current program file or folder and reverse
color display.
Fig 3.59
CAUTION
Return to program display interface before pulling out the USB-disk. Otherwise, the data in the USB-disk
will be lost.
Import or export parameter or system software(used for upgrading, renewing or backup )
Import parameter, software to system with USB-disk (upgrade, renew)
First insert U disk in CNC. Press "PRGM" -> "USBdisk "(F6), will display file in the USB-disk. Select the
file need to be imported and press Restore(F2), pops up dialog as below, press Enter. restore
succeed, press SYSTEM, plug out USB-disk and reboot system.
Fig3.60
Export parameter system software with USB-disk(backup)
The operate path is: PRGM-USBdisk(F6)select file and press EnterExport, input password
of machine tools builder, press Enterpop up the dialog as below figure, press Enter will export the
parameter file and system software to the USB-disk. Press SYSTEM, plug out USB-disk.
Fig3.61
NOTE
1. All files including parameter files, system software or PLC files will automatically exported into
USB disk use USB disk export parameter, meanwhile, all permitted files selected will be imported to
56
GREAT-150IM-II
MANUALS
Fig 3.62
After setting serial number and transmit rate in the configuration column and press "Transmit CNC
program file" Button--->select the file to transmit and "Open". Now PC is waiting for transmitting software.
Press "R" Button under system "PRGM" Interface, then a dialogue box pops up (refer tofig3.63)
Fig 3.63
Input file name in above dialogue box and Enter, then PC will start to transmit program file and the
system start to receive it (refer to fig3.64)
57
GREAT-150IM-II
MANUALS
Fig 3.64
Program transmitted from system to PC: press "",""Keys to select a program file to be transmitted
under "PRGM" Interface and press "T" Button. Refer to fig3.65
Fig 3.65
Run system professional communication software developed by our GREAT CNC company on PC (refer
to fig3.66)
58
GREAT-150IM-II
MANUALS
Fig 3.66
Correctly set serial port number and speed rate to connect with PC and press "Receive CNC program
file" button --insert the file name ,-- press" Save" Button .system start to transmit program file and PC
will store the file into appointed file path.
NOTE
1. to transmit a program ,must run the system professional communication software developed by our
GREAT CNC company on PC.
2. Keep consistent of transmit rate between PC equipment and the system, otherwise can't be
transmitted successfully.
3. the connecting serial number must keep consistent with setting in system and we strongly
recommend to use communication shield supplied by our company to avoid damage to serial port for
continual insertion, and baud rate of RS232 should be better less than 38.4Kbps.
4. RS232 communication wire length can't be longer than 10 meters.
5. User can use the communication software directly by copying it into PC equipment from CD matched
with this system and no need to install it.
3.8.8 Edit
Move the cursor to select a program under PRGM interface, then "Enter" into program editing
status .refer to fig3.67
59
GREAT-150IM-II
MANUALS
Fig3.67 Edit
Editing interface mainly edit program, insertion, modify, delete etc. Select the program name and Enter
into full screen editing status.
In editing screen, left top area is file name display area and right top area is total program lines and line
number where the cursor stands. All program contents displayed in the middle area. At the bottom of the
screen, there are 8 commands keys in two menus .Named as "COMPIL", "FirLine", "Endline""POS",
"DelBlock", "DelLine", "COMMAC", "CopBlock","ARRAY", "SEARCH", "ALTER", "AALTER" and shift two
menus by pressing "> >"and "< <" keys. Refer to fig3.68
Fig 3.68
Operation method under editing status as follows:
1) Pose the cursor: change the cursor's position
.:up and down between the lines
.Move Left and right between characters
.PgUp, PgDn Goes to last page or next page
.Enter Move to the home of next line
Press POS Soft key and insert line number can locate directly to the line which you insert in
.press Home and End To the home / end of the line
.press home Key to directly locate to home of the line.
.press End Key to directly located to end of the line.
When the located program line surpasses the page, it will automatically change to the next page and
located program line will be contained in the display.
2) Delete: press Del key to delete the character behind the cursor.
3) Backspace: press Back key to delete the character before the cursor.
4) Space: press Spc key to insert a SPACE before the cursor.
5) Upper key: press "Shift" key and press character key to insert the upper character
6) Line delete: press "Deline" soft key to delete the line where the cursor stands.
7) Block operation: includes block copy and block delete function
Block copy: copy one block to the line where the cursor stands. Follow steps below: move the cursor to
correct position under editing status and press "Copblock" Under the second menu, then a dialogue pops
up (fig3.69).
Fig3.69
Insert starting line number in above dialogue box and "Enter" Into another dialogue box as fig3.70 shows:
60
GREAT-150IM-II
MANUALS
Fig 3.70
Insert ending line number of the copy block in the dialogue box and "Enter", then the selected block will
be copied to the line behind of the cursor.
NOTE
1, the insert line number must be the real line number rather than line number started by N
2, if copy only one line, just set begin line number and end line number as same line number
Block delete: system will take line where the cursor stands as beginning line number and decide
program block according to inserted line number and delete it from the program, operation method as
followed:
Move the cursor to the beginning line of the block to delete and press "Delblock" Soft key under the first
menu, then a dialogue box pops up (fig3.71).
Fig 3.71
Insert the end line number of the block to delete in above dialogue box and press "Enter", then the
selected block will be deleted.
NOTE
The insert line number must be the real line number rather than line number started by N
8) Compile
Program written using ISO codes (original program) according to ruled programming instruction can't
directly run in the system, but should convert into executable machine codes (object program).
Compiling function actually is the process to translate the original program into machine codes program.
Compile includes "Compile NC" And "Compile MAC": "Compile NC" Means to compile NC processing
program; "Compile MAC" Means to compile macro program.
There is rigorous fault checking function in compile process, if there is error in the program, it is can be
modified in time. If there is no fault, a information box pops up and shows "OK, compile successfully!,
refer to fig3.72.
61
GREAT-150IM-II
MANUALS
Fig 3.72
If there is some fault, system will remind the fault line number and its characteristic, refer to fig3.73
Fig 3.73
NOTE
In Auto mode, system will automatically compile the original program and remind fault information, if
there is any fault in the program.
9) SEARCH: search for appointed character string backwards from the point where the cursor stands.
10) ALTER: replace appointed character string once backwards from the point where the cursor stands.
11) AALTER: to replace appointed character string from the point where the cursor stands to
the
end of the program. Operation instruction as followed:
Move the cursor to the start line of the character string to replace and press "AALTER" Soft key, then a
dialogue (fig3.74) box pops up.
Fig 3.74
Insert character replaced in above dialogue box and "Enter", refer to Fig3.75.
Fig 3.75
Input replaced character in above dialog box, press Enter all the character string will be replaced from
the current line to the end of the program
NOTE: stop actions of Seek, ALTER, AALTER by pressing Emergency stop switch
12)Array lines: Array the program line number under edition in the decimal system. there is no strictly
requirement to system line number, it can be numerical value with 1-4 figures and increase on any base
or never use it at all
13)Esc: press "Esc" or "Return" Keys to return to file management menu. System will reminds whether
to save program.
CAUTION
Program file wont be saved encountering unexpected power off during program edition. If user wants to
62
GREAT-150IM-II
MANUALS
save files during edition, just press COMPIL key to do compiling operation will save the program.
3.9 Manual
Press MANUAL soft key on the main panel will shift to manual operation menu. Refer to fig3.76 as
followed:
Fig 3.77
63
GREAT-150IM-II
MANUALS
Axes feed on when press the key and stop when release it. Press +X, -X, +Y, -Y, +Z,-Z, +4, -4 to realize
the manual continuous accordingly, The feed speed is manual speed set in parameter multiply its ratio.
There are two hard limits in both two directions of the axis, will stop feed when meet the limit and remind
the status. Now only feed reverse.
In manual mode, execute axes simultaneous operation by pressing multi-axes at the same time.
3.9.2 Increment
Press INC soft key under manual mode shift to manual increment mode. Manual/auto mode status
display as fig3.78:
Fig3.78
Press +X, -X, +Y, -Y, +Z,-Z, +4, -4 to feed a increment value to realize manual increment, the feed seep
is manual speed multiply feed rate.
Increment value shift keys
0.01mm-->0.001mm". Meanwhile, users can set any increment value directly by pressing "I" Key in the
increment mode. Refer to fig3.79
Fig 3.80
In MPG mode, select current axis by pressing axis (X, Y, Z, 4th, 5th) on sub-panel and set ratio override
by pressing
keys repeatedly to shift among there levels X1, X10, X100,while use pendant MPG,
select axis and ratio by rotating knob on the pendant MPG. when do level shift operation, please do press
the button at the left side of the MPG generator to confirm, otherwise, not any motion.
64
GREAT-150IM-II
MANUALS
key then a dialogue box (refer to fig3.81) will pop up and ask for insert axis
Fig 3.81
Running speed, running direction, detection method, offset value set in parameter. Press STOP button to
stop reference returning operation.
NOTE
1. During the process of reference returning, a dialogue may pops up (fig3.82), which reminds zero pulse
detection of motor failed as reference returning. In that case, do reference returning again. If this problem
repeatedly happened, there may be some problem with parameter setting(reverse speed of reference
returning is too rapid) or circuit problem, please check carefully.
2. the precondition of doing spindle reference returning is spindle possesses encoder signal feedback;
the precision of reference returning is related to execution mode and speed, the precision will be higher
as the control mode of spindle is position control, as in speed control mode, the precision will be worser;
meanwhile, the more of the speed of reference returning, the worse of precision.
Fig 3.82
CAUTION
Please do reference returning operation each time after starting the system or cases of unexpected
power off or abnormal switch-off to make sure of machining precision. Otherwise, accident may happen.
65
GREAT-150IM-II
MANUALS
Diagram 1
diagram 2
Fig3.83
Fig 3.84
input 1 and ENTER to specify the coordinates of point P1, then move the coordinates to point B and
press key E .A dialogue box pops up refer to fig3.85 (note the point P1 has been set )
Fig 3.85
Input 2 and press ENTER to specify the coordinates of point P2, press key E and a dialogue box pops up
refer to fig3.86 (note the point P1,P2 has been set )
Fig 3.86
Input X(the line is parallel to X axis) and ENTER, system will automatically set the midpoint of the line to
be the zero point of X-axis, the current X-axis coordinates set as an offset value based on the X-axis zero
point of work coordinate system.
Specify the centre of a circle through three points (refer to diagram 2)
Select corresponding work coordinate system and move coordinates to point A, then press key E and a
dialogue box will pop up (refer to fig3.87)
66
GREAT-150IM-II
MANUALS
Fig 3.87
Now, input 1 and ENTER to specify the coordinates of point P1 and then move the coordinates to point B,
press key E and a dialogue box will pop up, refer to fig3.88(point P1 has been set already)
Fig 3.88
Now input 2 and ENTER to specify the coordinates of point P2 and then move the coordinates to point
C, press E key and a dialogue box will pop up(refer to fig3.89) please check setting result on the dialogue
box,P1,P2 point S have been set already.
Fig 3.89
Now, input 3 and ENTER to specify the coordinates of point P3 and press key E, then a dialogue box will
pop up(refer to fig3.90)please check setting result on the dialogue box, points P1,P2,P3 have been set
already.
Fig 3.90
Now input R and ENTER, system will automatically set zero point of X, Y axis of current coordinates at
the centre of circle, the current value of X,Y axis will be set as offset value based on zero point of work
coordinate system.
NOTE
1. To cancel the operation of midpoint identification during setting process, please input 0 and ENTER .
2. This operation actually is to set the zero points of X,Y axis' of work coordinate system, thereby can't
operated under machine coordinate system.
3.9.6 Return to the zero point of G17 plane of work coordinate system
For convenient operation, this system supply function of returning to the zero point of current work
coordinates G17 plane (X,Y axis),steps as followed:
Press HOME key under work coordinates in manual mode, then a dialogue box will pop up (refer to
fig3.91)
67
GREAT-150IM-II
MANUALS
Fig 3.91
X, Y axis will return to zero point of current work coordinate system in turn at G00 speed after pressing
ENTER as show in dialogue box fig 3.91
CAUTION
When executing zero returning by one key, should move Z axis to the safe position where no interference
between spindle and worktable or work piece, otherwise, accident may happen.
press
press
then spindle stop rotation and show M05.Under the status of spindle stopping, press
once , spindle motor powers on ;and press again, spindle motor power off.
press
press
key to rotate cutter head for selection of tool position in tool seat
5)lubricant switch
key is a repeat key ,shift between off and on status of lubrication.
6) feedrate override control:
feedrate override ratio is controlled by wave band switch or key pressing. Skip one space CW or press"+"
Key, ratio will increase by 10 or skip one space CCW or press"-" Key, ratio will decrease by 10%;the
range is from 5% to 150% and total16 gears. feedrate override ratio value shows in the column of feed
68
GREAT-150IM-II
MANUALS
Fig3.92
7) spindle override control:
Spindle override ratio is controlled by wave band switch or key pressing. Skip one space CW or press"+"
Key, ratio will increase by 10% or skip one space CCW or press"-" Key, ratio will decrease by 10%;the
range is from 5% to 150% and total 16 gears. Adjustment value shows in the column of spindle revolution
as refer to fig3.93
Fig3.93
8) press STOP key: stop current manual operation
9)press "F" key and a dialogue box for manual feedrate override will pop up to set running speed
of each axis in manual mode. Refer to fig3.94
Fig 3.97
69
GREAT-150IM-II
MANUALS
3.10 Auto
Press Auto on the panel will shift to auto mode. System will compile the current program under auto
mode, will remind error information, if there is error in the program.
Press "RUN" Key: program run
Press "STOP" Key: under status of continual program running, press once to pause and press STOP key
under pause status to stop immediately, continue to run by pressing RUN button. Under step program
running status, press once to stop.
3.10.1 Coordinates
Coordinates running status is to confirm machining path are tracked and showed by coordinate method,
which shows the current position of tool. There are two types of coordinate status: work coordinates and
comprehensive coordinates, which can be shifted by pressing ALTER key. The comprehensive
coordinates, please refer to fig3.98
3.10.2 Graphic
Graphic running status is to confirm the machining path is tracked and shown by graphic. For different
machining program and different starting point of machining, System will automatically calculate out
display effect to fully extent. Operator can parallel move and whirl the drawing by cursor and zoom in and
zoom out by pressing PgUp and PgDn or return to original status by pressing HOME button. Users can
also select showing method on XOY plane, YOZ plane, ZOX plane or 3D graphics by pressing "X, Y, Z,
ALT "keys in turn. The whole path process of tool can be previewed before machining.
Shift between coordinates and graphic can be easily done in the status of program RUN/PAUSE / STOP
70
GREAT-150IM-II
MANUALS
3.10.3 Continual
Continual running status means the program will continually execute each block continuously after
pressing RUN button.
3.10.4 STEP
STEP mode means system will run current block and pause to waiting for operation.
Shift between step mode and continual mode can be easily done in the status of program RUN/PAUSE /
STOP by pressing shift key
3.10.5 Simulation
In Auto interface, press SIMUL to shift to simulation status, will show the tool center running path
through track graphic or coordinates method. All machinery operation including machine feed or other
assistant function etc will not be executed in simulation mode.
Press Run button, real-time display of real shape of current workpiece automatically and can revolve
randomly, zoom in and zoom out or shift between track graphic and coordinates method
Fig 3.99
Press ENTER key under dialogue box (refer to fig3.99) shift to MPG auto running mode and press RUN
key, running indicator turn on. System waiting for program running, rotate MPG wheel, program will be
71
GREAT-150IM-II
MANUALS
executed, if stop MPG wheel, program will pause and wait for MPG wheel rotated again.
To exit MPG auto running mode, press DEL key and ENTER in the dialogue box of fig3.100
Fig 3.100
NOTE
MPG wheel just do trigger function under MPG auto running mode and running speed of axis still
decided by program itself.
Fig 3.101
NOTE
Stop simultaneous function by pressing STOP button.
Guide to cancel simultaneous machining mode: shift to file path and select system program file need to
be executed and press F7 key to cancel simultaneous machining mode
NOTE
1. File transmitting through serial port related to baud rate and environment. For safe sake, we
recommend to use a medium rate less than 38400
2. Communication cable length should be less than 10 meters and communication shield board is
requested.
3. To run system professional communication software on PC to transmit and make sure the transmit
rate setting for PC and system must be same.
4. System professional software goes with CNC package and save it into PC hardware to run without
installation.
USB-DNC explanation
USB-DNC is completed through USB disk. Please open USBdisk under PRGM interface and select
required program, then press EXEC soft key to return to auto mode and press RUN to execute program.
72
GREAT-150IM-II
MANUALS
CAUTION
Never pull out USB disk during USB-DNC process, otherwise will lead to machining failure. Please return
to program interface after finished USB-DNC transmission
Fig 3.102
Insert code according to guide and press RUN key, then System will execute the block at once. to pause
it by pressing PAUSE and exit MDI function by pressing ESC key.
NOTE
If there is no code of G53, G54, G55, G56, G57, G58, G59, when using MDI function, which means the
MDI program is executed at work coordinates (G53, G54-G59)
For example
Current coordinates is G55
Insert X50Z67F400 in MDI dialogue box and press RUN keys, then system will move to coordinates
point X50Z67 in the work coordinates G55 at the speed of F400.
73
GREAT-150IM-II
MANUALS
normal.
Fig3.104
Set coordinates
To set value of any work coordinates or relative coordinates. Work coordinates is set under work
coordinate system and relative coordinates is set under comprehensive coordinate system or in the
running process of the program. Press SetCo soft key to achieve the operation under corresponding
interface. Refer to fig3.105
Fig 3.105
To set G54 work coordinates value under work coordinates display mode. Press "","" Keys to decide
which axis to set.
Fig 3.106
74
GREAT-150IM-II
MANUALS
To set relative coordinates value under comprehensive coordinates display mode. Press "","" Keys to
decide which axis to set.
NOTE: Machine coordinates (G53) can not be set
75
GREAT-150IM-II
MANUALS
Fig 3.107
76
GREAT-150IM-II
MANUALS
Step 2, Stop spindle, exchange tool T02, run spindle. In the manual mode to move Z axis to approach
the work piece surface (suppose current coordinates value is -135) like as fig 3.108, press "TOOL" Soft
key and operate according to the guide and realize automatically remember of toolsetting. System will
automatically set the length compensation parameter of tool(T2) Hx as "15"-135 - -150.
NOTE
Hx means either of H1-H4 and select by pressing "TOOL" Soft key, usually select H1
Fig 3.108
Step3, Stop spindle, change tool T03, run spindle. Move Z-axis in manual mode to make the tool close to
workpiece surfacesuppose the current coordinates value is -165fig3.109, press "TOOL" Soft key and
operate according to the guide and realize automatically remember of tool setting. System will
automatically set the length compensation parameter Hx of tool T03 as "-15"-165 - -150.
NOTE: Hx means either of H1-H4 and select by pressing "TOOL" Soft key, usually select H1
Fig 3.109
Step 4, tool setting finished
NOTE
System automatically remember length compensation after finishing tool setting, to realize compensation
in the processing, will need some length compensation instructions.
CAUTION :If do not accord above method, the current coordinates may lose and accident may occur as
starting system next time.
WARNING :Do reference returning operation once starting the system every time to ensure of machine
processing precision. Also need to do reference returning encountering unexpected power off or
abnormal system turning-off, otherwise, accident may occur.
77
GREAT-150IM-II
MANUALS
CHAPTER IV PROGRAMING
Programming is used to describe machining track and assistant motion with CNC language according to
the blueprint of workpiece and requirement of machining process
78
GREAT-150IM-II
MANUALS
Absolute Programming:
The confirmed coordinate data programming method based on established absolute coordinate system.
It is set with G90.
Relative Programming (increment programming):
The distance and direction of moving end point relative to start point. It is set with G90.
Mode Instruction:
The instruction remains the function in the program. It works both in the current program and following.
Until replaced by another mode instruction in identical group.
In the same operation, there may be several mode instructions, such as M03 (spindle CW), M04 (spindle
CCW), M05 (spindle stop). They are all mode used to control spindle. The modes of same kinds are
categorized into one mode group. At any time it must be one of them, and must be only one of them. The
original chosen mode instruction is called mode origin. In the above mode group, M05 is such a mode
origin.
Suspending mode (destroying mode):
The instruction which can turn mode instruction into mode origin or destroy the mode, such as M20
(program ending instruction), means the end of operation and return to original status.
Non-Mode instruction:
The instruction cannot remain function, and only works in the current program block.
Address
symbol
File No.
0-9, A-Z
0000-9999
Preparation function
00-99
Auxiliary function
00-99
Tool selection
Tool No.
01-99
Tool compensation
HD
1- 4
Spindle function
S SP
00-99999
Cutting speed
1-3000mm/min
Coordinates character
XYZA
9999.999mm
meaning
Data range
79
GREAT-150IM-II
MANUALS
(B/C/U/ V/W)
center coordinates
IJK
9999.999mm
Step length
arc radius
0.001-999.999mm
Delay time
0.001-99.999s
Program entrance
0000-9999
Repeat times
1-9999
groups
G00
Rapid positioning
G01
Linear interpolation
G02
01
G03
G33
Threading
G04
00
Dwell
G15
G16
17
G17
G18
G19
G20
G21
06
G28/G281/
G282/G283
G30/G301/
G302/G303
G26
00
G261
G262
G263
G40
80
function
07
GREAT-150IM-II
G41
G42
G43
G44
08
G45
G46
G47
G37
G36
G12
G11
G52
00
G48
G49
08
11
22
00
G53
G54
G55
G56
14
G57
G58
G59
G60
G64
G68
MANUALS
15
16
accurate positioning
Continual path working
Coordinate rotation valid. format:
G17
G18
G68 a-b- R-; R: Angle displacement
G19
G69
G73
09
G74
CCW pecking deep hole tapping cycle: cutting feed, stop tool at the
bottom of hole, CW. format:G74X-Y-Z-R-P-F- L
P: pause time
G76
Finished boring cycle: cutting feed, spindle oriented stops at the bottom
of the hole, rapid retraction. format:G76 X-Y-Z-R-Q-P-F- L Q: offset value at the bottom of hole, mode value saved in canned cycle.
G80
G81
81
GREAT-150IM-II
G82
Chip removal drilling cycle or counter boring cycle: cutting feed, stop tool
at the bottom of hole, rapid retraction.
Format:G82 X-Y-Z-R-P-F- L -
G83
G84
CW peck deep hole tapping cycle: cutting feed, stop tool at the bottom of
hole--reverse, retraction.
Format:G84 X-Y-Z-R-P-F- L Note: select standard or rigid tapping through parameter setting
G85
G86
Boring cycle: cutting feed, spindle stops at the bottom of hole, rapid
retraction
Format :G86 X-Y-Z-R-F- L -
G87
boring cycle, counter boring cycle: cutting feed, spindle CW at the bottom
of hole, rapid retraction:
Format:G87 X-Y-Z-R-Q-P-F- L -
G89
boring cycle:
stop tool at the bottom of hole, retraction:
Format:G89 X-Y-Z-R-P-F-L-
G90
03
G91
G92
00
G94
05
G95
G98
10
G99
19
G800
G65
Increment program
Set work coordinates or suppress the max speed of spindle
Feed per minute
Feed per revolution
Canned cycle return to original point: apply to final drilling
Program cycle command
Cancel Program cycle command
Non-mode calling for macro program
G66
12
G67
G180G189
Table 2
Absolute program
Canned cycle return to R point: apply to hole drilling at the first time
G22
82
MANUALS
M02
M30
M00
M20
M98
sub-program calling
M99
sub-program end
M97
Program skip
M03
Spindle CW
M04
Spindle CCW
GREAT-150IM-II
MANUALS
M05
Spindle stop
M06/M16
Exchange tool
M08
Turn on cool
M09
M10
Tighten tool
M11
Loosen tool
M24
M25
Turn on blowing
M32
Turn on lubrication
M33
M41
M42
M43
M44
M45
M46
M47
M48
M49
M50
M51
M52
M53
M54
M55
M56
M57
M58
M61
M62
M63
M64
M317
M318
M319
M320
4.3.3 F function:
In this CNC system, feed speed use F word. It is mode. The actual feed speed equals the setting speed
multiply speed override.
Feed speed of linear interpolation G01, circular interpolation G02, G03 is determined by the data
followed F code. In the cutting process, program block run continuously, the feed speed is the minimum
feed speed.
Apply 2 methods to specify the feed speed.
1. Feed per minute G94
83
GREAT-150IM-II
MANUALS
4.3.5 S function
S function is used to control spindle speed, this function is valid to all the machines which spindle speed
is controlled by transducer. In program, execute stepless speed control with S word. CNC provides
analog voltage between 0+10V, and S function is mode order. Spindle speed can be maximum
specified 5 digits followed address S(r/min)
84
GREAT-150IM-II
MANUALS
Explanation:
G92 command doesnt generate motion, just apply to set work coordinate system. X, Y, Z means the
coordinates position of the setting coordinate system that the point on the tool located in (e.g.: tool nose ).
If use G92 set coordinate system during tool length offset, the tool radius compensation in the system
which set by non-offset coordinates will be deleted by G92 temporarily
e.g.:
Fig4.4
Example 3
N0000 G92 X65.2 Y100 Z28
Means to establish work coordinate system and current workpiece coordinates position is X65.2,Y
100,Z28
(Mode)
85
GREAT-150IM-II
MANUALS
G54 X78
The first line means move to the point of X34 in G53 machine coordinate system through G01 instruction,
the second line means move to the point of X78 in G54 work coordinate system through G01 instruction.
Example 2:
G01 G56 Y64
G57
G00 Z178
The first line means move to the point of Y64 in G56 work coordinate system through G01 instruction, the
second line means enter G57 work coordinate system, the third line means move to the point of Z178 in
G57 work coordinate system through G00 instruction. E.g.:
Fig4.5
G52 X- Y- Z- ; set.(Mode)
G52 X0 (Y0 Z0); cancel.
Use G52 to set local coordinate system in the machine coordinate system(G53) or work coordinate
system(G54~G59). The original point of the local coordinate system set at the position of X- Y- Zspecified in the machine coordinate system or work coordinate system.
After local coordinate system setting, the followed moving specified by G90 is coordinates in the local
coordinate system. Specify new zero point with G52. can modify the position of local coordinate system.
To cancel local coordinate system and specify coordinates value in the work coordinate system, the zero
point of local coordinate system should be consistent with that of work coordinate system.
The local coordinate system setting does not change work and machine coordinate system. Specify work
coordinate system with G92, if not specify all axes coordinates, the local coordinate system of axis
which coordinates not specified wont cancel but holding. Specify movement with absolute mode after
G52 program block.
e.g.:
86
GREAT-150IM-II
MANUALS
Fig 4.6
Format: G90
G91
(Mode, original)
(Mode)
; absolute program.
; increment program.
Example:
Fig 4.7
As above example, the first line G90 means absolute programming, X-axis move to where the absolute
coordinate is 40mm, Y-axis move to where the absolute coordinate is 70mm.
The second line G91 denotes relative programming, means move the distance of 60mm from current
position toward negative of X-axis, 40mm toward positive of Y-axis
Format:
;Set XY Plane
;Set ZX Plane
;Set YZ Plane
87
GREAT-150IM-II
MANUALS
Format:
G02
I_J_
X_Y_
Z_F_ ; XY plane(Mode)
G03
R_
G17
G02
I_K_
X_Z_
Y_F_ ; ZX plane(Mode)
G03
R_
G18
G02
J_K_
Y_Z_
X_F_ ; YZ plane(Mode)
G03
R_
G19
Explanation:
Arc interpolation must point out interpolation plane, the X, Y, Z word point out the arc end coordinate
value, I, J, K separately is X, Y, Z increment value from original point to center point. In another words,
88
GREAT-150IM-II
MANUALS
Make the original point as zero point, As center point locate to positive direction of original point the value
will be positive, As center point locate to negative direction of original point the value will be negative. I J
K are used to describe the center point coordinate. Also no need use I,J,K but use R to program, the R is
negative when the angle larger than 180 degree, R isnt available for whole circular programming.
The direction of arc is set towards negative direction vertical the arc interpolation plane.
The arc track as following:
Fig4.8
The center of arc specified with address I J K, the number after I J K is the vector component looked
along start point to the center of arc, depends on the direction to specify the symbol of I J K is positive or
negative. I J K can be omitted, the end point is identical with the start point as it is omitted, it is whole
circular that the center of arc is specified with I J K
the value is always denoted with increment whether in G90 or G91 as following:
Fig4.9
The arc interpolation speed is determined by F word.
NOTE
I, J, K and R are the non- modality instruction.
e.g.:
1) Absolute programming;
N0000 G92 X200 Y40 Z0;
N0010 G90 G03 X160 Y40 I-20 J0;
N0020 G02 X120 Y40 R20;
N0030 G02 X120 Y40 R20;
N0040 G26 M02;
2) Increment programming
N0000 G91 G17 G03 X-40 Y0 R20 F300;
N0010 G02 X-40 Y0 R20;
N0020 G02 X0 Y0 R20;
N0030 G26 M02;
89
GREAT-150IM-II
MANUALS
Format :
G02
I_J_
X_Y_
Z_F_ ; XY plane(mode)
G03
R_
G17
G02
I_K_
X_Z_
Y_F_ ; ZX plane(mode)
G03
R_
G18
G02
J_K_
Y_Z_
X_F_ ; YZ plane(mode)
G03
R_
G19
Tool radius compensation only applied to arc, tool offset and tool length compensation instruction isnt
available for helical interpolation program.
Fig 4.10
G90G17G54
G01X20Y0Z0F200
G03X0Y20R20Z15F150
90
GREAT-150IM-II
MANUALS
G49G0Z20
M05M30
Fig4.11
e.g.:
Sub-program
%9000
G00 G90 X60.0 Y60.0;
G01 X100.0 F100;
G01 Y100.0;
G01 X60.0 Y60.0;
M99;
91
GREAT-150IM-II
MANUALS
Main program
N10 G00 G90;
N20 M98 P%9000;
N30 G11 X50.0
N40 M98 P%9000;
N50 G11 X50.0 Y50.0
N60 M98 P%9000;
N70 G11 Y50.0
N80 M98 P%9000;
N90 G12;
Explanation:
The data after R is scaling coefficient.
As showed in fig4.12, as P1P2P3P4 is scaled up to P1P2P3P4, R=P0P4/ P0P4. as P1P2P3P4 is
scaled down to P1P2P3P4, R= P0P4/ P0P4. Means as graphic is scaled up, R<1, as graphic is
scaled down, R>1. The default value is 1.
Fig 4.12
Example:
Fig4.13
Example of scaling:
92
GREAT-150IM-II
MANUALS
Sub-program
D01
G54G90G0X0Y0Z50
G01Z-5F500
X100
Y50
X0
Y0
G0Z30
M99
Main program
N5 G54G90G0X0Y0Z50
N10 M03S800
N20 G36X50Y25R2
N30 M98 PD01
N40 G37
N50 M98 PD01
N60 G36X50Y25R0.5
N70 M98 PD01
N80 G37
N90 G0Z50
N100 M05
N110 M30
Scaling is invalid to tool length, radius compensation, and tool offset.
Fig 4.14
93
GREAT-150IM-II
MANUALS
format:
Explanation:
The (G17) X-Y- or (G18) Z-X- or (G19) Y-Z- after G68 are applied to specify the rotate center.
The data after R is applied to specify rotate angle degree. The value after X-Y- Z- is the coordinates in
the current coordinate system.
R is rotate angle, unit is degree; means CCW rotate as R is positive, means CW rotate as R is negative.
Example:
Fig 4.15
Plane selection code (G17, G18 or G19) is specified before the program block where the coordinate
rotation code G68 located in, plane selection code cant be specified in the mode of coordinate system
rotation. The code G69 which cancels the mode of coordinate rotation must possess one single line.
Execute tool radius compensation, tool length compensation, tool offset and other compensations after
coordinate system rotation.
In the mode of coordinate system rotation, the G-code (such as G28, G30 etc.) and other G-codes which
related to coordinate system (such as from G52 to G59 and etc.) cant be specified, if need these G-codes,
it can be specified after canceling the instruction of coordinate system rotation mode. The first motion
instruction after canceling coordinate system rotation G69 must be specified with absolute value, if
specified with incremental value, it wont execute right motion.
e.g.1:
Fig 4.16
N1 G92 X-500Y-500F2000 G17;
94
GREAT-150IM-II
MANUALS
N2 G68 X700Y300R60;
N3 G90 G01 X0 Y0 F2000;
N4 G91 X1000
N5 G02 Y1000 R1000
N6 G03X-1000I-500J-500;
N7 G01Y-1000
N8 G69
G90 X-500Y-500
M02;
e.g.2
Fig 4.17
G01Z-5F150
G01G42D01X30F200
X80
Y30
X30Y0
G0G40X0Y0
Z20
M99
DD5
G54G0X0Y0Z50
M98PSS
G68X0Y0R60
M98PSS
G68X0Y0R120
M98PSS
G68X0Y0R-135
M98PSS
G69
G0X0Y0Z50
M05
M30
4.4.14 Reference point (G28/G281/ G282/ G283/ G30/ G301/ G302/ G303)
Return to the reference point means tool moves to the reference point automatically along the specified
95
GREAT-150IM-II
MANUALS
axis.
Format:
G28
G281
G282
G283
G30
P2
G30
P3
G30
P4
G301 P2
G301 P3
G301 P4
G302 P2
G302 P3
G302 P4
G303 P2
G303 P3
G303 P4
Explanation:
The sequence of returning to the first reference point G28 is Z XY, and detect corresponding signal:
the switch of reference point, zero pulse of motor and etc.
When retuning to the 2nd, 3rd, 4th reference point G30, the sequence of each axis is: if Z-axis moving
towards positive direction, return to Z-axis firstly; if Z-axis moving towards negative direction, return to
Z-axis lastly; other axes return to reference according to the sequence of X YA.
NOTE
Tool radius compensation and tool length compensation should be cleared before executing this
instruction.
Explanation:
Tool length compensation is that increase or decrease parameter value of tool length compensation
called with H function at Z-axis or other axes. The calling number are H1H4. The start points of all the
96
GREAT-150IM-II
MANUALS
compensation data in parameter are the tool locations before executing compensation.
fig4.18
E.g.:N0000 G43 H2 X10
(the value of H2 is 5)
N0010 G44 H3 X20
(the value of H3 is 10)
Execute the first line, tool length added 5. Execute the second line, tool length decreased 10. G49
without parameter, returned to the position before compensation as executed.
Explanation:
The instruction of tool radius increasing or decreasing, applied to increase or decrease one or two
parameter value of tool radius called with T-codes in the executing process of program. Applied
together with the commands G00,G01,G02,G03 in the planes of XYG17,ZXG18,YZG19.
These instructions cannot be applied with tool radius compensation instruction (G41, G42).
For G00 and G01, increase or decrease one or two tool radius offset value separately at the direction of
specified axis.
For G02 and G03, increase or decrease one or two tool radius offset value separately at the direction of
radius of arc.
G45/G46/G47/G48 is non-mode instruction.
For example:
Fig 4.19
Program as following:
N0000 G01 Z-20 F400 G91
97
GREAT-150IM-II
MANUALS
N0010 G46 T01 X55 Y55 D01 ; position to point A, both ZY axes is decreased one tool radius(T01)
N0020 G47 G01 X60 F200
;A-B, X axis increase two tool radius
N0030 Y60
;B-C, length is not change
N0040 G48 X60
; C-D, X axis decreased two tool radius
N0050 Y-60
; D-E, length is not change
N0060 G45 X30
; E-F, X axis increased one tool radius
N0070 G45 G03 X30 Y30 R30 ; F-G, CCW circular radius increased one tool radius
N0080 G45 G01 Y60
;G-H, Y axis increased one tool radius
N0090 G46 X0
;H-I, X axis move one tool radius towards X axis negative direction
N0100 G46 G02 X-30 Y30 R30
; I-J,CW circular radius decreased one tool radius
N0110 G45 G01 Y0
;J-K, move one tool radius towards Y axis positive direction
N0120 G47 X-150
; K-L, X axis increased two tool radius
N0130 G47 Y-120
; L-M,Y axis increased two tool radius
N0140 G46 X-55 Y-55
; M-N, both X Y axes decreased one tool radius
N0150 G26
; return to program start, ends
N0151 M02
The relation of +,- and tool radius symbol is add as homo-symbol, and subtracting as opposite, the
value of coordinates axis can be zero. Now the meaning of it to specify the coordinates axis, the distance
of running is one or two radius. Direction is determined by adding of instruction and radius symbol.
Fig 4.20
Format:
G40
(mode, original)
G41 TD
(mode)
G42 TD
(mode)
Explanation: Right or left in G41/G42 means that look along the direction of cutting, tool located on the
98
GREAT-150IM-II
MANUALS
right or left. Tool radius value is called with T1-T99. Offset is begun at the program line home where
G41/G42 located in. Transitional line is generated by system at corner automatically. The tool radius
offset vector at the end point of last program block is transited to that of the start point of next program
block. Tool radius offset vector is the method that describes numerical value and direction of tool offset.
Its vector radius is the tool radius. Its direction is identical with radius direction for arc. For straight line, its
direction is perpendicular with it.
The establishment and canceling of tool radius compensation contains two types: A type and B type,
which can be set with the parameter of No.31, No.32 in COMP.
NOTE : It must be executed at straight line section to establish and cancel tool radius compensation.
E.g.:
Fig 4.21
G54 X0 Y0 Z0
;
G90 G17 G00 G41 T15 D2 X250.0 Y550.0 ; establish compensation
G01 Y900.0 F150
; from P1 to P2
X450.0
; from P2 to P3
G03 X500.0 Y1150.0 R650.0
; from P3 to P4
G02 X900.0 R-250.0
; from P4 to P5
G03 X950.0 Y900.0 R650.0
; from P5 to P6
G01 X1150.0
; from P6 to P7
Y550.0
; from P7 to P8
X700.0 Y650.0
; from P8 to P9
X250.0 Y550.0
; from P9 to P1
G00 G40 X0 Y0
; cancel compensation, return to start point
99
GREAT-150IM-II
Format: G22 L2
:
:
:
G800
MANUALS
;recycle body start
;recycle body
;recycle body end
NOTE
G22 and G800 must be applied in pairs, another cycle or sub-program can be embedded between of
G22 and G800, the recycle times determined by L word. G22 and G800 are independence instruction. If
there is repeated run program block between G22 and G800, the program block will be run repeatedly.
e.g.:
Fig4.22
Program as follows:
N0000 G17 G90 X0 Y0 F250 M03
;set the start status of program
N0001 G91 G01 Z-10
N0010 G22 L4
; cycle body start, specify 4 times of recycle
N0020 G01 X20
; the content of cycle: line A-B
N0030 G03 X10 I5 J0 Y0
; CCW semi circular B-C
N0040 G800
; cycle end
N0050 G01 X20
; D-E line
N0060 Y-30
; E-F line
N0070 G11 X140 Y-30
; set mirror
N0080 G22 L4
; recycle start
N0090 G01 X20
; F-G line
N0100 G03 X10 I5
; G-H CCW arc
N0110 G800
; recycle end
N0120 G01 X20
; I-J line
N0130 G01 Y-30
; cancel mirror
N0140 G12
; J-A line
N0150 G26
; return to program start point
N0160 M02
; end
100
GREAT-150IM-II
MANUALS
Feed methods
Retraction
Application
G73
Intermittent feed
No
Rapid moving
G74
Cutting feed
Stop-Spindle CW
Cutting feed
G76
Cutting feed
Rapid moving
G80
Cutting feed
No
No
G81
Cutting feed
No
Rapid moving
G82
Cutting feed
Stop
Rapid moving
G83
Intermittent feed
No
Rapid moving
G84
Cutting feed
Stop-Spindle CCW
Cutting feed
Tapping cycle
G85
Cutting feed
No
Cutting feed
Boring cycle
G86
Cutting feed
Spindle stop
Rapid moving
Boring cycle
G87
Cutting feed
Spindle CCW
Rapid moving
G89
Cutting feed
Spindle stop
Cutting feed
Boring cycle
Fig 4.23
The distance that moving along drilling axis is different separately with G90 and G91, the difference as
following:
101
GREAT-150IM-II
MANUALS
Fig 4.24
After tool arrived at the bottom of hole, tool can return to R plane or original plane, which specified with
G98 and G99. The below figure shows the tool motion when specify with G98 or G99. Generally, G99
used for the first drilling and G98 used for the last drilling. The original plane wont be changed even
execute drilling with the method of G99.
Fig 4.25
The repeated times is specified with L word, drilling at the identical location repeatedly. The L is only valid
in the specified program block. The maximum value of repeated times L is 9999, the default value is 1;
Positioning plane is determined by G17 (XY)/G18 (ZX)/G19 (YZ).
4.4.20.1 High speed deep hole drilling (G73)
This cycle execute high speed deep hole drilling intermittent feed until reaching to bottom, meanwhile,
remove the chips from hole.
format:
G73 X-Y-Z-R-Q-F-L- ;
X-Y-: hole position data
Z-: the distance from R point to hole bottom(G91) or coordinates (G90)
R-: the distance from original point to R point (G91) or coordinate (G90)
Q-: cutting depth each time
F-: cutting speed
L-: repeated times
102
GREAT-150IM-II
MANUALS
Fig 4.26
Explanation:
The high speed deep hole drilling cycle executes intermittent feed along Z-axis, when using this cycle,
chip can be easily removed form hole, the retraction value can be set less, which allow drilling effectively.
The retraction value d of rapid motion is set with parameter No.3 in USER.
Before specify G73 rotate spindle with auxiliary function (M-code).
When tool length offset (G43, G44 or G49) is specified in canned cycle, add offset while positioning to
the point R, tool radius offset value is omitted.
E.g.:
M3 S2000 ; spindle start to rotate
G90 G99 G73 X300. Y-250. Z-150. R-100. Q15. F120; positioning, drill hole No.1, return to point R
Y-550;
positioning, drill hole No.2, return to point R
Y-750;
positioning, drill hole No.3, return to point R
X1000;
positioning, drill hole No.4, return to point R
Y-550;
positioning, drill hole No.5, return to point R
G98 Y-750; positioning, drill hole No.6, return to the original plane
G80
M5;
4.4.20.2 CCW peck deep hole tapping cycle (G74)
This instruction inquires the spindle driver possesses position servo control function.
This cycle execute CCW tapping, in CCW tapping cycle, the spindle CCW feed Q each time, will feed again
after CW retract the distance of d, the spindle will CW retract after arrived to the bottom of the hole.
format:
G74 X-Y-Z-R--K-Q-S-L- ;
X-Y-: hole position data
Z-: the distance from R point to hole bottom (G91)or coordinate(G90)
R-: the distance from original point to R point(G91) or coordinate(G90)
Q: the cutting depth one time
103
GREAT-150IM-II
MANUALS
NOTE
If not specify Q address or edit to be Q0, means non-pecking rigid tapping cycle. Q is non-mode.
Pecking deep hole rigid tapping contain two types (set in the parameter No.8 of USER):
1). Remove chip with high speed:
Tapping feed Q each time, will retract the distance of d then feed (set in the parameter No.9 of USER).
2). Normal remove chip:
Tapping feed Q each time, feed again after returned to R plane.
e.g.:
Fig 4.27
Explanation
As threading, the speed of coordinate axis depends on the spindle revolution and screw pitch, not related
to feed F, system will automatically limit the speed within max feed speed range.
Threading in tracking mode, the override switches of spindle and feed axis are invalid.
The value of screw lead K should be specified in each threading program line, otherwise compiling failed.
Execute tapping as spindle CCW. Reach to the bottom of the hole, the spindle will be CW to retract. Will
make reverse screw by this cycle. For tracking tapping, feed pausing button is invalid during CCW
tapping, until retraction finished.
Use M code to CCW rotate spindle before specify G74. As spindle is controlled in pulse mode, no needs
M code to rotate spindle.
As specify tool length offset (G43,G44 or G49) in canned cycle, add offset synchronously with positioning
to point R, tool radius offset is omitted.
E.g.:
M4 S100 ; spindle start rotate(as spindle controlled with pulse mode, no need M3/M4)
G90 G99 G74 X300 Y-250 Z-150 R-100 Q7 K5 S100; positioning, tapping hole 1, return to point R
Y-550, K5; positioning, tapping hole 2, return to point R
Y-750, K5; positioning, tapping hole 3, return to point R
104
GREAT-150IM-II
MANUALS
Fig 4.28
Explanation:
Spindle stops at the fixed rotate location after arrived at the bottom of hole, and tool retracted toward the
reverse direction of tool tip, which protects surface of workpiece from damage. Realize exact and
effective boring.
NOTE
Spindle orientation angle and tool retracting direction are set in No. 7 of USER
Rotate spindle with auxiliary function M-code before specifying G76
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
e.g.:
M3 S500
: spindle start rotate
G90 G99 G76 X300.Y-250 RZ-150. R-100.Q5 : positioning, boring No.1 hole, then return to point,
orientation at the bottom of hole then move 5mm
Y-550
; positioning, boring No. 2 hole, then return to point R
Y-750
; positioning, boring No. 3 hole, then return to point R
105
GREAT-150IM-II
X1000
Y-550
G98 Y-750
G80
M5
MANUALS
; positioning, boring No. 4 hole, then return to point R
; positioning, boring No. 5 hole, then return to point R
; positioning, boring No. 6 hole, then return to point R
; spindle stop
Fig 4.29
Explanation:
After positioning along X and Y axes rapid move to point R, execute drilling from point R to point Z, then
rapid retraction.
Rotate spindle with auxiliary function M code before specifying G81.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S2000
: spindle start rotate
G90 G99 G81 X300 Y-250 Z-150 R-100 F120
: Positioning, drilling No.1 hole, then return to point R
Y-550
; positioning, drilling No. 2 hole, then return to point R
Y-750
; positioning, drilling No. 3 hole, then return to point R
X1000
; positioning, drilling No. 4 hole, then return to point R
Y-550
; positioning, drilling No. 5 hole, then return to point R
G98 Y-750
; positioning, drilling No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.5 Drilling cycle, countersink boring cycle (G82)
106
GREAT-150IM-II
MANUALS
This cycle used for normal drilling, cutting feed to the bottom of hole, pausing, then rapid retraction.
format:
G82 X-Y-Z-R-P-F-L- ;
X-Y-: hole position data
Z-: the distance from R point to hole bottom (G91)or coordinate(G90)
R-: the distance from original point to R point (G91) or coordinate(G90)
P-:pause time
F-:cutting speed
L-:repeated times
Fig 4.30
Explanation:
After positioning along X and Y axes rapid move to point R, execute drilling from point R to point Z, when
tool arriving at the bottom of hole, execute pausing, then rapid retraction.
Rotate spindle with auxiliary function M code before specifying G82.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S2000
: spindle start rotate
G90 G99 G82 X300 Y-250 Z-150 R-100 P1000 F120
: Positioning, drilling No.1 hole, then return to point R
Y-550
; positioning, drilling No. 2 hole, then return to point R
Y-750
; positioning, drilling No. 3 hole, then return to point R
X1000
; positioning, drilling No. 4 hole, then return to point R
Y-550
; positioning, drilling No. 5 hole, then return to point R
G98 Y-750
; positioning, drilling No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.6 Chip removal drilling cycle (G83)
In the process of executing intermittent feed to the bottom of the hole remove chips from the hole.
107
GREAT-150IM-II
MANUALS
Fig 4.31
Explanation:
Q: means cutting depth of every time feeding, which must be specified with increment value. In the cutting
feed at the second time and anon, execute rapid motion to point d before drilling end last time and
re-execute again, cutting feed d is set with parameter No.4 in USER, Q must be specified with positive,
negative is omitted.
Rotate spindle with auxiliary function Mcode before specifying G83.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S2000
: spindle start rotate
G90 G99 G83 X300 Y-250 Z-150 R-100 Q15 F120
: Positioning, drilling No.1 hole, then return to point R
Y-550
; positioning, drilling No. 2 hole, then return to point R
Y-750
; positioning, drilling No. 3 hole, then return to point R
X1000
; positioning, drilling No. 4 hole, then return to point R
Y-550
; positioning, drilling No. 5 hole, then return to point R
G98 Y-750
; positioning, drilling No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.7 CW peck deep hole tapping cycle (G84)
The pre-condition is that spindle must possess position servo control function.
This cycle execute CW tapping, in CW tapping cycle, the spindle CW feed Q each time, will feed again
after CCW retract the distance of d(set in the parameter NO.9 in USER), the spindle will CCW retract after
arrived to the bottom of the hole.
108
GREAT-150IM-II
MANUALS
Format:G84 X-Y-Z-R-P-Q-K-L- ;
X-Y-: hole position data
Z-: the distance from R point to hole bottom (G91) or coordinate(G90)
R-: the distance from original point to R point (G91) or coordinate(G90)
Q-: the cutting depth one time
P-:pause time
K-:thread lead
S-:spindle revolution
L-:repeated times
NOTE
If not specify Q address or edit to be Q0, means non-pecking rigid tapping cycle. Q is non-mode.
Pecking deep hole rigid tapping contain two types(set in the parameter No.8 of USER):
1). Remove chip with high speed:
Tapping feed Q each time, will retract the distance of d then feed (set in the parameter No.9 of
USER ).
2). Normal removal chip:
Tapping feed Q each time, feed again after returned to R plane.
Fig 4.32
Explanation:
As threading, coordinate axis speed is determined by spindle revolution and pitch, not related to feed
speed F, coordinate axis speed is limited automatically by system within maximum feed speed.
Threading with spindle tracking method, spindle override switch and feed axis override switch is invalid.
Thread lead K should be specified in each threading program block, otherwise, compiling failed.
Spindle CW execute tapping, when arrive at bottom of hole, spindle rotate reversely for retraction, this
process generates thread. For spindle tracking method, in the period of tapping, feed pausing cant make
machine stop, until retraction finished.
Rotate spindle with M code before specifying G84, when spindle is controlled with pulse method, no
need to rotate spindle with M-code.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S100
: spindle start rotate
G90 G99 G84 X300 Y-250 Z-150 R-120 P300 K5 Q6 S100
: Positioning, tapping No.1 hole, then return to point R
109
GREAT-150IM-II
Y-550 K5
Y-750 K5
X1000 K5
Y-550 K5
G98 Y-750 K5
G80
M5
MANUALS
Fig 4.33
Explanation:
After positioning along X and Y axes rapid move to point R, execute boring from point R to point Z, when
tool arriving at the bottom of hole, execute cutting feed, then return to point R.
Rotate spindle with auxiliary function M code before specifying G85.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S100
: spindle start rotate
G90 G99 G85 X300 Y-250 Z-150 R-120 F120
: Positioning, boring No.1 hole, then return to point R
Y-550
; positioning, boring No. 2 hole, then return to point R
Y-750
; positioning, boring No. 3 hole, then return to point R
X1000
; positioning, boring No. 4 hole, then return to point R
Y-550
; positioning, boring No. 5 hole, then return to point R
G98 Y-750
; positioning, boring No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.9 Boring cycle (G86)
110
GREAT-150IM-II
MANUALS
format:
G86 X-Y-Z-R-F-L- ;
X-Y-: hole position data
Z-: the distance from R point to hole bottom (G91) or coordinates(G90)
R-: the distance from original point to R point (G91) or coordinates(G90)
F-:cutting speed
L-:repeated times
Fig 4.34
Explanation:
After positioning along X and Y axes rapid move to point R, execute boring from point R to point Z,
spindle stop when tool arriving at the bottom of hole, tool rapid retraction.
Rotate spindle with M code before specifying G86.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S2000
: spindle start rotate
G90 G99 G86 X300 Y-250 Z-150 R-100 F120
: Positioning, boring No.1 hole, then return to point R
Y-550
; positioning, boring No. 2 hole, then return to point R
Y-750
; positioning, boring No. 3 hole, then return to point R
X1000
; positioning, boring No. 4 hole, then return to point R
Y-550
; positioning, boring No. 5 hole, then return to point R
G98 Y-750
; positioning, boring No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.10 Boring cycle, counter boring cycle (G87)
Because spindle needs orientation stop, the precondition is that spindle must possess orientation
function.
This cycle executes finished boring. Only adopt G98, not G99
format:
G87 X-Y-Z-R-Q-P-F-L- ;
X-Y-: hole position data
Z-: the distance from R point to hole bottom (G91) or coordinate(G90)
111
GREAT-150IM-II
MANUALS
Fig 4.35
Explanation: After positioning along X and Y-axes, spindle stops at fixed rotate location. Tool rapid moves
toward reverse direction of tool nose(set with the parameter No.6 in USER) and positioning at the point R
in the bottom of hole, then, tool move along the direction of tool nose and spindle rotates CW. Boring along
Z-axis positive until point Z. at point Z, spindle stops at fixed location again, tool moves toward reverse
direction of tool nose. Then tool return to original location, tool offset at direction of tool nose, spindle
rotates CW. execute next program block.
Rotate spindle with auxiliary function M code before specifying G87.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S500
: spindle start rotate
G90 G99 G87 X300 Y-250 Z-150 R-120 Q5 P1000 F120
: Positioning, boring No.1 hole, orients at original location then offsets 5mm stop 1s at
point Z
Y-550
; positioning, boring No. 2 hole, then return to point R
Y-750
; positioning, boring No. 3 hole, then return to point R
X1000
; positioning, boring No. 4 hole, then return to point R
Y-550
; positioning, boring No. 5 hole, then return to point R
G98 Y-750
; positioning, boring No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.11Boring cycle (G89)
This cycle execute boring.
112
GREAT-150IM-II
MANUALS
Format:
G89 X-Y-Z-R-P-F-L- ;
X-Y-: hole position data
Z-: the distance(G91) from R point to hole bottom or coordinate(G90)
R-: the distance(G91) from original point to R point or coordinate(G90)
P-:pause time
F-:cutting speed
L-:repeat times
Fig 4.36
Explanation:
Except for executing pause at bottom of hole, this instruction is same with G85.
Rotate spindle with auxiliary function M code before specifying G89.
When specify tool length offset (G43, G44 or G49) in canned cycle, add offset synchronously with
positioning to point R, tool radius offset is omitted.
E.g.:
M3 S100
: spindle start rotate
G90 G99 G89 X300. Y-250. Z-150. R-120. P1000 F120.
: Positioning, boring No.1 hole, then return to point R, stop 1s at bottom of hole.
Y-550
; positioning, boring No. 2 hole, then return to point R
Y-750
; positioning, boring No. 3 hole, then return to point R
X1000
; positioning, boring No. 4 hole, then return to point R
Y-550
; positioning, boring No. 5 hole, then return to point R
G98 Y-750
; positioning, boring No. 6 hole, then return to original plane
G80
M5
; spindle stop
4.4.20.12 Cancel cycle instruction (G80)
Cancel cycle instruction.
Format:G80
Explanation:
Cancel all canned cycle, execute normal operation. Point R and Z are also cancelled. That means, in the
method of increment, R=0, Z=0, other drilling data are also cancelled.
E.g.:
M3 S100
: spindle start rotate
G90 G99 G88 X300. Y-250. Z-150. R-120. F120.
: Positioning, boring No.1 hole, then return to point R
113
GREAT-150IM-II
Y-550
Y-750
X1000
Y-550
G98 Y-750
G80
G28
M5
MANUALS
Fig 4.37
6. current location is set as the original point of polar coordinate system:
Specify radius with increment programming instruction (the distance between current location and
programming point). The current location is set as the original point of polar coordinate system, when
use local coordinate system G52, the original point of local coordinate system is become the centre of
polar coordinate, angle denoted with absolute value. Refer to following figure:
114
GREAT-150IM-II
MANUALS
Fig 4.38
e.g.:
Fig 4.39
G17 G90 G16
;specify polar coordinate system and select XY plane, the zero point of work
coordinate system is set as the original point of polar coordinate
G81 X100.0 Y30.0 Z-20.0 R-5.0 F200.0;
; specify the distance of 100mm and angle of 30
Y150.0
; specify the distance of 100mm and angle of 150
Y270.0
; specify the distance of 100mm and angle of 270
G15 G80
; cancel polar coordinate system instruction
Explanation:
This G-code must be edited at the front of the program, specified with single program block before select
coordinate. After designating the G-codes for inch/metric shifting, the unit of input data is shifted to
minimum incremental unit, but that of angle isnt changed. Change the unit system of following value
after metric/inch shifting.
z Feed speed specified with F-code
z Position commands
z Offset value of workpiece zero
z Tool compensation
z The graduation unit of pendant MPG
z The moving distance in increment feeding
115
GREAT-150IM-II
MANUALS
4.4.23 Threading(G33)
Threading instruction can be used to cut both equal lead cylindrical external thread and internal thread.
The precondition is that spindle must possess location detecting feedback equipment or position servo
control function.
Format:
G33 Z_ K_ ;
K:
Mode
lead
Fig4.40
Explanation:
1) G33 is mode, until replaced by other instructions in G function group (G0, G1, G2, G3 and etc).
2) CW thread and CCW thread are determined by the spindle rotary direction M03/M04 (M03-CW,
M04-CCW), the spindle rotate speed is edited under the address S.
3) The coordinate axis speed is determined by the spindle revolution and the pitch when threading in
G33, isnt related to feed speed F. the coordinate axis speed is limited in the range of the max feed
speed by system automatically.
4) When threading with tracking method, the spindle override switch and feed axes override switch is
invalid.
5) The thread lead K should be specified in each threading program block, otherwise, compile will be
failed
6) When control method is servo control, thread lead K is negative means spindle CCW rotates.
7) When threading with tracking method, the pause function is invalid.
e.g.:
Machining the thread with the pitch is 0.8mm
N10 G54 G0 G90 X10 Y10 Z5 S600 M3; return to start point, spindle CW
N20 G33 Z-25 K0.8
; machining thread, the end point is-25mm
N30 Z5 K0.8 M4
; tool retraction, spindle CCW
N40 G0 X Z
When machining with the method of servo controlling:
N10 G54 G0 G90 X10 Y10 Z5 S600 M3
N20 G33 Z-25 K0.8
N30 Z5 K-0.8
N40 G0 X Y Z
116
GREAT-150IM-II
MANUALS
Explanation:
G26 return to original point automatically by the method of three axes simultaneous.
E.g.:
N10 SP14.3
spindle is positioned to the angle of 14.3degree
N80 G0 X89 Z300 SP25.6 spindle is positioned to 25.6 degree firstly, then execute coordinate axes
motion.
N81 X200 Z300
4.4.26 Waiting for aux-relay M1xxx is valid, Waiting for aux-relay M2xxx invalid
M1xxx: Waiting for aux-relay is valid, afterward, execute the following program,
For example
M1049 Means waiting for aux-relay M49 is valid, afterward, execute the following program, otherwise,
CNC is in the status of pause.
M2xxx: Waiting for aux-relay is invalid, afterward, execute the following program,
For example
M2049 means waiting for aux-relay M49 is invalid, afterward, execute the following program, otherwise,
CNC is in the status of pause.
NOTE :Should be four digits after the instruction
117
GREAT-150IM-II
MANUALS
M3049 Means after aux-relay M49 is valid, execute the following program.
M4xxx: make aux-relay invalid, afterward, execute the following program,
For example
M4049 means after aux-relay M49 is invalid, execute the following program.
NOTE :Should be four digits after that instruction
4.4.28 Edit the output function of output point and aux-relay in CNC program directly
Format: OUT+(-) Y(M)**+(-) Y(M)**+(-) Y(M)**+(-) Y(M)**
Explanation: OUT means output, + denotes valid, - denotes invalid.
e.g.: OUT+Y5-Y7+Y9+Y11-Y15 means make output of Y5,Y9,Y11 valid, that Y7,Y15 in valid.
e.g.: OUT+Y12-Y13+Y14+Y8-Y16 means make output of Y12,Y14,Y8 valid, that Y13,Y16 invalid.
Content:
(Non-Mode)
(Non-Mode, stop mode)
(Non-Mode, stop mode)
(Non-Mode, stop command)
(Mode)
(Mode)
(Mode, original)
(Non-Mode)
M16
(Non-Mode)
M08
M09
M10
M11
M24
M25
M32
(Mode)
(Mode, original)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode)
118
GREAT-150IM-II
M33
M41
M42
M43
M44
M45
M46
M47
M48
M49
M50
M51
M52
M53
M54
M55
M56
M57
M58
M97 P4
MANUALS
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Non-Mode)
lubrication off
user self definition 1 on
user self definition 1 off
user self definition 2 on
user self definition 2 off
user self definition 3 on
user self definition 3 off
user self definition 4 on
user self definition 4 off
user self definition 5 on
user self definition 5 off
user self definition 6 on
user self definition 6 off
user self definition 7 on
user self definition 7 off
user self definition 8 on
user self definition 8 off
user self definition 9 on
user self definition 9 off
unconditionally skip to the line No. where P point to and
running; P4 denotes specifying the entry line No. with 4 digits
where program skip to
M98 P (Non-Mode)
Unconditional sub-program calling instruction. Random
characters of P words (less than 100) specify the path and the
name of sub-program.
e.g.: Psub/%ab12 means the sub-program is tmp/NC/sub/%ab12,
NOTE
1. tmp/NC/ is the default path of the system program, sub is a folder under that.
2. Sub-program must be an isolated program.
There must be space before the character L which is calling times of sub-program. When sub-program
end, return to the next program block of main program. if program contains fixed sequence or repetitious
drawings, which can be edited to sub-program and saved into memorizer so as to simplify programming.
Sub-program can be called by the main program, the called sub-program also calls another
sub-program.
M99
(Non-Mode)
sub-program end and return, there must be M99 when sub-program end.
Sub-program can call another one (embedding). No matter the calling program is main program or
sub-program, the called sub-program returns to the next program block of calling program. When main
program calls sub-program, it is considered as the first step sub-program. It is can be embedded 4 levels
calling. The calling relationship refers to below.
119
GREAT-150IM-II
MANUALS
Fig4.41
The methods of sub-program calls another one as same as that main program calls sub-program.
e.g.:
Fig4.42
This command can call sub-program max 9999 times.
4.5
Program Convention
4.5.2 The commands and parameter can be located arbitrarily in program block
e.g.:
N01 G01 X120 Y100;
N03 R123 X120 Y100 G03;
All above are legal program blocks
120
GREAT-150IM-II
MANUALS
4.5.4 The operation that irrelative to the commands isnt allowed in program block
4.5.5 Semicolon can be applied at the end of program block, remark followed
semicolon
e.g.:
N01 G00 X120.0 Y234.0; rapid motion
; The following is grooving
N02 G02 X34.5 Y15.67 R78;
4.5.6 The first character of program block is %,O,(,means this block is remark
line
e.g.:
O1234
%7878
(remark)
NOTE :When auxiliary relay M38 is valid, execute the code followed (, otherwise, omit it.
4.5.8 The codes G00, G01, G02, G03, M02 can be written to be G0, G1, G2, G3, M2
4.5.9 Global variable and system variable can be adopted into program
For convenient of programming, Global variable and system variable can be adopted into program, all
the address symbols can be followed with variable name except for P.
e.g.: X#135
If the value of global variable #135 is 124, evaluate 124 to X
121
GREAT-150IM-II
MANUALS
Outside:
Fig4.43
Fig 4.44
Line ->Arc
Fig 4.45
Fig 4.46
4.6.2.2 The tool moving along outside of the corner for obtuse angle (90<180)
The tool centre will move to the top of tool radius vector of current program block jumping-off point.
Line-> Line
A type
122
B type
GREAT-150IM-II
MANUALS
Fig 4.47
Fig.4.48
Line ->Arc
A type
B type
Fig. 4.49
Fig.50
4.6.2.3 The tool moving along outside of the corner for acute angle (<90)
Line-> Line
A type
B type
Fig 4.51
Fig 4.52
Line->Arc
A type
B type
Fig 4.53
Fig 4.54
Line Arc
123
GREAT-150IM-II
MANUALS
Fig 4.55
Arc Line
Fig. 4.56
ArcArc
Fig. 4.57
Fig 4.58
4.6.3.2 The tool moving along outside of the corner for obtuse angle (90<180)
Line Arc
Line Line
Fig 4.59
Arc Line
Fig. 4.60
ArcArc
Fig. 4.61
Fig. 4.62
4.6.3.3 The tool moving along outside of the corner for acute angle (<90)
Line Line
124
Line Arc
GREAT-150IM-II
MANUALS
Fig 4.63
Arc Line
Fig. 4.64
ArcArc
Fig.4.65
Fig. 4.66
ArcLine
Fig. 4.67
Fig 4.68
4.6.4.2 The tool moving along outside of the corner for obtuse angle (90<180)
The tool centre will move to the top of tool radius vector of current program block jumping-off point.
LineLine
A Type
B type
Fig 4.69
ArcLine
A type
Fig4.70
B type
125
GREAT-150IM-II
MANUALS
Fig 4.71
Fig 4.72
4.6.4.3 The tool moving along outside of the corner for acute angle (<90)
The tool centre will move to the top of tool radius vector of next program block jumping-off point.
LineLine
A type
B type
Fig 4.73
ArcLine
A type
Fig 4.74
B type
Fig 4.75
Fig 4.77
Start from the centre, centre coordinates G54 X0 Y0 Z50
126
Fig 4.76
GREAT-150IM-II
MANUALS
Fig 4.78
Assuming use three tools T11, T15, T31.The tool length compensation separately is 200(H1), 190(H1),
150(H1), which had been set in REDEEM. According to the requirement of part drawing, programming
as following:
127
GREAT-150IM-II
MANUALS
N001 G92 X0 Y0 Z0
;set work coordinate at reference point
N002 G90 G00 Z250.0 T11
;tool exchange
N003 G43 Z0 H1
;tool length offset at original location
N004 S30 M3
;turn of spindle
N005 G99 G81 X400.0 Y-350.0 Z-153.0 R-97.0 F120; Positioning drill No.1 hole
N006 Y-550.0
;Positioning drill No.2 hole and return to point R
N007 G98 Y-750.0
;Positioning drill No.3 hole and return to original location
N008 G99 X1200.0
;positioning drill No.4 and return to point R
N009 Y-550.0
;positioning drill No.5 and return to point R
N010 G98 Y-350.0
;positioning drill No.6 and return to original location
N011 G00 X0 Y0 M5
;return to reference point and stop spindle
N012 G49 Z250.0 T15
;cancel tool length offset tool exchange
N013 G43 Z0 H1
;tool length offset at original location
N014 S20 M3
;spindle start
N015 G99 G82 X550.0 Y-450.0 Z-130.0 R-97.0 P30070
;Positioning drill No.7 hole and return to point R
N016 G98 Y-650.0
;positioning drill No.8 hole and return to original location
N017 G99 X1050.0
; positioning drill No.9 hole and return to point R
N018 G98 Y-450.0
;positioning drill No.10 hole and return to original location
N019 G00 X0 Y0 M5
;return to reference point and stop spindle N020 G49
Z250.0T31
;cancel tool length offset tool exchange
N021 G43 Z0 H1
;tool length offset at original location
N022 S10 M3
;spindle start
N023 G85 G99 X800.0 Y-350.0 Z-153.0 R47.0 F50
;Positioning boring No.11 hole and return to point R
N024 G91 Y-200.0 K2
;positioning boring No.12, No13 holes and return to point R
N025 G28 X0 Y0 M5
;return to reference point and stop spindle
N026 G49 Z0 G80
;cancel tool length offset
N027 M02
; program end
128
GREAT-150IM-II
MANUALS
Fig 4.79
Variable explanation
Variable specifying
Ordinary machining program directly use numeral specify G-code and moving distance such as G01 and
X100.0, the value can be specified directly or use variable when use user macro program. When use
variable, the value of variable can be changed by program or the operation on the panel. Allow use
variable name, the variable of user macro program is specified with variable symbol# and the followed
variable number.
e.g.: #1
The equation can be applied to specify variable number, equation must be closed in the bracket.
e.g.: # [#1+#2-12]
G01 X#1 F300
Variable types
The variable contains 4 types according to variable number:
1.
#0-- #20 local variables: the local variable only used for storage data in macro program, such as
operation result, the local variable is initiated to empty after power off. The self variable evaluate
to local variable when calling macro program.
2.
#21--#200 global variables: the meaning of global variable is same among different macro
program. The variables from #21 to #100 are initiated to zero after power off, but that from #101
to #200 is exist all the same.
3.
#1000 system variables: the system variable used to read the change of datum when CNC
running. Such as the current value and compensation value of tools.
Arithmetic and logic operation
The operation as following table can be executed in variable. The equation right of operator contains
constant and variable composed by operator. The variable #j and #k in the equation can be evaluated by
constant. the left variable also can be evaluated by the equation.
Table: arithmetic logic operation
function
format
definition
#i = #j
addition
subtraction
multiplication
division
#i = #j + #k ;
#i = #j - #k ;
#i = #j * #k ;
#i = #j / #k ;
sine
arc sine
cosine
arc cosine
tangent
arc tangent
#i = SIN(#j) ;
#i = ASIN(#j) ;
#i = COS(#j) ;
#i = ACOS(#j) ;
#i = TAN(#j) ;
#i= ATAN(#j/#k);
Square root
Absolute value
rounding
round to up
round to down
Natural logarithm
Exponential function
#i = SQRT(#j) ;
#i = ABS(#j) ;
#i = ROUND(#j) ;
#i = FIX(#j) ;
#i = FUP(#j) ;
#i = LN(#j) ;
#i = EXP(#j) ;
or
#i = #j OR #k ;
remark
129
GREAT-150IM-II
exclusive or
and
#i = #j XOR #k ;
#i = #j AND #k ;
MANUALS
bit by bit according to binary
system.
Explanation
1. the unit of angle
ARCSIN # i=ASIN(#j)
ARCCOS # i =ACOS(#j)
ARCTAN( #j/ #k )=ATAN(#j/ #k)
The angle unit of functions SIN, COS, ASIN, ACOS, TAN and ATAN is degree. Such as 90 degree and
30 cent is denoted as 90.5 degree. The range is 0---360 degree.
2. Natural logarithm #i=LN(#j)
3. Exponential function #i=EXP(#j)
4. Constant can replace variable #
5. ROUND rounding function
When arithmetic operation or logic operation contains ROUND function, the ROUND function is round at
the first decimal fraction,
For example:
When execute #1=ROUND (#2), here #2=1.2345, the value of variable #1 is 1.0.
When execute #1=ROUND (#2), here #2=1.7345, the value of variable #1 is 2.0.
6. When CNC deals with numeral operation, it is rounded to up if the absolute value of integer after
operation is more than that of original numeral it is rounded to down if less than that of original numeral.
You should be careful in dealing with negative.
For example:
Suppose #1=1.2, #2= 1.2
When execute #3=FUP (#1), 2.0 is evaluated to #3
When execute #3=FIX (#1), 1.0 is evaluated to #3
When execute #3=FUP (#2), 2.0 is evaluated to #3
When execute #3=FIX (#2), 1.0 is evaluated to #3
7. Operation sequence
The operation of multiplication and division: * / AND
The operation of addition and subtraction: + - OR XOR
Bracket embedded
8. The bracket [ ], used to close equation, it is used for notation after semicolon.
System variables
System variables are used to read and write NC internal data such as tool offset value and current
position data, but system variables can be only read and that are the basement of auto control and
general machining program development.
1. Mode information
The mode information of program that being dealt with can be read
#4001 mode information G00, G01, G02, G03, G33
#4002 mode information G17, G18, G19
#4003 mode information G90, G91
#4005 mode information G94, G95
#4006 mode information G20, G21
#4007 mode information G40, G41, G42
#4008 mode information G43, G44, G49
#4009 mode information G73, G74,G76,G80-G89
#4010 mode information G98, G99
130
GREAT-150IM-II
MANUALS
131
GREAT-150IM-II
MANUALS
#1850 X axis offset value of work coordinates system G54 (unit: mm)
#1851 X axis offset value of work coordinates system G55 (unit: mm)
#1852 X axis offset value of work coordinates system G56 (unit: mm)
#1853 X axis offset value of work coordinates system G57 (unit: mm)
#1854 X axis offset value of work coordinates system G58 (unit: mm)
#1855 X axis offset value of work coordinates system G59 (unit: mm)
#1856 Y axis offset value of work coordinates system G54 (unit: mm)
#1857 Y axis offset value of work coordinates system G55 (unit: mm)
#1858 Y axis offset value of work coordinates system G56 (unit: mm)
#1859 Y axis offset value of work coordinates system G57 (unit: mm)
#1860 Y axis offset value of work coordinates system G58 (unit: mm)
#1861 Y axis offset value of work coordinates system G59 (unit: mm)
#1862 Z axis offset value of work coordinates system G54 (unit: mm)
#1863 Z axis offset value of work coordinates system G55 (unit: mm)
#1864 Z axis offset value of work coordinates system G56 (unit: mm)
#1865 Z axis offset value of work coordinates system G57 (unit: mm)
#1866 Z axis offset value of work coordinates system G58 (unit: mm)
#1867 Z axis offset value of work coordinates system G59 (unit: mm)
#1868 A axis offset value of work coordinates system G54 (unit: mm)
#1869 A axis offset value of work coordinates system G55 (unit: mm)
#1870 A axis offset value of work coordinates system G56 (unit: mm)
#1871 A axis offset value of work coordinates system G57 (unit: mm)
#1872 A axis offset value of work coordinates system G58 (unit: mm)
#1873 A axis offset value of work coordinates system G59 (unit: mm)
#1874 X axis value of the first reference (unit: mm)
#1875 X axis value of the second reference (unit: mm)
#1876 X axis value of the third reference (unit: mm)
#1877 X axis value of the fourth reference (unit: mm)
#1878 Y axis value of the first reference (unit: mm)
#1879 Y axis value of the second reference (unit: mm)
#1880 Y axis value of the third reference (unit: mm)
#1881 Y axis value of the fourth reference (unit: mm)
#1882 Z axis value of the first reference (unit: mm)
#1883 Z axis value of the second reference (unit: mm)
#1884 Z axis value of the third reference (unit: mm)
#1885 Z axis value of the fourth reference (unit: mm)
#1886 A axis value of the first reference (unit: mm)
#1887 A axis value of the second reference (unit: mm)
#1888 A axis value of the third reference (unit: mm)
#1889 A axis value of the fourth reference (unit: mm)
#1890 Metric or English system setting
#1891 name of the 4th axis
#1892 function setting of the 4th axis
#1893 rotary method as the 4th axis is rotary axis
#1894 relative coordinates display as the 4th axis is rotary axis
#1895 workpiece coordinates display as the 4th axis is rotary axis
#1896 backlash compensation of X axis (um)
132
GREAT-150IM-II
MANUALS
133
GREAT-150IM-II
MANUALS
134
GREAT-150IM-II
MANUALS
135
GREAT-150IM-II
MANUALS
136
GREAT-150IM-II
MANUALS
Fig 4.80
When designates DO but not designates WHILE, limitless cycle will be appear from DO to END.
If there is sentence of tab transferring in GOTO sentence, the sequence searching time for reverse is
longer than that for forward, use WHILE sentence to realize cycle can save some time of program
treating.
Macro program calling methods
Macro program calling and sub-macro program calling G65 is different from sub-program calling M98,
the difference as following:
Use G65 can designate self-variable data transmit to macro program, but M98 without this function;
Use G65 can change the level of local variable, but M98 without that function;
137
GREAT-150IM-II
MANUALS
Fig 4.81
When need repeat, designate the repeated times after address L from 1 to 9999, L equals to 1 as L value
is omitted.
The value designated by self variable is evaluated to corresponding local variable.
The corresponding relation as following:
#0A
#1B
#2C
#3D;
#4E
#5F
#6H
#7I;
#8J
#9K
#10M
#11Q;
#12R
#13S
#14T #15U;
#16V
#17W
#18X
#19Y;
#20Z
The addresses G, N, O and P arent allowed to be used in self variable, the address no need to be
designated can be omitted. Those corresponding local variable is set as empty, the address no need to
be designated according to letter sequence but should be up to the format of address.
The level of local variable: the level of embedding of local variable from 0 to 3, the level of main
program is 0, use G65 or G66 calling macro program at one time, the level of local variable is added 1,
the local variable value of last level is saved in CNC, when execute M99 in macro program control
returns to called program, now the level of local variable is subtracted 1, and resume the saved local
variable value when macro program calling.
Typical program, machining bolt holes in circle:
Programming for machining holes in circle, radius of circle is I, original angle is A, distance between holes
is B, holes number is H, centre of circle (X, Y), instruction can be specified with absolute or increment value,
B is negative as drilling CW
138
GREAT-150IM-II
MANUALS
Fig 4.82
Calling format:
G65 P9100 Xx Yy Zz Rr Ii Aa Bb Hh;
X: X-axis coordinate, specified with absolute or increment value #18
Y: Y-axis coordinate, specified with absolute or increment value #19
Z: hole depth #20
R rapid move to point #12
F cutting feed speed#5
I radius of circle#7
A angle of the first hole #0
B increment angle is CW when specified with negative #1
H holes number#6
Macro program calling:
Absolute coordinates calling
G90G54X0Y0Z100
G65P9100 X100Y50R30Z-50F500I100A0B45H5
X20Y10
X-30
M30
Relative coordinates calling
G90G54X0Y0Z100
G91
G65P9100 X100Y50R30Z-50F500I100A0B45H5
X20Y10
X-30
M30
The called macro program9100:
#3=#4003
save G-codes in 03 group
#27=#4014
G90
IF[#3 EQ 90] GOTO 1 transfer to N1 in the mode of G90
G53
#18=#5001+#18
calculate X coordinate of centre of circle
#19=#5002+#19
calculate Y coordinate of centre of circle
N1 WHILE[#6 GT 0] DO 1
until the residual hole number is 0
#25=#18+#7*COS(#0)
calculate hole location on X-axis
#26=#19+#7*SIN(#0)
calculate hole location on Y-axis
G81X#25Y#26Z#20R#12F#5 drilling cycle
#0=#0+#1
renew angle
#6=#6-1
hole number-1
END 1
139
GREAT-150IM-II
MANUALS
Fig 4.83
Use address P specify program number with mode calling after G66, specify repeated times from 1 to 9999
after address L when repetition is needed, the data specified with self-definition variable transferred to
macro program body that same to non-mode calling G65, after canceling with G67, the program block
after G67 wont execute macro program calling.
Embed calling, it is can be embedded 4 levels. Contains non-mode calling G65 and mode calling G66 but
not contains sub-program calling M98.
Mode calling embedded among mode callings, mode calling can be embedded by specified another G66
code.
Multi-macro programs not allowed call in G66 program block.
Typical program:
Fig 4.84
With macro program edit G81, the machining program of canned cycle adopts mode calling, for simplify
program, all drilling data specified with absolute value.
Calling format:G65 P9110 Xx Yy Zz Rr Ff Ll;
X; X-axis coordinate of hole specified with absolute value #18
140
GREAT-150IM-II
MANUALS
141
GREAT-150IM-II
5.
6.
7.
8.
142
MANUALS
GREAT-150IM-II
MANUALS
No
X00-X27
X50-X81
X151-X207
Y00-Y29
Y71-Y78
Y50-Y57
quantity
specification
118
46
T00-T15
16
C01-C15
16
System counter/calculator
M00-M95
M100-M135
M151-M198
176
143
GREAT-150IM-II
MANUALS
Fig 5.1
NOTE
Input relay number denoted in decimal system.
5.2.3.2 Output relay (Y)
Output repay is the window which PLC sends switch value signal to outside load. PLC transmits signal to
output point through output relay, which drives external load. Each relay of output point only has one pair
of NO contacts, but both NO and NC of each output relay are available in ladder diagram,(can be utilized
repeatedly). Refer to figure 5.2.
Fig5.2
NOTE
Output relay number denoted in decimal system
5.2.3.3 Interior relay (M)
Interior relay is auxiliary relay in PLC, which cant directly output to external load. Its usually defined as
input, output or status of certain function, which is the channel of transmitting signal for PLC and core
control software. With the basic feature as below:
(a) Data will be cleared once power off
(b) NO and NC contacts of every interior relay can be used in ladder diagram
(c) Interior relay number defined in decimal system, most Interior relays defined as certain function and
control mode, while only a few act as medium signal temporarily.
5.2.3.4 Timer (T)
Timer in PLC is equivalent to time relay in relay system. Timer is classified into general timer and
integrating timer. Constant K is the value of timer setup.
General timer
In this system, T00-T03 defined for 10ms and T08-T11 for 1s as general timers in PLC. The working
144
GREAT-150IM-II
MANUALS
principle: start to count once input condition is met, timer relay contact get through when count value
reaching the setup. If input doesnt meet the needs, timer value will be set as 0, the timer relay will keep
open. The setting value (K) of timer is in decimal system, range from 1 to 9999.
E.g.: when input relay X5 is valid (refer to fig 5.3), the timer T01 start to count and get through after 0.5
seconds (K value:50; T01:10ms timer), while X5 is invalid, timer T01 value is set as 0, the contact will be
opened.
Fig 5.3
Integrating timer
In this system, the timers T04-T07 in the PLC are 10ms integrating timer and T12-T15 are 1s integrating
timer. The work principle is: start to count once the condition is met and the timer contact get through
when the counting value reaching given value. The current value (count value) will be kept and contact
statues wont be changed even if the input condition is opened. When executing RST commands,
integrating timer value will be set as 0 and contact will be opened. The setting value (K) of timer is in
decimal system, range from 1 to 9999.
E.g.: when input relay X5 is valid, timer T04 start to count and T04 contact get through after 1 second (K
value : 100; T04 : 10ms) , shows as Fig5.4, even if input condition X5 open, the current value of
integrating time T04 (calculated value) will be kept, and the contact status wont be changed. When input
relay X7 is valid, timer T04 reset as 0 and contact open and input signal valid again, T04 continue to
count.
Fig 5.4
5.2.3.5 Counter (C)
Counter is applied to count and detect the increasing trend of input conditions such as X, Y, M, T.
therefore, when input condition is ON, count value wont be changed. The response period is 100ms,
so the continuance time of close and open of input condition should be more than 100ms. There are 16
counter in this system C01-C15 with basic feature as below:
(a) Counter value range from 1 to 9999 in decimal system
145
GREAT-150IM-II
MANUALS
(b)Even the input conditions closed, counter value wont be cleared and must be cleared by using RST
order.
(c)Counter NO and NC contacts are available in ladder diagram.
e.g.: showing as fig 5.5, when X5 impedance input signal is valid, C0 is reset, the counting value will be
set as0 and its NO contact opened (NC contact get through). input signal X7 supply counter input signal,
when counters resetting input open, the count input signal shift to get through from open (viz. count
pulse increasing trend), the current value of counter plus 1. After 9 input counting pulse, C0 timer get
valid (constant K is 9), the NO contact close (NC contact open),Y0 output get valid. If input pulse again,
the counter value wont be changed until reset input signal get valid and counter value set to as 0.
Fig 5.5
Sign definition
Sign
explanation
NO contact
NO contact of cell(relay)
NC contact
NC contact of cell(relay)
coil of cell(relay)
Horizontal line
Vertical line
146
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
NOTE : In this system, we define PLC editing software as PLC.EXE, Its icon showed as bellow:
Fig5.6
Source: this software in the CD comes with the system.
Installation: this software no needs to install, just copy it from CD to PC.
Running environment:
Hardware ------IBM compatible, with storage not lower than 64M and drive with CD, more than P200
Software --------Windows 98/NT4.0/2000/XP operation interface.
5.5.1.2 Basic operation of software editing
Run Editing software: double click PLC.EXE icon and run the software refer to Fig 5.7:
Fig 5.7
New PLC file: click the new under file in menu bar (refer to below fig) or click
Fig5.8
Open existing PLC file: click open under file in menu bar (refer to below fig) or click
tool column and open the PLC file in the store path.
148
button in
GREAT-150IM-II
MANUALS
Fig5.9
Save PLC file: click save under file in the menu bar (refer to below fig) or click
Fig5.10
NOTE
PLC LAD and PLC .PLC are default format, when save a PLC file at the first time, there will be an remind
with input a file name , the name should be PLC whether to save PLC ladder or instruction list,
otherwise cant be identified by the system.
Exit: click exit under file in the menu bar (refer to below fig) or click exit button in control column to
exit the software.
Fig5.11
NOTE
Confirm have saved the current PLC file before exiting the program.
5.5.1.3 Edit PLC Ladder
Take cursor as focus during ladder editing, move the cursor with direction keys on the keyboard or click
mouse.
149
GREAT-150IM-II
MANUALS
Fig5.12
Edit horizontal line: Locate cursor to the point need to be edited and click"
Edit vertical line: Locate cursor to the point need to be edited and click " " button in the tool bar.
Edit NO contact: Locate cursor to the point need to be edited and click"
"button in the tool bar, a
dialogue box pops up, select the relevant cell and cell number correspondingly, then click Enter.
Fig5.13
NOTE: Nothing needs to set for parameter column.
"button in the tool bar, a
Edit NC contact: Locate cursor to the point need to be edited and click"
dialogue box pops up, select the relevant cell and cell number correspondingly, then click Enter.
Fig5.14
NOTE :Nothing needs to do for parameter column.
button in the tool bar, a
Edit direct output: Locate cursor to the point need to be edited and click
dialogue box pops up, just select the relevant cell and cell number correspondingly, then click Enter
Fig5.15
150
GREAT-150IM-II
MANUALS
NOTE
1. Never select X in the cell name column
2. need to set value in parameter column when the cell name is T or C, otherwise no need.
Edit set output: Locating the cursor to the point need to be edited and click
bar, a dialogue box pops up, select the relevant cell and cell number correspondingly, then click Enter
Fig5.16
NOTE
1. Never select X ,T or C in the cell name column
2. nothing needs to set in the parameter column.
Edit reset output: Locate cursor to the point need to be edited and click
a dialogue box pops up, select the relevant cell and cell number correspondingly, then click Enter
Fig5.17
NOTE
1. Never select X in the cell name column
2. Nothing needs to set in the parameter column.
Delete cell: Locate cursor to the cell which needs deleted and click "
including horizontal line, NO contacts, NC contacts and all output coils.
Delete vertical line: Locate cursor to the vertical connecting line which needs deleted and click"
button in the tool bar.
Delete a row of ladder: Locate cursor to the row which needs deleted and click "
tool bar.
Add a row of ladder: Locate cursor to the row which need added and click "
Then another row appears before the row located cursor.
"
151
GREAT-150IM-II
MANUALS
Fig 5.18
NOTE :If there is logic error in ladder, a dialogue pops up and shows error notes, in this case, instruction
list wont be generated successfully until error solved. Refer to below:
Fig 5.19
5.5.1.5 Logic testing
Logic testing is used to test the PLC logic after editing both ladder and instruction list.
Press TEST button in the control bar to shift the testing interface, refer to below:
Fig 5.20
As fig 5.20 shows, there are five sections input reply, auxiliary relay, output reply, timer counter,
each section has its cell number, there is status indicator above the cell number (green means valid, red
means invalid). In these five sections, the status indictor of input reply and auxiliary relay can be set
and reset by clicking, thats to say, operator is allowed to set input requirement. Click the RUN button in
152
GREAT-150IM-II
MANUALS
the left top of the interface after setting requirement, then start logic testing, meanwhile the input
condition can be changed to check whether the cell status of auxiliary relay, output reply, timer
counter match well with editing logic status. So as to check the logic of ladder and instruction list is
correct or not.
PLC ladder file with PLC.LAD format and instruction list files with PLC.PLC format will be generated by
editing PLC program on the PC. Import both of the two files into controller to active I/O logic control.
NOTE :PLC ladder file and instruction list file must be PLC.LAD format and PLC.PLC format separately,
which are default files in the system, otherwise, PLC cant be executed in the system.
Fig5.21
There are two interfaces in the PLC ladder editing interface. Press >> soft key to shift into the other
interface as below.
Fig5.22
153
GREAT-150IM-II
MANUALS
Move cursor: take cursor as focus during ladder editing and move cursor by direction key on the panel.
Compile ladder: after ladder edited, need to check the logicality and format of the PLC, shift to compile
interface by press COMPL, if any error, dialogue box will pop up and remind the error points as below:
Fig5.23
If without error, dialogue will pop up and show "ok! Compile successful " as below:
Fig5.24
Save ladder: once ladder editing finished and compile successfully, save it before exiting the editing
interface. Press Save soft key then press Enter to save when dialogue pops up, press cancel not to
save.
Fig5.25
Once you press Enter to save it, dialogue pop up to show the result as Fig5.26
Fig5.26
Exit editing interface: press ESC soft key to exit PLC editing interface and return to last menu after
saving the ladder diagram successfully.
5.5.2.2 Edit PLC ladder
Edit Horizontal line: move cursor to the point need to be edited and presssoft key.
Edit vertical line: move the cursor to the point need to be edited and press | soft key.
Edit NO contact: move the cursor to the point need to be edited and press -||-soft key. Dialogue box
pop up as below, select the right cell and its number by pressing direction key, then press Enter .
154
GREAT-150IM-II
MANUALS
Fig5.27
NOTE:When input cell number, just insert number and no need to input cell name like X , Y , T , C , M
Edit NC contact: move cursor to the point need to be edited and press-|/|-soft key, dialogue box will
pop up as below figure, select the right cell and its number by pressing direction key, then Enter
Fig5.28
NOTE: When input cell number, just insert number and no need to input cell name like X , Y , T , C , M
soft key. dialogue
Edit direct output: move the cursor to the point need to be edited and press
box will pop up as below figure, select the right cell and its number by pressing direction key, then
Enter .
Fig5.29
NOTE
1. cell X is not available in the dialogue box
2. when input cell number, just insert number and no need to input cell name like Y , T , C , M
Edit set output: move the cursor to the point need to be edited and press
soft key. dialogue box
will pop up as below figure, select the right cell and its number by pressing direction key, then Enter .
Fig5.30
NOTE
1. Cell X, T, C are not available in the dialogue box
2. When input cell number, just insert number and no need to input cell name like Y, T, C, M.
155
GREAT-150IM-II
MANUALS
Edit reset output: move the cursor to the point need to be edited and press
soft key, dialogue
box pop up as below figure, select the right cell and its number by pressing direction key, then Enter .
Fig5.31
NOTE
1. cell X is not available in the dialogue box
2. when input cell number, just insert number and no need to input cell name like Y , T , C , M
Delete cell: move the cursor to the cell need to be deleted and press Delpart soft key, here the cells
including: Horizontal line, vertical line, NO contact, NC contact and all output coil.
Delete vertical line: move the cursor to before the vertical line need to be deleted and press DelFork
soft key
Delete one line of ladder: move the cursor to the line need to be deleted and press DelLine soft key.
Insert one line of ladder: want to add a line of ladder before a line, move the cursor to the line and
press InLine soft key, a vacant line of ladder will be appear used for editing before the line.
Parameter setting: mainly used for setting the value of constant K of cells C and relay T, Move the
cursor to the coil of cell and press SetPara key, a dialogue box will pop up as below figure. Input right
value (decimal system) and press Enter.
156
GREAT-150IM-II
MANUALS
Fig5.33
Set serial baud rate with No.120 in SPEED, then shift to Editcfg under PARAM as show below:
Fig5.34
Click transmit PLC/PARA key in communication software, select the PLC file and OPEN, now the PLC
file been waiting for transmitting.
157
GREAT-150IM-II
MANUALS
158
GREAT-150IM-II
MANUALS
Fig5.38
Click receive Para/PLC and name the file folder to save, then software start to receive file and save it.
Fig5.39 save
Transmit successful
NOTE
1. In this process, not only PLC file transmitted, but also parameter transmitted.
2.The baud rate setting is related to circumstance like the length of transmission wire, field environment.
To ensure the stability, we recommend adopt medium frequency.
3. Communication software will be send to customer together with controller, just copy it to hard disk of
PC. No need to install it.
159
GREAT-150IM-II
MANUALS
Fig5.40
Press F2 Restore--Enter restore PLC file to the controller, then Enter, PLC parameter restored
successfully. to run the upgraded PLC file, need to reboot the controller or go to LadStat--- R to
renew PLC .
NOTE
When restore PLC file from USB to controller, not only file transferred but also parameter transferred
which meet the condition of the controller. So only PLC.plc, PLC.lad can be included in PLC folder if you
only want to restore PLC file (PLC.plc, PLC.lad).
5.6.2.2 Backup PLC file into U disk
Plug U-disk into USB-disk on the controller. Press F6 USBdisk under PRGM, shift to U-disk root menu,
open the folder which used for saving PLC file by moving Up or down direction keys. Then press
F1Backup and Enter, now PLC file will be imported into U-disk.
Fig5.41.
Press F6 SYSTEM back to system menu, plug out U-disk. PLC parameter backup successfully.
NOTE
1. In this process, not only PLC file exported, but also parameter exported. So it is also can be acted as
system parameter backup function.
2. Space sign is not allowed in the file folder name when use U disk
160
GREAT-150IM-II
MANUALS
NO.
Name(Function)
Specification
M00
Prohibit feed
M01
Manual status
M02
Just start
M03
Prohibit program
running
M04
Emergency stop
M05
Choosing tool
Status relay; When the controller stay in tool choosing (tool pan
rotate)condition, the relay is valid
M06
Changing tool
M07
M08
Feed running
10
M09
Tool seat up
11
M10
12
M11
Tool seizing
Status relay; this relay is valid when the system with manipulator
type of tool magazine being tool seizing status (manipulator
located at the position of tool holding and tool exchanging)
13
M12
Machine abnormal
14
M13
Tool attendance
detecting
Relay being valid, means tool seat at the tool changing position
hold tool (used for umbrella tool magazine). (input)
15
M14
Spindle positioning
16
M15
17
M16
X positive limit
18
M17
X negative limit
19
M18
Y positive limit
20
M19
Y negative limit
21
M20
Z positive limit
22
M21
Z negative limit
23
M22
A positive limit
24
M23
A negative limit
25
M24
B positive limit
26
M25
B negative limit
161
GREAT-150IM-II
MANUALS
27
M26
C positive limit
28
M27
C negative limit
M28
M29
31
M30
Forward position/
down arrival
32
M31
Backward positioning/
up arrival
33
M32
34
M33
35
M34
36
M35
37
M36
38
M37
39
M38
Run ()
In auto running process, when the relay is valid, system will run
program in( ),otherwise reverse (input)
40
M39
Spindle alarm
41
M40
42
M41
43
M42
44
M43
45
M44
Coolant overload
46
M45
Relay being valid, coolant lacking (liquid under the low level)
alarming (Input
47
M46
lubrication overload
48
M47
Lubricant lacking
alarm
49
M48
cooling
29
30
162
GREAT-150IM-II
MANUALS
50
M49
51
M50
blow
52
M51
lubrication
53
M52
Self-definition
54
M53
Spindle CW
55
M54
Spindle CCW
56
M55
Spindle stop
Self-definition
Self-definition
Self-definition
Self-definition
Self-definition
Self-definition
Self-definition
57
58
59
60
61
62
63
M56
M57
M58
M59
M60
M61
M62
64
M63
Self-definition
65
M64
163
GREAT-150IM-II
MANUALS
66
M65
67
M66
Spindle servo
68
M67
Spindle lock
The relay being valid, system control spindle servo driver, make
the motor being the status of spindle motor locking as power on
(Output)
69
M68
70
M69
Revolution enough
71
M70M79
standby
72
M80M95
NO.0-No.15 self
definition alarm
73
M105
standby
74
M107M109
standby
75
M110
76
M111
77
M112
78
M113
79
M114
Remote running
80
M115
Remote stop
81
M120
Tool magazine CW
82
M121
83
M122
Program running
Status relay; The relay being valid, program stay in auto running
84
M123
Program pause
85
M124
86
M125
87
M126
88
M127
89
M128
X axis prohibited
90
M129
Y axis prohibited
91
M130
Z axis prohibited
92
M131
A axis prohibited
93
M132
B axis prohibited
94
M133
C axis prohibited
95
M134
STANDBY
96
M135
STANDBY
164
GREAT-150IM-II
MANUALS
97
M151M198
STANDBY
98
M200
Running
99
M201
Running
100
M202
Running
101
M203
Running
102
M204
Running
103
M205
Running
104
M206
Running
105
M207
Running
106
M208
Running
107
M209
Running
108
M210
Running
109
M211
Running
110
M212
111
M213
112
M214
113
M215
114
M266
Key X of milling
115
M267
Key +X of milling
116
M268
Key Y of milling
117
M269
Key +Z of milling
118
M270
Key +4 of milling
119
M271
Key +Y of milling
120
M272
Key Z of milling
121
M273
Key 4 of milling
122
M274
NOTE
1. All of the NO contacts and NC contacts above in the table can be applied into PLC Ladder.
2.The input in the specification column above shows the signal of relay coil come from other relay
contact input; output means the relay contact send signal to other relay coil.
165
GREAT-150IM-II
MANUALS
166
GREAT-150IM-II
MANUALS
should be applied shield twisted-pair wire, and the shielding layer must be connected with GND.
4. The relay output is NO or NC contacts, YxxG is the COM contact, YxxO is NO contact, YxxC is NC
contact.
e.g:
Y01G: the COM contact of output relay Y01
Y01O: the NO contact of output relay Y01
Y01C: the NC contact of output relay Y01
Fig 5.44
As above shows there are 24 channels input signal X66-X81 and 8 channels Y50-Y57 output on the
movement control board. These signals used for I/O controlling related to movement, such as drive
enabling, alarm clearance and axes drive alarm, limit, zero detection.
5.8.3 Subpanel
Type A
167
GREAT-150IM-II
MANUALS
168
GREAT-150IM-II
MANUALS
Fig5.50
Explanation: As shows above when input relay X151 is invalid (adopt NC contact), the interior auxiliary
relay M04 will be valid, external switch operation will be detected and carry on corresponding reminding
and operation.
The positive hard limit of X axis
Fig5.51
Explanation: above shows when input relay X50 is valid, the interior auxiliary relay M16 will be valid, thus
to detect the X axis getting to positive limit of X axis and carry on corresponding remind and operation.
NOTE
Above two examples shows signal external transmit to interior auxiliary relay, meanwhile carry on the
operation when the auxiliary relay is valid correspondingly.
Spindle CW:
Fig5.52
Explanation: shows above when auxiliary relay M53 (CW auxiliary relay) NO contact is connected with
output relay Y05, and the controller act spindle CW instruction, M53 relay is valid, meanwhile Y05 output
is valid. Outside circuit executes spindle CW operation.
Enable auto-run indicator:
169
GREAT-150IM-II
MANUALS
Fig5.53
Explanation: shows above when interior auxiliary relay M08 (when axis feed forward, the relay is valid)
NO contact is connected with output relay Y15, and the controller in auto-running status (axis feed
forward) M08 relay is valid, and Y15 output is valid. Outside circuit indicator is enable.
NOTE
Above two examples are interior order of the controller, the status are mainly transmitted via interior
auxiliary relay to output relay, meanwhile output relay circuit lead circuit outside to carry on operation
correspondingly.
Outside connecting manual spindle CW button
Fig5.54
Explanation: as above shows X20 is input relay of external button switch, M01 is manual status relay,
M53 is spindle CW control relay, M54 is spindle CCW control relay, M55 is spindle stop control relay, Y05
is signal output relay. When system is in manual mode, relay M01 valid, meanwhile, if action signal of
external button input relay via X20 and valid, spindle CW relay M53 will be set valid, but spindle CCW
control relay M54 and spindle stop control relay M55 will be reset invalid. When M53 is valid, its contact
gets through and Y05 output valid. Control external circuit to execute spindle CW operation
NOTE
Above example is that external signal is send to system interior relay, then send to output relay by
system interior relay, meanwhile output relay enable external circuit executes corresponding action.
Meanwhile the same group of signal interlock should be considered (as CW, CCW and STOP will be set
to be invalid)
Through reciprocating key K1 on the subpanel to control output Y17 in manual mode; meanwhile
control the output through M53/M54; and enable K1 indicator:
Fig5.55
Explanation: as above shows X166 is input relay of K1 key on sub-panel, M01 is manual mode relay,
M166 is last time status keeping relay of K1 input relay, M62 is self-define system interior auxiliary relay.
Use instruction M53/M54 to control effective/ineffective, Y71 is output relay of K1 indicator on sub-panel,
Y17 is signal output relay.
Executing principle: press K1 key (open)-----relay M01 get valid when system is in manual mode, if
170
GREAT-150IM-II
MANUALS
press K1 on subpanel, signal input via input relay X166. as K1 stays in off status before pressed, so
M166 is NC valid, and the initial status of relay Y71 is invalid, so NC is valid. So as to set M62 and keeps
valid, meanwhile
Y17 control external circuit to execute corresponding operation ineffective, Y71 invalid and K1 indicator
off.
Instruction control on/off-----when system executes M53 instruction, system interior auxiliary relay
M62 get effective and Y17,Y71 output valid.Y17 control external circuit and executes corresponding
operation valid, Y71 make K1 indicator available; when system executes M54 instruction, system interior
auxiliary relay M62 get invalid and Y17,Y71 output invalid. Y17 control external circuit and execute
corresponding operation invalid, Y71 invalid and K1 indicator off.
Examples above is a reciprocating process, which by using relay M166 save last time status of relay
X166. Last time status keeping function are only available for input relays on sub-panel, so other input
relay cant act as reciprocating key.
Fig5.56
Explanation: as above shows X166 is input relay of K1 pad on the sub-panel, X167 is input relay of K2
pad on the sub-panel, M01 relay for manual mode, M62 is self-defined system interior auxiliary relay and
its valid/invalid is controlled by M53/M54, Y71 is output relay of K1 pad indicator on the sub-panel, Y72 is
output relay of K2 pad indicator on the sub-panel, Y17 is signal output relay.
Executing principle: press K1 pad to start-----relay M01 get valid when the system is in manual mode, if
press K1 pad on the subpanel, signal input via input relay X166 and get valid. AS K2 pad didnt knob
down, so its NC and be valid ,which make relay M62 valid as well(for M62 normal contact is parallel
connection with X166,so M62 self-locking is valid),meanwhile,Y17 and Y71 output are both valid.Y17
control external circuit to execute corresponding operation valid,Y71 lighten K1 indicator,Y72 is
connected with M62 NC contact, which make Y72 output invalid and K2 indicator get off.
Press K2 pad to close----when press K2 pad on the sub-panel, signal input via input relay X167 and get
valid, but as its NC contact is series connection in the self-locking circuit of M62,so when relay X167 is
valid, M62 self-locking is released and make it invalid, meanwhile Y17 and Y71 output invalid. Y17
control external circuit to execute relative operation invalid, Y71 get invalid and K1 indicator get off. Y72
connects with NC contact M62, which make Y72 output valid, Y72 lighten K2 indicator.
Instruction control on/off-----when the system execute M53 instruction, system interior auxiliary relay
M62 get valid and Y17,Y71 output valid.Y17 control external circuit to execute corresponding operation
is valid,Y71 lighten K1 indicator,Y72 is connected with M62 NC contact, which make Y72 output invalid,
K2 indicator get off; when the system executes M54 instruction, system interior auxiliary relay M62 get
invalid ,Y17 and Y71 output get invalid,Y17 control external circuit to execute corresponding operation
invalid,Y71 is valid and K1 indicator get off .Y72 connected with NC contact M62, which makes Y72
output valid,Y72 lighten K2 indicator.
In the above example: use the normal on-off control circuit to realize self locking through parallel connect
the NO contact of the output relay to the NO contact of input start control relay, realize self-locking
release through series connect the input stop control relay to the loop. The PLC function besides through
171
GREAT-150IM-II
MANUALS
above example, use set/reset methods also can realize the function.
Fig5.57
X166 set M62 and X167 reset M62 .
Fig5.58
Explanation : as above shows, relay M53 is system spindle CW, relay M54 is spindle CCW, relay M55 is
spindle stop, M107 and M108 is self-defined system interior auxiliary relay,T03 is 10ms general
timer,Y07 is signal output relay.
Executing principle: the 1st line and 2nd line in above diagram, when system execute either spindle
CW (M53) or CCW(M54), system interior auxiliary relay M107 will be set valid; the 3rd line and 4th line
shows when the system executes spindle stop function, M55 get valid, meanwhile, the relay M107 last
time get valid this time and system interior auxiliary relay M108 get valid , meanwhile M107 reset invalid
(CW/CCW status cleared); the 5th Line shows when M108 is valid, its 10ms general timer T03 start to
count(set constant K as 150, thats to say the timing is 1.5s); the 6th line shows when T03 timing
arrive,T03 relay get valid, M108 reset invalid; the 7th line shows when the system execute spindle stop
function (M55 valid), M108 is valid, signal output relay Y07 get valid and control external circuit to
execute brake operation valid; related to the 6th line, when T03 timing arrives, relay M108 get invalid and
signal output relay Y07 output get invalid, controlling external circuit to execute brake operation invalid.
So when spindle stops, Y07 output valid and cancelled after 1.5s, then get brake function successfully.
Examples above mainly use timing relay to make output signal keep a period time and cancel later.
172
GREAT-150IM-II
MANUALS
Fig5.59
Move cursor using up/down keys to find cells which need to edit and press "Enter, dialogue box like fig
5.60 pops up, just input required name in the dialog box (on the system panel, only English is available
and max 8 characters)
Fig5.60
After editing, shift to INPUT REPLAY in the menu of I/O under PARAM, the corresponding name will be
displayed under relay X03.
Fig5.61
173
GREAT-150IM-II
MANUALS
Fig5.62
Input name before corresponding cells (input Chinese max 4 characters or English max 8 characters), as
shown below:
Fig5.63
NOTE
Never change file structure during editing (cell sequence can never be changed, one line one cell and all
cells name must be aligned )
Save file after editing, then import the IO.TXT file import to system according to the methods in Chapter
5.6, reboot system and shift to INPUT RELAY in I/O menu under PARAM, the corresponding name will
be displayed under relay X04. As shown below:
Fig5.64
174
GREAT-150IM-II
MANUALS
Fig5.65
2. Edit relay name (edit IO.TXT file)
175
GREAT-150IM-II
MANUALS
Fig5.68
The corresponding name will be displayed under X16 in INPUT RELAY interface in the I/O interface
under PARAM..
Fig5.69
The corresponding name will be displayed under M81 in auxiliary relay 2 in the I/O interface under
PARAM.
4. As material lacking (detecting open valid, X16 valid), alarm information will be showed in the status bar
as below:
Fig5.70
NOTE
If need to stop some operation when alarms, extra PLC program are needed.
176
GREAT-150IM-II
MANUALS
5.11.2 Subpanel
Input relay
X151: emergency stop button on the subpanel
X152: run button on the subpanel
X153: pause button on the subpanel
X154: spindle CW key on the subpanel
X155: spindle stop key on the subpanel
X156: spindle CCW key on the subpanel
X157: cutter head CW key on the subpanel
X158: spindle CW JOG key on the subpanel
X159: spindle CCW JOG key on the subpanel
X160: cutter head CCW key on the subpanel
X161: machine lubrication key on the subpanel
X162: coolant key on the subpanel
X163: exit key on the subpanel
X164: spindle tool release key on the subpanel
X165: reference point returning key on the subpanel
X166: K1 key on the subpanel
X167: K2 key on the subpanel
X168: K3 key on the subpanel
X169: K4 key on the subpanel
X170: K5 key on the subpanel, Z-axis return to 2nd reference point;
X171: K6 key on the subpanel, set tool seat number;
X172: K7key on the subpanel
X173: K8 key on the subpanel
X174: increment shift key on the subpanel
177
GREAT-150IM-II
MANUALS
K1 indicator
K2 indicator
K3 indicator
K4 indicator
K5 indicator
K6 indicator
K7 indicator
K8 indicator
GREAT-150IM-II
MANUALS
179
GREAT-150IM-II
MANUALS
180
GREAT-150IM-II
MANUALS
5.12 The definition of PLC, instruction and parameter for machine match
with tool magazine
5.12.1 Specification of machining centre with umbrella tool magazine
Fig5.71
Please import GT150iM for umbrella machining centre with CTBGA spindle servo unit file into the
controller from the CD with the controller in the package before setting.
The definition of self-defined K keys as following:
K3 set the tool seat number for the current tool seat;
K4 spindle positioning (the light of K4 turn on after spindle positioning completed)
K5 Z axis return to tool changing point (the light of K5 indicator turn on after tool change point returning
completed)
The definition of M commands:
M41 tool magazine forward
M43 tool magazine backward
Tool changing operation of tool magazine
Txx: the tool in the spindle is restored into tool magazine, then change Txx in the instruction to spindle.
M36 Txx: change Txx in the instruction to spindle with step mode according to tool changing step,
system in the state of pause after executing one step, execute next step by press the button run, mainly
used for setting. The basic step of tool changing as following (the tool changing step had been firmed
with software. User is just allowed to modify part of I/O):
The motion process for tool changing of tool magazine
1. Execute the prepare motion of tool changing or tool selection: spindle orientation and Z-axis return to
181
GREAT-150IM-II
MANUALS
X01
X04
X07
X08
X09
X10
X11
X12
X13
X14
X15
X27
Y00
Y01
Y03
Y05
Y06
Y08
Y09
Y10
Y11
Y12
Y13
Y14
Y15
Y16
Y17
Y22
Y23
//spindle alarm
//cooling overload
//tool magazine checking
//tool loosen check
//coolant level
//manual tool changing
//tool seize checking
//tool magazine forward
//tool magazine backward
//tool magazine count
//tool existing check
//spinle home
//coolant motor
//spindle tool loosen
//lubricant motor
//spindle CW
//spindle CCW
//rigid tapping
//spindle home
//tool magazine CW
//tool magazine CCW
//tool magazine forward
//red indicator
//yellow indicator
//green indicator
//tool magazine backward
//spindle locking
//spindle power supply
//driver power supply
CAUTION
1. In the process of tool changing for encountering unexpected power off or emergency stop result in
182
GREAT-150IM-II
MANUALS
confusion of tool number in the tool magazine, please make tool magazine rotates several tool locations
in manual mode, then set the current tool seat number with key K3
2. When make tool magazine forward with M41, pay attention to check Z-axis position to avoid accident
occur.
3. There should not be tool at the No. T0, otherwise, accident may occur.
4. load tool at the first time, there must be tool in the spindle (normally after tool seat list initialized, T01
should be in the spindle).
Fig 5.72
Pls lead GT150iM for ATC tool magazine machining centre with CTBGA spindle servo unit file into the
controller from the CD with the controller in the package before setting.
The definition of self-defined K keys as following:
K3 set the tool seat number for the current tool seat;
K4 spindle positioning (the light of K4 turn on after spindle positioning completed)
K5 Z axis return to tool changing point (the light of K5 indicator turn on after tool change point returning
completed)
The definition of M commands:
M41 is tool seat down, used for setting
M43 is tool seat up, used for setting
M57 is mechanic arm rotates one step unconditionally, used for setting
Tool changing operation of tool magazine
M06: change the tool in the current tool seat to spindle.
Txx: change Txx in the instruction to current tool changing location
M06 Txx: change the tool in the current tool seat to spindle, then change Txx in the instruction to current
tool changing location to prepare for next tool changing (tool changing before tool selection).
M16 Txx: change Txx in the instruction to current tool changing location, then change the tool in the
current tool seat to spindle. (tool selection before tool changing, viz. change Txx in the instruction to
spindle )
M36: change the tool in the current tool seat to spindle with step mode according to tool changing step,
system in the state of pause after executing one step, execute next step by press the button run, mainly
used for setting. The basic step of tool changing as following (the tool changing step had been firmed
with software. User is just allowed to modify part of I/O):
183
GREAT-150IM-II
MANUALS
184
X01
X04
X07
X08
X09
X10
X11
X14
X16
X17
X18
X19
X20
X21
X27
Y00
Y01
Y03
Y05
Y06
Y08
Y09
Y10
Y11
Y13
Y14
Y15
//spinlde alarm
//coolant overload
//tool magazine motor
//tool loosen check
//coolant level
//manual tool changing
//tool seize checking
//tool magazine count
//tool magazine position
//Arm stop
//arm original
//toolseat up
//toolseat down
//tool seize
//spindle home(positioning)
//coolant motor
//spindle tool loosen
//lubricant motor
//spindle CW
//spindle CCW
//rigid tapping
//spindle home(positioning)
//tool magazine CW
//tool magazine CCW
//red indicator
//yellow indicator
//green indicator
GREAT-150IM-II
Arm M
SPLk
TStUp
TStDn
SPPwr
DrvPwr
MANUALS
Y16
Y17
Y20
Y21
Y22
Y23
//Arm motor
//spindle locking
//toolseat up
//toolseat down
//spindle power supply
//driver power supply
CAUTION
1. In the process of tool changing for encountering unexpected power off or emergency stop result in
confusion of tool number in the tool magazine, please make tool magazine rotates several tool locations
in manual mode, then set the current tool seat number with key K3.
2. For this type of tool magazine, the maximum tool number in the fixed tool area can be set with
parameter of NO.27 in COMP, its better to initialize tool table after completing the parameter setting.
For example: when set as 8, means that the tool seat list from No1 to No8 just be only loaded the tools of
corresponding tool number, viz. the tool from No1 to No8 isnt selected arbitrarily, but fixed loading. This
function can be used for loading tools with big diameter tool pan.
3. There should not be tool at the No. T0, otherwise, accident may occur.
4. M57 doesnt check condition, please specially pay attention when use the instruction, otherwise
accident may occur.
5. The function of spindle loose/tighten is set as reciprocating model, once loose and again tighten.
185
GREAT-150IM-II
MANUALS
186
GREAT-150IM-II
MANUALS
Type B subpanel
Type D subpanel
Type E subpanel
187
GREAT-150IM-II
MANUALS
Type D, E
188
GREAT-150IM-II
MANUALS
Fig6.4
NOTE: As showed above, all the cables of main panel, subpanel, general I/O board must be
surely grounding.
189
GREAT-150IM-II
MANUALS
Fig6.5
NOTE: As showed above, all the cables of main panel, subpanel, general I/O patchpanel must be
surely grounding.
6.4 DIMENSION
6.4.1 Main panel dimension
190
GREAT-150IM-II
MANUALS
Fig6.6
191
GREAT-150IM-II
MANUALS
Type D subpanel
Type E subpanel
Fig6.7 subpanel dimension
192
GREAT-150IM-II
MANUALS
Fig6.9
Fig6.10
Temperature
Running
Storing
-20
+45
~ +60
193
GREAT-150IM-II
~
MANUALS
Humidity
10
90 RH
Vibration
0.5 G
Environment
Main power
External I/O
Power module
voltage
capacity
AC220V
100W
AC220V
80W
remark
Must apply isolating transformer, The
transformer input voltage request AC380V
When I/O load is not heavy, can apply CNC
internal power module (DC24V/0.5A), no need to
connect external I/O power module.
Fig 6.11
As above showed the input power includes main power (must be supplied by insulating transformer and
primary input voltage should be 380v) and external I/O power module (come from AC220V and get
through regulated power module then supply to system and machine I/O),both need AC220V input.
CAUTION
As showed above, system main panel, movement control board and general I/O board must be
reliable grounding.
6.5.2.2 I/O power supply setting
194
GREAT-150IM-II
MANUALS
In this CNC system, I/O power supply is DC 24V(except for subpanel I/O), supplied by system main
power module or external I/O power module, set with the switch SW1. When I/O equipments are not too
many(supply electric current <= 0.5A) I/O power can be supplied by the system main power module,
SW1 set according to Fig 6.12; Otherwise when I/ O equipments are more (supply electric current > 0.5A)
should be supplied by the external power module, SW1 set according to Fig 6.13.
GREAT-150IM-II
MANUALS
Fig6.14
6.6.1.2 Interface connection
J1 (RS232) pin table (DB-9P pin hole)
1 pin: Null
2 pin: RXD
receive data
3 pin: TXD
transmission data
4 pin: Null
5 pin: GND
internal power grounding
6 pin: Null
7 pin: Null
8 pin: Null
9 pin: Null
J2 (USB) pin table
1 pin: VCC
USB-A power supply (+5V)
2 pin: USB-A-DUSB-A negative port
3 pin: USB-A-D+
USB-A positive port
4 pin: GND
internal power grounding
For this system, the RS232 and USB connectors are in the front of the main panel, move the cover on
the left side of the main panel and you will see them, the below one is reboot key for the system.
NOTE
Do not press the reboot key when the system being in normal running, otherwise lead to unexpected
result.
The RS232 port mainly used for transmitting of system parameter, program, system software etc. to
connect with PC, please refer to Fig6.15:
196
GREAT-150IM-II
MANUALS
Fig 6.15
NOTE:
1) In order to prevent to damage the RS232 port, have to use the communication shield. When using
communication shield the RS232 baud rate can not be more than 38.4Kbps.
2)the RS232 wire length can not be longer than 10 meters.
3)The USB connector is mainly used for connecting with U disk, transmission system parameter,
program, CNC software and etc.
Fig 6.16
6.6.2.2 Interface with spindle encoder
J6 (spindle encoder connection) table (DB-9P pin hole)
1 pin: +5V
internal +5V power
2 pin: C+
C pulse positive signal
3 pin: A+
A pulse positive signal
4 pin: GND
internal power grounding
5 pin: B+
B pulse positive signal
6 pin: CC pulse negative signal
7 pin: AA pulse negative signal
8 pin:
Null
9 pin: BB pulse negative signal
NOTE: Encoder line length should be not too long, normally not longer than 5 meters. If longer
than this value, must increase the section area. Must use double twist shielded wire.
197
GREAT-150IM-II
MANUALS
Fig 6.17
6.6.3.2 The interface connected with MPG
J7 (MPG) the connection table (DB-25P Male)
1 pin: HAA pulse negative signal of handy pulser
differential signal (input)
2 pin: HBB pulse negative signal of handy pulser
differential signal (input)
3 pin: X200/HOFF
programmable input/axis OFF signal
GND valid (input)
4 pin: X202/HY
programmable input/select Y-axis signal
GND valid (input)
5 pin: X204/H4
programmable input/select 4th-axis signal
GND valid (input)
6 pin: X206/HX10
programmable input/override X10 positive signal GND valid (input)
7 pin: X198/HSTOP_I
programmable input/E-Stop signal input
GND valid (input)
8 pin: GND
internal power supply grounding
9 pin: +5V
internal +5V power supply
10 pin: X199/HCOM
programmable input/COM signal
GND valid (input)
11 pin: LED_K
indicator K pole
12 pin: LED_A
indicator A pole
13 pin: PE
grounded
14 pin: HA+
A pulse positive signal of handy pulser
differential signal (input)
15 pin: HB+
B pulse positive signal of handy pulser
differential signal (input)
16 pin: X201/HX
programmable input/select X-axis signal
GND valid (input)
17 pin: X203/HZ
programmable input/select Z-axis signal
GND valid (input)
18 pin: X205/HX1
programmable input/override X1 positive signal
GND valid (input)
19 pin: X207/HX100
programmable input/ override X100 positive signal
GND valid (input)
20 pin: Null
21 pin: HSTOP_O
Emergency stop signal output
GND (output)
22 pin: Null
23 pin: Null
24 pin: Null
25 pin: Null
6.6.3.3 MPG internal connection diagram
198
GREAT-150IM-II
MANUALS
Fig 6.18
NOTE: Use MPG when match with A/E type subpanel.
199
GREAT-150IM-II
MANUALS
Fig6.19
6.6.4.2 Connected with subpanel
200
1 pin: GND
internal grounding
2 pin: X151
3 pin: X154
4 pin: X157
5 pin: X160
6 pin: X163
7 pin: X166
8 pin: X169
9 pin: X172
10 pin:X175
11 pin:X178
12 pin:X181
13 pin:X184
14 pin:X187
15 pin:X190
16 pin:X193
17 pin:X196
18 pin:Y77
19 pin:Y75
20 pin:Y72
21 pin:Y28
22 pin:+5V
23 pin: GND
internal ground
GREAT-150IM-II
MANUALS
24 pin:X153
25 pin:X156
26 pin:X159
27 pin:X162
28 pin:X165
29 pin:X168
30 pin:X171
31 pin:X174
32 pin:X177
33 pin:X180
34 pin:X183
35 pin:X186
36 pin:X189
37 pin:X192
38 pin:X195
39 pin:X198
40 pin:Y76
41 pin:Y73
42 pin:Y29
43 pin:+5V
44 pin:X152
45 pin:X155
46 pin:X158
47 pin:X161
48 pin:X164
49 pin:X167
50 pin:X170
51 pin:X173
52 pin:X176
53 pin:X179
54 pin:X182
55 pin:X185
56 pin:X188
57 pin:X191
58 pin:X194
59 pin:X197
60 pin:Y78
61 pin:Y74
62 pin:Y71
J13 pin
signal
201
GREAT-150IM-II
MANUALS
VCC: +5V
14
15
NOTE
MPG (manual pulse generator) could not match with type B and Type E subpanel.
Fig 6.20
6.6.5.2 Interface connected with general I/O board
202
1 pin: X24
2 pin: X22
3 pin: X19
4 pin: X16
5 pin: X13
6 pin: X10
7 pin: X7
8 pin: X4
9 pin: X1
10 pin:Y20
11 pin:Y25
12 pin:Y17
13 pin:Y22
GREAT-150IM-II
MANUALS
14 pin:Y14
15 pin:Y12
16 pin:Y4
17 pin:Y9
18 pin:Y1
19 pin:Y0
20 pin: GND
21 pin: GND
22 pin:X27
23 pin:X24
24 pin:X21
25 pin:X18
26 pin:X15
27 pin:X12
28 pin:X9
29 pin:X6
30 pin:X3
31 pin:X0
32 pin:Y26
33 pin:Y18
34 pin:Y23
35 pin:Y15
36 pin:Y13
37 pin:Y5
38 pin:Y10
39 pin:Y2
40 pin:Y7
41 pin: DA01
42 pin: DA02
43 pin:X26
44 pin:X23
45 pin:X20
46 pin:X17
47 pin:X14
48 pin:X11
49 pin:X8
50 pin:X5
51 pin:X2
52 pin:Y27
53 pin:Y19
203
GREAT-150IM-II
MANUALS
54 pin:Y24
55 pin:Y16
56 pin:Y21
57 pin:Y6
58 pin:Y11
59 pin:Y3
60 pin:Y8
61 pin: IPE
62 pin:+24V
Fig 6.21
6.6.6.2 Interface connected with movement control board
J8/J14 (movement control board) connection table (DB-44P)
1 pin: XCP-
2 pin: ZCP+
3 pin: BCP+
4 pin: CCP-
5 pin: XDIR-
6 pin: ZDIR+
7 pin: BDIR+
8 pin: CDIR+
9 pin: P2_C+
standby signal
10 pin:P2_B+
standby signal
11 pin:P2_A+
standby signal
204
GREAT-150IM-II
MANUALS
12 pin:Y56
13 pin:Y54
14 pin:Y52/CSRV-ON
15 pin:Y50/SRV-ON
16 pin: XCP+
17 pin: YCP-
18 pin: ACP+
19 pin: BCP-
20 pin: XDIR+
21 pin: YDIR-
22 pin: ADIR+
23 pin: BDIR-
24 pin: CZ-
standby signal
25 pin: BZ-
standby signal
26 pin: AZ-
standby signal
27 pin: Null
28 pin:Y55
29 pin:Y53/CMODE
30 pin:Y51/INTH
31 pin: YCP+
32 pin: ZCP-
33 pin: ACP-
34 pin: CCP+
35 pin: YDIR+
36 pin: ZDIR-
37 pin: ADIR-
38 pin: CDIR-
39 pin: Null
40 pin: Null
41 pin: GND
internal grounding
42 pin: GND
internal ground
43 pin:+5V
44 pin:+5V
2 pin: X53/XZ-
(input)
3 pin: X56/Y0
4 pin: X58/+ZL
5 pin: X61/ZZ+
(input)
6 pin: X64/A0
7 pin: X65/AZ-
(input)
205
GREAT-150IM-II
MANUALS
8 pin: X68/B0
9 pin: X70/+CL
10 pin:X73/CZ+
(input)
11 pin:X75/YALM
12 pin:X77/AALM
13 pin:X79/CALM
14 pin:X81
16 pin:X50/+XL
17 pin:X53/XZ+
(input)
18 pin:X55/-YL
19 pin:X57/YZ-
(input)
20 pin:X60/Z0
21 pin:X62/+AL
22 pin:X65/AZ+
(input)
23 pin:X67/-BL
24 pin:X69/BZ-
(input)
25 pin:X72/C0
26 pin:X74/XALM
27 pin:X76/ZALM
28 pin:X78/BALM
29 pin:X80
31 pin:X52/X0
32 pin:X54/+YL
33 pin:X57/YZ+
(input)
34 pin:X59/-ZL
35 pin:X61/ZZ-
(input)
36 pin:X63/-AL
37 pin:X66/+BL
38 pin:X69/BZ+
(input)
39 pin:X71/-CL
40 pin:X73/CZ-
(input)
41 pin: IPE
43 pin:+24V
44 pin:+24V
15 pin: Null
30 pin: Null
206
1 pin: PLUSE+
2 pin: DIR+
3 pin: Z+
(input)
GREAT-150IM-II
MANUALS
4 pin: ALM
servo alarm
5 pin: INTH
6 pin: Null
7 pin: +24V
8 pin: IPE
9 pin: PLUSE-
10 pin: DIR-
11 pin: Z-
(input)
12 pin: SRV-ON
13 pin: Null
14 pin:+24V
+24v power
15 pin: IPE
Fig 6.22
As showed above, the spindle frequency driver speed change is controlled by velocity of 0 - +10V. And
the spindle frequency driver has the corresponding signal, to realize start, stop, CW, CCW, as well as
failure detection.
207
GREAT-150IM-II
MANUALS
Fig 6.23
As showed above, the control principle for CTB-GA spindle servo drive as below
1. Speed control
The servo spindle stays in speed mode when running mode is invalid, system output 0--+10V analog
voltage with corresponding signal(CW/CCW), realize control of start, stop, CW, CCW, continuously
variable and failure detection.
2. Interpolation control
The servo spindle running in position mode when running mode is valid, the spindle speed and
direction are determined by the signal of CP,DIR.
3. the spindle orientation
Spindle driver will automatic orientation according to parameter setting (CN04/5) when ORIENTATION
signal is valid. Orientation over output signal turn on contacts M10,M11.
4. Motor power on and off
Motor power on and locking when ZERO SERVO signal is valid. Otherwise, power off and release.
208
GREAT-150IM-II
MANUALS
6.7.2.2 Connection diagram of CNC controls connected with MODROL spindle servo drive
Fig6.24
As showed above, the control principle for MODROL spindle servo drive as below
1. Speed control:
The servo spindle stays in speed mode when spindle orientation is invalid, system output 0--+10V
analog voltage with corresponding signal(CW/CCW), realize control of start, stop, CW, CCW,
continuously variable and failure detection.
2. Orientation and interpolation control
When spindle orientation signal is valid, and give CW signal, servo spindle homing firstly and running
in the position mode. The speed and direction of spindle is determined by CP and DIR.
209
GREAT-150IM-II
MANUALS
Fig 6.25
Fig 6.26
As above shows, this CNC system has two direct-current power, including internal power and external
power.. "+5V", "+12V" is internal power supply for GND, which supply signal power to CNC system and
some I/O signal (need not isolate), another is external power of "+24V" base on "IPE", which supply
electrical power for external ports (such as general I/O, limit, base point etc.) and machine electric
appliance(control relay, electromagnetism brake), the +24V power is supplied by system main power
module(DC24V/0.5A) or external power module(DC24V/3A).
210
GREAT-150IM-II
MANUALS
Type
Availability
Distribution
Remark
X00-X07
IPE
X08-X27
+24V
X50-X81
+24V
Movement control
board
X53 X57
X61 X65
X69 X73
Differential
Movement control
board(J16-J21)
X151-X197
GND
Sub-panel
Sub-panel key
X198-X207
MPG I/O
GND
MPG(manual pulse
generator)
Y00-Y27
IPE
Y28 Y29
+5V
Sub-panel
Y71-Y78
+5V
Sub-panel
Y50-Y57
Movement control
I/O output
IPE
movement control
board
servo enable
Fig6.27
6.9.2.3 General I/O input port principle which is available by "+24V "
Input port of X08-X27 and 50-X81 are available by "+24V ", the connection method as follow (take X08
as example):
211
GREAT-150IM-II
MANUALS
Fig 6.28
6.9.2.4 Sub-panel input port principle which is available by " GND "
Input port of X151-X207 are available by "GND ", the connection method as follow (take X151 as
example):
Fig 6.29
CAUTION: As above shows, "GND" is low voltage level and is not isolated, therefore this
kind of signal wire can not be longer than 2 meters.
Fig6.30
CAUTION
As above shows, "+5V" is low voltage level and no isolated, therefore this kind of signal
wire can not be longer than 2 meters.
6.9.2.6 General, movement control I/O output port principle which is availability by "IPE"
Output ports of Y00-Y27 and Y50-Y57 are available by "IPE", the connection method as followed (take
Y00 control relay as example):
212
GREAT-150IM-II
MANUALS
Fig 6.31
CAUTION
Because the output ports are the transistor output, thus the load electric current can not be
more than 150mA.
6.9.2.7 Reference points connection principle
(take X-axis as example)
Fig 6.32
As above showed, there are two ways for reference point returning (through setting parameter):
A. Reference point connection principle 1
As show by Fig 1 of Fig 6.32, the principle is:
In the process of machine reference point returning, as base point switch SQ is pressed down, the X0
will be connected with 24V, the X0 signal feedback to the CNC, the CNC control motor decelerate to stop,
and control it slow backward movement until the switch SQ is released, this point is the reference point.
B. Reference point connection principle 2
As show by Fig 1 and 2 of Fig 6.32, the principle is:
In the process of machine reference point returning, as base point switch SQ is pressed down, the X0
will be connected with 24V, the X0 signal feedback to the CNC, the CNC control motor decelerates to
stop, and control it slow backward movement until the switch SQ is released, and continue to slowly
move until CNC capture the motor encode zero. This point is the reference point.
213
GREAT-150IM-II
MANUALS
NOTE
a) All the direction of reference point returning is positive, please be careful when install
base point switch.
b) We suggest choosing metal proximity switch to prevent accident occur from abnormal
reference returning for switch rebound failure.
Fig 6.33
As above showed, When X-axis move forward to limit switch SQ, +XL will be connected with +24V, the
+XL signal feedback to the CNC, the CNC will control motor to stop at once and display error information,
by this way can protect machine hard limit.
NOTE
a)The open and close status of limit switch can be set by parameter
b) in order to make sure the reliability of limit, the length of limit stopper should be not less than
30mm.
214