Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
User Manual
http:// www.sotengcnc.com
GREAT-150IM-II
MANUALS
INDEX
CHAPTER I
PREFACE ................................................................................................................................................ 1
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
GREAT-150IM-II
MANUALS
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
GREAT-150IM-II
MANUALS
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
GREAT-150IM-II
MANUALS
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
GREAT-150IM-II
MANUALS
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
GREAT-150IM-II
MANUALS
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
GREAT-150IM-II
MANUALS
Address:Chengdu,Sichuan,P.R.China
Http://www.sotengcnc.com
Tel: 0086-13551010933
Postcode: 610106
Email:angelgreatcnc@gmail.com
Fax: 0086-28-86623586
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.
,relative m oisture
30-95%
,relative
(40
)m oisture<93
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
Rapid key
lubrication on/off
adjust federate
Feed key
+X +Y +Z +4 X Y Z -4
GREAT-150IM-II
Self-definition key
K1, K2, . . . K8
Soft key
F1, F2, F8
MANUALS
GREAT-150IM-II
MANUALS
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
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
G17
G18
+X
-X
+Y
-Y
+Z
-Z
+X
11
GREAT-150IM-II
G19
MANUALS
-X
+Y
-Y
+Z
-Z
12
GREAT-150IM-II
MANUALS
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
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.
13
GREAT-150IM-II
MANUALS
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
point. Initial speed: 5000, value range: less than G00 speed of Z-axis.
NO.20 positive speed of 4th-axis as reference returning, unit: mm/min
The running speed of 4th-axis meets reference switch moving towards positive direction as returning
reference point. Initial speed: 5000, value range: less than G00 speed of 4th-axis.
NO.21 positive speed of 5th-axis as reference returning, unit: mm/min
The running speed of 5th-axis meets reference switch moving towards positive direction as returning
reference point. Initial speed: 5000, value range: less than G00 speed of 5th-axis.
NO.22 reverse speed of X-axis as reference returning, unit: mm/min
As X-axis returning reference point, the running speed of checking encoder zero position after leaving
reference switch. Initial value: 250, value range:20-500.
NO.23 reverse speed of Y-axis as reference returning, unit: mm/min
As Y-axis returning reference point, the running speed of checking encoder zero position after leaving
reference switch. Initial value: 250, value range:20-500.
NO.24 reverse speed of Z-axis as reference returning, unit: mm/min
As Z-axis returning reference point, the running speed of checking encoder zero position after leaving
reference switch. Initial value: 250, value range:20-500.
NO.25 reverse speed of 4th-axis as reference returning, unit: mm/min
As 4th-axis returning reference point, the running speed of checking encoder zero position after leaving
reference switch. Initial value: 250, value range:20-500.
NO.26 reverse speed of 5th-axis as reference returning, unit: mm/min
As 5th-axis returning reference point, the running speed of checking encoder zero position after leaving
reference switch. Initial value: 250, value range:20-500.
NOTE
1. return to reference point also named as return to machine zero point
2. the revere speed parameter value affects precision of reference returning, the smaller the value the higher
the precision, do not change the value after setting, otherwise will affect reference point position.
NO.27 max speed as rapid stop feed axis, unit: mm/min
Set the stop mode limit in running. No deceleration as the speed is higher than this parameter value,
otherwise these is deceleration as the speed is lower than this parameter value.
As one axis running speed is higher than this parameter value, system will stop the current running axis
directly if meets E-top or other failure (i.e.: limit), that means the speed of current axis will become zero from
current value directly (pay attention: now the machine zero will be lost, demand returning reference point
again); contrarily, as axis running speed is lower than this parameter value, system will control running axis
speed decelerated to zero according to normal.
NO.28 max feed speed in manual mode, unit: mm/min
The max running speed limitation to feed axis in manual mode.
NO.29 max feed speed in auto mode, unit: mm/min
The max speed of each axis in auto mode. Initial value: 12000, max value: 30000.
NO.30 max MPG speed of Z-axis, unit: mm/min
Set the max MPG speed of Z-axis in manual mode, unit: mm/min. setting range100max manual speed.
This parameter setting related to load of equipment, recommend this value is not more than 2000.
NOTE: It is valid as setting value is more than 100, otherwise, will no limit to max speed.
NO.31 max MPG speed of X, Y, (C), 4th-axis, unit: mm/min
Set the max MPG speed of X, Y, (C), 4th-axis in manual mode, unit: mm/min. setting range 100max
manual speed. If the setting value is less than 100, will no limit to max speed.
This parameter setting related to load of equipment, recommend this value is not more than 3000.
17
GREAT-150IM-II
MANUALS
18
GREAT-150IM-II
MANUALS
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
MANUALS
point, can modify the offset of machine coordinate system G53 from original status, can be applied to
adjust tool setting error. If want to return to original status, only set the offset of G53 to be 0. this offset is
cleared after system reboot or return to zero; all the work coordinates will offset correspondingly after this
parameter is set.
2. generally, work coordinate system is established in the manual mode at first time and modify it under
PARAM menu if some offset when machining. For example: tool moves to certain point and select
corresponding coordinate system, and input your intent value, system will automatically calculate the
coordinates value of original point of current coordinate system in the machine coordinate system, and
save in the parameter. If there is deviation after machining, modify the coordinate value of corresponding
coordinate system in PARAM
20
GREAT-150IM-II
MANUALS
21
GREAT-150IM-II
MANUALS
22
GREAT-150IM-II
MANUALS
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.
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:
23
GREAT-150IM-II
MANUALS
24
GREAT-150IM-II
MANUALS
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 Y-axis
return to reference, Unit: 0.1mm.
NO.37. the max length to check zero as Z-axis reference returning (0.1mm)
To set the detection range of zero pulse signal of motor encoder after release from reference switch as Z-axis
return to reference, Unit: 0.1mm.
NO.38. the max length to check zero as 4th-axis reference returning (0.1mm)
To set the detection range of zero pulse signal of motor encoder after release from reference switch as
4th-axis return to reference, Unit: 0.1mm.
NO.39. the max length to check zero as 5th-axis reference returning (0.1mm)
To set the detection range of zero pulse signal of motor encoder after release from reference switch as
5th-axis return to reference, Unit: 0.1mm.
NOTE
Value setting for parameters N0.5255 must be less than the distance of the corresponding motor rotate one
period. if match servo driver from Great CNC, please refer to following formula:
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.
26
GREAT-150IM-II
MANUALS
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): 16+2=18;
1/2 original pulse equivalent of Y axis(2 times frequency): 32+2=34;
1/2 original pulse equivalent of Z axis(2 times frequency): 64+2=66;
1/2 original pulse equivalent of A axis(2 times frequency): 128+2=130;
1/3 original pulse equivalent of X axis(3 times frequency): 16+3=19;
1/3 original pulse equivalent of Y axis(3 times frequency): 32+3=35;
1/3 original pulse equivalent of Z axis(3 times frequency): 64+3=67;
1/3 original pulse equivalent of A axis(3 times frequency): 128+3=131;
1/2 original pulse equivalent of XY axis(2 times frequency): 16+32+2=50;
1/2 original pulse equivalent of XYZ axis(2 times frequency): 16+32+64+2=114;
NOTE
1. when multiply frequency to certain axis pulse equivalent ,the corresponding drive electronic gear also need
multiply frequency, then can ensure the moving size of work table is consistent with actual size.
2. when multiply frequency to multi-axes pulse equivalent, the multiply frequency value must be consistent to
each axis.
NO.51. 4th-axis function setting (0: rotary axis, 1: linear axis)
To set the application of the 4th-axis, including rotary axis and linear axis.
As this parameter is set to be 0 means apply rotary axis mode, as this parameter set to be 1 means apply
linear axis mode. It depends on machine situation.
NO.52. 5th-axis function setting (0: rotary axis, 1: linear axis)
To set the application of the 5th-axis, including rotary axis and linear axis.
As this parameter is set to be 0 means apply rotary axis mode, as this parameter set to be 1 means apply
linear axis mode. It depends on machine situation.
NO.54. regular calculation as the 4th-axis is rotary axis (work coordi: +1; machine coordi: +2)
To set display mode of work coordinates and machine coordinates display and calculation method, when the
4th-axis is rotary axis. The calculation method includes regular calculation and irregular calculation. Regular
calculation means within the range from 0 to 360, when the data over 360, divide by 360, irregular calculation
means to increase as same as liner axes.
The input value +1 means the work coordinates show as regular method; while input value +2
means the display and calculation method are regular method. The parameter setting depends on users
circumstance.
For example
27
GREAT-150IM-II
MANUALS
When the parameter is 3(1+2), means the display and calculation of work coordinates and machine
coordinates are regular method.
NOTE
The track calculation of rotary axis function type is unrelated with above parameter, the regular or irregular of
axes track depends on programming method (absolute or increase ). when use G90 code to do absolute
programming, then will calculate in 360 regular method and run to the programming point in the shortest way;
while use G91 code increment programming ,apply irregular method , same as linear axes.
NO.56. system inner parameter
Applied to set system function, set by CNC company.
NO.58. system inner parameter
Applied to set system function, set by CNC company.
NO.59. system inner parameter
Applied to set system function, set by CNC company.
NO.100. pulse number per revolution of spindle encoder
Applied to set the pulse number per revolution of spindle encoder, the values is: encoder line x 4.
NO.101. whether check spindle position feedback (1: yes; 0: no)
To set whether the system detects spindle position feedback signal. Value 1 means to detect, value 0
means not.
This parameter is to set function connected with spindle speed, such as real revolution and degree of spindle
and rotate feed, to realize this function, spindle must possess encoder feedback signal.
NO.102. detecting degree as spindle orientating
To detect stopped degree of spindle as tool changing in the auto mode.
NO.103. degree detecting error as spindle orientating
To set position error range as spindle executes positioning function. Unit: 0.01 degree
NO.104. control mode as spindle homing (0:speed control, 1:pulse control, 2: driver control)
To set control mode of spindle zero returning (return stop degree of tool exchange)
Value0 means spindle homing realized by applying speed control mode and detect encoders degree; value
1 means spindle homing realized by applying pulse control mode and detect encoders degree; value
2 means spindle homing realized by driver self-controlling.
This parameter setting is related to spindle driver type. Set this parameter to be 2 to improve efficiency if the
spindle drive possesses self-control homing function. Otherwise set this parameter to be 0, and have to
feedback synchronous encoder signal with spindle.
NO.105. spindle running before homing(0.1s)
Set the running time before spindle homing.
NO.106. threading and spindle positioning control(0:both track; 1:thrd is interp, pos is track; 2:thrd is
track, pos is interp; 3:both interp)
To set spindle control mode when executes threading and spindle positioning. Details as followed:
0both are tracking;
1threading is interpolation and positioning is tracking
2threading is tracking and positioning is interpolation;
3both are interpolation
Tracking: means the spindle motion depends on feedback signal from spindle encoder
Interpolation: means the spindle motion depends on pulse signal from system
NO.107. delay time for spindle rotate direction abrupt changing (0.1s)
To set the delay time between last commands canceling and the next command starting as the spindle
28
GREAT-150IM-II
MANUALS
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
29
GREAT-150IM-II
MANUALS
30
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: Chinese, 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
31
GREAT-150IM-II
MANUALS
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)
31. setup type of tool radius C compensation
(0: A type, 1: B type)
32. cancellation method of tool radius C compensation (0: A type, 1: B type)
33. does M03/M04 instruction check spindle speed up to request(0: yes, 1:no)
34. delay time before spindle speed up to request (0.1s)
100. X of reference point 1(mm)
101. Y of reference point 1(mm)
102. Z of reference point 1(mm)
103. A of reference point 1(mm)
104. X of reference point 2(mm)
105. Y of reference point 2(mm)
106. Z of reference point 2(mm)
107. A of reference point 2(mm)
108. X of reference point 3(mm)
109. Y of reference point 3(mm)
110. Z of reference point 3(mm)
111. A of reference point 3(mm)
112. X of reference point 4(mm)
113. Y of reference point 4(mm)
114. Z of reference point 4(mm)
115. A of reference point 4(mm)
150. whether enable voltage compensation(2:yes, 0:no)
151. voltage compensation point 0.1V
152. voltage compensation point 0.2V
153. voltage compensation point 0.3V
154. voltage compensation point 0.4V
155. voltage compensation point 0.5V
156. voltage compensation point 0.6V
157. voltage compensation point 0.7V
158. voltage compensation point 0.8V
159. voltage compensation point 0.9V
160. voltage compensation point 1V
161. voltage compensation point 2V
32
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.
33
GREAT-150IM-II
MANUALS
34
GREAT-150IM-II
MANUALS
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 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.
35
GREAT-150IM-II
MANUALS
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 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)
36
GREAT-150IM-II
MANUALS
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;
Value1 means the establishment type of tool radius compensation is B mode.
NO.32. cancellation method of tool radius C compensation (0: A type, 1: B type)
Set cancellation types of tool radius compensation, there are two methods to cancel tool radius compensation
in this system. (refer to Chapter 4.6 for details)
Value0 means to select A mode to cancel tool radius compensation C;
Value 1means to select B mode to cancel tool radius compensation C.
NO.33. does M03/M04 instruction check spindle speed up to request (0: yes, 1:no)
To check spindle speed up to request after executing commands M03/M04 in auto running mode. Value "0"
means detect and value "1" means not to detect.
This parameter setting depends on the configuration of machine equipment and usage. to detect machine,
users need configure spindle revolution adjustment instrument and also edit PLC program to lead the spindle
revolution adjustment instrument signal to system auxiliary relay.
NO.34. delay time before spindle speed up to request (0.1s)
Set the delay time to detect revolution auxiliary relay status after the system send out M03/M04 commands
unit: 0.1s
This parameter setting depends on max spindle revolution and spindle inertia. The larger of the revolution or
the larger of the inertia, the more this parameter (the longer the spindle acceleration last)
NO.100----NO.115 reference point parameter (mm)
In this system is available to set four reference points and can modify each reference coordinates value under
reference point setting interface.
The first reference point is named as machine reference point, which is fixed on the machine and depends on
inspection device. Tool can be easily moved to machine reference point along appointed axis by using
reference returning function (manual or auto mode are both ok). The machine coordinates will be refreshed to
the first reference point coordinates value after finishing reference point returning. Usually the first reference
point is coincident with machine home. Usually the first reference point is coincident with machine zero and
all other reference points are established on base of the first reference point. refer to Fig 3.14
37
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:
38
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
The first step is to enable password: move the cursor to No.2 parameter Is enable Machine Co.s password
then press Enter into dialogue box.
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.
40
GREAT-150IM-II
MANUALS
The second step set new password: move the cursor to NO.6modify users password, then Enter
into dialogue as followed:
41
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
42
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.
43
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 the cell
wanted to search for, will find the needed cell.
44
GREAT-150IM-II
MANUALS
2. After PLC files renewed, must reboot system or shift to Ladder in the PARAM to press R
45
GREAT-150IM-II
MANUALS
46
GREAT-150IM-II
MANUALS
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
47
GREAT-150IM-II
MANUALS
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:
Compensation percentage:1
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.
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)
48
GREAT-150IM-II
MANUALS
GREAT-150IM-II
MANUALS
tool changing. Thats to say, this system will automatically memorize the difference between tool setting value
and Z-axis machine coordinates and save it.
Toolseat table setting:
Press Toolseat softkey to shift to toolseat setting interface, under Tool parameter setting interface. all
match status can be checked in the interface. as shows in Fig3.45, the left data is toolseat No and the right
data are Tool No. move , to select Tool No and Enter to dialogue box.
50
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)
51
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.
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.
52
GREAT-150IM-II
MANUALS
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.
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.
53
GREAT-150IM-II
MANUALS
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
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.
54
GREAT-150IM-II
MANUALS
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 system
and cover the original ones.
2. When using USB disk, space character is impermissible in the folder name.
Check the current software version of the system.
Check the system software version No, refer to No.7 parameter under PASSWD interface, details as
followed:
55
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)
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
56
GREAT-150IM-II
MANUALS
Fig 3.65
Run system professional communication software developed by our GREAT CNC company on PC (refer to
fig3.66)
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.
57
GREAT-150IM-II
MANUALS
3.8.8 Edit
Move the cursor to select a program under PRGM interface, then "Enter" into program editing status .refer
to fig3.67
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 G oes to last page or next page
.E nter Move to the hom e of next line
Press POS Soft key and insert line number can locate directly to the line which you insert in
.press Hom e and E nd To the hom e / end of the line
.press home Key to directly locate to home of the line.
.press E nd 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
58
GREAT-150IM-II
MANUALS
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:
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 can be modified
59
GREAT-150IM-II
MANUALS
in time. If there is no fault, a information box pops up and shows "OK, compile successfully!, refer to fig3.72.
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
60
GREAT-150IM-II
MANUALS
3.9 Manual
Press MANUAL soft key on the main panel will shift to manual operation menu. Refer to fig3.76 as followed:
61
GREAT-150IM-II
MANUALS
Fig 3.77
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
62
GREAT-150IM-II
MANUALS
the left side of the MPG generator to confirm, otherwise, not any motion.
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.
63
GREAT-150IM-II
MANUALS
surface. This function mainly used for establishing the zero point of work coordinate system. Follow the
instructions below:
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)
64
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)
65
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 speed as refer
to fig3.92
66
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
67
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 by
pressing shift key
68
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 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
69
GREAT-150IM-II
MANUALS
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.
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
70
GREAT-150IM-II
MANUALS
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.
71
GREAT-150IM-II
MANUALS
The CNC will move to the home of appointed line at the default speed of G01/G02/G03 at first, then execute
the program as 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
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
72
GREAT-150IM-II
MANUALS
For the mass program more than 3000 lines, it would be better to execute Compile operation by press C
under PRGM interface.
CAUTION
At most 3000 lines can be displayed on the program file editor in the system. If the program file is more than
3000 lines, the file can't be compiled and saved in program editing mode and may lead to program lost
73
GREAT-150IM-II
MANUALS
the spindle.select tool first and then exchange. That's to say exchange the tool Txx in the instruction to the
spindle
Tool exchange operation for umbrella tool magazine
Txx: change the tool Txx in commands to the spindle (firstly return the tool from spindle to corresponding
toolseat and then change tool Txx to the spindle; if the current tool is T00, then directly exchange it to the
spindle).
Fig 3.107
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
74
GREAT-150IM-II
MANUALS
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.
75
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
76
GREAT-150IM-II
MANUALS
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
(B/C/U/ V/W)
9999.999mm
center coordinates
IJK
9999.999mm
Step length
arc radius
0.001-999.999mm
Delay time
0.001-99.999s
meaning
Data range
77
GREAT-150IM-II
MANUALS
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
G41
07
G42
G43
G44
G45
G46
78
function
08
00
GREAT-150IM-II
MANUALS
G47
G48
G49
G37
G36
G12
G11
G52
08
11
22
00
G53
G54
G55
G56
14
G57
G58
G59
G60
G64
G68
15
16
accurate positioning
Continual path working
Coordinate rotation valid. format:
G17
G18
G68 a-b- R-; R: Angle displacement
G19
G69
G73
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
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
09
79
GREAT-150IM-II
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
G22
19
G800
G65
12
G67
G180G189
Table 2
Absolute program
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
Canned cycle return to R point: apply to hole drilling at the first time
Program cycle command
Cancel Program cycle command
Non-mode calling for macro program
G66
80
MANUALS
M02
M30
M00
M20
M98
sub-program calling
M99
sub-program end
M97
Program skip
M03
Spindle CW
M04
Spindle CCW
M05
Spindle stop
M06/M16
Exchange tool
M08
Turn on cool
M09
M10
Tighten tool
M11
Loosen tool
GREAT-150IM-II
MANUALS
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
Specify the feed value per minute (mm/min)
2. Feed per revolution G95
Specify the feed value per revolution of spindle (mm/rev)
Directly specify the value of F to define spindle feed value per revolution after specifying feed value per
minute of command G94, G94 is a mode code, it is valid before specified with G95. The default setting is feed
per minute as power on.
Set feed ratio by rotate switches on machine operation panel and override from 5% to 150% count by 10%.
Please note override function can't be applied in thread cutting commands.
81
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)
Explanation:
G92 command doesnt generate motion, just apply to set work coordinate system. X, Y, Z means the
82
GREAT-150IM-II
MANUALS
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,Y100,Z
28
(Mode)
83
GREAT-150IM-II
MANUALS
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- Z- specified 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.:
Fig 4.6
84
GREAT-150IM-II
Format:
G90
G91
(Mode, original)
(Mode)
MANUALS
; 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
85
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, 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
86
GREAT-150IM-II
MANUALS
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;
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
87
GREAT-150IM-II
MANUALS
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
88
GREAT-150IM-II
MANUALS
E.g.:
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;
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;
89
GREAT-150IM-II
format:
MANUALS
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:
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
90
GREAT-150IM-II
MANUALS
Fig 4.14
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:
91
GREAT-150IM-II
MANUALS
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;
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
92
GREAT-150IM-II
MANUALS
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 axis.
93
GREAT-150IM-II
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
MANUALS
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
compensation data in parameter are the tool locations before executing compensation.
94
GREAT-150IM-II
MANUALS
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
; start cut at Z direction
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
95
GREAT-150IM-II
MANUALS
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 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
96
GREAT-150IM-II
MANUALS
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
NOTE
97
GREAT-150IM-II
MANUALS
G22 and G800 must be applied in pairs, other cycles or sub-programs can be embedded between G22 and
G800, the recycle times determined by L word. G22 and G800 are independence instructions. If write
program blocks wanted to be repeated running between G22 and G800, the program blocks will be run
repeatedly.
e.g.:
Fig4.22
Program as follows:
N0000 G17 G90 X0 Y0 F250 M03
;set the starting 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 linear line
N0060 Y-30
; E-F linear line
N0070 G11 X140 Y-30
; set mirror
N0080 G22 L4
; cycle start
N0090 G01 X20
; F-G line
N0100 G03 X10 I5
; G-H CCW arc
N0110 G800
; cycle end
N0120 G01 X20
; I-J linear line
N0130 G01 Y-30
; cancel mirror
N0140 G12
; J-A linear line
N0150 G26
; return to program starting point
N0160 M02
; program end
98
Feed methods
Retraction
Application
GREAT-150IM-II
MANUALS
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:
99
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
100
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
P-: pause time
101
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
X1000, K5; positioning, tapping hole 4, return to point R
102
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
X1000
; positioning, boring No. 4 hole, then return to point R
Y-550
; positioning, boring No. 5 hole, then return to point R
103
GREAT-150IM-II
G98 Y-750
G80
M5
MANUALS
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)
This cycle used for normal drilling, cutting feed to the bottom of hole, pausing, then rapid retraction.
104
GREAT-150IM-II
MANUALS
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.
105
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.
106
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
Y-550 K5
; positioning, tapping No. 2 hole, then return to point R
Y-750 K5
; positioning, tapping No. 3 hole, then return to point R
107
GREAT-150IM-II
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)
108
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)
R-: the distance from original point to R point (G91) or coordinate(G90)
Q-: tool offset distance
109
GREAT-150IM-II
MANUALS
P-:pause time
F-:cutting speed
L-:repeat times
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.
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
110
GREAT-150IM-II
MANUALS
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
Y-550
; positioning, boring No. 2 hole, then return to point R
Y-750
; positioning, boring No. 3 hole, then return to point R
111
GREAT-150IM-II
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:
112
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.
Feed speed specified with F-code
Position commands
Offset value of workpiece zero
Tool compensation
The graduation unit of pendant MPG
The moving distance in increment feeding
113
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
114
GREAT-150IM-II
Format: G26
G261
G262
G263
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
115
GREAT-150IM-II
MANUALS
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
M33
M41
M42
M43
M44
(Mode)
(Mode, original)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
116
GREAT-150IM-II
M45
M46
M47
M48
M49
M50
M51
M52
M53
M54
M55
M56
M57
M58
M97 P4
MANUALS
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Mode)
(Mode, original)
(Non-Mode)
Fig4.41
The methods of sub-program calls another one as same as that main program calls sub-program.
e.g.:
117
GREAT-150IM-II
MANUALS
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
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;
118
GREAT-150IM-II
MANUALS
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
119
GREAT-150IM-II
Inside:
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
B type
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
120
B type
GREAT-150IM-II
MANUALS
Fig 4.51
Fig 4.52
Line->Arc
A type
B type
Fig 4.53
Fig 4.54
LineLine
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 Line
Line Arc
121
GREAT-150IM-II
MANUALS
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
Line Arc
Fig 4.63
Arc Line
Fig. 4.64
ArcArc
Fig.4.65
Fig. 4.66
122
ArcLine
GREAT-150IM-II
Fig. 4.67
MANUALS
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
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
123
GREAT-150IM-II
Fig 4.75
MANUALS
Fig 4.76
Fig 4.77
Start from the centre, centre coordinates G54 X0 Y0 Z50
Tool radius locates at D01 in T01 of parameter
N0000 G54 G00 X0 Y0 Z50
;machining start point
N0002 M03 S1000
; turn on spindle
N0004 G00 Y-40 X40 G90
; move out of square
N0006 Z10
;
N0008 G01 Z10 F200
;Z-axis engage
N0010 G01 G41 T01 D01 X-20 Y-20 F400
;move to the point B
N0012 Y20
; tool located on the left of workpiece and cut the straight line BC
N0014 X20
; corner transition at the point C, cut CD
N0016 Y20
; corner transition at the point D, cut DE
N0018 X-25
; corner transition at the point E, cut EB
For realizing coincident roughness, moving 5mm additional
N0020 G00 X-40 Y-40 G40
;move out of circularity
N0022 G01 G41 X20 Y20 F500 ;elongate the value of T01 along redial AB
N0024 Z20 F100
;Z-axis engage
N0026 G91 G02 I20 J20 Y0 X0
; cutting circularity
N0028 G00 Z50
;retract tool
N0030 G40 G00 X0 Y0
;cancel tool compensation
N0032 G40 M05
;turn off spindle
N0034 M02
;program end
Example 2:
124
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:
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
125
GREAT-150IM-II
MANUALS
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
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
126
GREAT-150IM-II
MANUALS
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
exclusive or
and
#i = #j OR #k ;
#i = #j XOR #k ;
#i = #j AND #k ;
remark
Explanation
1. the unit of angle
ARCSIN # i=ASIN(#j)
127
GREAT-150IM-II
MANUALS
128
GREAT-150IM-II
MANUALS
129
GREAT-150IM-II
MANUALS
130
GREAT-150IM-II
MANUALS
131
GREAT-150IM-II
MANUALS
#2008 the reverse swing time when shift spindle gear (0.01s)
#2009 whether remain the output signal when shift spindle gear (0 means NO/ non 0 means YES)
#2010 whether display self-define alarm (0 means NO/ non 0 means YES)
#2011 whether display feed axes and spindle alarm (0 means NO/ non 0 means YES)
#2012 whether display cooling overload alarm (0 means NO/ non 0 means YES)
#2013 whether display coolant lack alarm (0 means NO/ non 0 means YES)
#2014 whether display lubrication overload alarm (0 means NO/ non 0 means YES)
#2015 whether display lubrication lack alarm (0 means NO/ non 0 means YES)
#2016 whether turn off five axes simultaneous interpolation function (0 means NO/non 0 means YES)
#2017 whether detect the feedback of spindle position (0 means NO/ non 0 means YES)
#2018 whether use electric gear in spindle position feedback (0 means NO/ non 0 means YES)
#2019 spindle control methods (G74/G84/GG33 thread machining and spindle positioning)
#2020 tool managing methods (0 means use M06/ non 0 means directly exchange tool with instruction T)
#2021 tool selecting methods (0 means unilateral tool selecting /non 0 means bidirectional tool selecting)
#2022 methods of feed axes return to reference point
#2023 the maximum length of detected zero signal when zero returning
#2024 the max tool seat number of fixed tool area
#2025 which reference point does Z axis return as exchanging tools
#2026 spindle orientation stopping degree as exchange tools
#2027 control mode as spindle homing
#2028 power status of all axes as start the system
#2029 the max speed of Z axis as using hand wheel function (mm/min)
#2030 the max speed of X, Y and 4th axis as using hand wheel function (mm/min)
#2031 whether to detect spindle orientation and tool exchange point of Z axis before changing tools(none "0"
Means to detect)
#2032 Null
#2033 Null
#2034 Null
#2035 Null
#2036 Null
#2037 Null
#2038 Null
#2039 Null
#2040 Null
#2041 Null
#2042 Null
#2043 Null
#2044 Null
#2045 Null
#2046 spindle orientation stopping degree of boring canned cycle
#2047 spindle zero returning speed
#2048 spindle positioning speed
#2049 spindle positioning error range
#2050 Establishment method of tool radius compensation C
#2051 cancellation method of tool radius compensation C
#2052 the positioning direction when spindle positioning with pulse interpolation control method
#2053 the delay time when spindle rotate direction is changed suddenly (unit: 0.1s)
#2054 the acceleration when spindle with pulse control method ((mm/min)/s)
132
GREAT-150IM-II
MANUALS
#2055 whether to start tool selection function and tool exchange function
#2056 Rs232 transmitting baud rate
#2057 delay time to power on drive after powering off (unit: 0.1s)
#2058 interlock of movement of Z axis and tool seize (non 0 means to interlock/ 0 means "No")
#2059 offset value of X axis after returning reference (unit: 0.1mm)
#2060 offset value of Y axis after returning reference (unit: 0.1mm)
#2061 offset value of Z axis after returning reference (unit: 0.1mm)
#2062 offset value of 4th axis after returning reference (unit: 0.1mm)
#2063 Null
#2064 Null
#2065 Null
#2066 Null
#2067 Null
#2068 Null
#2069 Null
#2070 retraction value d of canned cycle command G73 (mm)
#2071 retraction value d of canned cycle command G83 (mm)
#2100----#2199 tool number correspond to tool seats 0---99
Macro program sentence and NC sentence
The following program blocks are macro program sentence:
The program block that contains arithmetic and logic operation
The program block that contains control sentence such as GOTO DO END.
The program block that contains macro program called commands such as use G65 G66 G67 or other
G-codes and M-codes call macro program.
All program blocks are NC sentence except for macro program sentences
Execute tool radius compensation in macro program, the command G04 isnt allowed exist in the area of
radius compensation;
If the end block of macro program is tool radius compensation, the end block cant be the non coordinates
motion program block.
Transfer and cycle
Use GOTO and IF sentences in program, can change the direction of controlling. There are three kinds of
transfer and cycle operations are available.
a) GOTO sentence is unconditional transferred
b) IF sentence conditional transferred IF THEN
c) WHILE sentence cycle
Unconditional transfer: GOTO sentence
Transfer to the program block marked with sequence number n. It is alarm when the sequence number is
designated outside the area from 1 to 99999. the sequence number can be designated by expression.
e.g.:
GOTO 1
GOTO #10
GOTOn; n: sequence number from 1 to 99999
Conditional transfer sentence IF [ <conditional expression>]
IF< conditional expression >GOTO n
Conditional expression is designated after IF.
If the designated expression meets condition, transfer to the program block which possesses sequence
number n. Otherwise, execute the next program block.
IF [< conditional expression >] THEN
133
GREAT-150IM-II
MANUALS
Explanation:
Conditional expression IF [#1 EQ #2] THEN #3=0
If expression meets condition, execute the preset macro program sentence. Only execute one macro
program sentence, if the values of #1and #2 is same, 0 is evaluated to #3.
Condition expression must contain operator. Which inserted between two variable or between variable and
constant, and closed with bracket [ ], expression can replace variable.
Operator :
Operator is composed by two letters, used for comparing magnitude of two values, to determine that one is
equals to the other or less or greater than the other. Be careful of sigh of inequality cant be used.
EQ equality=
NE inequality
GT greater >
GE greater or equal>=
LT less<
LE less or equal<=
The following program calculates the summation of 110:
#1=0 memory the initial value of sum variable
#2=1 the initial value of summand variable
N1 IF [#2 GT 10] GOTO 2 when summand greater than 10, transfer to N2
#1=#1+#2 calculates summation
#2=#2+1 adds a summand
GOTO 1 transfers to N1
N2 M30 program end
Cycle sentence (WHILE sentence)
Explanation:
Designate a conditional expression after WHILE. When it meets the condition, execute the program from DO
to END. Otherwise, transfer to the program block after END.
This kind of command format is suitable for IF sentence. The number after DO and END is the tab that
designates the executed range of program, the tab values are 1, 2and 3. If use number except 1, 2, 3 will be
error alarm, the tabs embedded in the cycle of DO END from 1 to 3 can be used time after time, but it will be
alarm when there are crossed recycle in DO range
134
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;
The calling methods of macro program as following:
The non-mode calling of macro program is: G65;
The mode calling is G66, G67;
Non-mode calling G65
When designate G65, the user macro program designated with P, the called data self variable can be
transmitted to user macro program body. With address P designates the program number of macro program
after G65.
135
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
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
136
GREAT-150IM-II
MANUALS
137
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
Y: Y-axis coordinate of hole specified with absolute value #19
Z: coordinate of point Z specified with absolute value #20
R: coordinate of point R specified with absolute value #12
F: cutting feed speed #5
L repeated times
Program 0001 that calls macro program
138
GREAT-150IM-II
MANUALS
G54G0X0Y0Z50
G90X100Y50
X10Y10G66POG81 Z-20R0F500
G1X20Y20
X50
Y50
X0Y80
G67
Called macro program OG81
#1=#4001
saveG00/G01
#2=#4003
saveG90/G91
#3=#4109
save cutting feed speed
#25=#5003
save Z coordinates at the beginning of drilling
G0G90X#18Y#19
positioning point in the plane of X-Y
Z#12
position to point R
G1Z#20F#5
feed to point Z
IF[#4010 EQ 98] GOTO 1
return to point 1
G0Z#12
positioning at the point R
GOTO 2
N1 G0Z#25
positioning at the point 1
N2 G#1 G#2 F#3
resume mode information
M99
NOTE
1. Using situation of the bracket [ ] ( ):
At following two situations must use the bracket [ ]:
1) conditional expression
e.g.: IF [#1 EQ #2] THEN #3=0
2) when the sentence after the address #,X,Y,Z,A,B,N,G,M,R,I,J,K,Q,L,P is described with one
arithmetical expression, the expression should be closed with the bracket [ ].
e.g.:
# [23+23*SIN(45)]
X [TAN(34+#12)+5]
At the rest of situation required use the bracket ( )
2. The logical compare of conditional expression can only remain three digits after the decimal point.
e.g.:
IF [#120 EQ 23.6548] THEN
Supposing #120=23.6542 because only three digits can be kept dafter the decimal point, the system
considers that #120 equals to 23.6548.
3. The length of single macro program is no more than 500 lines, no contains sub-macro program.
4. Rotation G68/G69 and canned cycle instructions can be used in the macro program, but mirror and scale
instructions cant be used in the macro program.
Rotation commands format:
G68 X_ Y_ R_: establish rotationmode
X_ Y_: specify rotation centre, R_: specify rotation degree
G69 cancel rotation (mode, original)
5. The macro variables #101---#124 have been occupied by system, user should not use them.
6. When calling a macro program with G65/G66, it had better return to the starting point of macro program
after executing the macro program.
7. Use G65 calls macro program and sub-macro program, the sub-program calling instruction M98 is not
allowed to use in macro program.
139
GREAT-150IM-II
MANUALS
8. When call sub-macro program, after designating the file of sub-macro program with the address word P,
there must be a space symbol between that and the following code
140
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
141
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
principle: start to count once input condition is met, timer relay contact get through when count value reaching
142
GREAT-150IM-II
MANUALS
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
143
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
144
GREAT-150IM-II
MANUALS
145
GREAT-150IM-II
MANUALS
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
to new a PLC file.
Fig5.8
146
GREAT-150IM-II
MANUALS
Open existing PLC file: click open under file in menu bar (refer to below fig) or click
button in
tool column and open the PLC file in the store path.
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.
147
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.
Edit direct output: Locate cursor to the point need to be edited and click
button in the tool bar, a
dialogue box pops up, just select the relevant cell and cell number correspondingly, then click Enter
Fig5.15
148
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.
"
149
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
150
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
151
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 .
152
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.
Edit reset output: move the cursor to the point need to be edited and press
GREAT-150IM-II
MANUALS
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.
154
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.
155
GREAT-150IM-II
MANUALS
156
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.
157
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
158
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
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)
12
M11
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
159
GREAT-150IM-II
MANUALS
27
M26
C positive limit
28
M27
C negative limit
M28
M29
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
31
160
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
57
58
59
M56
M57
M58
60
M59
Self-definition
61
M60
Self-definition
Self-definition
Self-definition
62
63
M61
M62
64
M63
Self-definition
65
M64
161
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
162
GREAT-150IM-II
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
MANUALS
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.
163
GREAT-150IM-II
MANUALS
164
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
165
GREAT-150IM-II
MANUALS
166
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:
167
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
press K1 on subpanel, signal input via input relay X166. as K1 stays in off status before pressed, so
168
GREAT-150IM-II
MANUALS
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
above example, use set/reset methods also can realize the function.
169
GREAT-150IM-II
MANUALS
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.
170
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
171
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
172
GREAT-150IM-II
MANUALS
Fig5.65
2. Edit relay name (edit IO.TXT file)
173
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.
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
X175: running mode (step or continual) shift key on the subpanel
175
GREAT-150IM-II
MANUALS
K1 indicator
K2 indicator
K3 indicator
K4 indicator
K5 indicator
K6 indicator
K7 indicator
K8 indicator
GREAT-150IM-II
MANUALS
Input relay:
X01: Spindle servo driver alarm;
X04: overload checking for cooling motor;
X07: overload checking for tool magazine motor;
X08: spindle tool loose checking;
X09: lubricant level checking;
X10: remote spindle tool loose checking;
X11: spindle tool seize checking
X12: tool magazine forward;
X13: tool magazine backward;
X14: tool magazine count;
X15: tool existing checking;
X27: Spindle position completing/zero returning realize checking;
Output relay:
Y00: coolant control output
Y01: tool loose/tighten output
Y03: lubrication control output
Y05: output of spindle CW control
Y06: output of spindle CCW control
Y08: output of spindle control mode shifting
Y09: output of spindle zero returning
Y10: output of tool magazine CW control
Y11: output of tool magazine CCW control
Y12: output of tool magazine forward control
Y13: red indictor (failure indictor)
Y14: yellow indicator (stop indicator)
Y15: green indictor (running indicator)
Y16: output of tool magazine backward control
Y17: output of spindle locking control
Y22: output of spindle drive power
Y23: output of feed axis drive power
General I/O original configuration of PLC, match with GT150iM for ATC tool magazine type
machining centre with CTBGA spindle servo unit
Input relay:
X01: spindle driver alarm
X02: compressed air pressure checking alarm
X03: machine door switch checking
X04: overload checking of coolant motor
X05: coolant lack checking
X06: overload checking of chip conveyor motor
X07: overload checking of tool magazine motor
X08: spindle tool loose checking
X09: lubricant level checking
X10: remote tool loose button of spindle
X11: spindle tool seize checking
X14: tool magazine count
X16: tool magazine position checking
177
GREAT-150IM-II
MANUALS
178
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
tool changing point.
179
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
confusion of tool number in the tool magazine, please make tool magazine rotates several tool locations
180
GREAT-150IM-II
MANUALS
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):
The motion process for tool changing of tool magazine
181
GREAT-150IM-II
MANUALS
1. Execute the prepare motion of tool changing or tool selection: spindle orientation and Z-axis return to
tool changing point.
2. Tool seat down
3. mechanic arm seize tool
4. spindle release tool
5. mechanic arm change tool
6. spindle tighten tool
7. mechanic arm returning
8. tool seat up
The definition for exterior I/O of tool magazine (The I/O had been firmed, not allowed to use other
function)
tool magazine counter: X14
positioning signal of tool magazine rotation: X16
mechanic arm stop signal detecting: X17
tool magazine CW rotating: Y10
tool magazine CCW rotating: Y11
mechanic arm motor running: X16
The definition of all I/O
SP ALM
ClOvld
TMg M
TLsCHE
ClLvl
MTC
TSzCHE
TMgCt
TMgPs
AmStp
AmOrg
TStUp
TStDn
TSz
SPHm
ClM
SPTLs
LUBM
SPCW
SPCCW
RgdTp
SPHm
TMgCW
TMgCCW
R
Y
G
Arm M
182
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
Y16
//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
//Arm motor
GREAT-150IM-II
SPLk
TStUp
TStDn
SPPwr
DrvPwr
Y17
Y20
Y21
Y22
Y23
MANUALS
//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.
183
GREAT-150IM-II
MANUALS
184
GREAT-150IM-II
MANUALS
Type B subpanel
Type D subpanel
Type E subpanel
185
GREAT-150IM-II
MANUALS
Type D, E
186
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.
187
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
188
GREAT-150IM-II
MANUALS
Fig6.6
189
GREAT-150IM-II
Type D subpanel
Type E subpanel
Fig6.7 subpanel dimension
190
MANUALS
GREAT-150IM-II
MANUALS
Fig6.9
Fig6.10
Temperature
Humidity
Running
Storing
-20
10
+45
~ +60
90 RH
191
GREAT-150IM-II
MANUALS
Vibration
0.5 G
Environment
capacity
Main power
AC220V
100W
External I/O
Power module
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
In this CNC system, I/O power supply is DC 24V(except for subpanel I/O), supplied by system main
192
GREAT-150IM-II
MANUALS
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.
193
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:
194
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.
195
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
196
GREAT-150IM-II
MANUALS
Fig 6.18
NOTE: Use MPG when match with A/E type subpanel.
197
GREAT-150IM-II
MANUALS
Fig6.19
6.6.4.2 Connected with subpanel
198
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
199
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
200
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
54 pin:Y24
GREAT-150IM-II
MANUALS
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
12 pin:Y56
202
GREAT-150IM-II
MANUALS
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)
8 `pin: X68/B0
203
GREAT-150IM-II
MANUALS
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
204
1 pin: PLUSE+
2 pin: DIR+
3 pin: Z+
(input)
4 pin: ALM
servo alarm
GREAT-150IM-II
5 pin: INTH
MANUALS
voltage level valid IPE(output)
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.
205
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.
6.7.2.2 Connection diagram of CNC controls connected with MODROL spindle servo drive
206
GREAT-150IM-II
MANUALS
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.
207
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).
208
GREAT-150IM-II
MANUALS
Type
Availability
Distribution
Remark
X00-X07
IPE
X08-X27
+24V
X50-X81
+24V
X53 X57
X61 X65
X69 X73
Movement control
board(J16-J21)
X151-X197
GND
Sub-panel
Sub-panel key
X198-X207
MPG I/O
GND
Y00-Y27
IPE
Y28 Y29
+5V
Sub-panel
Y71-Y78
+5V
Sub-panel
Y50-Y57
Movement control
I/O output
IPE
servo enable
Differential
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):
Fig 6.28
209
GREAT-150IM-II
MANUALS
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):
210
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.
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.
211
GREAT-150IM-II
MANUALS
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.
212