Home

IsoNs Gcode User Guide

image

Contents

1. 24 44 4 4 44 4 4 4 44 42 449 4 44 4 0 4 4 4 444 4 4 4 44 4 4 4 4 4 47 17 1 DEFINITION OF AXIS POSITIONS wisicscisisiccessssidsccssecessnonescssncssessoncosecasendssostectsacaseshensevesssesescoceesavacanecasceseasatcoss 48 17 1 1 G90 PROGRAMMING WITH ABSOLUTE 65 00 2 2 000000000000000000000000000000000000000000 48 17 1 2 G91 PROGRAMMING WITH INCREMENTAL POSITIONS 48 17 1 3 Definition of absoulte and incremental 49 17 2 WORK ORIGIN 49 17 2 1 Work origin BY INDEX 49 17 2 2 G94 Work origin at position defined with sessi seen 50 17 2 3 G54 G55 656 G57 G58 G59 Work origin from memory file esses 51 17 2 4 G92 Work origin in current axis position sese enne rn nnne 52 17 2 5 G82 Work origin in current axis position with sensor offset sessi 52 17 2 6 G98 G53 Suspend work origin 52 17 2 7 G99 Restore WOT Og D 52 17 2 8 G940 MOVE axes excluding WORK ORIGIN
2. MM _ _ __ _ _____ _ __ _ _ _ _ __ 69 17 11 2 _ ___ _ _ _ _ _ _ _ _ 69 17 12 WORK PLANE TRANSFORMATION sssccssssscccssssccccsssccccsssccccssssccenssssccsssseccssesscessssseussssscosssssonsssssnesssssonss 70 17 12 1 120 70 17 12 2 G121 Disable vertical mirtOr i iiec aret 70 17 12 3 24 gio 71 17 12 4 625 Disable horiz ntal MiO CRINES EE WII SEXY 71 17 12 5 G22 Echange axis of work plae eaaa aaraa aa aaa oaa aAa Aaa aA Aaa TA AAAA a a AAA 71 17 12 6 G23 Restore axis of work PION se aneren iea eaer ania PA 72 17 12 7 G26 Exchange axis DY 72 17 12 8 627 626 CC 72 17 12 9 G28 Restore G2 m 72 ISONS GCODE USER GUIDE 17 12 10 G51 Suspend work plane rotation nnne than asas assa sa aa daas as ss sana ada 73 17 12 11 G52 Restore work plane 73 17
3. 58 17 5 1 G36 Rotative axis 58 17 6 HARDWARE PRESET AXIS 59 17 6 1 G89 Hardware preset of axis position 59 17 7 HARDWARE PRESET OF AXIS dcicciicccccisisscasesseccsasconctsasnocoasssasdetesvacssisasendstenssrsacasesseacesesasddessocessavecesesssacsetsavensy 59 17 7 1 G84 diam CINs DI LE 59 17 7 2 583 Preset CPU T COUNTES E 59 17 8 SELECT WORK PLANE 60 17 8 1 G17 Select work plane X Y ccesecsssscccscsssessssscececsseesssaecesscsssessusessseeseneaaeassecseeesauseascessesssesssaseeseesees 60 17 8 2 G18 Select work plane 60 17 8 3 G19 Select work plane m XIX C 60 17 8 4 G70 Select work plane on axis by parameters seen 60 17 9 START SEARCH OF HOME 5 61 17 9 1 G71 St rt Homing 61 17 10 AXIS MOVEMENT FUNCTIONS ccccc
4. 102 18 6 3 G11 Disable external OVERRIDE 102 18 6 4 II gt __ _ _ ___ _ __ _ _______ _ _ _ _ _ 103 18 6 5 G80 Forced pause MM 103 18 6 6 G81 Management secondary axes 104 18 6 7 G20 Axes Values 104 18 6 8 G21 Axes Values in 104 18 7 VARIABLE MANAGEMENT 5 sensa esten uu 105 ISONS GCODE USER GUIDE 18 7 1 LOAD VAR load a variables file in current list sesenta 18 7 2 VAR Read a value from the loaded list and store it in a variable 18 7 3 WRITE VAR Write a value in the loaded list getting it from a variable 18 7 4 SAVE VAR save a variables file with current list sessi 18 7 5 FILE EXISTS test if a file C 18 7 6 ADD VAR Add a value to current 18 7 7 REMOVE VAR Remove a value from current esee eene enne nnne 18 7 8 CLEAR VAR Remove all values from the current list
5. 222 323_ _ 36 91 JIBOUNDIHRACEERST Nd 37 ISONS GCODE USER GUIDE 9 2 ISO EXPRESSIONS AND SQUARE BRACKETS cccccccsccccececeecceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeens 37 93 VARIABLE TESST 37 9 4 BIT CONTROL m 38 10 1 38 10 2 GENERIC VARIABLES 38 10 3 233 lt 2 32222 _ _ _ 39 10 4 DIGITAL INPUT OUTPUT VARIABLES ccccssssseccccceeeesssssccececeeeesssssceeceseeesssssceeseseesesesssneeeeeseseeessseeeeseneeees 39 10 5 gt gt 9 9 9 9 40 10 6 333322 323 2 2 2 2 2 _ _ _ 41 10 7 HEAD TABLE _ gt __ __ _ _ _ _ _ ____ 42 10 8 AXIS COUNTER VARIABLES 5 cusescccscssstcesesenesasccesutesasessdestcossdeincesscesusnsecessensnsausatecnstonsudesesossdasnensedexecnsseese
6. essent 18 7 9 DIM VAR Size current list to a specific number of elements sessi enne 18 7 10 COUNT VAR Get the number of elements in the current 18 8 FUNCTIONS c R 109 18 8 1 Call Of DEI Tode 18 8 2 Building of HM function 18 9 5 gt lt ____ 3_ _ _ _ lt _ _3 33 _ _ _ 111 18 9 1 M f nctions inside 111 18 9 2 M FUNCTION INSIDE 112 18 10 ESSENTIALM IET Deng e c 113 18 10 1 18 10 2 18 10 3 18 10 4 18 10 5 18 10 6 18 10 7 18 11 DEFINING 3_ 323232 lt _3 _ __ __ 115 18 11 1 G48 Define Depth I nap ro 115 18 12 MILD MODE EDGE SMOOTHING 116 18 12 1 C 116 18 13 MAIN MACHINE PARAMETERS iscccccccccccscsesccssccscccsses
7. 27 gt gt gt gt dente ua rine 27 712 PUB UT TOIT ENT ER LO RR HARD 29 _ _ _ __ _ _ _ 29 t 29 _ _ 30 2416 6259 31 32 _ _ _ gt gt HH 34 _ _ ___ _ lt 22333_3_3__3__ _ 3__ 3 lt 323 _ ___ ___ __ 34 34 _ _ 34 _ _____ 34 3 _______ __ _ 34 um I EM 35 _ 23 2_______ M 35 80 35 _ _ _ _ _ _ _ _ _ 2 2 35 _ gt 2 9 0 35 35 813 ru md Sabi pa na 35
8. gt Tool parameter 51012 Axis counter S CO Head parameter ex S H1 Special parameters Variables ex S X1 Work origin position ex S YO Work offset position 0 A 3 User generic on CN m Positive Software limit axis set Negative Software limit axis set 4 6 PREDEFINED VARIABLES 5 PARM 1 Parameter 1 for function 5 PARM 2 Parameter 2 for function 5 PARM 3 Parameter 3 for M function 5 PARM 4 Parameter 4 for function 5 PARM 5 Parameter 5 for M function ISONS GCODE USER GUIDE 4 7 NsForms INSTRUCTIONS LIB MESSAGE Show Message Box LIB SHOWFORM Show NsForm LIB CLOSEFORM Close NsForm LIB FORMPROP Set Property NsForm LIB FORMTEXT Set Caption NsForm LIB ADDLABEL Add a NsLabel to NsForm LIB LABELPROP Set NsLabel Property LIB LABELTEXT Set Text NsLabel LIB LABELPRINT Print IsoNs Variable to NsLabel LIB ADDBUTTON Add a NsButton to NsForm LIB BUTTONPROP Set NsButtonProperty LIB BUTTONTEXT Set Text NsButton LIB BUTTONPRINT Print IsoNs Variable to NsButton LIB ADDINPUT Add a NsInput Object to NsForm LIB INPUTPROP Set NsInput Property LIB INPUTSETVALUE Set NsInput Value from IsoNs Variable ISONS GCODE USER GUIDE 5 PROGRAM FLOW IsoNs all
9. Import from IsoNs folder IMPORT C FILEIMPORT TESTIMPORT ISO import from absolute path 6 9 END IMPORT Terminate in anticipated mode a program called from function IMPORT and return to back program calling Syntax END IMPORT Ex IF SVAR 0 END IMPORT END IF 22 ISONS GCODE USER GUIDE 7 NSFORMS INSTRUCTIONS 7 1 LIB MESSAGE Show a MessageBox with specifed mode The program is suspended up to executed action in MessageBox Syntax LIB MESSAGE TEXT CAPTION BUTTON ICON TEXT Body Message Text N line feed carriage return CAPTION Message Title BUTTON value or variable 0 OK 1 YES NO ICON value or variable 0 ERROR 1 WARNING 2 INFORMATION 3 QUESTION 4 NONE Ex LIB MESSAGE CONTINUE NPART PROGRAM EXECUTION WARNING 1 1 SBTN S X13 READ THE BUTTON PRESSED IF SBTN 2 END PROGRAM END PROGRAM IF PRESSED NO END IF CONTINUE PART PROGRAM EXECUTION The LIB MESSAGE instruction returned the code button pressed in the variable X13 this contain 0 Button OK pressed 1 gt Button SI pressed 2 Button NO pressed 23 ISONS GCODE USER GUIDE 7 2 LIB SHOWFORM Show a NsForm The properties must be set by LIB FORMPROP instruction The NsForm is in any case closed when the actual Part Program is finished Only one NsForm is displayed Syntax LIB SHOWFORM 7 3 LIB CLOSEFORM Close NsForm previously opened Syntax LIB CLOSEFORM 7 4 LIB FORMPROP Set the NsFor
10. 88 18 3 9 G67 Moveto for movement outside plane and Px Lineto for inside 89 18 3 10 G68 Always using of PX LINETO in G1 TRANSPORTED AXIS with possibility to combine with 5 L L L L___ _ _ _ _ _ __ 89 18 3 11 G69 LHK Buffer look ahead 90 18 4 ISONS FILTERS 9 0 91 18 4 1 G72 N U R B S Non Uniform Rational Bspline 2D 3D 92 18 4 2 673 NOISE 20 e EA Ea A A Aia A ERE Oaa a AAE A RAE RA 95 18 4 3 G74 RLS Remove Len Segment 2D 3D 97 18 4 4 G106 Smoothing 2D 3D 1 ere et rhe EEE REETA AEREA EREE NEEE ER EEEE 98 18 5 y Lc 101 18 5 1 G100 Comando sincrono per asse virtuale sessi esee nn nein enini nnns esent 101 18 6 OTHER GENERIC G FUNCTIONS veicscssiscscccscccasscosccsevcncssesscncscscsensssecdesescscduevscncsessscassescdcnedsacdnacdencscesseensevecense 102 18 6 1 CL EUR Em 102 18 6 2 G10 Enable external OVERRIDE potentiometer
11. 9 2 150 EXPRESSIONS and SQUARE BRACKETS The use of square brackets is not permitted in generic expression They are valid only for specific type of variable and exclusively in the functions listed below In these ISO instructions identify in them an expression or a variable That is because in origin ISO code accepted only numeric fields therefore to remain compatible at this standard but to have the possibility of a powerful and more flexible language IsoNs introduced square brackets to identify an expression or variable ISO INSTRUCTIONS WHERE ARE PERMITTED SQUARE BRACKETS 1 Axis positions X Y Z A B C U V W DX DY DZ DA DB DC DU DV DW Axis Feed F Speed S Tool diameter D Arc Center Arc Radius R Tool T Head H Origin index USER_ZERO Offset index USER_OFFSET Ex G1X1000 STANDARD ISO GCODE G1DX1000 INCREMENTAL VALUE THE SAME G91 G1X SVAR USE OF VARIABLE AS AXIS POSITION G1X SVAR SVAR1 SQR 18 USE OF EXPRESION AS AXIS POSITION 9 3 VARIABLE TEST To test variable IsoNs uses classic conditional operators gt lt gt gt lt They are inserted in IF ELSE END_IF cycles allowing to execute cycles conditioned to one or more variable Equal operators can be combined to other logical operators OR AND amp amp Round brackets can be used to prioritize expressions Ex IF SVAR 0 amp amp SVAR1 5 G1X100 ELSE G1X0 END IF 27 ISONS GCODE USER GUIDE 9 4 CONTROL
12. G102 X100 ACQUISITION MOVING ONLY AXIS X UP TO POSITION 100 G92 X SET WORK ORIGIN IN ACQUIRED POINT 85 XV2 68 ISONS GCODE USER GUIDE 17 11 PROGRAMMING AXIS INTERPOLATION SPEED Interpolation speed is a very important parameter to obtain a fine working Speed value is expressed in Mt min with a resolution dependent by IsoNs configuration Selected interpolation speed can be changed in automatic way arc auto reduction or manually with parameter F or override potentiometer F parameter acts only when invoked in PartProgram and however at begin of next segment OVERRIDE potentiometer instead acts in any time allowing immediately change of speed 17 11 1 Speed of axis interpolation Syntax Fval Function type MODAL Parameter Val Value in Mt min of speed Description F function set vectorial speed of the axis Such speed will be separated by interpolator according with the programmed trajectory GO movement are not affected by parameter F Ex GO X75 45 Y157 46 RAPID MOVEMENT AT F MAX F10 3 SET AXIS SPEED AT 10 3 MT MIN G1 X107 84 Y167 43 17 11 2 ARC speed auto reduction Function type Configuration programming Parameter See IsoNs configuration Description IsoNs uses a special algorithm which allows to reduce automatically axis speed during circular interpolation It simplifies F programming in path formed by arcs without to insert an appropriate speed for each arc lower speed for lower radius
13. ISONS GCODE USER GUIDE The contained information in this handbook are only informative and they can being change without warning and they must not being understandings with some engagement from Promax srl Promax srl does not assume responsibility or obligates for errors or inaccuracies that can be found in this handbook Except how much granted from the license no part of this publication can be reproduced saved in a recording system or transmitted in whatever form or with any means electronic mechanical or recording system or otherwise without Promax srl authorization Any reference to names of society or products have only demonstrative scope and it does not allude to some real organization Rev 2 0 9 O Promax srl ISONS GCODE USER GUIDE 1 INTRODUCTION This manual explains ISO programming and all relative functions The method of programming can change with the used PC model keyboard touch screen however main concept remains unchanged To manage ISO programs refer to USER INTERFACE manual 2 ISONS RULES 2 1 BLOCK A block is formed by one or more ISO function ended with CR LF character The sequence of more blocks composes a program defined PartProgram that it is managed by user interface All characters forming the block must be UPPER CASE IsoNs editor makes an automatic conversion of lower case characters G1X100Y100210 2 2 LINE NUMBER OR BLOCK NUMBER Line number or block number defines block position inside the
14. IsoNs makes available also operator to control the state of a single bit of a variable They can be used in IF ELSE END IF cycles or to set reset single bit of a variable It is also possible make a shift of the bits left or right and negate its state All bit operations can be made only on INTEGER variables excluding therefore decimal part Ex IF SVAR amp 4 TEST BIT 3 OF SVAR G1X100 BIT IS ON ELSE G1X0 BIT IS OFF END IF SVAR SVAR 1 SETBIT 1 OF SVAR SVAR SVAR amp 1 RESET ALL BITS EXCEPT BIT 1 OF SVAR SVAR 1 SVAR SVAR 3 SVAR IS SHIFTED LEFT 3 TIME 10 VARIABLE TYPES IsoNs introduced VARIABLE to increase programming facilities There are two types of variable INTEGER o DOUBLE floating point Variables can be combined in expression as all other common languages 10 1 NUMERIC CONSTANTS All explicit numeric values are numeric constants Decimal point can be used Ex G1X100 13 SVAR 25 143 10 2 GENERIC VARIABLES S All generic variable are DOUBLE type and they can be used to store values inside PartProgram When they are inserted in ISO instructions X Y Z ecc it must be delimited between square brackets 1 Minimum value 1 79769313486232 E308 Maximum value 1 79769313486232 E308 The maximum number of available variables is 2048 and are recognized by 5 prefix followed by an ALPHANUMERIC NAME Ex SVAR 1 SVAR SVAR1 5 SVAR SQR SVAR1 G1X SVAR 38 ISONS GCODE USER GUIDE 1
15. Syntax LIB ADDINPUT NAME NAME TEXT Univocal Name of NsInput Whitout special characters 0 000 P d SET VAL Button NUMERIC UP DOWN Ex LIB ADDINPUT INP Button SET when pressed writes the value in IsoNs variable identified in DEST If AUTOSET 1 the value is automatically written when this is changed 29 ISONS GCODE USER GUIDE 7 15 LIB INPUTPROP Set the NsInput properties The properties can be setted before a LIBSSHOWFORM but before is necessary that the NsInput is added to NsForm with LIB ADDBUTTON Syntax LIB INPUTPROP INPNAME PROPNAME PROPVALUE value or variable NsInput Name PROPNAME Property Name TEXT VISIBLE PropValue 0 of ZERO NsInput Invisible PropValue 1 gt of ZERO NsInput Visible default ENABLED PropValue 0 of ZERO NsInput enabled default PropValue 1 gt of ZERO NsInput disabled WIDTH PropValue gt zero Width LEFT PropValue gt zero NsInput Left position in NsForm TOP PropValue gt zero Nslnput Top position in NsForm DIMFONT PropValue Value 6 to 100 Font Dimension BACKCLOR PropValue Value 0 to 140 Set BACKCOLOR see color table FORECOLOR PropValue Value 0 to 140 Set FORECOLOR see color table ALIGN default O PropValue 0 Left 1 Center 2 Right DEST Destination variable writing Indicates the destination variable where the value is written LIB BUTTONPROP BTN DEST SVAR MIN PropValue Minimum value acce
16. 119 SEAGREEN 120 SEASHELL 121 SIENNA 122 SILVER 122 SKYBLUE 124 SLATEBLUE 125 SLATEGRAY 126 SNOW 127 SPRINGGREEN 128 STEELBLUE 129 TAN 130 131 THISTLE 132 TOMATO 133 TRANSPARENT 1344 TURQUOISE 135 VIOLET 136 WHEAT 137 WHITE 138 WHITESMOKE 139 YELLOW 33 ISONS GCODE USER GUIDE 8 MATH FUNCTIONS 8 1 SIN Return the sinus of an angle in a DOUBLE type value Syntax SIN angle angle Mandatory Angle in radiant it can bea an expression Ex SVAR SIN SVAR1 3 8 2 COS Return the co sinus of an angle in a DOUBLE type value Syntax COS angle angle Mandatory Angle in radiant it can be an expression Ex SVAR COS SVAR1 3 8 3 LOG Return the base of natural logarithm in a DOUBLE type value Syntax LOG expression expression Mandatory Expression Ex SVAR LOG SVAR1 3 8 4 EXP Return the exponential of an expression in a DOUBLE type value Syntax EXP expression expression Mandatory Expression Ex SVAR EXP 10 15 8 5 INT Return the integer part of a DOUBLE value rounded Syntax INT expression expression Mandatory Numeric expression Es SVAR 35 14 SVAR1 INT SVAR 8 6 FIX Return the integer part of a DOUBLE value truncated Syntax FIX expression expression Mandatory Numeric expression Es SVAR 35 14 SVAR1 FIX SVAR 34 ISONS GCODE USER GUIDE 8 7 ABS Return the absolute value Syntax ABS expression expression Ma
17. CHARTREUSE CHOCOLATE CORAL CORNFLOWERBLUE CORNSILK CRIMSON CYAN DARKBLUE DARKCYAN DARKGOLDENROD DARKGRAY DARKGREEN DARKKHAKI DARKMAGENTA DARKOLIVEGREEN DARKORANGE DARKORCHID DARKRED DARKSALMON DARKSEAGREEN DARKSLATEBLUE 41 42 222988958 22238 DARKSLATEGRAY DARKTURQUOISE DARKVIOLET DEEPPINK DEEPSKYBLUE DIMGRAY DODGERBLUE FIREBRICK FLORALWHITE FORESTGREEN FUCHSIA GAINSBORO GHOSTWHITE GOLD GOLDENROD GRAY GREEN GREENYELLOW HONEYDEW HOTPINK INDIANRED INDIGO IVORY KHAKI LAVENDER LAVENDERBLUSH LAWNGREEN LEMONCHIFFON LIGHTBLUE LIGHTCORAL LIGHTCYAN LIGHTGOLDENRODYELLOW LIGHTGRAY LIGHTGREEN LIGHTPINK 32 CX II 28298538959 8 101 102 103 104 LIGHTSALMON LIGHTSEAGREEN LIGHTSKYBLUE LIGHTSLATEGRAY LIGHTSTEELBLUE LIGHTYELLOW LIME LIMEGREEN LINEN MAGENTA MAROON MEDIUMAQUAMARINE MEDIUMBLUE MEDIUMORCHID MEDIUMPURPLE MEDIUMSEAGREEN MEDIUMSLATEBLUE MEDIUMSPRINGGREEN MEDIUMTURQUOISE MEDIUMVIOLETRED MIDNIGHTBLUE MINTCREAM MISTYROSE MOCCASIN NAVAJOWHITE NAVY OLDLACE OLIVE OLIVEDRAB ORANGE ORANGERED ORCHID PALEGOLDENROD PALEGREEN PALETURQUOISE MN ISONS GCODE USER GUIDE 140 YELLOWGREEN EE 105 PALEVIOLETRED 106 PAPAYAWHIP 107 PEACHPUFF 108 PERU 109 PINK 10 PLUM 111 POWDERBLUE 112 PURPLE 113 RED 114 ROSYBROWN 115 ROYALBLUE 116 SADDLEBROWN 117 SALMON SANDYBROWN
18. Continue to first encoder INDEX always with 2 VELF 4 Move axis to offset position RZERO OFFSET with FZRZERO VEL 5 Preset position at RZERO PRESET RZERO MODE 8 Backward to encoder INDEX no sensor 1 Slow backward to first encoder INDEX with FZRZERO VELF 2 Move axis to offset position RZERO OFFSET with FZRZERO VEL 3 Preset position at RZERO PRESET RZERO MODE 9 Forward to encoder INDEX no sensor 1 Slow forward to first encoder INDEX with F RZERO_VELF 2 Move axis to offset position RZERO OFFSET with FZRZERO VEL 3 Preset position at RZERO PRESET RZERO MODE 32 No searching HOME position on ENABLE DRIVE RZERO MODE 64 No searching position from ABSOLUTE ENCODER RZERO_MODE 128 HOME_MODEx256 CanOpen DS402 mode of HOMING procedure 18 13 2 6 LIMITE N _ Primary Negative limit of axis position SOFTWARE LIMIT The unit of measure depends by system resolution typically 0 001 mm for ex 10000 10mm 18 13 2 7 LIMITE Primary Positive limit of axis position SOFTWARE LIMIT The unit of measure depends by system resolution typically 0 001 mm for 2000000 2000mm 18 13 2 8 2ND LIMITE N Secondary Negative limit of axis position SOFTWARE LIMIT The unit of measure depends by system resolution typically 0 001 mm for ex 10000 10mm 18 13 2 9 2ND LIMITE Secondary Positive limit of axis position SOFTWARE LIMIT The unit of measure depends by system resolution typically 0 001 mm for 20000
19. It suspends all work origins following positions will be refer to HOMING POSITION if WORK OFFSETS G93 G95 are disabled 17 2 7 G99 Restore work origin Syntax G99 Function type MODAL Cancel G98 Description Restore work origin set with G92 or G94 disabling G98 32 ISONS GCODE USER GUIDE 17 2 8 G940 MOVE axes excluding WORK ORIGIN only the actual block Syntax G940 G1Xval Yval Function type deleting Description All axis movments follow G940 are performed with reference to home axes WORK ORIGIN EXCLUDES 17 2 9 USER ZERO Index of WORK ORIGIN LIST Syntax USER ZERO expression Function type MODAL Parameters Expression or value indicating the index of ORIGIN LIST to be used Description Work origin is enabled with the position indexed in the ORIGIN LIST by USER ZERO Ex USER ZERO 0 G94 X20Y20 STORE ORIGIN 0 USER ZERO 1 G94 X50Y50 STORE ORIGIN 1 USER ZERO 2 G94 X150Y100 STORE ORIGIN 2 USER ZERO 0 ENABLE ORIGIN O G1X10Y10 MOVE TO P1 USER ZERO 1 ENABLE ORIGIN 1 G1X10Y10 MOVE TO P2 USER ZERO 2 ENABLE ORIGIN 2 G1X10Y10 MOVE TO P3 53 ISONS GCODE USER GUIDE 17 3 WORK OFFSET IsoNs can manage up to 256 different work offsets selectable by G93 695 and USER OFFSET instructions A work offset is an additional work origin respecting G92 and G94 functions As the last one these define a point of reference in relationship with home position For example
20. Read state of WORK OFFSET Value 1 if se enabled or 0 if disabled ReadOnly S X5 Read the number of current head selected by H function ReadOnly S X6 Read the number of current tool selected by T function ReadOnly 43 ISONS GCODE USER GUIDE S X7 gt Read The RUN Type ReadOnly NORMAL RUN 1 SIMULATION RUN 2 GO BLOCK RUN 3 RETRACE RUN X8 Read Last FEED ReadOnly X9 Read coordinate mode ReadOnly 0 G90 Absolute 1 G91 Relative X10 Read work plane actived ReadOnly 0 XY G17 1 2 618 2 2 619 1 11 Read tool length offset set ReadOnly 0 None 1 Value tool length offset set X12 Read axis tool length offset set Legge ReadOnly 0 Axis X 1 Axis Y 2 Axis Z 3 Axis A 4 Axis B 5 Axis C 6 Axis U 7 Axis V 8 Axis W 44 ISONS GCODE USER GUIDE 11 4 WORK ORIGIN AND OFFSET VARIABLES These variables contain the current position of WORK ORIGIN and WORK OFFSET The maximum number of these variables is 9 one for each axis They can be used in PartProgram to read the current zero positions Work Origin Variable ReadOnly S Yn Where nis a value from 0 to 8 indicating the axis The variable will contain the current position of WORK ORIGIN of axis indicated by n Work Offset Variable ReadOnly S Wn Where nis a value from 0 to 8 indicating the axis The variable will contain the current position of WORK OFSET of axis indicated by n n 0 axis X n 1 axis Y n 2 axis 7 etc 11 5 USER GENERI
21. Syntax G48 axis name Function type immediate Parameters Axis Name ex X CZ AB etc Description G48 definisce un asse di profondit diverso da quelli scelti in automatico da IsoNs Se asse scelto uguale ad uno degli assi del piano di lavoro impostato viene generato un errore di Run Time 648 defines depth axis different to axis chose automatically by IsoNs Ex G48 A A is depth axis 115 ISONS GCODE USER GUIDE 18 12 MILD MODE EDGE SMOOTHING IsoNs can use a special algorithm for EDGE SMOOTHING With the PARAMETERS MILD X MILD Y etc you can Smooth the edge with various value The MILD MODE can be activated on single Axis The MILD set of value can be used from 200 to 20 estimated values The G49 function manages the MILD MODE Following you can see a MILD MODE example values MILD X 0 MILD 0 MILD X 100 MILD 100 MILD X 60 MILD Y 60 MILD X 20 MILD 20 18 12 1 G49 MILD MODE Managing Syntax G49 Axes Name where enable MILD MODE None Axis MILD MODE DISABLED ON ALL AXES G49 0 Suspends MILD MODE G49 1 Resumes MILD MODE on the Axes indicated in previous G49 Function type Immediate Disabled on PROGRAM STOP Parameters Axes Name Name of Axes where enable Mild Mode ex G49 XYZ etc Description G49 manages ENABLE DISABLE MILD MODE G49 with Axes Name ex G49 XY enabled MILD MODE on the Axes indicated G49 Without parameters DISA
22. bigger speed for bigger radius IsoNs does it for you The calculation is base on the centrifugal acceleration and it must be manually searched experimentally 69 ISONS GCODE USER GUIDE 17 12 Work Plane Transformation Here they are explained all function relative to manage with work plane such as rotation and mirror 17 12 1 G120 Vertical mirror Syntax G120 Function type MODAL Cancel G121 Description It enables vertical mirror on selected work plane It acts inverting automatically the sign of axis Y Ex G121 DISABLE G120 EXECUTE FIRST SQUAR GO X100 Y100 G1 X150 Y50 X100 Y100 END FIRST SQUARE G120 ENABLE VERTICAL MIRROR EXECUTE SECOND SQUARE GO X100 Y100 100 50 G1 X150 Y50 X100 Y100 END SECOND SQUAR Er 17 12 2 G121 Disable vertical mirror Syntax G121 Function type MODAL Cancel G120 Description Disable vertical mirror on work plane 70 ISONS GCODE USER GUIDE 17 12 3 G24 Horizontal mirror Syntax G24 Function type MODAL Cancel G25 Description It enables horizontal mirror on selected work plane It acts inverting automatically the sign of axis X Es G25 DISABLE G24 EXECUTE FIRST SQUAR GO X100 Y100 G1 X150 X50 X100 Y100 END FIRST SQUARE G24 ENABLE VERTICAL MIRROR EXECUTE SECOND SQUARE GO
23. disable NOISE enable FINE NOISE 3 enable NOISE enable FINE NOISE minang Minimum edge angle to be consider noise Typical default value is 25 degree Optional parameter if it isn t present last value or default value is taken minlen Minimum G1 segment length to be inserted in NOISE filter Filter acts in a buffer which has a continuous series of segments with a length less than MINLEN parameter When a segment greater than this length is met the NOISE buffer is computer making an interpolation on points Typical default value is 0 4 mm Optional parameter if it isn t present last value or default value is taken onlyvar 0 remove all edge matching the parameters 1 remove only cusps matching the parameters sudden changes of angle Typical default value 0 Optional parameter if it isn t present last value or default value is taken Not Removed e P Description NOISE filter helps to remove G1 segments forming small edge or cusps which are defined as noise This is very useful in combination with NURBS filters increasing its performance Some example are showed below to better explain NOISE filter NOISE filter acts only in 2D paths NOISE FILTER IS THE FIRST FILTER IT IS INVOKED IN THE ORIGINAL PATH 95 ISONS GCODE USER GUIDE ORIGINAL PATH GO X107 16 Y130 27 G1 X100 59 Y131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 G1 95 38 129 14 G1 X92 66 Y130 5 G1 X89 95 Y128 46 G1 86 55 Y131 41 G
24. linenumber labelname Mandatory A label of program defined with labelname linenumber Line number identified by Nxx if LineNumber 1 restart the Partprogram Ex IF SVAR1 0 GOTO CYCLE_A END_IF IF SVAR1 1 GOTO 100 GOTO 1 JUMP TO BEGIN END_IF EXECUTE CYCLE A CYCLE_A G1X100Y100 EXECUTE CYCLE B N100G1X10Y10 5 4 GOSUB RETURN Jump to and return from a subroutine defined by a label Syntax GOSUB labelname GOSUB linenumber labelname Mandatory A label of program defined with labelname linenumber Line number identified by Nxx it is mandatory that an instructions block which start with label must to end with a RETURN Ex IF SVAR1 0 GOSUB CYCLE A END IF IF SVAR1 1 GOSUB 9100 END IF EXECUTE CYCLE A 9 CYCLE A G1X100Y100 RETURN EXECUTE CYCLE B N100G1X10Y10 RETURN ISONS GCODE USER GUIDE 5 5 LABEL A LABEL defines a jump point that can be use with GOTO e GOSUB It isn t possible to have two or more LABEL with the same name because it can cause a system conflict LABELs are exclusive for every PART PROGRAM therefore ISONS defines as private the LABELs that will be found in M or HM functions so they don t have any effect in the PART PROGRAM It s a good thing to have LABEL with relevant names Syntax labelname Mandatory Indentifier of LABEL labelname Mandatory Unique name of the label All characters excluded math and logic operator are allowed Ex 9 CYCLE G1X100Y100
25. positive sensor ACTIVATED with encoder INDEX 1 Fast forward to zero sensor with FZRZERO VEL 2 Slow backward to exit from zero sensor with F RZERO_VELF 3 Slow forward to zero sensor with F RZERO_VELF 4 Continue to first encoder INDEX always with F RZERO_VELF 5 Move axis to offset position RZERO OFFSET with FZRZERO VEL 6 Preset position at RZERO PRESET RZERO MODE 4 Backward negative sensor DISACTIVATED 1 Fast backward to zero sensor with FZRZERO VEL 2 Slow forward to exit from zero sensor with 2 VELF 3 Move axis to offset position RZERO OFFSET with FZRZERO VEL 4 Preset position at RZERO PRESET RZERO MODE 5 Forward positive sensor DISACTIVATED 1 Fast forward to zero sensor with FZRZERO VEL 2 Slow backward to exit from zero sensor with FZRZERO 3 Move axis to offset position RZERO OFFSET with FZRZERO VEL 4 Preset position at RZERO PRESET 122 ISONS GCODE USER GUIDE RZERO_MODE 6 Backward negative sensor DISACTIVATED with encoder INDEX 1 Fast backward to zero sensor with FZRZERO VEL 2 Slow forward to exit from zero sensor with FZRZERO VELF 3 Continue to first encoder INDEX always with 2 VELF 4 Move axis to offset position RZERO OFFSET with FZRZERO VEL 5 Preset position at RZERO PRESET RZERO MODE 7 Forward positive sensor DISACTIVATED with encoder INDEX 1 Fast forward to zero sensor with FZRZERO VEL 2 Slow backward to exit from zero sensor with F RZERO_VELF 3
26. 12 12 50 DIAN rotation entier tee Ee ERE HER nea lea 74 17 12 13 G1050 Disable 3 76 17 12 14 G1051 Enable _ _ _ __ _ 76 17 12 15 G103 Set RTCP 78 17 12 16 6104 0 X V 78 17 12 17 II 78 18 TOOL RADIUS COMPENSATION siicccscsccccnscssccssscacsnsssscessesasonsessscnsssassnsedcassessacensevecensscuecnesssecsessasensessecnsssacansessesses 79 18 1 1 G41 G42 Enable left right radius tool compensation 79 18 1 2 G40 Disable radius tool COMPCNSALION sccccccccceseessssssesecsssessnsscesecssessesssassecseeesessaassessesssessaaeseseeesgs 79 18 1 3 80 18 1 4 ____ _ _ __ _ _ __ _ _ 81 18 2 TOOL LENGHT COMPENSATION sicscccsnscssccnsscsccnssscce
27. 2D features work plane axis or 3D features work plane axis and depth axis Filters however DOESN T ACT ON MORE THAN THREE AXIS WARNING The depth axis is automatically taken from axis XYZ which remains outside work plane Work plane X Y Depth axis Z Work plane 2 Depth axis Y Work plane YZ Depth axis X When filtering is active current working lines in PART PROGRAM can be shifted to original ones It can happen some of these are removed and other are divided in more segments SEQUENCE OF FILTER All available filters can be combined together it can be invoked in following sequence NOISE G73 if enabled NURBS G72 if enabled FINE NOISE G73 if enabled RLS G74 if enabled SMOOTHING G106 ifenabled AFC G66 if enabled ISONS GCODE USER GUIDE 18 4 1 672 N U R B S Non Uniform Rational Bspline 2D 3D Syntax G72 Yminlen Zorder Alenseg Function type Disabled when PartProgram start Parameters val 0 disable NURBS filter 1 enable NURBS filter minlen Minimum G1 segment length to be inserted in NURBS filter Filter acts in a buffer which has a continuous series of segments with a length less than MINLEN parameter When a segment greater than this length is met the NURBS buffer is computer making an interpolation on points The typical default value is 0 2 mm Optional parameter if it isn t present last value or default value is taken order Order of NURBS curve value from 1 to 7 It defines the ac
28. 300 LIB FORMPROP STARTPOSITION 1 LIB FORMTEXT TEST LABEL LIB ADDLABEL LBL LIB LABELPROP LBL AUTOSIZE O LIB LABELPROP LBL WIDTH 100 LIB LABELPROP LBL HEIGHT 50 LIB LABELPROP LBL LEFT 5 LIB LABELPROP LBL TOP 10 LIB LABELPROP LBL DIMFONT 12 LIB LABELPROP LBL ALIGN O LIB LABELPROP LBL BACKCOLOR 9 LIB LABELPROP LBL FORECOLOR 137 LIB LABELTEXT LBL MY LABEL LIB SHOWFORM 7 8 LIB LABELTEXT Write a Text in to NsLabel Syntax LIB LABELTEXT LBLNAME TEXT LBLNAME NsLabel Name TEXT NsLabel Text Ex LIB LABELTEXT LBL MY LABEL coo MY LABEL 26 ISONS GCODE USER GUIDE 7 9 Write a IsoNs Variable in to NsLabel Syntax LIB LABELPRINT LBLNAME FORMAT SVAR LBLNAME NsLabel Name FORMAT Print Format Only Integer value Fndec Nymber of decimal SVAR IsoNs variable Ex SVAR 103 2569 LIB LABELPRINT LBL 17 SVAR PRINT 103 LIB LABELPRINT LBL F1 SVAR PRINT 103 2 LIB LABELPRINT LBL F4 SVAR PRINT 103 2569 7 10 LIB ADDBUTTON Add NsButton to NsForm The NsButton properties can be setted befor a LIB SHOWFORM Syntax LIB ADDBUTTON NAME NAME TEXT Univocal Name of NsButton Whitout special characters Ex LIB ADDBUTTON BTN 7 11 LIB BUTTONPROP Set the NsButton properties The properties can be setted before 5 but before is necessary that the NsB
29. 7 7 Set the NsLabel properties The properties can be setted before a LIB SHOWFORM but before is necessary that the NsLabel is added to NsForm with LIB ADDLABEL Syntax LIB LABELPROP LBLNAME PROPNAME PROPVALUE value or variable LBLNAME NsLabel Name PROPNAME Property Name TEXT VISIBLE PropValue 0 of ZERO NsLabel Invisible PropValue 1 of ZERO NsLabel Visible default AUTOSIZE PropValue 0 of ZERO NsLabel dimension by WHIDTH e HEIGHT PropValue 1 of ZERO NsLabel automatic dimension default ENABLED PropValue 0 of ZERO NsLabel enabled default PropValue 1 of ZERO NsLabel disabled WIDTH PropValue gt zero NSLabel Width if autosize 0 HEIGHT PropValue gt zero NSLabel Height if autosize O LEFT PropValue gt zero NsLabel Left position in NsForm TOP PropValue zero NsLabel Top position in NsForm DIMFONT PropValue Value 6 to 100 Font Dimension BACKCLOR PropValue Value 0 to 140 Set BACKCOLOR see color table FORECOLOR PropValue Value 0 to 140 Set FORECOLOR see color table 25 ISONS GCODE USER GUIDE STYLE default O PropValue 0 Normal 1 Italic 2 Bold 3 Bold Italic ALIGN default 0 PropValue 0 Middle Left 1 Middle Center 2 Middle Right 3 Top Left 4 Top Center 5 Top Right 6 Bottom Left 7 Bottom Center 8 Bottom Right BORDER default O PropValue 0 None 1 Fixed Single 2 Fixed 3D Ex LIB FORMPROP WIDTH 500 LIB FORMPROP HEIGHT
30. CN 18 5 1 G100 Comando sincrono per asse virtuale Syntax G100 Xcmd Function type Direct Parameter Cmd Command code to send to CN Description G100 sends a command to CN synchronously with path Such a command must be implemented in CN by VTB environment to work properly refer to CN documentation Example to manage a digital output in fast interpolation PartProgram G60 ENABLE FAST INTERPOLATION G1X100Y100 X120Y110 X130 G100 X1 SET OUTPUT X200Y160 X210Y180 G100 CLEAR OUTPUT X300Y200 X310Y220 Two function must be implemented in CN for G100 Clear output G100 X1 Set output This is the code to be written in TaskPlc using output 0 G100 command for set clear output ISOV1 outO INTERPOLA1 cmd 101 ISONS GCODE USER GUIDE 18 6 OTHER GENERIC G FUNCTIONS 18 6 1 G4 Timed pause Syntax G4 Fvalue Function type Direct Parameter Value Time seconds resolution up to tenth of second Description allows to pause PartProgram for the time set by F parameter Ex 2 5 PAUSE OF 2 5 SEC 18 6 2 G10 Enable external OVERRIDE potentiometer Syntax G10 Function type Modal default Cancel G11 Description G10 enables speed control by external potentiometer 18 6 3 611 Disable external OVERRIDE potentiometer Syntax G11 Function type Modal Cancel G10 Description G11 disables speed control by external potentiometer 102 ISONS GCODE USER GUIDE 1
31. Cancel G61 Description G60 enables interpolation without stop on segments The threshold of angle under which axis don t stop is set by machine parameter In the points where axis don t stop it is generated an optimal trajectory minimizing error G60 avails a buffer of movements inside CN which can be set from a value up to 1024 on NG35 series It allows to work in fluid way paths formed by micro segments Fillet On Edge 18 3 2 G61 Enable interpolation with stop on segments Syntax G61 Function type MODAL Cancel G60 Description G61 enables interpolation with stop on segment In this interpolation mode axis are stop at the end of each segment 18 3 3 662 Wait for stop axis Syntax G62 Function type MODAL Description G62 waits until axis are stopped and movement buffer is empty It is useful when CN is in fast interpolation and we need to wait all movements are terminated Obviously It is obsolete working in G61 stop on segment 85 ISONS GCODE USER GUIDE 18 3 4 663 Interpolation outside work plane PX MOVETO Syntax G63 Function type MODAL Cancel G64 G65 Description G63 enables interpolation with axis outside work plane In this way it s possible to work trajectories in the space 3D without to consider the work plane The stop on segment is programmed by G62 G63 is particularly useful in 3D working where movement is formed by three or more axis Generally in this interpolation mode are execut
32. GUIDE 17 12 12 G50 Work plane rotation Syntax G50 Xcenterx Ycentery Zangle DX DY Relative value Function type MODAL Cancel G51 Parameters X Rotation center axis X Y Rotation center axis Y 2 Rotation angle degree Description It execute a rotation of work plane All following position will be modified with this transformation At each start of PartProgram rotation center is disabled Ex ROTATION OF A SQUARE SROT 0 LOOP 24 GO X100 Y100 G1 X150 X50 X100 Y100 SROT SROT 15 INCR ANGLE G50 X100 Y50 Z SROT ROTATION END LOOP 74 ISONS GCODE USER GUIDE 13 ISONS GCODE USER GUIDE 17 12 13 G1050 Disable Scaling Syntax G1050 Function type MODAL Cancel G1051 Description G1050 function disable SCALING G1051 17 12 14 G1051 Enable Scaling Syntax G1051 Xcentrox Ycentroy Zcentroz Kratioz Pratioxyz Function type MODAL Cancel G1050 Parameters X X Scaling Center se non inserito viene presa la posizione attuale dell asse X Y Y Scaling Center se non inserito viene presa la posizione attuale dell asse Y 2 2 Scaling Center se inserito viene presa la attuale dell asse 2 1 X Ratio lt 1 reduces gt 1 increases if it is not inserted uses the previous value J Y Ratio Y lt 1 reduces Y gt 1 increases if it is not inserted uses the previous value K Z Ratio Z lt 1 reduces Z gt 1 increases if it is not inser
33. Mandatory Object sub index len data Mandatory Lenght of datas inside 5 1 char 2 int 4 long Var Mandatory Variable where data will be write Ex READ FROM NODE 2 AT INDEX 24596 AND SUBIND 0 4 BYTE WRITED IN VARAIBLE SVAR1 SDO UL 2 24596 0 4 SVAR1 6 3 GET Read parameter for HM function ATTENTION PARAMETERS ARE IN REVERSE ORDER COMPARED TO HOW THEY WERE WRITED Ex HM 10 20 30 40 GET SPAR1 SPAR2 SPAR3 SPAR4 READ PARAMETERS then PAR1 40 SPAR2 30 SPAR3 20 SPAR4 10 20 ISONS GCODE USER GUIDE 6 4 READ PARMAC Read a machine parameter with name indication Syntax READ PARMAC parname Svar parname Mandatory Parameter name to read ex VJOG X Var Mandatory Variable where parameter value will be write A runtime error will be generated if parname doesn t exist ATTENTION The name of parameter must be inside Ex READ PARMAC VJOG X SVAR1 6 5 WRITE PARMAC Write a machine parameter with name indication Syntax WRITE PARMAC parname Svar parname Mandatory Parameter name to read ex VJOG X Var Mandatory Variable containing value to be write A runtime error will be generated if doesn t exist u ATTENTION The name of parameter must be inside 4 ATTENTION write of parameters can be cause system errors if execute inappropriately Ex SVAR1 100 WRITE PARMAC VJOG X SVAR1 6 6 OPT Set the option of compiler for M functions Change
34. PROGRAM Such position is useful in some features block restart retrace etc IsoNs ignores line marks Nxx before block therefore the real line number is the number showed on ISO editor window IsoNs ignores N10 and N30 characters therefore the real Wio cixioovioo line showed on the left bar 1 and 2 in this example H30 G4F2 2 3 PROGRAM RUNNING Program running is made by IsoNs user interface When in run program can be PAUSED or STOPPED 2 4 AXIS IsoNs don t use any particular convention to define axis type linear rotative by name XY etc Definition must be setted only in configuration IsoNs manages up to 9 axis with the following names X Y Z A B C U V W 2 5 All axis refer to an HOME POSITION made after switch on Home position follows an HOMING procedure selected by relative machine parameters 2 6 WORK ORIGIN IsoNs manages up to 256 different WORK ORIGINS Each origin defines a reference point of zero all following positions refers to this point Origins can be set both manually by interface and with dedicated instructions inserted in PartProgram Furthermore they can be SUSPENDED RESTORED or DISABLED 2 7 WORK OFFSET As well origin IsoNs can manage up to 256 WORK OFFSET An OFFSET works as a new origin manageable only with PartProgram Also OFFSETS can be SUSPENDED RESTORED or DISABLED 2 8 HEADS IsoNs manages 256 working HEADS for a single machine Each head refers to ma
35. TABLE VARIABLES They allow to read PARAMETERS from selected TOOL TABLE with Tn The list below describes all parameters available for each TOOL TABLE and as showed they are up to maximum of 20 parameters per each tools Tool table variable Read Write Un Where is a value from 0 to 19 indicating the parameter address S AREAS READ DIAMETER OF THE SELECTED TOOL Address Description 0 Tool diameter 1 Tool length 2 Maximum tool rpm speed 3 User Define 1 4 User Define 2 5 User Define 3 6 User Define 4 7 User Define 5 8 User Define 6 9 User Define 7 10 User Define 8 11 User Define 9 12 User Define 10 13 User Define 11 14 User Define 12 15 User Define 13 16 User Define 14 17 User Define 15 18 User Define 16 19 User Define 17 ISONS GCODE USER GUIDE 10 7 HEAD TABLE VARIABLES These variables allow to read and write parameters of the selected HEAD TABLE with Hn The list below describes all parameters available for each HEAD TABLE and as showed they are up to maximum of 20 parameters per each head Tool table variable ReadOnly S Hn Where a value from 0 to 19 indicating the parameter address ARES READ OFFSET X Address Descrizione 0 Head offset from home position of axis X 1 Head offset from home position of axis Y 2 Head offset from home position of axis Z 3 Head offset from ho
36. axes and check if the real position is near to target 5 4 Insert the PID KP and PID KI WARNING This operation must be did with Axis disconnected from mechanical part 18 14 1 4 LIMIT Integrative Limit 18 14 1 5 PID DIV PID parameters Magnitude Increase this parameter for Increase the PID parameter resolution Ex PID DIV 10 1 It Is the same DIV 100 KP 10 18 14 1 6 PID SERVO Maximum following error micron If the Axis exceeds this value an alarm is invoked must be exceeds this value for a PID TIME SERVO time 18 14 1 7 PID TIME SERVO If the Axis exceeds the PID SERVO for a time lower of PID TIME SERVO Millisecond The ERROR isn t invoked 18 14 1 8 PID DIR Analog Outputs Direction 0 or 1 Set this parameter for tuning the Axis direction with Analog Output WARNING For change the Axis direction ex CW in CCW is necessary Change this Parameter and also change the SIGN of MSOF parameter ex 5000 to 5000 18 14 1 9 PID OFFS ANA Reset the analog output Offset With all PID parameters set to ZERO set this parameter until the axis is stationary when it is enabled 128 ISONS GCODE USER GUIDE Index 2 22 _ 2 _ 3 _ lt lt 3 2 2 LINE NUMBER OR BLOCK NUMBER cssccssssscssccescsscssccesseccecccecsescescceeseccecececseccesecesseccececesseccececesseccesseesseccuecs 3 2 3 PROGRAM RUNNING cccssccscssccssccssseccnsccssceccescceeseccesecees
37. degrees Syntax G85 XYZ etc Function type IMMEDIATE Parameters X Y Z A B C U V W axis to be preset Description The G86 function is used for rotative axes It preset in hardware mode the absolute axis position to the relative angle Ex position axis is 1 450 the relative degrees is 10 17 3 5 G96 Suspend work offset Syntax G96 Function type MODAL Cancel G85 G93 G95 Description It suspends all work offset following positions will be refer to HOMING POSITION if WORK ORIGINS G92 G94 disabled 17 3 6 G97 Restore work origin Syntax G97 Function type MODAL Cancel G96 Description Restore work offset set with G93 or G95 disabling G96 17 3 7 USER OFFSET Index of WORK OFFSET LIST Syntax USER OFFSET expression Function type MODAL Parameters Expression or value indicating the index of OFFSET LIST to be used Description Work offset is enabled with the position indexed in the OFFSET LIST by USER OFFSET 55 ISONS GCODE USER GUIDE Ex USER OFFSET 0 G94 X20Y20 STORE OFFSET USER OFFSET 1 G94 X50Y50 STORE OFFSET 1 USER OFFSET 2 G94 X150Y100 STORE OFFSET 2 USER OFFSET 0 ENABLE OFFSET 0 G1X10Y10 MOVE TO P1 USER OFFSET 1 ENABLE OFFSET 1 G1X10Y10 MOVE TO P2 USER OFFSET 2 ENABLE OFFSET 2 G1X10Y10 MOVE TO P3 Refer to ORIGIN example for drawing 56 ISONS GCODE USER GUIDE 17 4 Work head selection H function IsoNs can manage up to 2
38. disabled or index of axis master GANTRY_W gt 8 disabled or index of axis master Nou A To enable GANTRY function it must be supported application 18 13 2 21 SGL3D It defines the threshold to detection of EDGE in 3D interpolations This is used by G65 G67 or by AFC filter G66 The value is approximatively expressed in tenth of degree The proper value must be found from dynamics of the machine In G65 or G67 interpolation when an axis overcomes this threshold axis are stopped Reference value for SGL3D THRESHOLD in DEGREES VALUE OF SGL3D min max 5 60 90 10 125 175 20 250 350 30 300 500 45 400 700 18 13 2 22 SGLAFC It defines the threshold for AFC G66 to automatic reduction of the speed This value determines the maximum speed change of each axis tolerates When in the path are found values higher than SGLAFC speed is reduced The value depends by dynamic of machine 18 13 2 23 MILD It Defines the MILD MODE value see G49 functions Estimated values from 200 to 20 0 or 1000 DISABLED 125 ISONS GCODE USER GUIDE 18 13 2 24 BACKLASH Parameter for BACKLASH compensation The unit of measure depends by system resolution typically 0 001 mm for ex 10 0 01mm 18 13 2 25 TBCK It define a time to achieve the BACKLASH recovery If Se TBCK gt BACKLASH it is recovered in a single CN sample else it is divided in more samples The
39. from 0 to MAX Ex PF 0 100 FEED 100 PF O S VAR FEED SVAR 15 PS n STOP Positioner Stop POSITIONER n Positioner NUMBER from 0 to MAX Ex 5 0 Stop positioner 0 16 Read status Positioner Read the status postioner n Positioner NUMBER from 0 to MAX par Parameter 0 Return 0 Axis Stop fermo 1 Axis movment 1 READ demand position 2 READ actual position 3 Return 1 axis enabled 0 axis disabled 4 Return 1 HOMING make 0 HOMING not make 5 Return 1 axis in ALLARM 0 OK Ex SVAR _PM 0 par 47 ISONS GCODE USER GUIDE 17 WORK SETTING In this charter are defined all axis motion functions 17 1 DEFINITION OF AXIS POSITIONS They define axis positions in the several interpolation functions GO G1 G2 G3 The axis code can be followed by a numeric value or by an expression identifying the position AXIS CODES X Axis X Y Axis Y Z Axis Z A Axis A B Axis B Axis U Axis U Axis Ww Axis V Arc center for first axis of work plane J Arc center for first axis of work plane R Arc radius Syntax CODE value or expression Ex X100Y20 POSITION BY NUMERIC VALUE DX100Y20 RELATIVE AND ABSOLUTE X SVAR Y SVAR1 POSITION BY VARIABLES X COS SVAR SVAR1 POSITION BY EXPRESSION 17 1 1 690 PROGRAMMING WITH ABSOLUTE POSITIONS Syntax G90 Function type MODAL default Cancel G91 Description All following positions refer to current ZERO HOME POSITION WORK ORI
40. is disabled Ex G36 X1A G1 A45 G1 A315 first movement G1 A45 second movement G1 A315 45 315 45 270 90 270 m 180 180 Mode 2 3 Always positive negative The selected axis rotates always in the same sense G36 X2A G1 A45 G1 A315 first movement G1 A45 second movement G1 A315 0 315 45 45 0 270 90 180 180 58 ISONS GCODE USER GUIDE 17 6 HARDWARE PRESET OF AXIS In partucuar cases can be necessary preset axis positions in Hardware mode allowing to avoid Overflow in single direction axis Hardware preset must be used with particular attention because if axis works with a following error it doesn t take into consider Consequently it s possible to lost encoder pulses and reference to home position 17 6 1 689 Hardware preset of axis position Syntax G89 Xvalue Yvalue DX DY ecc Relative value Function type DIRECT Cancel All origin and offset functions Parameters X Y Z A B C U V W followed by preset value Description It defines a new value for current axis positions 17 7 HARDWARE PRESET OF AXIS In some cases it is necessary to preset the counters of the axes after recovering from a PAUSE or to RETRACE This is because during the PAUSE or first RETRACE the axes are moved using special functions shift type etc Not properly updating the counters abnormal movements may occur during the step of interpolation axes Generally counters axes are always updated and therefore there is no need an
41. make a simple PLC structure directly from ISO language without CN programming 1 variables consider only 0 and 1 values These variables when inserted in PartProgram allow direct access to without waiting axis movement sync Therefore in specific cases can need to use G62 code wait end movement to have sync between axis 1 0 Input Variables Read only In Where n is a value from 0 to 255 and it identifies CN input Value 0 Input OFF Value 1 Input ON Output Variables Read Write On Where is value from 0 to 255 and it identifies CN output Value 0 Input OFF Value 1 Input ON Ex IF 5 10 1 F 1st INPUT IS ACTIVE S O5 1 SET 6th OUTPUT ELSE 5 05 0 ELSE CLEAR IT END_IF 39 ISONS GCODE USER GUIDE 10 5 TIMER VARIABILES These variables are useful to set system TIMERS Timers can be used to make delays time outs etc The maximum numbers of timers available is 10 TIMERS are written with a time in milliseconds After TIMER is set it starts automatically to decrement until its value reach O Timer Variables Read Write Tn Where is a value from 0 to 9 and it identifies the timer number Ex TO 1500 SET TIMER AT 1550 MILLISECONDS 1 5 SECONDS CICLO IF S 10 1 GOTO EXIT EXIT IF INPUT 115 ON END IF IF S TO 0 TEST TIMER ERROR 10 F TIMER ELAPSES STOP PARTPROGRAM WITH ERROR 10 END IF GOTO CICLO REPEAT CYCLE EXIT 40 ISONS GCODE USER GUIDE 10 6 TOOL
42. number of samples will be BACKLASH TBCK With the result rounded up Ex BACKLASH 100 TBCK 80 N SAMPLES 1 25 gt 2 samples Sample is defined in the VTB application on CN typically 2 msec It s recommended to distribute the BACKLASH recovery in more sample when it is high over 3 4 hundredths 18 13 2 26 TSHF It define a time to achieve the SetShiftAxis recovery This value indicate the increment xTAU Ex TAU 2 Ms ValShift 100 TSHF_ 10 The entire position is reached in 20 Ms 18 13 2 27 WR_SPD9 It define automatic write SPEED S to variable USER GENERIC 10 to NC WR SPD 0 Automatic write disabled WR SPD 1 Automatic write Enabled If WR_SPD 1 when the S value of PartProgram is automatically writing to NC Variable User Generic 10 18 13 2 28 RFG It define automatic limitation FEED in G1 G2 G3 RFG 0 Whitout limitation RFG 1 If the velocity exceeds that of the single axis VMAX it is limited 18 13 2 29 JERK It define the value of JERK for S Ramp If the value is ZERO the S ramp is disabled use trapezoidal ramp Value 0 enable S ramp Max value 100 18 13 2 30 CR LIMIT Enables or disables the prior control of axis limits If enabled each START PART PROGRAM is not performed if the axes exceed the limits set machine CR LIMIT O Disable CR_LIMIT 1 Preventive control GO G1 activated only on the final point of 62 63 CR 2 Preventive control activated G0 G1 G2 G3 with explosion of ARCS 126 ISO
43. of one shaft revolution If incremental encoder are connected to CN the pulse number must be multiplied for 4 to adjust hardware decoder It works strictly related with DSOF indeed the ratio MSOF DSOF is used to transform unit from pulse to millimetres 18 13 2 19 DSOF_ It defines the envelope one shaft revolution It works strictly related with DSOF indeed the ratio MSOF DSOF is used to transform unit from pulse to millimetres This value determines the unit of measure of the system Typically it s put a value in thousandths of mm Accordingly it must set RESQUOTE parameter properly 10 gt Tenth of mm 100 gt Hundredths of mm 1000 gt Thousandths of mm 10000 gt 0 1 Thousandths of mm 100000 gt 0 01 Thousandths of mm 124 ISONS GCODE USER GUIDE 18 13 2 20 GANTRY It defines the index to which axis get the position value This function can be used to enable GANTRY function This is the relationship from index and axis name gt AXIS X gt AXIS Y gt AXIS Z gt AXIS A gt AXIS gt AXIS gt AXIS U gt AXIS V gt AXIS W To enable GANTRY function GANTRY_X 0 disabled or index of axis master GANTRY_Y gt 1 disabled or index of axis master GANTRY_Z gt 2 disabled or index of axis master GANTRY A gt 3 disabled or index of axis master GANTRY_B gt 4 disabled or index axis master GANTRY_C gt 5 disabled or index of axis master GANTRY_U gt 6 disabled or index of axis master GANTRY_V gt 7
44. only in the actual block esses 53 17 2 9 USER ZERO Index of WORK ORIGIN 57 nn nnns nnne 53 17 3 WORK e 54 17 3 1 G93 Work offset at position defined with parameter eese esee eene 54 17 3 2 G95 Work offset in current axis nnns sanas nana 54 17 3 3 G85 Work offset in current axis position with sensor offset sessi 54 131 ISONS GCODE USER GUIDE 17 3 4 G86 Hardware preset axis on module 360 degrees sessi esee eene nhanh 55 17 3 5 96 Suspend work offset oi t ERU rao ER CERTE e e TR YER RR ERE 55 17 3 6 G97 Restore Work Origif 55 17 3 7 USER OFFSET Index of WORK OFFSET 116 2 12 202000220 000000000000 55 17 4 WORK HEAD SELECTION FUNCTION jascsssicsvnsssaccscssoncosesavccsscsnsecascsnosctonsasessnccssteteasevansnesaoncavesapeonsssnsasssasas 57 17 4 1 _ 57 17 4 2 G87 S spend head offset ii 57 17 4 3 688 Restore hedd offset lt C 57 17 5
45. segment Setting a RADIUS 0 the function is disabled Ex NORMAL PATH WITHOUT G30 GO 75 45 157 46 G1 107 84 Y167 43 G1 X108 3 Y142 73 61 X117 36 Y150 44 G1 X126 2 Y139 34 G1 X140 92 Y142 51 Ex SAME PATH USING G30 X75 45 Y157 46 G30 R5 A20 RADIUS 5 ANGLE 20 deg 61 X107 84 Y167 43 G1 X108 3 Y142 73 G1 X117 36 Y150 44 61 X126 2 Y139 34 G1 X140 92 Y142 51 T R 5 mm 64 ISONS GCODE USER GUIDE G31 Suspend of automatic insert of fillet Syntax G31 Function type MODAL Cancel G30 Description Suspend 30 It can be restore with G32 17 10 5 G32 Restore of automatic insert of fillet Syntax G32 Function type MODAL Cancel G31 Description Restore G30 suspended by G31 65 ISONS GCODE USER GUIDE 17 10 6 G33 Enable automatic insert of bevel on edges Syntax G33 Rlen Aangle Function type MODAL Cancel G30 Parameter R lenght of bevel len 0 disables the function A Angle degree of insert threshold Description G33 inserts automatically bevels on edges The bevel length is defined with parameter R parameter A defines the angle threshold under which G33 function doesn t intervenes leaving path unchanged This function is useful to soften movement in angular path Bevel is inserted only if it can be container inside two segment Setting RADIUS O the function is disabled Ex NORMAL PATH WITHOUT G33 GO 75 45 157 46 G1 107 84 Y167 43 G1
46. the radium tool compesation both left and right 79 ISONS GCODE USER GUIDE PATH WITH G41 Ex D5 DIAMETER 5mm G41 LEFT COMP GOX30Y40 G1X10Y10 G1X50Y30 G2X80Y30R15 G1X90Y25 G1X110 G1X130Y20 G40 PATH WITH G40 ADDING ARC Ex D5 DIAMETER 5mm G42 RIGTH COMP GOX30Y40 G1X10Y10 G1X50Y30 G2X80Y30R15 G1X90Y25 G1X110 G1X130Y20 G40 PATH WITH G42 18 1 3 D Tool diameter Syntax Dvalue Function type MODAL Cancel Tn optional correction set by TOOL TABLE Parameter Value Tool diameter in mm Description D allows to set the value in mm of tool diameter to be used with G41 G42 Tool diameter D must be set before G41 G42 and it must not changed until the compensation remains active ISONS GCODE USER GUIDE 18 1 4 G47 Set tool entry mode Syntax G47 Xval Function type MODAL Description G47 allow to choose two modes of tool entry The default mode is 647 X0 compensation starts on next segment With G47 X1 compensation starts immediately and it is useful with closet shape Ex Working with G47 XO default Ex Working with G47 X1 NOTE Using G47X1 tool must be positioned in start point byl PartProgram so already shifted from shape of tool radium The end of compensation instead must follow this scheme 60 Z UP raise 2 G40 disable compensation G1 Z UP raise Z again Example for compensation of a square G47 X1 F2 5 GO
47. used Tn It is used for tool management Damaged In practice when the measurement tool detects that the tool is damaged through RESUME T you can redo the work from last tool change made The parameter that follows RESUME T is the tool alternative to that Damaged This parameter is taken from the table tools Syntax RESUME T Tool nr Tool nr Alternative Tool Number 5 10 SAVE T Saves the tools table in IsoNs cfg file With PartProgram is possible modify the tools table value SAVE T saves in permanent mode the modify Syntax SAVE T 11 SELECTED T1 5 00 10 WRITE TOOL DIAMETER INDEX TABLE 0 U1 100 3 WRITE TOOL LENGHT INDEX TABLE 1 SAVE T SAVE THE TOOLS TABLE ISONS GCODE USER GUIDE 6 GENERIC INSTRUCTIONS 6 1 SDO DL CanOpen SDO Down Load function refer to CanOpen documentation Write data in a CanOpen node Syntax 500 DL node index subindex len data Svar node Mandatory CanOpen node index Mandatory Object index subindex Mandatory Object sub index len data Mandatory Lenght of datas inside 5 1 char 2 int 4 long Var Mandatory Variable containing data Ex SEND TO NODE 2 AT INDEX 24596 AND SUBIND O 4 BYTE FROM VARIABLE SVAR1 500 DL 2 24596 0 4 SVAR1 6 2 SDO UL CanOpen SDO Up Load function refer to CanOpen documentation Read data in a CanOpen node Syntax SDO UL node index subindex len data Svar node Mandatory CanOpen node index Mandatory Object index subindex
48. 0 3 AXIS POSITION VARIABLES These variables contain the position value of axis and accordingly they are read only The maximum number of these variables is 9 They can be used in PartProgram to read axis position in a given time Demand axis position ReadOnly Qn With n from 0 to 8 it identifies the axis The value of DEMAND POSITION is written in the variable and it refers to a RELATIVE value inclusive of WORK ORIGIN and OFFSET With n from 100 to 108 it identifies the axis subtracting 100 The value of DEMAND POSITION is written in the variable and it refers to an ABSOLUTE position from HOME position Actual axis position ReadOnly S Rn With n from 0 to 8 it identifies the axis The value of ACTUAL POSITION is written in the variable and it refers to a RELATIVE value inclusive of WORK ORIGIN and OFFSET With n from 100 to 108 it identifies the axis subtracting 100 The value of ACTUAL POSITION is written in the variable and it refers to an ABSOLUTE position from HOME position Relative position Absolute position 0 AXIS X n 100 AXIS X n 1 AXIS Y n 101 AXIS Y n 2 AXIS Z n 102 ASSE Z 5 00 gt 100 3 OF X AXIS DEMAND POSITION G101 END IF SVAR S R1 READ ACTUAL POSITION OF Y AXIS 10 4 DIGITAL INPUT OUTPUT VARIABLES These variables allow to read all digital input or set reset all digital output of CN Rember digital output can be shared with PLC cycle on CN This facilities is useful to
49. 00 2000mm 18 13 2 10 LIMITE N Pn Negative limit positioner 18 13 2 11 LIMITE P Pn Positive limit of positioner 123 ISONS GCODE USER GUIDE 18 13 2 12 DSOFV Software divider for the position of electronic manual hand wheel It reduces or increases its resolution A negative value reverse the direction It is strictly related to VTB application for ex Encoder Pulse 100 pulse rev SCALA 1 VTB application parameter FILTRO 10 VTB application parameter DSOFV 10000 pulse x filtro x 10 thousandths Working with default resolution of 0 001mm we obtain a hundreds for each encoder pulse 18 13 2 13 RZERO_OFFSET Value of axis positioning after homing procedure see RZERO MODE parameter for details The unit of measure depends by system resolution typically mm 18 13 2 14 RZERO_PRESET Value of preset position after homing procedure see RZERO MODE parameter for details The unit of measure depends by system resolution typically mm 18 13 2 15 RZERO VEL Fast speed for homing procedure see RZERO MODE parameter for details The unit of measure depends by system resolution typically mm min 18 13 2 16 RZERO VELF Slow speed for homing procedure see RZERO MODE parameter for details The unit of measure depends by system resolution typically mm min 18 13 2 17 RZERO ACC Acceleration for all movement of homing procedure See the above note to detail for unit of measure 18 13 2 18 MSOF It defines the number of pulse
50. 1 82 24 129 14 61 77 71 Y132 31 G1 72 95 Y128 91 G1 67 97 132 31 G1 62 98 129 37 G1 57 55 133 45 G1 X52 34 129 59 PATH FILTERED with MinAng 45 MinLen 5 G69X200 ABILITA LHK 73 1 4575 GO 107 16 130 27 G1 100 59 131 18 G1 100 14 129 37 G1 96 74 Y130 73 G1 95 38 129 14 G1 92 66 130 5 G1 89 95 128 46 G1 86 55 131 41 G1 82 24 129 14 G1 77 71 Y132 31 G1 X72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 X57 55 Y133 45 G1 X52 34 Y129 59 PATH FILTERED with MinAng 45 MinLen 3 G69X200 ABILITA LHK G73X1Y4523 GO X107 16 Y130 27 G1 X100 59 Y131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 G1 X95 38 Y129 14 G1 X92 66 Y130 5 G1 X89 95 Y128 46 G1 X86 55 Y131 41 G1 X82 24 Y129 14 1 77 71 132 31 G1 72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 X57 55 Y133 45 G1 X52 34 Y129 59 96 ISONS GCODE USER GUIDE 18 4 5 G74 RLS Remove Len Segment 2D 3D Syntax G74 Xval Ylenmin Function type Disabled when PartProgram start Parameters val 0 diable RLS filter 1 enable RLS filter lenmin Minimum G1 segment length allowed Segments with length less than this value are removed Typical default value is 0 5 mm With lenmin 0 the value is automatically calculated by programmed speed Optional parameter if it
51. 258 703 15 G01 7 1 36 1945 260 416 15 40 7625 257 8465 44 7595 260 1305 52 7535 260 416 63 6025 256 99 67 0285 250 138 63 0315 247 854 60 1765 244 428 64 7445 239 289 61 033 239 289 62 746 234 721 65 601 235 863 70 4545 235 5775 75 0225 238 147 X84 7295 237 8615 87 299 239 86 95 5785 239 86 99 0045 241 002 101 2885 236 1485 107 284 237 576 116 1345 231 866 145 2555 233 008 158 103 230 4385 170 9505 234 15 178 088 232 1515 X194 9325 229 2965 200 357 232 437 205 7815 219 304 196 0745 216 1635 193 7905 207 5985 196 6455 199 89 193 7905 198 748 196 36 190 4685 194 076 186 4715 194 9325 182 4745 199 5005 179 334 193 7905 177 9065 200 0715 175 0515 193 7905 172 7675 198 644 170 769 191 5065 167 343 196 6455 163 346 191 221 161 062 195 789 158 207 188 0805 156 494 191 792 153 068 188 0805 150 784 191 5065 148 2145 179 801 138 793 160 387 147 0725 GO 160 387 147 0725 100 ISONS GCODE USER GUIDE 18 5 VIRTUAL AXIS Virtual axis are commands inserted in the interpolation buffer but they don t refer to a real axis In detail they are synchronous commando which can enable events in precise point of path This commands must be used when CN works with fast interpolation Furthermore command function must be implemented in
52. 28 46 61 86 55 Y131 41 G1 X82 24 Y129 14 G1 X77 71 Y132 31 G1 X72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 X57 55 Y133 45 G1 X52 34 Y129 59 PATH FILTERED with NURBS MiLen 7mm Order 3 LenSeg 0 2mm G69X200 ENABLE LHK ENABLE NURBS LEN 7 MM ORDER 3 SEGMENT 0 2 G72X1Y7 GO X107 16 130 27 G1 X100 59 Y131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 G1 X95 38 Y129 14 G1 X92 66 Y130 5 G1 X89 95 Y128 46 G1 X86 55 Y131 41 G1 X82 24 Y129 14 61 77 71 Y132 31 G1 X72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 X57 55 Y133 45 G1 X52 34 Y129 59 PATH FILTERED with NURBS MiLen 5mm Order 3 LenSeg 0 2mm G69X200 ENABLE LHK ENABLE NURBS LEN 5 MM ORDER 3 SEGMENT 0 2 G72X1Y5 GO X107 16 Y130 27 G1 100 59 131 18 G1 100 14 129 37 G1 96 74 130 73 61 95 38 129 14 G1 X92 66 130 5 G1 X89 95 Y128 46 G1 X86 55 Y131 41 G1 82 24 129 14 G1 X77 71 Y132 31 61 X72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 X57 55 Y133 45 G1 X52 34 Y129 59 SEGMENT LENGTH 5 mm not filtered 93 ISONS GCODE USER GUIDE PATH FILTERED with NURBS MiLen 7mm Order 5 LenSeg 0 2mm With higher order NURBS path deviates most from the original path G69X200 ENABLE LHK G72X1Y7Z5 GO X107 16 Y130 27 G1 X100 59 131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 G1 X95 38 Y129 14 G1 X92 66 Y130 5 G1
53. 56 different tools heads Each head refer to home position by the value in the HEADS TABLE By default no head is enabled with Hn function it s possible to select one of 256 available heads first head 0 All offset one for each axis of the selected head will be automatically enabled 17 4 1 Hn Select head Syntax H expression Function type MODAL Parameters Expression or value identifying selected head firts head O Description Offset of the selected head are enabled Ex HO SELECT FIRST HEAD 17 4 2 687 Suspend head offset Syntax G87 Function type MODAL Cancel G88 Description Offset of selected head are disabled Ex G87 SUSPEND HEAD OFFSET 17 4 3 688 Restore head offset Syntax G88 Function type MODAL Cancel G87 Description Last enabled head offset are restored Ex G88 RESTORE HEAD OFFSET 27 ISONS GCODE USER GUIDE 17 5 ROTATIVE AXIS IsoNs can manage rotative axis in several modes G36 function selects mode 17 5 1 636 Rotative axis definition Syntax G36 Xmode AXISNAME Function type MODAL Parameters Mode 0 gt Disable set linear axis 1 gt Shorter path 2 gt Always positive 3 gt Always negative 4 gt Shorter path when G1 disabled when 62 63 AXISNAME name of rative axis ex A B etc Description Mode 1 4 Shorter path CN chooses the shorter path to reach the position selected Mode 4 is similar to mode 1 but in G2 G3 interpolation this facilities
54. 8 6 4 G101 Axis Stop command Syntax G101 Function type Direct Description G101 commands a stop to axis in current position The example below explains this function Ex In this example axis X move to position 100 During positioning a digital input is tested Input O if it activates the movements is stopped If axis terminates its movement PartProgram is ended with an error G60 F1 G1X100 INITLOOP IF Q0 100 I X REACHES 100 GOTO ERR ERROR END_IF IF 5 I01 1 WAIT FOR INPUT 6101 IF ACTIVE AXIS STOP AND EXIT GOTO EXIT ELSE GOTO INITLOOP CONTINUE LOOP END_IF EXIT ERR 18 6 5 80 Forced pause by code Syntax G80 Xcode Function type Direct Parameter Code Code of pause refer to configuration Description G80 forced CN to pause state and setting a pause code CODE parameter defines the message code to be showed If code hasn t been configured a message NO CODE PAUSE is showed The PAUSE procedure is the same of the hardware one Ex 680 X4 PAUSE IS FORCED WITH CODE 4 103 ISONS GCODE USER GUIDE 18 6 6 G81 Management secondary axes LIMITS Syntax G81 Xmode Function type Direct Parameter mode Mode of LIMITS management Set FIRST POSITIVE LIMITS default LIMITE P x1 Set FIRST NEGATIVE LIMITS default LIMITE N x2 Set SECOND POSITIVE LIMITS 2ND LIMITE P Set SECOND NEGATIVE LIMITS 2ND Description Sometimes is necessary change in tempor
55. BLES MILD MODE on the ALL AXES G49 0 Without parameters SUSPENDS MILD MODE G49 1 Without parameters RESUMES MILD MODE if it was activated by G49 116 ISONS GCODE USER GUIDE Ex G60 F15 GO Z3 G49 XY ENABLED MILD MODE ON XY G0X63 7738 Y160 6052 F10 601 20 X70 9693 Y140 2459 F15 X92 5556 Y139 694 X75 4163 Y126 5593 X81 5619 Y105 8589 63 7738 Y118 1006 X45 9857 Y105 8589 p X52 1313 Y126 5593 X34 992 Y139 694 X56 5783 Y140 2459 X63 7738 160 6052 G49 DISABLED MILD MODE ON ALL AXES GO 23 X56 5783 Y140 2459 117 ISONS GCODE USER GUIDE 18 13 MAIN MACHINE PARAMETERS In this chapter are explained the MAIN machine parameters to be set in IsoNs to configure the machine MAIN MACHINE PARAMETERS are always present on any application however it s possible that applications share more PARAMETERS Indeed IsoNs allows to customize parameters to ad just IsoNs for any type of machine NOTE TO CALCULATE ACCELERATION IN Mt sec In IsoNs acceleration is expressed in increase for CN sample to obtain the value in Mt sec this is the calculation to do ACC ACC xx TAU TAU Sample time set on CN in msec ACC xx value of acceleration parameter If for example we set an ACC 100 and a sample of TAU 5 msec we obtain 100 5 5 4 Mt sec 18 13 1 Generic parameters 18 13 1 1 FEEDMAX It defines the maximum FEED of the system The unit of measure dep
56. C VARIABLES These variables are used to exchange data between CN and IsoNs The maximum number available is 10 They be read or written and are 32 bit INTEGER type User generic variables Read Write S Kn Where is a value from 0 to 9 indicating the variable 11 6 ARRAY VARIABLES DIM These variables are used like to USER GENERIC VARIABLES but these are get set by Index First to use is necessary declare the ARRAY DIMENSION with Function DIM and the VARIABLE ARRAY NAME Ex DIM SARR 10 In the above example was declared an ARRAY with name ARR with 10 elements The ELEMENTS are indexed from 0 to 9 ARRAY USAGE The ARRAY VARIABLES contain the same values of GENERIC VARIABLES double For Get Set the value from ARRAY the INDEX value must be enclosed between Ex DIM SARR 10 SINDEX 0 SVAR 2 LOOP 10 SARR 5 INDEX VAR INDEX SINDEX S INDEX 1 END_LOOP SINDEX 0 LOOP 10 G1 X S ARR S INDEX SINDEX S INDEX 1 END_LOOP 11 7 MARKER VARIABLES Markers are normal variables written in PartProgram In enhanced programming using LOOP cycles and VARIABLES restart from a LINE NUMBER is not enough because axis position can be defined by variables written in a LOOP cycle Using MARKERS it s possible restart PartProgram at value of one of these not at a specific line number allowing restart 45 ISONS GCODE USER GUIDE also inside LOOP cycles MARKERS are defined with instruction MARKER SNAMEVAR DESCRIPTIO
57. CODE USER GUIDE 18 3 11 G69 Buffer look ahead depth Syntax G69 Xval AXISTANG Function type Disabled when PartProgram start Parameters val Number of elements in the buffer If VAL 20 AFC is disabled VAL is limited to number of blocks of PartProgram ASSIXTANG Optional axis to be set as TANGENTIAL Z etc If it isn t present no tangential axis is set Description G69 defines and enables the deep of look ahead segments buffer It allows proper operation in functions which use it G66 G72 G73 G74 More the buffer is deep more the result is accurate Depth is however limited to a value 20 LHK disabled to value major of part program length A typical value can be 200 This function also defines an optional tangential axis for ex cutting blade This is necessary because functions related to G69 G66 G72 G73 G74 can change the original path adding or removing segments necessitating to recalculate the angle of tangent axis Ex G69 X200 A In the above example buffer depth is set at 200 elements and axis A is set as TANGENTIAL 90 ISONS GCODE USER GUIDE 18 4 ISONS FILTERS IsoNs is equipped with several filtering algorithms to modify original path formed by PartProgram Filter can be useful especially when PartPrograms comes from CAM for ex scanner acquisition having a NOISE path Filters acts only in G1 blocks and however it must be enabled G69 function LHK depth They can be
58. COGNIZED CODES Axis X position Axis Y position Axis Z position Axis A position Axis B position Axis C position Axis U position Axis V position Axis W position Axis X relative position Axis Y relative position I I gt JIN Axis 7 relative position ISONS GCODE USER GUIDE DA Axis A relative position DB Axis B relative position DC Axis C relative position DU Axis U relative position DV Axis W relative position DW Axis W relative position Set Origin number for axis OY Set Origin number for axis Y 074 Set Origin number for axis 7 OA Set Origin number for axis A OB Set Origin number for axis B Set Origin number for axis OU Set Origin number for axis U Set Origin number for axis V Ow Set Origin number for axis W DOX Origin Ofset fo axis X DOY Origin Ofset fo axis Y DOZ Origin Ofset fo axis Z DOA Origin Ofset fo axis A DOB Origin Ofset fo axis B DOC Origin Ofset fo axis C DOU Origin Ofset fo axis U DOV Origin Ofset fo axis V DOW Origin Ofset fo axis W Axis FEED 5 Spinale speed N Line number optional D Tool diameter M M function HM HM function H Select head T Select tool First CENTER coordinate for G2 63 J Second CENTER coordinate for G2 G3 R Radius for G2 G3 USER_ZERO Index of WORK ORIGIN LIST USE
59. CYCLE B G1X10Y10 5 6 END PROGRAM It forces an end of program IsoNs inserts automatically this instruction at end of program list end of file However in some cases it can be necessary to end program in a particular point other than end of file Syntax END PROGRAM Ex IF SVAR1 0 END PROGRAM END PROGRAM IN PREMATURE MODE END IF 5 7 INPUT It waits a digital input for a programmed time If time elapses without input is active it is possible stop the program reporting an ALARM Syntax WAIT INPUT input state time alarm input Mandatory Digital input number from 0 to 255 state Mandatory Logic state of input to continue the program 0 OFF state 1 ON state time Time in sec 0 1 resolution If time elapses it s possible to signal an alarm stopping the PartProgram TIME O infinite wait alarm Generated alarm code refer to configuration file 0 No allarm generated Ex WAIT INPUT215 312 Wait input 2 at logic state ON for 5 3 sec and signal alarm 12 if condition is not happen ISONS GCODE USER GUIDE 5 8 ERROR It cause an exit from PartProgram reporting an error This instruction is useful to generate exceptions of PartProgram at events occurrences Execution is stopped with an alarm Syntax ERROR err code err code Mandatory Error code refer to configuration file Ex IF SVAR1 0 ERROR 10 STOP PARTPROGRAM WITH ALLARM 10 END IF 59 RESUME T Resumes the part program from the last statement
60. FILE_EXISTS SVAR MYFILE PNT TEST FILE IF SVAR 0 FILE NOT FOUND END_IF 106 ISONS GCODE USER GUIDE 18 7 6 ADD VAR Add a value to current list Syntax ADD VAR value Parameter value Expression or variable which value will be appended to the list Description ADD VAR appends a value to the current list The list will be resizing to contain the new element Ex ADD VAR SVAR1 APPEND VALUE FROM VAR1 ADD VAR 10 23 APPEND VALUE FROM CONSTANT ADD VAR SVAR2 SVAR3 SVAR4 VALUE FROM EXPRESSION 18 7 7 REMOVE VAR Remove a value from current list Syntax REMOVE VAR Index Parameter index Expression indicating index of list to be removed Description REMOVE VAR remove a value from the current list All index above the removed one will be re indexed If the index is over the list size an error will be showed Ex REMOVE VAR 1 REMOVE VALUE AT INDEX 1 18 7 8 CLEAR VAR Remove all values from the current list Syntax CLEAR VAR Description CLEAR VAR erase all the values from the current list List will be sized at zero and the value cannot be restored Ex CLEAR VAR CLEAR ALL CURRENT LIST 107 ISONS GCODE USER GUIDE 18 7 9 DIM VAR Size current list to a specific number of elements Syntax DIM VAR Nelem Parametri Nelem Expression indicating the number of elements to be sized the value of all elements will be set with ZERO Description DIM VAR allows to re size the current li
61. Framework Actually not in use reserved for future expansion 18 13 1 20 ACQ VEL It defines the axis speed for acquisition sensor cycle Contrary to other speed parameters this is NOT affected by unit of measure and must be expressed always in mm min 18 13 1 21 RESQUOTE Resolution for axis position It depends by DSOF axis parameter It defines the minimum unit for axis position 10 gt Tenth of mm 100 gt Hundredths of mm 1000 gt Thousandths of mm 10000 gt 0 1 Thousandths of mm 100000 gt 0 01 Thousandths of mm 18 13 1 22 VISUAREAL Enable or disable showing of axis ACTUAL positions 1 Disable reading of actual position 0 Enable by INTERFACE 1 Enable reading of ACTUAL positions 2 Enable reading of ACTUAL FOLLOWING ERROR position 18 13 1 23 ENABLE OW GO Enable or disable override potentiometer on GO 0 Potentiometer disabled 1 Potentiometer enabled 2 2 Potentiometer enabled 18 13 2 Axis parameters 18 13 2 1 VMAX_ It defines the maximum speed of the single axis for positioning with GO The unit of measure depends by system resolution typically mm min This parameter is affected by unit of measure set Working with resolution of 0 0001 instead of typycal 0 001 this parameter must be expressed in tenth of mm min 18 13 2 2 VMAX_Pn It defines the maximum speed of the positioner number 121 ISONS GCODE USER GUIDE 18 13 2 3 VJOG It defines the speed of the single axis manual positioning jog
62. G72 Enable N U R B S Not Uniform Rational BSpline filter G73 Enable Noise filter G74 Enable RLS Remove Len Segment filter G75 Use G64 for movement inside work plane and G65 for movement outside work plane G80 Forced pause by code G81 Management secondary axes LIMITS G82 Work ORIGIN at current position with sensor offset G83 Update CPU1 counter G84 Preset CPU axis G85 Work OFFSET at current position with sensor offset G86 Hardware preset axis on module 360 degrees G87 Suspend head offset selected with Hn 88 Restore head offset selected with Hn ISONS GCODE USER GUIDE G89 HardWare Preset of axis position G90 Positioning intepolating with ABSOLUTE position G91 Positioning intepolating with INCREMENTAL position G92 Work ORIGIN at current position G93 Work OFFSET at selected position G94 Work ORIGIN at selected position G95 Work OFFSET at current position G96 Suspend work offset G93 G95 G97 Restore work offset G92 G94 G98 Suspend work origin G92 G94 G99 Restore work origin G92 G94 G100 Syncronous comand for VIRTUAL axis G101 AXIS STOP comand G102 Start sensor acquisition G103 Set RTCP parameters G104 Enable RTCP G105 Suspend RTCP G106 Smoothing Filter G120 Enable vertical mirror G121 Disable vertical mirror G20 G940 MOVE axes excluding WORK ORIGIN only in the actual block G1050 Disable Scaling G1051 ENABLE Scaling 4 OTHERS RE
63. GIN WORK OFFSET If no work origin or offset are used positions refer directly to home position 17 1 2 691 PROGRAMMING WITH INCREMENTAL POSITIONS Syntax G91 Function type MODAL Cancel G90 Description following positions refer to current axis position 48 ISONS GCODE USER GUIDE 17 1 3 Definition of absoulte and incremental positions Ex G90 SET ABSOLUTE POSITIONS G1X100Y100 AXIS MOVE TO 1 100 100 G91 SET INCREMENTAL POSITIONS X5Y 3 AXIS MOVE TO P2 105 97 G90 SET ABSOLUTE POSITIONS X0V0 AXIS MOVE TO P3 0 0 Y 2 5 0 0 100 105 X 17 2 WORK ORIGIN IsoNs can manage up to 256 different work origins selectable by G94 G92 and USER ZERO instructions A work origin define a point of reference in relationship with home position 17 2 1 Work origin By INDEX These origins can be set on the fly by taking the value contained index ZERI VAL Unlike USER ZERO this can have different indexes for each axis Syntax OXIndex OYIndex Function type MODAL Cancel G92 G82 Parameters Index Index Value from file ZERI VAL Description Defines the new origin of the axes based on the value contained in index set Es 1 023 SET origin X from INDEX 0 Y Index 1 2 Index 3 49 ISON
64. IS with possibility to combine with PX MOVETO Syntax G68 Xval Function type MODAL Cancel G67 Parameter Xval Optional parameter it must be enabled G69 val 0 limit speed of eventually tangential axis If tangential axis exceed this speed transported axis is disabled and PX MOVETO is invoked Val 0 disable Val 1 axis is never transported but it is only calculated the edge threshold on work plane as G65 but with SGLP Description G68 invokes always PX for movement both inside and outside work plane allowing to manage interpolation for particular machine types for ex cutting with tangent blade AXIS OUTSIDE WORK PLANE BECAME TRANSPORTED These axis outside plane moving to final position with determination of vectorial speed by the only axis on work plane don t affect the resulting speed of tool An example of use with this interpolation mode can be the CUTTING PLOTTER one where the blade must be tangent to path Resulting working speed is realy the programmed one by F tangential axis instead will be moved to its final position in the same time of the other X parameter allows to obtain mixed interpolation between TRANSPORTED AXIS and normal axis Using this interpolation mode there can come out a problem the TRANSPORTED AXIS can reach a speed over its limit Setting this limit with X parameter IsoNs identifies such points and invoke PX MOVETO reducing resulting speed G63 G65 MUST NOT BE ENABLED 89 ISONS G
65. N Markers can be restored from Plugin BLOCK RESTART Ex In the next example it is defined a Marker variable named SINC It specifies a counter of the number of piece in working MARKER SINC PIECE NUMBER SVAR 0 SINC 0 F5 G1X0Y0 LOOP 10 SINC SINC 1 G1X200 SVAR SVAR 50 GOXOY SVAR END_LOOP It will be possible restart PartProgram when SINC variable set as MARKER takes a specific value 46 ISONS GCODE USER GUIDE 12 POSITIONER IsoNs provides the complete management of one or more axes positioners These be of different type and in any case their management is entrusted to the application of CNC in use VTB 13 PA PD n par espr Set Absolute position PA allows movement of the positioner at ABSOLUTE target PD allows movement of the positioner at RELATIVE target n Positioner NUMBER from 0 to MAX par Controlo parameter OPTIONAL null Start at TARGET ESPR with Pending end of movement 0 Start at TARGET ESPR without Pending end of movement 1 Start at TARGET ESPR with Pending end of movement 2 Start HOMING Espr must be present but not used 3 Espr gt 0 Enable positioner Espr lt 0 Disable positioner Ex PA 0 1000 START AT TARGET 1000 POSITIONER O PA 0 0 1000 START AT TARGET 1000 without pending end of movement PA 0 S VAR START AT TARGETSVAR i PA 0 2 1 START HOMING PA 0 3 1 ENABLE POSITIONER 0 14 PF n espr Set Positioner FEED Set the FEED positioner Espr FEED VALUE n Positioner NUMBER
66. NS GCODE USER GUIDE CR 3 Preventive control activated G0 G1 G2 G3 only in run time before executed the block 62 63 Only final point is controlled 18 13 2 31 ARC REL Enables or disables the center of arc I J in relative mode ARC_REL 0 The center is in absolute mode if set G90 ARC REL 1 The center I J is in relative mode if set G90 18 13 2 32 NO SHORT Enables or disables the CNC to remove the short segments NO SHORT 0 Function disactivated NO SHORT 1 The short segment are removed by CNC This facilitates the machining of complex contours NO SHORT 2 Only Warning message is displayed if the short segment is worked 18 13 2 33 USE G60 If the value is gt 0 enabled defaut mode G60 and not G61 18 13 2 34 TIME OUT CMD TimeOut Commands invoked on CNC Value in Ms default 5000 18 13 2 35 TIME OUT M TimeOut M invoked on CNC Value in Ms default 5000 127 ISONS GCODE USER GUIDE 18 14 PID PARAMETERS The PID Parameters are used for the analogical Axes velocity control with Encoder Loop Usually these Axes are controlled by 10 Analog Outputs These Parameters are inserted by IsoNs configurator Machine Parameters Default Par PID General Machine Parameters 18 14 1 1 PID_KP Proportional Gain 18 14 1 2 PID_KI Integrative Gain 18 14 1 3 PID_KV Feed Forward Gain For a correct setting You have to use the following method 1 Set to ZERO 0 the PID_KP and PID_KI 2 Insert a PID_KV value 3 Move the
67. Ns don t use CNC classic convention for program remarks Remarks starts with characters and terminates with end line IsoNs editor highlights it with GREEN colour Remarks can be insert also on the right of block Remarks are ignored by PartProgram and all its content are discarded This is a remark G1X100Y100 This is a remark too ISONS GCODE USER GUIDE 3 150 NS INSTRUCTIONS 3 1 RECOGNIZED G CODES GO RAPID positioning G1 Linear Interpolation at F programmed speed G2 CW circular interpolation G3 CCW circular interpolation G4 Timed pause G10 Enable external axis OVERRIDE ASSI on potentiometer G11 Disable external axis OVERRIDE ASSI on potentiometer G17 Set work plane on X Y G18 Set work plane on Z X G19 Set work plane on Y Z G20 Axes in Inch G21 Axes in millimeters G22 Change axis of the work plane G23 Restore axis of the work plane disable G22 G24 Enable horizontal mirror G25 Disable horizontal mirror G24 G26 Change a couple of axis G27 Suspend G26 G28 Restore G26 G30 Enable automatic insert of fillet on edges G31 Suspend G30 G32 Restore G30 G33 Enable automatic insert of bevel on edges G34 Suspend G33 G35 Restore G33 G36 Gestione assi rotativi G40 Disable TOOL RADIUS compensation G41 Enable TOOL RADIUS compensation LEFT G42 Enable TOOL RADIUS compensation RIGHT G43 Enable TOOL LENGTH com
68. PEEDMIN 18 13 1 7 SPEEDDEF It defines the default speed S set by the system at start up The unit of measure depends by system resolution 118 ISONS GCODE USER GUIDE 18 13 1 8 VMAXGO It defines the maximum speed for the positioning with GO It is in percent of the speed calculated by system based to maximum speed of each axis Value can be from 0 to 100 96 This parameter is affected by unit of measure set Working with resolution of 0 0001 instead of typycal 0 001 this parameter must be expressed in tenth of mm min 18 13 1 9 ACC GO It defines the acceleration for positioning with GO See the above note to detail for unit of measure 18 13 1 10 ACC LAV It defines the acceleration for interpolation with G1 G2 and G3 See the above note to detail for unit of measure 18 13 1 11 ACC QSTOP It defines the acceleration for quick stop when the position limit is reached See the above note to detail for unit of measure 18 13 1 12 VEL GO LINE RETRACE It defines the speed for positioning GO LINE during RETRACE function The unit of measure depends by system resolution typically mm min This parameter is affected by unit of measure set Working with resolution of 0 0001 instead of typycal 0 001 this parameter must be expressed in tenth of mm min 18 13 1 13 ACC RAGGIO MAX It defines the centrifuge acceleration to auto reducing speed on circular interpolation It must be set after machine test Normally this param
69. R_OFFSET Index of WORK OFFSET LIST ISONS GCODE USER GUIDE PAUSE MODE Defines the Pause function mode ISONS GCODE USER GUIDE 41 PROGRAM FLOW INSTRUCTIONS IF Start IF cycle ELSE Relative to IF cycle END IF End IF cycle LOOP Start LOOP cycle END LOOP End LOOP cycle GOTO Jump to LABEL or line number GOSUB Call of Soubrutine RETURN Retrun from Soubrutine e LABEL definition Start remarks END PROGRAM of program WAIT INPUT Wait of digital input with Time Out ERROR Force stop program with error ISONS GCODE USER GUIDE 42 GENERIC INSTRUCTIONS SDO DL Sdo download can open SDO UL Sdo upload can open GET Read parameter of HM function READ PARMAC Read machine parameter WRITE PARMAC Write machine parameter LOAD VAR Load a file of variable GET VAR Read a variable from loaded file WRITE VAR Wrtie a variable in memory list SAVE VAR Save a file of variable on harddisk DIM VAR Set dimension of memory list FILE EXISTS Check if file exists REMOVE VAR Remove a value from current list CLEAR VAR Remove ALL values from current list OPT Compiler option IMPORT Import external file END IMPORT End of Import program PA n par Set ABSOLUTE target positioner PD n par Set REALTIVE target positioner PF n Set FEED positioner PS n STOP positioner PM n par STATUS positioner RESUME Resu
70. S GCODE USER GUIDE 17 2 2 G94 Work origin at position defined with parameter Syntax G94 Xvalue Yvalue DX DY ecc Relative value Function type MODAL Cancel G92 G82 Parameters X Y ZA B C U V W flollowed by origin position Description It defines the new origin of one or more axis Axis not included in parameters list keep the origin unchanghed The new position of zero axis will be defined in the parameter value The position value in the parameter refer to an ABSOLUTE position from HOME POSITION regardless of G90 G91 The new origin is automatically enabled with G94 Ex G94 X80Y35 SET NEW WORK ORIGIN AT 80 35 50 ISONS GCODE USER GUIDE 17 2 3 G54 G55 G56 G57 G58 G59 Work origin from memory file Syntax G54 axis code G54 XYZ or G54 n XYZ Function type MODAL Cancel G92 G82 Parameters X Y Z A B C U V W n Number of INDEX ZERO from 0 to 255 If omitted uses the parameter USER ZERO to set index Description It defines the new origin of one or more axis Axis not included in parameters list keep the origin unchanged The new position of zero axis will be defined in the parameter value The position value will be get from the ORIGIN FILE made by PLUGIN WORK ORIGIN The new origin is automatically enabled with these instructions If G54 is invoked without parameters AXIS X will be set The G54 function can use the INDEX ZERO indicate in the n G54 n where n is a value from 0 to 255 refered t
71. X 26 2332 Y 26 1708 move tool on start point F5 61 Z 0 move 7 to work position D3 set tool diameter G42 enable compensation G42 G1 X 24 7332 Y 26 1708 G1 X 24 7332 Y 76 1708 G1 X 74 7332 Y 76 1708 G1 X 74 7332 Y 26 1708 G1 X 24 7332 Y 26 1708 60 7 20 Z G40 disable compensation G1 7 20 Z again ISONS GCODE USER GUIDE 18 2 TOOL LENGHT COMPENSATION It possible to compensate tool length on any axis It is useful when we want to work the same PartProgram with tools of different length Tool length compensation acts only in the direction selected by G43 function The axis affected by compensation is selectable as well as length of correction Length correction compensates movement on the selected axis The effective tool length must be the measure of projection tools from spindle amm Tool Correction Lenght Direction 18 2 1 643 Enable tool length compensation from parameter Syntax 643 Xlen Kmode AXISdir DX Relative value Function type MODAL Cancel G45 optional correction set by Tool Table Parameters len tool length in mm es 12 35 If LEN 0 tool length is taken by tool table Tn Mode Optional K parameter this can have the following values K0 Normal Mode how if K is omitte 1 With this parameter the tool length is used how additional OFFSET therefore the axis value ABSOLUTE RELATIVE is immediatly updated In this mode the dir parameter is not considered t
72. X100 Y100 G1 X150 Y50 X100 Y100 END SECOND SQUARE 17 12 4 G25 Disable horizontal mirror Syntax G25 Function type MODAL Cancel G24 Description Disable horizontal mirror on work plane 17 12 5 G22 Echange axis of work plane Syntax G22 Function type MODAL Cancel G23 Description Axis of work plane are exchanged between them ex X with Y ISONS GCODE USER GUIDE 17 12 6 G23 Restore axis of work plane Syntax G23 Function type MODAL Cancel G22 Description Restore the original axis of work plane 17 12 7 G26 Exchange axis by parameter Syntax G26 Axis1 Axis2 Function type MODAL Cancel G27 Description A couple of selected axis by parameters are exchanged between them Ex G26 YZ EXCHANGE Y WITH Z 17 12 8 627 Suspend G26 Syntax G27 Function type MODAL Cancel G26 Description It suspends the axis exchanging set with G26 17 12 9 G28 Restore G26 Syntax G28 Function type MODAL Cancel G27 Description Restore axis exchanging set withG26 22 ISONS GCODE USER GUIDE 17 12 10 G51 Suspend work plane rotation Syntax G51 Function type MODAL Cancel G50 G52 Description Suspend the rotation of work plane 17 12 11 G52 Restore work plane rotation Syntax G52 Function type MODAL Cancel G51 Description Restore last work plane rotation set with G50 73 ISONS GCODE USER
73. X108 3 Y142 73 61 X117 36 Y150 44 61 X126 2 Y139 34 G1 X140 92 Y142 51 Ex SAME PATH USING G33 X75 45 Y157 46 G33 R5 A20 LEN 5MM ANGLE 20 deg 61 X107 84 Y167 43 G1 X108 3 Y142 73 61 X117 36 Y150 44 61 X126 2 Y139 34 G1 X140 92 Y142 51 Len 5 mm 66 ISONS GCODE USER GUIDE 17 10 7 G34 Suspend of automatic insert of bevel Syntax G34 Function type MODAL Cancel G33 Description Suspend G33 It can be restore with G35 17 10 8 G35 Restore of automatic insert of bevel Syntax G35 Function type MODAL Cancel G34 Description Restore G33 suspended by G34 67 ISONS GCODE USER GUIDE 17 10 9 G102 Start searching sensor position Syntax G102 Function type DIRECT Description It start acquisition from sensor Axis move to positions selected by X Y Z etc The values refer to an absolute or relative position according with G90 G91 Selected WORK ORIGIN and WORK OFFSET are considered too More axis can be move simultaneously interpolated and the speed is set with the machine parameter ACQ VEL Also a acquisition mode can be selected by machine parameter ACQ MODE Executing be stopped by activation of SENSOR or by reaching TARGET position In the first case PartProgram continues to execute from next block to G102 In case of reaching of TARGET position PartProgram ends with ACQ SENSOR ERROR G102 waits for axis stop before to proceed with acquisition cycle Ex G90
74. X89 95 Y128 46 G1 X86 55 Y131 41 G1 X82 24 Y129 14 G1 X77 71 Y132 31 G1 X72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 X57 55 Y133 45 G1 X52 34 Y129 59 PATH FILTERED with NURBS MiLen 7mm Order 2 LenSeg 0 2mm With Order 2 changes are almost null even in marked circles original path is slightly modified G69X200 ENABLE LHK G72X1Y7Z1 GO X107 16 Y130 27 G1 X100 59 131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 G1 X95 38 Y129 14 G1 92 66 Y130 5 G1 X89 95 Y128 46 G1 X86 55 Y131 41 G1 X82 24 Y129 14 G1X77 71 Y132 31 5 I y y C1 X72 95 V128 91 C1 X67 97 V132 31 C1 X62 98 V129 37 C1 X57 55 V133 45 C1 X52 34 V129 59 PATH FILTERED with NURBS MiLen 7mm Order 1 LenSeg 0 2mm Original path not filtered G69X200 ENABLE LHK G72X1Y721 GO X107 16 Y130 27 G1 X100 59 Y131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 G1 95 38 Y129 14 G1 92 66 Y130 5 G1 X89 95 Y128 46 G1 X86 55 Y131 41 G1 X82 24 Y129 14 G1 77 71 132 31 G1 X72 95 Y128 91 G1 X67 97 Y132 31 G1 X62 98 Y129 37 G1 57 55 Y133 45 G1 X52 34 Y129 59 94 ISONS GCODE USER GUIDE 18 4 2 673 NOISE 2D Syntax G73 Xval Yminang Zminlen Aonlyvar Function type Disabled when PartProgram start Parameters val 0 disable NOISE disable FINE NOISE 1 enable NOISE disable FINE NOISE 2
75. ary mode the Axes limits for make the axes movements outside to primary limits Eg TOOL CHANGE IsoNs is possible used the SECONDARY LIMITS positive and negative Machine parametrs 2ND LIMITE 2ND LIMITE This parameters can be activated or disactivated by G81 function If the secondary limits remain activated when the PART PROGRAM is finished automatically are reset to primary LIMITS This function is tipically used to TOOL CHANGE MACRO M6 Ex G81 X3 ACTIVE SECONDARY NEGATIVE LIMITS G81 X1 ACTIVE PRIMARY NEGATIVE LIMITS 18 6 7 G20 Axes Values in Inch Syntax G20 Function type Modal Cancel G21 Description G20 Enable the Programmation Axes Values in Inch GO G1 G2 G3 etc 18 6 8 G21 Axes Values in Millimeters Syntax G21 Function type Modal Default Cancel G20 Description G20 Enable the Programmation Axes Values in Millimeters GO G1 G2 G3 etc 104 ISONS GCODE USER GUIDE 18 7 VARIABLE MANAGEMENT FUNCTIONS IsoNs manages files which can contain the state of some variable These files are stored on the PC HardDisk It s possible to load them one at a time by Partprogram When file has been loaded a list of saved variables is filled The length of the list depends to the number of stored variable There is no limit to list length These variables can be read or written in the list by specific instructions in the PartProgram In other words it s possible to obtain Backups of variables
76. ccsscicccssccsscssescscsccseccnsesssonssccacnsedencsccsscanectoccnessseenbescteseessccnsesonchesesaensescseses 62 17 10 1 M ERRE 62 17 10 2 G1 Linear interpolation a programmed 62 17 10 3 G2 G3 Circular interpolation a programmed speed esses eene 63 17 10 4 G30 Enable automatic insert of fillet on edges eese nnn nnne 64 G31 SUSPEND OF AUTOMATIC INSERT OF FILLET 65 17 10 5 G32 Restore of automatic insert Of fillet eese isses eese eene nnns 65 17 10 6 G33 Enable automatic insert of Devel on edges esses eese eene ranas nnne na 66 17 10 7 G34 Suspend of automatic insert of bevel sessi esee 67 17 10 8 G35 Restore of automatic insert of 2 002000010 000000 9 67 17 10 9 G102 Start searching sensor 68 17 11 PROGRAMMING AXIS INTERPOLATION SPEED 69 17 11 1
77. chine origin and it is automatically pre setted do not need to use WORK ORIGIN e WORK OFFSET Used head can be recall by PartProgram with Hn instruction It programs automatically head offset of all axis refered to machine origin ISONS GCODE USER GUIDE 2 9 MODAL FUNCTIONS MODAL functions remains active for all current PartProgram and also the subsequent ones until a or more particular function disables it GO G1 G2 G3 etc are modal functions and therefore it doesn t need repeat them until another function exclude it G1 excludes 60 62 G3 G2 excludes GO G1 etc G1X100Y100 X300Y120Z10 450 In this example it is used modal G1 function In block 2 and 3 it isn t necessary to insert G1 because it remains active 2 10 RECOGNIZED CODES Almost all recognized codes are highlighted with a colour However in the few cases when it doesn t happen it doesn t mean instruction isn t recognized When IsoNs editor doesn t recognize an instruction it is underlined with RED and it shows error window 2 11 NUMERIC VALUES SETTING IsoNs works with two numeric values types INTEGER FLOATING Integer values are used for all defined quantities Loop numbers etc When it is insert a floating value instead of integer one IsoNs generate an error warning the user Floating values are used for all REAL quantities axis position radius etc IsoNs uses as decimal separator character DOT 2 12 PROGRAM REMARKS Iso
78. cssccsscsscecteocssccsnoossssseestscssoeasdectvecstcesecceseces 19 ________3 __ 323__ 19 v _____ _ _ 19 Bl 500 DE o 20 L Mi EU 20 20 6 4 READ PARMAG Ji isccssscsccssvscnvasavactedexbasevesavasssccavucasacassssecensucavesevscnvasstacasessoacksdensessvcanpssvacaseesvasasscnsesesscnvasntacancess 21 ISONS GCODE USER GUIDE I _33 _ _ _ _ _ 21 Dh Eu uU EM 21 __ _ _ _ 22 ES 22 I 23 2223 2222 2 232 lt _ _ _ _ _ 22 Z UB MESSAGE onee naam RE ea eae 23 72 EB SHOUEDRM 24 73 IB CHO cie MR 24 74 24 75 RET e 25 2 _ _ __ _ 25 _ lt __ __ __ _ _ ______ _ _ _ _ _ __ gt 25 WEISE UNE 26 79 CREEL PES 27 7 10 6 0
79. curacy of resulting Lower value corresponds to a best accuracy order 1 original point are carried back Typical default value is3 Optional parameter if it isn t present last value or default value is taken lenseg It defines the minimum segments length at output curve resulting to points interpolation At lower value corresponds to a less segments length and to a greater number of resulting segments curve more accurate Typical default value is 0 2mm Optional parameter if it isn t present last value or default value is taken Description NURBS are a type of curve suitable to solve B Spline problem mainly the impossibility to draw simple shape as circle By this evolution it s possible to generate conic curves and to represent very complex curves with less number of control points N U R B S Not Uniform Rational B Spline are rational curves defined by control points and its relative weights Increasing the weights value of a point the curve approaches to the point On the contrary the point will cause a less variation on the curve ISONS uses this interpolation mode to SOFTEN a series of segments Some example are showed below to better explain NURBS filter NURBS filter acts also on 3D paths NURBS FILTER IS THE SECOND TO BE INVOKED ON ORIGINAL PATH 92 ISONS GCODE USER GUIDE ORIGINAL PATH GO X107 16 130 27 G1 X100 59 Y131 18 G1 X100 14 Y129 37 G1 X96 74 Y130 73 61 X95 38 129 14 G1 X92 66 Y130 5 G1 X89 95 Y1
80. ected work plane and it s enabled FAST interpolation without stop on edge G60 IsoNs calculates automatically stop on edge G2 and G3 enable movement at programmed F speed and can be modified by override potentiometer if not disabled with G11 Circular interpolation can be executed by center parameters and J or by radius parameter R With the second one it s not possible to generate a complete circle for that it must be used and J SHORT WAY and LONG WAY arc Using radium parameter there are two arcs defined by the same parameters The selection is via radius sign If RADIUS is positive a SHORT WAY ARC is generated If RADIUS is negative a LONG WAY ARC is generated See the example for details LONG WAY ARC R 150 SHORT WAY ARC R150 Ex GOX100Y 100 G2X300Y100R 150 EXECUTE LONG WAY ARC GOX100Y 100 G2X300Y100R150 EXECUTE SHORT WAY ARC 63 ISONS GCODE USER GUIDE 17 10 4 G30 Enable automatic insert of fillet on edges Syntax G30 Rradius Aangle Function type MODAL Cancel G33 Parameters R value of fillet radius radius 0 disables the function A Angle degree of insert threshold Description G30 inserts automatically fillets on edges The fillet radius is defined with parameter R parameter A defines the angle threshold under which G30 function doesn t intervenes leaving path unchanged This function is useful to soften movement in angular path Fillet is inserted only if it can be container inside two
81. ed working from CAM at which is demanded the calculation of edge on segments inserting G62 in the fit point 18 3 5 664 Interpolation on work plane default Syntax G64 Function type MODAL Cancel G63 G65 Description G64 enables interpolation mode considering the work plane This is the default mode selected on CN G64 calculates vectorial speed only with the axis of work plane PX LINETO moving consequently the other IsoNs verifies automatically if there are movement of the work plane axis otherwise it works as G63 Using this mode it can verify some inconvenient when the two axis of the work plane do very little movement The following example explains that G68 MUST BE ENABLED Ex G64 G17 G1X0 001Y0 001210 In the above example axis X and Y on work plane move very little in relation to axis Z causing an high speed on axis Z that can be bigger than its limit The solution to that is the following G63 G17 G1X0 001Y0 001210 G64 Enabling interpolation outside work plane IsoNs calculates the vectorial speed with all axis instead only the two axis of work plane 86 ISONS GCODE USER GUIDE 18 3 6 G65 Enable 3D interpolation PX MOVETO with calculated stop on edge by parameters Syntax G65 Function type MODAL Cancel G63 G64 Description G65 Enables 3D interpolation calculating stop on edge by CN parameters G63 G64 MUST NOT BE ENABLED Ex G65 G1X100Y100Z10 In the example PX_MOVETO interpolation o
82. eduction in speed caused by the parameter SGLP_RED This is always limited to a value below 100 to avoid that the speed goes to ZERO see examples below Example Parameter SGLP_RED and MAX_RED If SGLP_RED is disabled value set to ZERO work only parameter SGLP or SGL3D in the following mode Corner less to SGLP or SGL3D the CNC not commands the stop axes Corner greater to SGLP or SGL3D the CNC decelerates and commands the STOP Axes Ex SGLP 200 20 degrees SGLP_RED 0 STOP Axes continuous movement without reduction FEED SGLP gt SGLP SGLP 450 45 degrees SGLP_RED 10 10 of 45 degrees at 4 5 degrees start the slowdown MAX_RED 85 FEED reduced to 50 FEED reduced to 25 d m P1 P 1 P lt SGLP lt SGLP gt SGLP 10 degrees 20 degrees 120 ISONS GCODE USER GUIDE 18 13 1 18 SGLR Threshold to signal an error for circular interpolation In circular interpolation CN computer radium in start point and in end point if the difference is greater than SGLR program is stopped showing an error That happens when arc is made by center positions I J with value not accurate The unit of measure depends by system resolution typically 0 001 mm default 10 thousandths Ex Unit of measure 0 001 mm 10 10 thousandths of mm Unit of measure 0 0001 mm 100 10 thousandths of mm 18 13 1 19 ACQ MODE It define the acquisition mode for searching of the SENSOR with G102 function and for StartAcqSens method of
83. ends by system resolution typically mm min If it s set a F at speed greater than this it is limited at FEEDMAX This parameter is affected by unit of measure set Working with resolution of 0 0001 instead of typycal 0 001 this parameter must be expressed in tenth of mm min 18 13 1 2 FEEDMIN It defines the minimum FEED of the system The unit of measure depends by system resolution typically mm min If it s set a F at speed less than this it is limited at FEEDMIN This parameter is affected by unit of measure set Working with resolution of 0 0001 instead of typycal 0 001 this parameter must be expressed in tenth of mm min 18 13 1 3 FEEDDEF It defines the default FEED set by the system at start up The unit of measure depends by system resolution typically mm min This parameter is affected by unit of measure set Working with resolution of 0 0001 instead of typycal 0 001 this parameter must be expressed in tenth of mm min 18 13 1 4 FEEDRES It defines the resolution of the speed set by F 1 mm min ex F1500 1 5 Mt min 1000 mt min ex F1 5 1 5 Mt min 18 13 1 5 SPEEDMAX It defines the maximum speed S of the system The unit of measure depends by system resolution If it s set a S at speed greater than this it is limited at SPEEDMAX 18 13 1 6 SPEEDMIN It defines the minimum speed S of the system The unit of measure depends by system resolution If it s set a S at speed less than this it is limited at S
84. eresssccosecssesersscucsossdsecsececcscsosssscesectsosusesssssececesosssersdeseacnst 118 18 13 1 Generic param ters oi rir titio A Regen 118 18 13 2 Axis 121 V 128 134
85. escecececsecccccceeseccuceecsescececesseccusecesseccesecesseccesecesseccuass 3 2 4 NAMIE cec 3 25 3 _ 2 2 _ 565 6 _ _ 3 23 _ _ _ 232232 2 22222222222 2 2 _ _2 ____ _ lt _ ____ 3 322 22 222223 22 _ _ _ _ _ __ 3 2 9 MODAL FUNCTIONS esc 4 2 10 2 6 __ _ _ _ _ ____ __ _ _ 4 2 11 NUMERIC VALUES SEMTING 1 86 86668 4 2 12 PROGRAM REMARKS scecccucccsccecccsuceccscovcdesececcusncsescccuesesccesccsucdesssotesesecescdsscocsscosesevedesbeescdecsseussevecevasesssessecssses 4 3 1 RECOGNIZED G 5 4 OTHERS RECOGNIZED 222 5 2 222 12 52 465 lt ao ana nao nua ase aon os korea ar aao rues 7 41 PROGRAM FLOW INSTRUCTIONG ccssccs
86. eter is set with values from 1 to 15 Small values defines a greater feed reduction when the radius are small If the minimum value 1 is not sufficient to reduction your desired feed is necessary use the decimal part in the following mode this function is enabled only in the ComSynk rev 2 0 5 22 or greater Insert the parameter ACC RAGGIO MAX with value greater to 100 the effective value is ACC RAGGIO EFFECTIVE ACC RAGGIO 100 10 So 109 0 9 108 0 8 Etc 18 13 1 14 VRIPOSO It defines the speed for re positioning in start after PAUSE The unit of measure depends by system resolution typically mm min This speed acts only if axis are moved in PAUSE state and they aren t repositioned in the exact point when restarted 18 13 1 15 SGLP Threshold in tenth of degree default 200 20 degree to stop axis on edge when CN works in FAST INTERPOLATION Threshold acts only on work plane axis CN stop automatically the axis when on work plane it recognizes an angle greater than SGLP edge found 18 13 1 16 SGLP_RED Percentage of SGLP to begin the gradual slowdown in the proportion of the edge If SGLP RED 0 parameter is disabled and is done only stop on the corner SGLP otherwise the percentage set the CNC starts slowing down see examples below When 5 RED is set to a value greater than 0 it would be necessary to increase the value of SGLP 119 ISONS GCODE USER GUIDE 18 13 1 17 MAX_RED Maximum percentage r
87. f ZERO When press the NsForm is Not closed PropValue 1 gt of ZERO When press the NsForm is closed Ex LIB FORMPROP WIDTH 500 LIB FORMPROP HEIGHT 300 LIB FORMPROP STARTPOSITION 1 LIB FORMTEXT TEST BUTTON LIB ADDBUTTON BTN LIB BUTTONPROP BTN WIDTH 100 LIB BUTTONPROP BTN HEIGHT 50 LIB BUTTONPROP BTN LEFT 50 LIB BUTTONPROP BTN TOP 50 LIB BUTTONPROP BTN DIMFONT 12 LIB BUTTONPROP BTN ALIGN 1 LIB BUTTONTEXT BTN MY BUTTON LIB BUTTONPROP BTN DEST SVAR SVAR 0 SVAR1 100 2 LIB BUTTONPROP BTN SOURCE SVAR1 LIB SHOWFORM TEST BUTTON BUTTON 28 ISONS GCODE USER GUIDE 7 12 LIB BUTTONTEXT Write a Text in to NsButton Syntax LIB BUTTONTEXT BTNNAME TEXT LBLNAME NsButton Name TEXT NsButton Text Ex LIB BUTTONTEXT BTN MY BUTTON 7 13 LIB BUTTONPRINT Write a IsoNs Variable in to NsButton Syntax LIB BUTTONPRINT FORMAT SVAR BTNNAME NsButton Name FORMAT Print Format e d Only Integer value Nymber of decimal SVAR IsoNs variable Ex SVAR 103 2569 LIB BUTTONPRINT BTN I SVAR PRINT 103 LIB BUTTONPRINT BTN F1 SVAR PRINT 103 2 LIB BUTTONPRINT BTN F4 SVAR PRINT 103 2569 7 14 LIB ADDINPUT Add a NsInput to NsForm The NsInput properties can be setted befor a 5 The NsInput Object is used to write numerical value to IsoNs variable
88. ging The unit of measure depends by system resolution typically mm min Contrary to other speed parameters this is NOT affected by unit of measure and must be expressed always in mm min 18 13 2 4 JOG Acceleration for JOGGING positioning See the above note to detail for unit of measure 18 13 2 5 RZERO MODE This parameter defines the mode of homing procedure These are the value accepted RZERO 0 Backward negative sensor ACTIVATED 1 Fast backward to zero sensor with FZRZERO VEL 2 Slow forward to exit from zero sensor with 2 VELF 3 Slow backward to zero sensor with F RZERO_VELF 4 Move axis to offset position RZERO OFFSET with FZRZERO VEL 5 Preset position at RZERO PRESET RZERO MODE 1 Forward positive sensor ACTIVATED 1 Fast forward to zero sensor with FZRZERO VEL 2 Slow backward to exit from zero sensor with FZRZERO 3 Slow forward to zero sensor with FZRZERO VELF 4 Move axis to offset position RZERO OFFSET with FZRZERO VEL 5 Preset position at RZERO PRESET RZERO MODE 2 Backward negative sensor ACTIVATED with encoder INDEX 1 Fast backward to zero sensor with FZRZERO VEL 2 Slow forward to exit from zero sensor with 2 VELF 3 Slow backward to zero sensor with F RZERO_VELF 4 Continue to first encoder INDEX always with F RZERO_VELF 5 Move axis to offset position RZERO OFFSET with FZRZERO VEL 6 Preset position at RZERO PRESET RZERO MODE 3 Forward
89. he direction is defined by LEN sign or AXIS Axis on which apply length compensation dir Direction of compensation positive negative Description G43 enables tool length compensation Corrections are applied only in the selected axis Ex G43 X10 3 Z ENABLE POSITIVE COMPENSATION ON AXIS Z OF LEN 10 3mm 82 ISONS GCODE USER GUIDE 18 2 2 644 Disable tool length compensation G43 Syntax G44 Function type MODAL Cancel G43 Description G44 disable tool length compensation set with G43 18 2 3 G45 Enable tool length compensation from tool table T Syntax G45 AXISdir Function type MODAL Cancel G43 optional correction set by Tool Table Parameters AXIS Axis on which apply length compensation dir Direction of compensation positive negative Description G45 works like G43 but the length of tool is taken only in the tool table with Tn Ex G45 Z ENABLE POSITIVE TOOL LENGTH COMPENSATION ON AXIS Z Zero Tool Contact on Plane 83 ISONS GCODE USER GUIDE 18 2 4 G46 Disable tool length compensation G45 Syntax G46 Function type MODAL Cancel G45 Description G46 disable tool length compensation set with G45 84 ISONS GCODE USER GUIDE 18 3 INTERPOLATION MODES IsoNs can use several axis interpolation modes allowing to adapt it in a lot of types of machine 18 3 1 G60 Enable FAST interpolation without stop on segments Syntax G60 Function type MODAL
90. ion stops the spindle the water and saves the positions axes for pause resume Essential Functions In M PAUSE ex 3 axes 1 GLOBAL SSAVEX GLOBAL variable for X AXIS 2 GLOBAL SSAVEY GLOBAL variable for Y AXIS 3 GLOBAL SSAVEZ GLOBAL variable for Z AXIS 4 G62 Wait axes stop 5 SSAVEX S QO Save X position 6 SSAVEY S Q1 Save Y position 7 SSAVEZ S Q2 Save Z position 8 SET RESET output for spenlde water etc 9 Eventually parking axes If M PAUSE is not configured will stop only the axes by CNC 113 ISONS GCODE USER GUIDE 18 10 5 RESUME PAUSE M This function is execute when START button is pressed after PAUSE PROGRAM This function is VERY IMPORTANT usually this function repositions the axes and SET RESET output for spendle water etc Essential Functions In M RESUME PAUSE ex 3 assi 1 GLOBAL SSAVEX GLOBAL variable for X AXIS 2 GLOBAL SSAVEY GLOBAL variable for Y AXIS 3 GLOBAL SSAVEZ GLOBAL variable for Z AXIS 4 G96 Offset suspension 5 G98 Work origins suspension 6 GO 20 7 axis to safety position 7 F1 SPEED axes 8 G1 X SSAVEX Y SSAVEY Axes X Y etc To initial positions these are saved by M pause 9 G62 Wait axes in positions 10 G1 Z SSAVEZ Axis Z to initial position this is saved by M pause 11 G62 Wait Z axis in position 12 G97 ResumeOffset 13 G99 Resume Work origins 14 SET RESET output for spenlde water etc If no M resume pause configured the CNC axes back to the starting point in
91. isn t present last value or default value is taken Original Path Path with G74 A xen Len Min Description RLS filter allows to remove SHORT G1 segments which couldn t be worked at requested speed travel time less than CN sample Setting a ZERO value IsoNs calculates automatically the length optimizing it to current speed The result is an exclusion of void segment freeing the movement BUFFER and allowing greater work speed ATTENTION When RLS is enable override potentiometer is disabled RLS filter atcs on both 2D and 3D paths RLS FILTER IS 4th TO BE INVOKED ON ORIGINAL PATH 97 ISONS GCODE USER GUIDE 18 4 4 6106 Smoothing 2D 3D Syntax G106 ax Xval ALevel Bminlen Function type Disabled when PartProgram start Parameters ax Axis index where is set the filter from 0 to n normally 0 is X axis ex G106 0 val 0 Filter Smoothing disabled 1 Filter Smoothing Enabled Level Smoothing level from 0 to 1 Values low have more effect to smoothing 0 3 Typical value is 0 7 Optional parameter if it isn t present last value or default value is taken minlen Minimum G1 segment length allowed Segment more large this value not are inserted in the filter Typical default value is disable The length is calculated by axes vector for all axes Is necessary set only one time If the parameter is not present the last length value is used Description The SMOOTHING filter is used to smoothing G1 segment
92. it allows to increase the execution speed but decreased the precision respect to original path The SMOOTHING is activated for any axes with separate parameters THE SMOOTHING FILTER IS 5th TO BE INVOKED ON ORIGINAL PATH 98 ISONS GCODE USER GUIDE ORIGINAL PATH G60 GO Z3 G0X30 4845 Y258 703 F15 G01 Z 1 X36 1945 Y260 416 F15 X40 7625 Y257 8465 X44 7595 Y260 1305 X52 7535 Y260 416 X63 6025 Y256 99 X67 0285 Y250 138 X63 0315 Y247 854 X60 1765 Y244 428 X64 7445 Y239 289 X61 033 Y239 289 X62 746 Y234 721 X65 601 Y235 863 X70 4545 Y235 5775 X75 0225 Y238 147 X84 7295 Y237 8615 X87 299 Y239 86 X95 5785 Y239 86 X99 0045 Y241 002 X101 2885 Y236 1485 X107 284 Y237 576 X116 1345 Y231 866 X145 2555 Y233 008 X158 103 Y230 4385 X170 9505 Y234 15 X178 088 Y232 1515 X194 9325 Y229 2965 X200 357 Y232 437 X205 7815 Y219 304 X196 0745 Y216 1635 X193 7905 Y207 5985 X196 6455 Y199 89 X193 7905 Y198 748 X196 36 Y190 4685 X194 076 Y186 4715 X194 9325 Y182 4745 X199 5005 Y179 334 X193 7905 Y177 9065 X200 0715 Y175 0515 X193 7905 Y172 7675 X198 644 Y170 769 X191 5065 Y167 343 X196 6455 Y163 346 X191 221 Y161 062 X195 789 Y158 207 X188 0805 Y156 494 X191 792 Y153 068 X188 0805 Y150 784 X191 5065 Y148 2145 X179 801 Y138 793 X160 387 Y147 0725 GO X160 387 Y147 0725 99 ISONS GCODE USER GUIDE PATH Smoothing on X Y level 2 Min Len Segment 8 mm 8 G60 GO Z3 G69X200 G106 0 0 2 B8 G106 1 0 30 4845
93. le Syntax WRITE VAR Svar index Parametri Svar Name of the source variable index Expression indicating the index in the list ATTENTION list must be sized for INDEX value Description WRITE_VAR allows to store a value of the current list in a variable The list must have been sized by DIM_VAR or however it must have a size greater or equal to INDEX If index is over the list size an error will be showed Ex DIM_VAR 10 SIZE LIST WITH 10 EMPTY ELEMENTS WRITE_VAR SVAR1 0 STORE VAR1 IN INDEX 0 OF THE LIST WRITE VAR SVAR1 1 STORE VAR2 IN INDEX 1 OF THE LIST SAVE VAR MYFILE PNT SAVE FILE 18 7 4 SAVE VAR save a variables file with current list Syntax SAVE VAR filename Parameter filename Name of the file to be saved The name can contain extension but there must not be delimitation characters etc Description SAVE VAR saves the value in the current list to the named file Ex DIM VAR 10 SIZE LIST WITH 10 EMPTY ELEMENTS WRITE VAR SVAR1 0 STORE VAR1 IN INDEX O OF THE LIST WRITE VAR SVAR1 1 STORE VAR2 IN INDEX 1 OF THE LIST SAVE VAR MYFILE PNT SANE FILE 18 7 5 FILE EXISTS test if a file exists Syntax FILE_EXISTS Svar filename Parameters Svar Variable where to store result O file not found 1 file exists filename Name of the file The name can contain extension but there must not be delimitation characters etc Description FILE_EXISTS allows to test if a variable file exists Ex
94. m properties The properties can be setted before a LIB SHOWFORM Syntax LIB FORMPROP PROPVALUE value or variable PROPNAME Property Name TEXT VISIBLE PropValue 0 or ZERO NsForm Invisible PropValue 1 or ZERO NsForm Visible WIDTH PropValue zero set WIDTH NSFORM HEIGHT PropValue gt zero set HEIGTH NSFORM LEFT PropValue zero Set the LEFT position TOP PropValue gt zero Set the TOP position BACKCLOR PropValue Value 0 to 140 Set BACKCOLOR see color table STARTPOSITION must be set before SHOWFORM PropValue o r di ZERO Use the LEFT TOP position PropValue 1 gt di ZERO NsForm is centered on screen WINDOWSTATE PropValue 0 or di ZERO Use WIDTH e HEIGHT dimensions PropValue 1 or di ZERO Use a Max dimension Ex LIB FORMPROP WIDTH 500 LIB FORMPROP HEIGHT 300 LIB FORMPROP BACKCOLOR 113 RED LIB FORMPROP STARTPOSITION 1 CENTER SCREEN LIB FORMTEXT CAPTION LIB SHOWFORM LIEN ISONS GCODE USER GUIDE 7 5 Set the NsForm Caption The properties can be setted befor a LIB SHOWFORM Syntax LIB FORMTEXT CAPTION CAPTION TEXT Text of Caption Ex CAPTION 7 6 LIB ADDLABEL Add a NsLabel to NsForm NaLabel properties can be setted befor a LIB SHOWFORM Syntax LIB ADDLABEL NAME NAME TEXT Univocal Name of NsLabel Whitout special characters Ex LIB ADDLABEL LBL
95. me position of axis A 4 Head offset from home position of axis B 5 Head offset from home position of axis C 6 Head offset from home position of axis U 7 Head offset from home position of axis V 8 Sensor offset from 0 head of axis W 9 Sensor offset from 0 head of axis X 10 Sensor offset from 0 head of axis Y 11 Sensor offset from 0 head of axis 7 12 Sensor offset from 0 head of axis A 13 Sensor offset from 0 head of axis B 14 Sensor offset from 0 head of axis C 15 Sensor offset from 0 head of axis U 16 Sensor offset from 0 head of axis V 17 Sensor offset from head of axis W 18 User Define 1 19 User Define 2 10 8 AXIS COUNTER VARIABLES They are useful to read axis position from the interpolator They don t contain the actual axis position but the position where it will be after position command Generally these variable anticipate axis position before it has reached it That is very useful for block restart facilities Axis counter variables ReadOnly Cn Where isa value from 0 to 8 indicating the axis 42 ISONS GCODE USER GUIDE 11 LIMIT AXIS VARIABLES They are useful to read the limit axis setted Positive Limit ReadOnly Nn Where is value from 0 to 8 indicating the axis Negative Limit ReadOnly Sn Where is a value from 0 to 8 indicating the axis 11 1 GLOBAL VARIABLE GLOBAL prefix can be applied only to GENERIC variables Sname and to use it in M or HM functions GLOBAL prefi
96. me the PartProgram from last instruction Tn used DIM ARRAY management SAVE Save the tools table in the IsoNs cfg ISONS GCODE USER GUIDE 4 3 MATH AND LOGICAL OPERATORS Addiction Subtraction Multiplication Division Open bracket Cosed bracket Start expresion for axis count ex G1X Svar Svar1 End expresion for axis count G1X Svar Svar1 POW XOR gt Greater lt Less gt Greater or equal lt Less or equal lt gt Not equal Equal Logic Or 8 Logic And Or Bit amp And Bit Negate ad Not Bit gt gt Shift bit right lt lt Shift bit left ISONS GCODE USER GUIDE 44 MATH FUNCTIONS Sinus 2 2 Cosinus LOG Logarithm EXP Exponetial SQR Square root TAN Tangent ATAN Arctangent ASIN Arcsinus ACOS Arccos INT Integer part of float rounded FIX Integer part of float whitout rounded ABS Absolute value DRG Set degrees for COS SIN TAN ACOS ASIN ATAN RAD Set radiants for COS SIN TAN ACOS ASIN ATAN ISONS GCODE USER GUIDE 4 5 VARIABLES and CONSTANTS NUMBER Numeric constant ex 432 12 SVARNAME Generic double value ex SVAR1 Demand axis position ex 5 00 510100 Actual axis position ex S RO S R100 Digital input ex 51110 Digital output ex 010 gt TIMER S T3
97. n type MODAL Cancel G105 Description G104 enable or restore RTCP function on CN 17 12 17 G105 Disable RTCP Syntax G105 Function type MODAL Cancel G104 Description G105 disable RTCP function on CN restoring normal interpolation RTCP function can be restored with G104 78 ISONS GCODE USER GUIDE 18 TOOL RADIUS COMPENSATION ISONS manages the tool offset compensation that can be activated with G41 and G42 ISO function This functions allow to adjust the tool track according the tool diameter Using this mode it s possible to have some interference on tool track if we have high diameter tools ISONS can display on its interface a graphic preview where will be showed interfering points due to make possible to adjust the track previous the work start However the tool compensation will take high attention on the track elaboration Furthermore it will insert automatically connection arcs with tool radius as arc radius if the intersection point of the compensation tracks is very far away from real intersection point Real Path Modify Path 18 1 1 641 642 Enable left right radius tool compensation Syntax G41 Function type MODAL Cancel G40 Description G41 Enable left compensation G42 Enable right compensation Tool diameter is set by D function or by tool table Tn 18 12 640 Disable radius tool compensation Syntax G40 Function type MODAL Cancel G41 G42 Description G40 disables
98. ndatory Numeric expression Es SVAR 35 14 SVAR1 ABS SVAR 8 8 DRG Enable angle in DEGREES for COS SIN TAN ACOS ASIN ATAN functions By default at each start of PART PROGRAM angle are setted in radiant Syntax DRG 8 9 RAD Enable angle in RADIANT for COS SIN TAN ACOS ASIN ATAN functions By default at each start of PART PROGRAM angle are setted in radiant Syntax RAD 8 10 SQR Return the square root of an expression in DOUBLE type value Syntax SQR expression expression Mandatory Expression Ex SVAR SQR SVAR1 8 11 TAN Return the tangent of an angle in a DOUBLE type value Syntax TAN angle angle X Mandatory Angle in radiant it can be an expression Ex SVAR TAN SVAR1 3 8 12 ATAN Return the arctangent of an expression Result is from 3 14 to 3 14 Syntax ATAN expression expression Mandatory Expression Ex SVAR ATAN SVAR1 3 8 13 ASIN Return the arc sinus of an expression Syntax ASIN expression expression Mandatory Expression Ex SVAR ASIN SVAR1 3 35 ISONS GCODE USER GUIDE 8 14 ACOS Return the arc cos of an expression Syntax ACOS expression expression Mandatory Expression Ex SVAR ACOS SVAR1 3 36 ISONS GCODE USER GUIDE 9 USING LOGIC OPERATORS In this chapter will be explained how to use logical operator omitting classic math operators 9 1 ROUND BRACKETS They separate level of expressions doing priority to content inside the brackets
99. o INDEX ORIGIN If the parameter n is omitted is used USER ZERO to set index The n parameter not changes the value of USER ZERO parameter Similarly these can not use the n parameter G55 for AXIS Y G56 for AXIS Z G57 for AXES XY G58 for AXES YZ G59 for AXES XZ Unlike G94 these functions set WORK ORIGIN from a file saved on pc allowing reload of ORIGINS after switch off Ex USER ZERO 0 uses INDEX 0 Option default G54 XYZ Set ORIGIN to XYZ USER ZERO 1 uses INDEX 1 G55 Set origin Y G54 2 XYZ SET Origin on XYZ by INDEX 2 ISONS GCODE USER GUIDE 17 2 4 G92 Work origin in current axis position Syntax G92 XYZ etc Function type MODAL Cancel G94 G82 Parameters X Y Z A B C U V W axis to be zero Description It defines the new origin of one or more axis in the current position Axis indicated are zeroed in current position 17 2 5 682 Work origin in current axis position with sensor offset Syntax G82 XYZ etc Function type MODAL Cancel G94 G92 Parameters X Y Z A B C U V W axis to be zero Description It defines the new origin of one or more axis in the current position taking into account acquisition sensor G102 Axis indicated are zeroed in current position adding sensor offset This function must be used with origin acquisition cycles by G102 17 2 6 698 653 Suspend work origin Syntax G98 G53 Function type MODAL Cancel G82 G92 G94 G54 G55 G56 G57 G58 G59 Description
100. on speed by path type With SGLAFC n parameters the AFC algorithm computes the optimal speed for each segment The analysis of speed is carried out in the look ahead segments buffer set by G69 Obviously more the buffer is deep more the result is accurate The AFC algorithm works only on G1 segments and it makes sense only in paths formed by MICRO SEGMENTS It s basilar understand AFC can change the axis speed in each single segment and therefore the resulting speed can be inconstant along path The SGLAFC_ parameter of each single axis defines the instant speed gap it can bear without problems If in the analyzed segment even a single axis exceeds its threshold the speed is reduce to fit set parameters In the presence of edges defined by SGL3D n parameters axis are decelerated to a stop AFC is very useful in works where it doesn t need a constant speed along path In such a cases AFC allows to move at speed as high as the path makes it possible slowing in critical points curves 88 ISONS GCODE USER GUIDE 18 3 9 G67 Moveto for movement outside plane and Lineto for inside one Syntax G67 Function type MODAL Cancel G68 Description G67 works with a combination of PX MOVETO for movement outside work plane 3D and PX LINETO for movements inside work plane Furthermore when PX MOVETO is used axis are stop at end of segment G63 G65 MUST NOT BE ENABLED G68 18 3 10 G68 Always using of PX LINETO in G1 TRANSPORTED AX
101. ows programming with an extension of standard ISO code The adding instruction to control the program flow are BASIC style increasing programming performance Therefore it s possible to manage conditional cycles iterative cycles jumps to labels etc 5 1 IF ELSE END IF It allows conditional execution of an instructions block depending of the result of expression IF cycles can be nested without limits Syntax IF condition instr true ELSE instr false END IF condition Mandatory Any numeric expression with a result of True or False Instr true Instructions block executed if condition is TRUE Istr false Optional Instructions block executed if condition is FALSE END IF End of IF ELSE cycle Ex IF SVAR SVAR2 15 SVAR4 18 SVAR1 10 G1X10Y20 ELSE SVAR1 0 G1X0YO END IF 5 2 LOOP END Iterative cycle of the program Instructions inside LOOP END LOOP cycle are executed a number of time depended of expression result LOOP cycles can be nested without limits Syntax LOOP variable instructions END LOOP variable Mandatory Any variable typed Sname or numeric value Instructions Instructions block executed in each cycle END LOOP End of LOOP cycle Ex G91 SVAR 20 SVAR1 5 LOOP SVAR G1X1 3Y1 2 IF SVAR1 20 GOTO EXIT LOOP FORCED EXIT FROM LOOP END IF END LOOP ISONS GCODE USER GUIDE 53 Unconditional jump to label line number identified by Syntax GOTO labelname GOTO
102. pensation G44 Disable TOOL LENGTH compensation G45 Enable TOOL LENGTH compensation parameter from TOOL TABLE G46 Disable G45 G47 Set mode of start stop TOOL compensation G41 G42 ISONS GCODE USER GUIDE G48 Define Depth Axis G49 MILD MODE Edge Smoothing G50 Working plane rotation G51 Suspend plane rotation G50 G52 Restore plane rotation G50 G53 As G98 for compatibility to other cn 54 PE G54 n Work origin from memory AXIS X or axis selected by following parameters XYZ etc G55 Work origin from memory AXIS Y G56 Work origin from memory AXIS Z G57 Work origin from memory AXIS XY G58 Work origin from memory AXIS YZ G59 Work origin from memory AXIS XZ G60 Enable FAST interpolation without stop on segments G61 Enable interpolation with stop on segments G62 Wait stop axis G63 G1 Enable PX_MOVETO 3D interpolation outside selected plane without stop G64 G1 Enable interpolation on selected plane PX_LINETO 2D plane interpolation G65 Enable 3D interpolation PX_MOVETO with calculated stop on edge by parameters G66 AFC Adaptive Feed Control G67 PX_MOVETO for movement outside plane and PX_LINETO for inside ones 68 Always using of PX_LINETO in G1 TRANSPORTED AXIS G69 LHK Depth of buffer Look Ahead on virtual CN G70 Set work plane on a generic couple of axis G71 Start axis home searching
103. pted double MAX PropValue Maximum value accepted double NDECIMAL PropValue zero Number of decimals displayed INCREMENT PropValue Increment value when pressed up down buttons double AUTOSET PropValue 0 ZERO The value is writes when pressed the button SET PropValue 1 ZERO The value is automatically writes when this changed 30 ISONS GCODE USER GUIDE Es LIB FORMPROP WIDTH 500 LIB FORMPROP HEIGHT 300 LIB FORMPROP STARTPOSITION 1 LIB FORMTEXT TEST INPUT LIB ADDINPUT INP LIB INPUTPROP INP WIDTH 100 LIB INPUTPROP INP DIMFONT 20 LIB INPUTPROP INP LEFT 50 LIB INPUTPROP INP TOP 50 LIB INPUTPROP INP ALIGN 1 LIB INPUTPROP INP DEST SVAR LIB INPUTPROP INP MIN O LIB INPUTPROP INP MAX 100 LIB INPUTPROP INP NDECIMAL 3 SVAR1 0 01 LIB INPUTPROP INP INCREMENT SVAR1 SVAR 0 TEST INPUT 7 16 LIB INPUTSETVALUE Write IsoNs Variable to NsInput Syntax LIB INPUTSETVALUE INPNAME SVAR Nslnput Name SVAR IsoNs variable Ex VAR 103 2569 LIB INPUTSETVALUE INP SVAR SET VALUE AT 103 2569 ISONS GCODE USER GUIDE 7 17 COLOR TABLE Following color table to refer when the property is a color O O gt WHY b 4 82 2 0 2 21 ALICEBLUE ANTIQUEWHITE AQUA AQUAMARINE AZURE BEIGE BISQUE BLACK BLANCHEDALMOND BLUE BLUEVIOLET BROWN BURLYWOOD CADETBLUE
104. ram IsoNs recognized that automatically It s possible to share VARIABLES with Partprogram declaring them with GLOBAL prefix Inside HM function it s possible call other HM or M functions both on CN and PC Example of building of a M function GLOBAL VAR1 SHARE SVAR1 WITH PART PROGRAM GLOBAL VAR2 SHARE SVAR2 WITH PART PROGRAM G1 XSVAR1 YSVAR2 LINEAR INTERPOLATION 112 ISONS GCODE USER GUIDE 18 10 Essential M FUNCTIONS In this section are described the essential M functions These are necessary for correct machine operation 18 10 1 STARTM This function is execute when START PROGRAM is required Its use is not important because the preparatory M functions are inserted in to Part Program 18 10 2 ENDM This function is execute when END PROGRAM is required Its use is not important because the preparatory M functions are inserted in to Part Program 18 10 3 STOPM This function is execute when STOP PROGRAM button is pressed This function is VERY IMPORTANT It usually STOP ALL AXES and Spendle water etc Essential Functions In M STOP 1 G101 Stopaxes 2 G62 Wait axes stop 3 SET RESET output for spenlde water etc 4 Eventually parking axes Se nessuna M di STOP viene configurata il CNC blocca solamente gli assi nel punto di STOP If no M STOP configured will stop only the axes by CNC 18 10 4 PAUSEM This function is execute when PAUSE PROGRAM button is pressed This function is VERY IMPORTANT usually this funct
105. ram or return it a value by some predefined variables PREDEFINED VARIABLES 5 PARM 1 parameter 1 5 PARM 2 parameter 2 5 3 3 5 PARM n parameter n The number of parameters available depends to IsoNs configuration but it s a limit of 10 parameters default 5 Each time PartProgram writes or reads variable of 5 PARM n type they are read from CN memory 5 PARM variables are 32 bit INTEGER All parameters must be written before invoking M function and read at the end of it M functions always wait for emptying of the MOVEMENT BUFFER before it is really invoked Ex PARM 1 134 WRITE PARAMETER 1 PARM 2 SVAR WRITE PARAMETER 2 3 12600 WRITE PARAMETER 3 M100 INVOKE M100 FUNCTION SVAR1 PARM 1 READ PARAMETER 1 MODIFIED BY M100 111 ISONS GCODE USER GUIDE 18 9 2 M function inside M function inside PC are very similar to HM functions the only difference is that M functions cannot have any parameter Therefore exchange of value must be made with GLOBAL variables A HM function before to be used must be built and pre compiled by specific option in the human interface HM functions are formed by ISO code and they can be used all IsoNs functions After pre compiling HM is available to PartProgram VARIABILES and LABELS declared inside HM function are PRIVATE not visibile in PartProgram In other words VARIABLES and LABEL could be a same name both in HM function PartProg
106. scsscsscceccssccscceccesccscceccecccseeccesceceseccescececesceccesececcescescsussescesseesseccuccs 10 42 GENERIC INSTRUCTIONS oeccccscseccacvectvccecccestitecccscscsececctecesevesoussesseccvesdeesscosscesecescesessedcossscvececcsssceresectssevevescdescees 11 43 AND LOGICAL OPERATORS ccsscssccsscsscceccsscesccecceccesccecceccesececceccesensecescececeececcecccesceccusesescecseseessseccuccs 12 44 FUNCTIONS e 13 4 5 VARIABLES AND CONSTANTS wwssiecssssccccssossccocceacssccvadescvscossccscvescescsdcssccdces cssccsecescssscscsescsescesdesccsccacesscnsscwecsseneceoe 14 4 6 PREDEFINED VARIABLES csccvcccaccescssaccocctoscccacdescsocecasesovsccsccsscvecevacsScesccscsescsecevassccssecaccsscvecccadsecessonsesscsesevesssccsssece 14 47 NSFORMS INSTRUCTIONS vissccaccscccecccccdccssccaccoscssacsessscnssosscescvescseasccsscGaccesctoaceacedosaceacdescsescssecdosssconccoscssecsseescassosse 15 5 1 IF ELSE END IF 16 52 LOOP END LOOP 16 5 3 GOTO r a a e E E a E E E E E E EEEE EEEE S 17 LE lt GOSUBS RETURN RR 17 55 EAB El RC 18 5 6 END_PROGRAM 18 57 WAIT INPUT 18 58 ERROR icssscecccdecsececccacccaccccoosssccencostssicectccsseededcctvecstcctoesssectnectiscscecescssve
107. see WORK ORIGIN 17 3 1 G93 Work offset at position defined with parameter Syntax G93 Xvalue Yvalue DX DY ecc Relative value G93 P n value DP n value for positioner Or DOXvalue DOYvalue Function type MODAL Cancel G85 G95 Parameters X CZ A B CU V W flollowed by offset position Description It defines the new offset of one or more axis Axis not included in parameters list keep the offset unchanged The new position of zero axis will be defined in the parameter value The position value in the parameter refer to an ABSOLUTE position from HOME POSITION regardless of G90 G91 The new offset is automatically enabled with G93 17 3 2 G95 Work offset in current axis position Syntax G92 XYZ etc Function type MODAL Cancel G85 G93 Parameters X Y Z A B C U V W axis to be zero Description It defines the new offset of one or more axis in the current position Axis indicated are zeroed in current position 17 3 3 G85 Work offset in current axis position with sensor offset Syntax G85 XYZ etc Function type MODAL Cancel G93 G95 Parameters X Y Z A B C U V W axis to be zero Description It defines the new offset of one or more axis in the current position taking into account acquisition sensor G102 Axis indicated are zeroed in current position adding sensor offset This function must be used with origin acquisition cycles by G102 54 ISONS GCODE USER GUIDE 17 3 4 G86 Hardware preset axis on module 360
108. ssesssenssessctsssassnsedcacscesscansssedencssdednecdsacseesdsensessscnedsasanseveasees 82 18 2 1 G43 Enable tool length compensation from parameter 82 18 2 2 G44 Disable tool length compensation 43 83 18 2 3 G45 Enable tool length compensation from tool table 83 18 2 4 G46 Disable tool length compensation 645 2 2 2 222 0000000100000 84 18 3 INTERPOLATION MODES c M 85 18 3 1 G60 Enable FAST interpolation without stop on 2 2 0 000000000000000000000002 85 18 3 2 G61 Enable interpolation with stop on segments ossis sees 85 18 3 3 G62 for stop xis I C 85 18 3 4 G63 Interpolation outside work plane PX 2 22 2 20 0 000000000000000000000005500 nhan nnns 86 18 3 5 G64 Interpolation on work plane default 86 18 3 6 G65 Enable 3D interpolation PX MOVETO with calculated stop on edge by parameters 87 18 3 7 G75 Enable G64 for movement inside the work plane G65 for movement outside the work plane 87 18 3 8 G66 AFC Adaptive Feed
109. st All last value will be lost and the new values will be set with ZERO Ex DIM VAR 10 SIZE LIST WITH 10 ELEMENTS 18 7 10 COUNT VAR Get the number of elements in the current list Syntax COUNT VAR Svar Parameter Svar Variable where to store the list size Description COUNT_VAR gets the number of elements of the current list and store the value in a variable Ex COUNT_VAR SVAR1 STORE SIZE IN VAR1 IF SVAR1 0 F LIST IS EMPTY DIM_VAR 10 RE SIZE THE LIST 108 ISONS GCODE USER GUIDE 18 8 HM FUNCTIONS HM functions are an upgrade to standard M functions They can use parameters passed to function when invoked like common high level languages as C Parameters are then read by HM function writing it in private variables HM functions reside on PC and they must be created with the specific utility of human interface 18 8 1 Call of HM functions Syntax HMnum par 2 pars Function type Direct Parameters Num Number code of HM function PARn Variable or constant Parameters must be separated by space Description HM with code NUM is invoked passing it the parameters defined with PARn HM functions always wait for emptying of the MOVEMENT BUFFER before it is really invoked All parameters defined in the declaration must be inserted else an errore will be generated Ex HM10 SVAR1 SVAR2 12 3 24 125 CALL OF HM 10 PASSING 4 PARAMETERS 109 ISONS GCODE USER GUIDE 18 8 2 Building of a HM f
110. state for generic use 18 7 1 LOAD VAR load a variables file in current list Syntax LOAD VAR filename Parameter Filename Name of the file to be loaded The name can contain extension but there must not be delimitation characters etc Description LOAD VAR load the file named initializing the internal list with values container in the file The list is defined as an ARRAY of double values and we can access them by VAR and WRITE VAR functions If the file will be not found IsoNs will show the relative error Ex LOAD VAR MYFILE PNT LOAD FILE GET VAR SVAR1 0 SET VAR1 FROM INDEX 0 OF THE LIST GET VAR SVAR2 1 SET VAR2 FROM INDEX 1 OF THE LIST 18 7 2 GET VAR Read a value from the loaded list and store it in a variable Syntax GET VAR 5 index Parameters Svar Name of the destination variable Index Expression indicating the index in the list Description GET_VAR reads a value in the current list and stores it in a variable The list must have been sized by DIM_VAR or however it must have a size greater or equal to INDEX If index is over the list size an error will be showed Ex LOAD VAR MYFILE PNT LOAD FILE SINDEX 0 LOOP 10 VAR SVAR1 SINDEX LOAD X POSITION VAR SVAR2 SINDEX 1 LOAD Y POSITION G1 X SVAR1 Y S VAR2 MOVE SINDEX SINDEX 2 NCREASE INDEX END_LOOP 105 ISONS GCODE USER GUIDE 18 7 3 WRITE VAR Write a value in the loaded list getting it from a variab
111. ted uses the previous value P XYZ Ratio P lt 1 reduces P gt 1 increases Uses the same Ratio for X Y Z IF NO PARAMETERS ARE INSERTED Only G1051 the previous values are used Description G1051 allows to scaling the Gcode with X Y Z Coordinate center 76 ISONS GCODE USER GUIDE Ex ORIGINAL GOXOYO G1X10Y10 Y20 X20 Y10 X10 GOXOYO SCALING G1051 X15Y1510 5J0 5 G1X10Y10 Y20 X20 Y10 X10 GOXOYO SCALING G1051 X15Y15I2J2 G1X10Y10 Y20 X20 Y10 X10 Ex ORIGINAL GOXOYO G1X10Y10 Y20 X20Y30 G3X40Y30R10 G1X50Y20 X50Y10 X10Y10 GOXOYO SCALING G1051 X30Y2010 5J0 5 G1X10Y10 Y20 X20Y30 G3X40Y30R10 G1X50Y20 X50Y10 X10Y10 GOXOYO 71 ISONS GCODE USER GUIDE 17 12 15 G103 Set RTCP parameters Syntax G103 Xval Yval Zval Function type MODAL Parameters X Value of parameter X Y Value of parameter Y 2 Value of parameter 2 Description IsoNs uses a RTCP rotate tool center point adaptable to any geometry of the machine Therefore the value passed to function by 6103 max 9 value X Y Z A B C U V W will determine the right parameters for a specific geometry The calculation of RTPC must be set in installation phase and it will be necessary the intervention of a specialized technician G103 passes the parameters to CN without enabling RTCP function Enable disable is demanded to G104 G105 function 17 12 16 G104 Enable restore RTCP Syntax G104 Functio
112. the couple af axis formed the new work plane Ex G70XA select work plane on axis X and A 60 ISONS GCODE USER GUIDE 17 9 START SEARCH OF HOME POSITION With G71 function IsoNs allows to execute searching of home position directly in PartProgram It can be used for example when there are spindle axis with double function SPEED AXIS CONTROLLED AXIS In these cases when we switch function mode to a controlled axis it will be necessary to make searching of home position 17 9 1 G71 Start Homing cycle Syntax G71 ASSE Function type DIRECT Parameter Name of axis to be homed Description It starts searching of home position for selected axis Searching mode is defined by machine parameter RZERO MODE PartProgram waits for ending of homing procedure However STOP PROGRAM is always active By the parameter of configuration TIME OUT HOME can be generated an error 1005 Time Out axis Home if searching isn t terminated in the set time Ex G71X ISONS GCODE USER GUIDE 17 10 AXIS MOVEMENT FUNCTIONS 17 10 1 60 Rapid positioning Syntax GO Function type MODAL Cancel G1 G2 G3 Description GO defines linear movement type with maximum axis speed Maximum speed of each axis is defined by machine parameters IsoNs use a specific calculation of axis speed reducing to minimum the axis STRESS during rapid positioning Unlike other CN where GO defines NOT INTERPOLATED movement IsoNs move axis always in INTERPOLATION mode b
113. the function M for actual PartProgram Syntax OPT Options Value Options Options MSTOP MSTART MEND M GOBLOCK MGORETRACE MERROR MPAUSE M GOPAU SE Value New value for M functions EX MSTOP 10 M STOP 10 for actual PartProgram MERROR 1 Disable M error for actual PartProgram ISONS GCODE USER GUIDE 6 7 PAUSE MODE Defines the way in which CNC must act PAUSE The modes are as follows Normal Mode Pause Enabled M Pause Enabled M Resume Pause Enabled Pause Enabled M Pause Enabled M Resume Pause Disabled Pause Enabled M pause Disabled M Resume Pause Enabled Pause Enabled M pause Disabled M Resume Pause Disabled PAUSE DISABLED ON CNC Syntax PAUSE_MODE val Val Value or expression Pause_Mode used to disable or limit the functionality of the PAUSE cycles during some special work Ex TOOL CHANGE etc 6 8 IMPORT Import an external file with various formats The predefined format is ISONS If present NsImportFile dll file this defines the import format Syntax IMPORT filename ext filename It containes the absolute or relative file path If FileName initiates with SAPPPATH the file is searched in the folder ISONS Import generates the events Startlmport and when the file terminated execution The MAIN part program resume execution when Import File is terminated import multiple files can be nested Ex IMPORT SAPPPATH PROJECT IMPORT TESTIMPORT ISO
114. the interpolation of a set F in the machine parameter VRIPOS 18 10 6 GO BLOCK M This function is execute when START button is pressed by Plugin GO BLOCK usually this function repositions the axes and SET RESET output for spendle water etc Essential Functions In GO BLOCK M ex 3 assi 1 SPOSX S CO Axis X position calculated by 2 SPOSY S C1 Axis Y position calculated by 3 SPOSZ S C2 Axis Z position calculated by CNC 4 G96 Offset suspension 5 G98 Work origins suspension 6 GO Z O Z axis to safety position 7 F1 SPEED axes 8 G1 X SPOSX Y SPOSY Axes XY etc To initial positions 9 G62 Wait axes in positions 10 G1 Z SPOSZ Axis Z to initial position 11 G62 Wait Z axis in position 12 G97 ResumeOffset 13 G99 Resume Work origins 14 SET RESET output for spenlde water etc 18 10 7 GO RETRACEM This function is execute when START button is pressed by Plugin RETRACE usually this function repositions the axes and SET RESET output for spendle water etc Essential Functions In M RETRACE 1 SET RESET output for spenlde water etc 114 ISONS GCODE USER GUIDE 18 11 DEFINING DEPTH AXIS The depth axis is used for some functions IsoNs Normally this axis is related to the work plan selected Work Plane XY Depth axis Z Work Plane XZ Depth axis Y Work Plane YZ Depth axis X The depth axis is used by the simulation process and the way PREVIEW and by G47 function 18 11 1 G48 Define Depth axis
115. unction A HM function before to be used must be built and pre compiled by specific option in the human interface HM functions are formed by ISO code and they can be used all IsoNs functions After pre compiling HM is available to PartProgram VARIABLES and LABELS declared inside HM function are PRIVATE not visibile in PartProgram In other words VARIABLES and LABEL could be a same name both in HM function and PartProgram IsoNs recognized that automatically It s possible to share VARIABLES with Partprogram declaring them with GLOBAL prefix Inside HM function it s possible call other HM or M functions both on CN and PC Example of building of a HM function GET 5 1 SPAR2 SPAR3 5 4 READ PARAMETERS GLOBAL 5 5 SHARE SPAUSE WITH PART PROGRAM FSPAR3 SET FEED AT SPAR3 G1 X PAR1 YSPAR2 ZSPAR3 LINEAR INTERPOLATION G4 FSPAUSE PAUSE As we can see from the example a HM function is very similar to the high level languages If there was a need to return a value we can do it using GLOBAL variables ISONS GCODE USER GUIDE 18 9 M FUNCTIONS There are two type of M function e Inside e Inside Obviously function cannot have the same number M inside PC are priority to M inside CN If both they were present IsoNs invokes the PC one 18 9 1 M functions inside CN M function inside CN have to be built with VTB environment refer to relative documentation They can read some parameters from PartProg
116. update but there are cases such as those listed above that require an update Always use an upgrade at the end of the axis M of recovery from the PAUSE by RETRACE is still a good thing 17 7 1 G84 Preset Axes counters Syntax G84 X Y Z Function type DIRECT Parameters X ZA B CU V W axes to update Unless indicated no axis are updated all axes Description The G84 function copies the values of the coordinates axes by process typically taken from PAUSE or RETRACE the process of WORK 17 7 2 G83 Preset CPU 1 counters Syntax G83 Function type DIRECT Description The G83 function is only used to force the update of the counters of the CPU 1 the one that works on MACRO PAUSE STOP ERROR it is advisable to start with the MACRO code G83 59 ISONS GCODE USER GUIDE 17 8 SELECT WORK PLANE Work plane defines e plane for circular interpolation e plane where to calculate the axis stop fast interpolation G60 e plane where to calculate the radius tool compensation 17 8 1 617 Select work plane X Y Syntax G17 Function type MODAL Cancel G18 G19 G70 17 8 2 G18 Select work plane X Z Syntax G18 Function type MODAL Cancel G17 G19 G70 17 8 3 G19 Select work plane on Y Z Syntax G19 Function type MODAL Cancel G17 G18 G70 17 8 4 G70 Select work plane on axis by parameters Syntax G70 AXIS1 AXIS2 Function type MODAL Cancel G17 G18 G19 Parametersi Name of
117. ut calculating the best speed In this mode we can obtain always a FLUID MOTION where all axis start and arrive simultaneously Furthermore it is used a specific ACCELERATION parameter different from the working one It is recommended to use GO only for movement with tool not in working Ex GOXOYOZO MOVE TO 0 0 0 POSITION 17 10 2 G1 Linear interpolation a programmed speed Syntax G1 Function type MODAL Cancel GO G2 G3 Description G1 defines linear interpolation mode at programmed speed If movement are on selected work plane and it s enabled FAST interpolation without stop on edge G60 IsoNs calculates automatically stop on edge G1 enables movement at programmed F speed and can be modified by override potentiometer if not disabled with G11 According to CN we can obtain different performance about number of segment processed in a time unit Cn of NG35 series process about 350 segments per second instead 120 for CN of NGM13 series That defines the maximum working velocity when the path is formed by micro segments All CN have a movement buffer IsoNs tries to maintain it full in 660 mode If buffer empties CN stops axis obtaining a not fluid movement Ex G1X300Y200Z20 62 ISONS GCODE USER GUIDE 17 10 3 G2 G3 Circular interpolation a programmed F speed Syntax G2 cw G3 ccw Function type MODAL Cancel G0 G1 Description G2 and G3 define circular interpolation at programmed speed If movement are on sel
118. utside work plane is used and stop on edge is calculated automatically by CN 18 3 7 675 Enable G64 for movement inside the work plane G65 for movement outside the work plane Syntax G75 Function type MODAL Cancel G63 G64 Description G75 Enable interpolation 2D G64 when the movements are inside the work plane with SGLP Enable interpolation 3D G65 when the movements are outside the work plane with SGL3D G63 G64 MUST NOT BE ENABLED 87 ISONS GCODE USER GUIDE 18 3 8 G66 Adaptive Feed Control Syntax G66 Xval Yvin Zval Aval Function type Disabled when PartProgram start Parameters Xval O disable 1 Enable AFC if greater than 1 is carried out a moving average on the value of F calculated and the number of samples indicated in xVal This makes it more soft means the change of the F calculated Yvin optional axis inertia Vin gt 1 deceleration space increases If it isn n present Vin 1 is set no inertia Zval optional Indicates the values of Delta F to below which are not considered ex Val 0 3 a delta F d 0 3 or less is not considered and therefore the F is left to the previously calculated F 1 3 F 1 6 return to F 1 3 Aval Minimum value below which is not diminished the F Ex if Val 0 1 to 0 1 lower values of F are limited to 0 1 ATTENTION To correct working of G66 also G69 look ahead depth must be set Description G66 enables the AFC filter to auto calculate interpolati
119. utton is added to NsForm with LIB ADDBUTTON Syntax LIB BUTTONPROP BTNNAME PROPNAME PROPVALUE value or variable BTNNAME NsButton Name PROPNAME Property Name TEXT VISIBLE PropValue 0 of ZERO NsButton Invisible PropValue 1 of ZERO NsButton Visible default ENABLED PropValue 0 of ZERO NsButton enabled default PropValue 1 of ZERO NsButton disabled WIDTH PropValue zero NsButton Width HEIGHT PropValue zero NsButton Height LEFT PropValue gt zero NsButton Left position in NsForm TOP PropValue gt zero NsButton Top position in NsForm DIMFONT PropValue Value 6 to 100 Font Dimension 27 ISONS GCODE USER GUIDE BACKCLOR PropValue Value 0 to 140 Set BACKCOLOR see color table FORECOLOR PropValue Value to 140 Set FORECOLOR see color table STYLE default 0 PropValue 0 Normal 1 Italic 2 Bold 3 Bold Italic ALIGN default 1 PropValue 0 Middle Left 1 Middle Center 2 Middle Right 3 Top Left 4 Top Center 5 Top Right 6 Bottom Left 7 Bottom Center 8 Bottom Right DEST Destination variable writing Indicates the destination variable where the value is written to Source LIB BUTTONPROP BTN DEST SVAR SOURCE Source variable Value to write to DEST When you press the value of the source variable is written to DEST If fixed number can not contain decimal places LIB BUTTONPROP BTN SOURCE SVAR1 LIB BUTTONPROP BTN SOURCE 1230 CLOSEFORM default O PropValue 0 o o
120. vesstes 42 11 LIMITAXIS 9 9 99 9 9 43 11 1 GLOBAL VARIABLE 43 11 2 M FUNCTION VARIABLES FOR 43 11 3 SPECIAL PARAMETERS VARIABLES s ccnsssocesscssccssscosonnsssecossseceoncssecnsescsesssssecosssesecncesecosesodenssssecosssesecssssecoseseses 43 11 4 WORK ORIGIN AND OFFSET VARIABLES sssccsssssccccsssccccsssscccsssscccsssecccssseeeessececesssescessesssessseseessssssonsseses 45 11 5 USER GENERIC VARIABLES 45 11 6 ARRAY VARIABLES DIM 45 11 7 MARKER VARIABLES 45 13 PA PD N PAR ESPR SET ABSOLUTE 5 asas asas asas asas asas asas 47 14 PF N ESPR SET POSITIONER 85 6 6616 0 086 5 8 8 8 1 5 1 1 1 1 47 15 PS N STOP POSITIONER 41 2 4 1 0 6 60 66 0160 asas asas asas asas asas asas asas asas asas asas asa 47 16 PM N PAR READ STATUS 5
121. x must be used when we want to share a variable between PartProgram and M HM function because by default IsoNs considers LABEL and VARIABLE private Ex EXAMPLE FOR CODE OF PAUSE MACRO DEFINE SSAVEX AND SSAVEY AS GLOBAL GLOBAL SSAVEX GLOBAL SSAVEY G62 WAIT FOR AXIS IN POSITION SSAVEX S QO SAVE AXIS X POSITION SSAVEY S O1 SAVE AXIS Y POSITION GOXOYO EXAMPLE FOR CODE OF RESTART FROM PAUSE MACRO DEFINE SSAVEX AND SSAVEY AS GLOBAL GLOBAL SSAVEX GLOBAL SSAVEY GOX SSAVEX Y SSAVEY MOVE AXIS TO POSITION SAVED IN PAUSE MACRO G62 11 2 M FUNCTION VARIABLES FOR CN These variable are useful to pass parameter to M functions defined in CN That allows to condition M cycle by the value of them The parameters must be write before to call M function The number of passing parameters is defined in configuration up to maximum of 10 default 5 parameters ATTENTION The CN get these parameters as integer value Ex RUN M FUNCTION ON CN PASSING 2 PARAMETER PARM 1 100 PARM 2 300 M15 11 3 SPECIAL PARAMETERS VARIABLES They serve to read some parameters of IsoNs The list below shows the readable parameters with these variables S XO Read the current value of SPEED selected by S function ReadOnly X1 Read the index of current WORK ORIGIN ReadOnly X2 Read the index of current WORK OFFSET ReadOnly S X3 Read state of WORK ORIGIN Value 1 if se enabled or 0 if disabled ReadOnly S X4

Download Pdf Manuals

image

Related Search

Related Contents

PERKIN-ELMER  PG Music Band in a Box - 2012 (Windows) Upgrade Manual    NDS - A41 - SWT - Absolute Acoustics  Z40 User manual rel 1.2 Eng  2.1chスピーカーシステム YSP  Fiche 1 - Deroche  

Copyright © All rights reserved.
Failed to retrieve file