Navigation

  • Page 1

    V 6.05.08.02 G&M Code Programming Manual

  • Page 2

    2 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Version V 6.05.08.02 Release Date 26.07.2013 Author(s) Vol/Scho/Vo Editing/Illustrations Pa Trademark All product names and trademarks are the ex...

  • Page 3

    andronic 2060/3060 3 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Content Content ..................................................................................................................................................................... 3 Revisi...

  • Page 4

    4 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc General cycle definition (drilling and milling cycles) ...................................................................................................... 58 G81 Drilling cycle ..................

  • Page 5

    andronic 2060/3060 5 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G688 Setup command - Workpiece Machining ............................................................................................................ 164 G688,2 Surface plane milling .........

  • Page 6

    6 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Revisions Version Date Additions and changes Initials V6.05.08.02 23.07.2013 New chapter: G782,8 • Corrections / extensions: G4, G29, G54-G59, G487, G488, G688, G781,1, • G782,5, G782,6, G78...

  • Page 7

    andronic 2060/3060 7 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc General information This manual was prepared with great effort and utmost care. Nevertheless, this manual, the control unit or the programs are subject to modifications in the interest of ...

  • Page 8

    8 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Safety instructions Warnings and symbols This description uses the following warnings and symbols: This sign contains general and additional information or instructions and prohibitions f...

  • Page 9

    andronic 2060/3060 9 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Designated use Introduction andron products are developed and produced in accordance with current state-of-the-art methods. Before delivery, their safe operational status is verified. The...

  • Page 10

    10 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Components of a NC program The sequence of a machining process on the machine is described by the NC program. It consists mainly of a sequence of program records. In a all the necessary infor...

  • Page 11

    andronic 2060/3060 11 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Tool management Functions of the tool management • 100 tool magazine slots per tool magazine, • any number of tool magazines in the database, • configurable tool types, • 1 tool m...

  • Page 12

    12 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Tool dimensions: • Length, allowance and wear are added by the control system and the result will be set as active tool length when changing the tool. The allowance is entered by the operator a...

  • Page 13

    andronic 2060/3060 13 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Special functions: • Speed specification: If a nominal speed is defined in the tool data, this value will be set as spindle speed during the tool change if no speed has been programmed in...

  • Page 14

    14 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc M Functions The M functions initiate certain machine functions. These functions may differ depending on machine type/manufacturer. M Function A.* A.* M00 Programmed stop 1 M01 Optional s...

  • Page 15

    andronic 2060/3060 15 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Extensions of M commands (option) Different machine configurations require machine functionalities which can only be achieved in collaboration with andron. M Function A.* A.* Spindl...

  • Page 16

    16 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G Functions Explanations Property: MODAL means that the command/function remains active until it is overwritten. Topic: The G functions can be divided into the following topics:  Interp...

  • Page 17

    andronic 2060/3060 17 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G00 Positioning in rapid traverse Property modal Topic Axis movement Position --- Syntax G00 The path information G00 programs rapid traverse movements by specifying the target poin...

  • Page 18

    18 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G01 Positioning at the feed rate Property modal Topic Axis movement Position DEF Syntax G01 The path information G01 programs feed movements by specifying the target point. The target po...

  • Page 19

    andronic 2060/3060 19 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G02 Circular interpolation - Clockwise G03 Circular interpolation - Counterclockwise Property modal Topic Axis movement Position --- Syntax G02 /G03 <Parameter list> For the c...

  • Page 20

    20 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G04 Dwell time Property modal Topic Axis movement Position --- Syntax G04 <Parameter list> The function G04 allows you to program a dwell time. The time is specified by the paramet...

  • Page 21

    andronic 2060/3060 21 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G05 Spatial arc interpolation Property modal Topic Axis movement Position --- Syntax G05 <Parameter list> This function allows you to describe a spatial arc (spatial circle se...

  • Page 22

    22 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G14 Macro call Property non-modal Topic Special command Position --- Syntax G14 N = [“] Macro name [“] [Pn] A macro is a closed program part that must be programmed only once. A macr...

  • Page 23

    andronic 2060/3060 23 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G17 Plane XY G18 Plane ZX G19 Plane YZ Property modal Topic Setup command Position Preset G17 Syntax G17 / G18 / G19 A change of plane via G17/G18/G19 does not cancel active zer...

  • Page 24

    24 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G22 Sub program call Property non-modal Topic Special command Position --- Syntax G22 N = [“] Program name [“] [Pn] G22 N = [“] Database path: Program name [“] [Pn] Programs that...

  • Page 25

    andronic 2060/3060 25 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G23 Text - Functions Property non-modal Topic NC command Position --- Syntax G23 N = “Text “ P<Type> I<Index> The command G23 can be used to call up different func...

  • Page 26

    26 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G25 RTCP H On/Off Property modal Topic Special command Position --- Syntax G25 <Parameter list> RTCP describes the functionality of keeping a (TCP - Tool Center Point) constant dur...

  • Page 27

    andronic 2060/3060 27 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Functional description Axis traverse movement in milling lengthwise axis direction The use of axis traverse movement in milling lengthwise axis direction is possible by defining the cine...

  • Page 28

    28 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc EMERGENCY STOP by operator, PLC, control programs RTCP is not reset automatically. EMERGENCY STOP due to drive error RTCP is not reset automatically. Referencing all axes or one axis RTCP i...

  • Page 29

    andronic 2060/3060 29 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G26 Free plane Property modal Topic Setup command Position --- Syntax G26 <Parameter list> The command is used for defining the rotation of the programming coordinate system. ...

  • Page 30

    30 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Parameters Description H Switch H is used to define the application of rotation WX, WY and WZ. If H is not specified, H0 is applied. H0 The rotations are defined by means of Euler angle res...

  • Page 31

    andronic 2060/3060 31 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Pocket milling on non-parallel planes, kinematics swivel head/rotary table  cuboid workpiece with pocket geometry on inclined plane  point X70 Y30 Z50 is the marginal point of the...

  • Page 32

    32 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G29 Axis transformation Property modal Topic Transformation command Position --- Syntax G29 < Parameter list > This command is used to parameterise the axis transformation and to ...

  • Page 33

    andronic 2060/3060 33 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc H1 Switches the cylinder body interpolation on, the A axis is then programmed in mm/inch: G29 H1 A1 J-1 R5.2 (entry via the NC address) G29 H1 N0 J-1 R5.2 (entry via the axis number) ...

  • Page 34

    34 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G30 Spline interface (online spline) Property modal Topic Traverse command Position --- Syntax G30 <Axis information> oder <Spline head data> { pos, pos, [pos, ...,] ric, ric...

  • Page 35

    andronic 2060/3060 35 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G305 P5-Interpolation (Online Polynomial) Property modal Topic Traverse command Position --- Syntax G305 < Axis information > { pos, pos, [pos, ...,] ric, ric, [ric,...,] , d2...

  • Page 36

    36 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G31-G35 Spline interface (offline spline) Property modal Topic Traverse command Position --- Syntax G31 <Axis information> N<Number> F<Vmax> (max. 8 axes, contour number +...

  • Page 37

    andronic 2060/3060 37 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G40 Deletion of the milling cutter radius correction Property modal Topic Tool command Position DEF Syntax G40 Entering G40 will switch of all active milling cutter radius correctio...

  • Page 38

    38 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G41 Milling cutter radius correction left Property modal Topic Tool command Position --- Syntax G41 The contour of a workpiece can only be machined if the radius of the tool used is take...

  • Page 39

    andronic 2060/3060 39 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G42 Milling cutter radius correction right Property modal Topic Tool command Position --- Syntax G42 The milling cutter radius correction takes place on the right from the workpiece...

  • Page 40

    40 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G43 Milling cutter radius correction up to Property modal Topic Tool command Position --- Syntax G43 With G43 active, the tool path is corrected up to the contour. When an interpolation ...

  • Page 41

    andronic 2060/3060 41 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G44 Milling cutter radius correction via Property modal Topic Tool command Position --- Syntax G44 With G44 active, the tool path is corrected via the contour. When an interpolation...

  • Page 42

    42 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Zero offsets and coordinate rotation The zero offset makes it possible to move the program or workpiece zero to any desired position within the control range. After a zero point offset, all ...

  • Page 43

    andronic 2060/3060 43 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G50/G51/G52 PRESET The position of fixed reference points (PRESET) in the machine coordinates system is managed by using the command group G50-G52. The are used e.g. for positioning and ...

  • Page 44

    44 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G50 Deactivate PRESET Property modal Topic Setup command Position --- Syntax G50 G50 deactivates the existing PRESET offset. Offsets which are programmed with G52 are not kept.

  • Page 45

    andronic 2060/3060 45 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G51 activate PRESET Property modal Topic Setup command Position --- Syntax G51 <P> P - A saved PRESET offset is activated by means of G51 and the parameter P. The parameter P...

  • Page 46

    46 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G52 program PRESET Property modal Topic Setup command Position --- Syntax G52 <Parameter list> Shall a PRESET offset be defined in the NC program, this is specified and activated ...

  • Page 47

    andronic 2060/3060 47 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G53 Deletion of the zero offset Property modal Topic Setup command Position DEF Syntax G53 G53 will switch off all zero offsets (G54 – G59 P0-P99, G92, G93).

  • Page 48

    48 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G54 - G59 Zero offset and coordinate rotation Property modal Topic Setup command Position --- Syntax G54 - G59 <zero point > P0 – P99 <zero point page> G54 – G59 P0 – P...

  • Page 49

    andronic 2060/3060 49 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Description The position of the workpiece in the machine coordinate system is specified using G54-G59 or G54-G59 P0-P99. Translatory and rotatory offsets and data on the clamping position ...

  • Page 50

    50 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G70 Units of measurement inch Property modal Topic Setup command Position --- Syntax G70 The measures given are in inch. At the end of the program, the home position is always restored. ...

  • Page 51

    andronic 2060/3060 51 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G71 Units of measurement mm Property modal Topic Setup command Position DEF Syntax G71 The measures given are in mm.

  • Page 52

    52 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G72 Deletion of mirror image machining and scaling Property modal Topic Setup command Position DEF Syntax G72 A mirror image machining and / or a scaling of the coordinates system is can...

  • Page 53

    andronic 2060/3060 53 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G73 Mirror image machining Property modal Topic Setup command Position --- Syntax G73 Axis designator [-1][+1] The sign of the programmed dimensional value of an axis can be inverte...

  • Page 54

    54 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G73 Scaling Property modal Topic Setup command Position --- Syntax G73 <Parameter list> The coordinate values of the linear axes of the control can be increasedor decreased by a sc...

  • Page 55

    andronic 2060/3060 55 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G77 Cycle execution on a circle Property modal Topic Cycle command Position --- Syntax G77 <Parameter list> The function G77 makes it possible to execute a previously defined ...

  • Page 56

    56 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G78 Point definition Property modal Topic Setup command Position --- Syntax G78 <Pn> Axis coordinates If specific coordinates occur several times in a program (bores, clamping syst...

  • Page 57

    andronic 2060/3060 57 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G79 Cycle execution Property non-modal Topic Cycle command Position --- Syntax G79 <Axis positions> The function G79 executes a previously defined cycle. When the function is ...

  • Page 58

    58 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc General cycle definition (drilling and milling cycles) In fixed cycles, control sequences have been defined that can be parameterized by entering values and called at any desired positions on...

  • Page 59

    andronic 2060/3060 59 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G81 Drilling cycle Property non-modal Topic Cycle command Position --- Syntax G81 <Parameter list> Cycle for producing bores, optionally in combination with chip removal. The...

  • Page 60

    60 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G83 Deep-hole drilling cycle Property non-modal Topic Cycle command Position --- Syntax G83 <Parameter list> Cycle for producing deep-hole bores, optionally in combination with chi...

  • Page 61

    andronic 2060/3060 61 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Sequence (with chip removal J=0) 1. Rapid traverse to safety level (if this movement would trigger a negative axis traverse movement, first the X and Y axes are traversed to the programme...

  • Page 62

    62 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G84 Tapping cycle Property non-modal Topic Cycle command Position --- Syntax G84 <Parameter list> Cycle for producing a thread with or without floating tap holder. You will be prom...

  • Page 63

    andronic 2060/3060 63 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Compensation chuck At A1: A compensation chuck is being used in the machine; this means the main spindle is being driven by means of a speed control (analog or Sercos spindle). The speed ...

  • Page 64

    64 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G87 Rectangular pocket milling cycle Property non-modal Topic Cycle command Position --- Syntax G87 <Parameter list> or G87,1 <Parameter list> Milling cycle for the manufactu...

  • Page 65

    andronic 2060/3060 65 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Parameters of the variant G87,1: Helix radius cutting width I in % of the active tool radius Immersion angle 3 degrees (unchangeable) Helix direction direction of rotation J App...

  • Page 66

    66 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G88 Slot milling cycle Property non-modal Topic Cycle command Position --- Syntax G88 <Parameter list> or G88,1 <Parameter list> Milling cycle for producing a slot in paralle...

  • Page 67

    andronic 2060/3060 67 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Parameters of the variant G88,1 Staircase step length of 80% of the active tool radius (if possible) Immersion angle 3 degrees (unchangeable) but even number of infeeds of the st...

  • Page 68

    68 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G89 Circular / ring pocket milling cycle Property non-modal Topic Cycle command Position --- Syntax G89 <Parameter list> or G89,1 <Parameter list> Milling cycle for producing...

  • Page 69

    andronic 2060/3060 69 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Parameters of the variant G89,1: Helix radius cutting width I in % of the active tool radius Immersion angle 3 degrees (unchangeable) Helix direction direction of rotation J Ap...

  • Page 70

    70 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G90 Absolute measure Property modal Topic Setup command Position DEF Syntax G90 When an absolute measure is entered, all measures given refer to a fixed zero point. This zero point is al...

  • Page 71

    andronic 2060/3060 71 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G91 Relative measure Property modal Topic Setup command Position --- Syntax G91 <Parameter list> When entering a relative measure (incremental measure), the numeric value of t...

  • Page 72

    72 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G92 Relative zero point offset coordinate rotation Property modal Topic Setup command Position --- Syntax G92 <Axis positions> <Rotation> G92 moves the position of the zero p...

  • Page 73

    andronic 2060/3060 73 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G93 Absolute zero point offset coordinate rotation Property modal Topic Setup command Position --- Syntax G93 <Parameter list> G93 defines the position of the workpiece in the...

  • Page 74

    74 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Example of Euler: G93 (X200 Y150 Z50 C30 H0 WY=1.2 WX=3.4) Example of order: G93 (X200 Y150 Z50 C30 H1 WY=1.2 WX=3.4 J2 K1) Example of cancelation: G53 ...

  • Page 75

    andronic 2060/3060 75 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G94 Speed programming Property modal Topic Setup command Position --- Syntax G94 <Parameter list> Depending on whether the dimensions are set by the path conditions G70 or G71...

  • Page 76

    76 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G95 Time programming Property modal Topic Setup command Position --- Syntax G95 <Parameter list> With the function G95 time programming, the machining time can be determined for a ...

  • Page 77

    andronic 2060/3060 77 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G110 PLC Output setting G111 PLC Output deleting Property modal Topic Special command Position --- Syntax G110/G111 <Parameter list> In its present version, the andronic has a...

  • Page 78

    78 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Hex Port bit address Indramat PCS card Mitsubishi PLC (dez.) Name, Function Port 20 01 B1 D0 %I0.26.0 18,D0 02 B2 D1 %I0.26.1 18,D1 04 B3 D2 %I0.26.2 18,D2 08 B4 D3 %I0.26.3 18,D3...

  • Page 79

    andronic 2060/3060 79 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Hex Port bit address Indramat PCS card Mitsubishi PLC (dez.) Name, Function Port 37 01 D1 D0 %I0.30.0 22,D0 02 D2 D1 %I0.30.1 22,D1 04 D3 D2 %I0.30.2 22,D2 08 D4 D3 %I0.30.3 ...

  • Page 80

    80 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc General cycle definition (measuring and setup cycles) Probe cycles NC cycles which are used to check the produced parts for dimensional accuracy. It is possible to specify the values determine...

  • Page 81

    andronic 2060/3060 81 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G181 Probe calibration Property non-modal Topic Cycle command Position --- Syntax G181 <Parameter list> Cycles for probe calibration on a calibration ring with known diameter....

  • Page 82

    82 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Input data and explanations for the calibration cycle: Z safety position X/Y Z safety position X/Y level describes the position in the machine coordinate system at which it is possible to trav...

  • Page 83

    andronic 2060/3060 83 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc ZZK The position of the ball in Z-axis direction refers to the position that was determined with clamped stylus (taught measurement). Via this measurement, the transformation value ZT is...

  • Page 84

    84 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Number of control loops If the query keybounces has been occupied with 1, it is done with the number of control loops to recognize the measurement receipt. If during processing of this loop, ...

  • Page 85

    andronic 2060/3060 85 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Positioning feed The positioning feed describes the speed with which the spindle moves the selected preferred direction of the measurement stylus in the measurement direction. Position...

  • Page 86

    86 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Sequence (calibration in X/Y and Z) Sequence as described before, plus: 1. Approach of the safety position Z-axis in rapid movement 2. Approach of the calibration measurement ZYK, ZXK and th...

  • Page 87

    andronic 2060/3060 87 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G182 Distance measurement Property non-modal Topic Cycle command Position --- Syntax G182 <Parameter list> Measurement cycle for determining the distance at astep. The follo...

  • Page 88

    88 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y Positioning feed 1. Positioning Z  Immersion depth Z Positioning feed 2. Probe 1st corner  Measurin...

  • Page 89

    andronic 2060/3060 89 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G183 Straight line probing Property non-modal Topic Cycle command Position --- Syntax G183 <Parameter list> Measuring cycle for the measuring of an even whereby the central po...

  • Page 90

    90 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G183 B2 Z-10 R2 X10 Y40 A4 O55 N1 G79 X10 Y5 Z0 Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y Positioning feed 1. Positioning Z ...

  • Page 91

    andronic 2060/3060 91 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G184 Shaft probing Property non-modal Topic Cycle command Position --- Syntax G184 <Parameter list> Measurement stylus for the Probing of a shaft in which the center of the sh...

  • Page 92

    92 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y Positioning feed 1. Positioning Z  Immersion depth Z Positioning feed 2. Probe 1st point  Measuring...

  • Page 93

    andronic 2060/3060 93 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G185 Bore probing Property non-modal Topic Cycle command Position --- Syntax G185 <Parameter list> Measuring cycle for the probing of a Measuring cycle for probing a bore in w...

  • Page 94

    94 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y Positioning feed 1. Positioning Z  Immersion depth Z Positioning feed 2. Probe 1st point  Measuring...

  • Page 95

    andronic 2060/3060 95 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G186 Point measurement Property non-modal Topic Cycle command Position --- Syntax G186 <Parameter list> Measuring cycle for determining the X, Y and Z coordinates of a point. ...

  • Page 96

    96 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y Positioning feed 1. Probe 1st point  Measuring feed 2. Move free 1st point  50 mm/min 3. Probe 1st...

  • Page 97

    andronic 2060/3060 97 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G187 Measuring plate calibration Property non-modal Topic Cycle command Position --- Syntax G187 <Parameter list> Cycle for calibrating the measuring plate at a fixed position...

  • Page 98

    98 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Input data and explanations for the calibration cycle: Delta Z The transformation DeltaZ-CURRENT and DeltaZ to date is determined by the measuring stylus G187. These values serve to correct th...

  • Page 99

    andronic 2060/3060 99 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Approach order With the information on the approach sequence measuring can, the order in which the axes X, Z and Y (after approaching the safety position) are to approach the calibration...

  • Page 100

    100 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed Measurement receipt 0. Positioning Z  Safety position Rapid feed active 1. Positioning Z  Safety position Rapid feed active 2. Positioning X  XK measur...

  • Page 101

    andronic 2060/3060 101 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G188 Tool length measuring plate Property non-modal Topic Cycle command Position --- Syntax G188 <Parameter list> Measuring cycle for determining the tool length. If a calibr...

  • Page 102

    102 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed Measurement receipt 0. Positioning Z  Safety position Rapid feed active 1. Positioning Y  YK measurement Rapid feed active 2. Positioning X  XK measure...

  • Page 103

    andronic 2060/3060 103 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G189 Tool breakage control measuring plate Property non-modal Topic Cycle command Position --- Syntax G189 <Parameter list> Measuring cycle for tool breakage control by means...

  • Page 104

    104 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed Measurement receipt 0. Positioning Z  Safety position Rapid feed active 1. Positioning Y  YK measurement Rapid feed active 2. Positioning X  XK measure...

  • Page 105

    andronic 2060/3060 105 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G190 Absolute circle center Property modal Topic Setup command Position DEF Syntax G190 <Parameter list> The dimensions for the circle center can be given either in absolute ...

  • Page 106

    106 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G191 Relative circle center Property modal Topic Setup command Position --- Syntax G191 <Parameter list> If G191 is active, the circle center can be programmed as the distance fro...

  • Page 107

    andronic 2060/3060 107 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G281 Ramp participation Property modal Topic Setup command Position --- Syntax G281 <Parameter list> With this command, the participation of an axis in the ramp preparation c...

  • Page 108

    108 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G282 Coordinates NC commands for the special use of the machine's coordinate systems. G282,0 Switching workpiece coordinate system WCS / machine coordinates system MCS Property modal Topic...

  • Page 109

    andronic 2060/3060 109 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G282,2 Modulo on / off Property modal Topic NC command Position --- Syntax G282,2 A<value> G282,2 B<value> G282,2 C<value> G282,2 N<value> L<value> G2...

  • Page 110

    110 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G283 Multi-axis probing Property modal Topic Cycle command Position --- Syntax G283 <Parameter list> Within the spatial relative movement of the axes X, Z and Y, reaction is to be...

  • Page 111

    andronic 2060/3060 111 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G283 X10 Y30 Z-5 K5 I0 D1 O0.01 G283 X10 Y30 Z-5 K5 I0 D1 O0.01 R1 Procedure When the G283 function has started, the return value IP[2000] is occupied with 9, IP[2001] ...

  • Page 112

    112 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc After the switching change has been registered, the return value and the measurement number = 3 is written in the IDN file 'G283 DATA' and the target positions of the axes (if D > 0.5) wr...

  • Page 113

    andronic 2060/3060 113 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G285 Probe SETPOS Property non-modal Topic Cycle command Position --- Syntax G285 <Parameter list> Measuring cycle for probing aworkpiece surface, followed by absolute zero o...

  • Page 114

    114 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G285 X100 Y120 Z100 I-10 H0 A1 B2 C3 Input data and explanations for the cycle: Switching signal level Switching signal level is the state which the measurement stylus reports ...

  • Page 115

    andronic 2060/3060 115 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed Measurement receipt 0. Positioning Z  Safety position Positioning feed active 1. Positioning X / Y Rapid feed active 2. Probe 1st corner  Measuring ...

  • Page 116

    116 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G286 Look Ahead Switch On/Off Property non-modal Topic Setup command Position --- Syntax G286 L <value> (reserved command) The command is required if a G&M code has been prepa...

  • Page 117

    andronic 2060/3060 117 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G288 Set Look Ahead parameters When programming "G70 - Dimensions in inch", all lengths given in µm are evaluated in 1/10000 inch. G288,0 LookAhead basic parameter Propert...

  • Page 118

    118 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G288,1 time-based axes Property modal Topic Setup command Position --- Syntax G288,1 <Parameter list> G288,1 transfers the axis password (AKW) for time-based axes of the CNC. Bas...

  • Page 119

    andronic 2060/3060 119 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G288,2 Rounding axis Property modal Topic Setup command Position --- Syntax G288,2 <Parameter list> Setting the axis password (AKW) for the axes to be rounded. The option ...

  • Page 120

    120 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G288,3 Contour accuracy of individual axes Property modal Topic Setup command Position --- Syntax G288,3 XYZABC<Contour accuracy> G288,3 N<Axis number> L<Contour accuracy>...

  • Page 121

    andronic 2060/3060 121 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G288,4 Time base factor is axis-specific Property modal Topic Setup command Position --- Syntax G288,4 XYZABC<Time base factor> G288,4 N<Axis number> L<Time base factor...

  • Page 122

    122 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 Multi-function cycle Property modal Topic Setup command Position --- Syntax G289 The cycle G289 is used for various functions. The selection of the function is done via the corresp...

  • Page 123

    andronic 2060/3060 123 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 C Disable execution of external cycles Property modal Topic Special command Position --- Syntax G289 C <Release> H <Cycle or begin cycle area> K <End of cycle area...

  • Page 124

    124 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 E Error Exit from G&M code Property non-modal Topic Special command Position --- Syntax G289 E <Error number> G289 E can stop an NC program via an error message. In FlexP...

  • Page 125

    andronic 2060/3060 125 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 L Tool length correction Property modal Topic Special command Position --- Syntax G289 L <value> The following address letters are used for definition: L Tool length...

  • Page 126

    126 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 N Reload PRCON Property modal Topic Special command Position --- Syntax G289 N <value> G289 plus the address N offers various options of working with NC-program-specific Look...

  • Page 127

    andronic 2060/3060 127 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 R Adopt tool radius Property modal Topic Special command Position --- Syntax G289 R <value> Save tool radius from cycles to tool storage (G384). In FlexProg NC programs,...

  • Page 128

    128 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 X Adopt measurement values Property modal Topic Special command Position --- Syntax G289 X <value> G289 plus the address X allows measured values from the measurement cycles ...

  • Page 129

    andronic 2060/3060 129 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G289 Z Enabling of G73 / G93 with cycles Property modal Topic Special command Position --- Syntax G289 Z <value> The external cycles G181 - G186, G481 - G488 and G283 cannot ...

  • Page 130

    130 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G481 Bore setup Property non-modal Topic Cycle command Position --- Syntax G481 <Parameter list> G481 is used for determining the inside radius and the position of a bore or circl...

  • Page 131

    andronic 2060/3060 131 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Additional parameters for the set-up cycles are entered in the set-up menu: Angle mode is the mode for the processing of the angle of rotation in the zero offset table and can only be ...

  • Page 132

    132 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G481 SE01 setup 2 bores Property non-modal Topic Cycle command Position --- Syntax G481 <Parameter list> The special set-up cycle SE01 is a sequence extension of the set-up cycle ...

  • Page 133

    andronic 2060/3060 133 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G481 SE02 setup 4 bores Property non-modal Topic Cycle command Position --- Syntax G481 <Parameter list> This special set-up cycle is identical to SE01, except that the cente...

  • Page 134

    134 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y (Starting point) Positioning feed 1. Positioning X/Y (for measurement) Positioning feed 2. Positioning Z...

  • Page 135

    andronic 2060/3060 135 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G482 Shaft setup Property non-modal Topic Cycle command Position --- Syntax G482 <Parameter list> G482 serves to determine the outer radius and the position of a shaft or cir...

  • Page 136

    136 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Additional parameters for the set-up cycles are entered in the set-up menu: Angle mode is the mode for the processing of the angle of rotation in the zero offset table 0 – the angle of ro...

  • Page 137

    andronic 2060/3060 137 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G482 SE03 Setup 2 shafts Property non-modal Topic Cycle command Position --- Syntax G482 <Parameter list> The special set-up cycle SE03 is a sequence extension of the set-up ...

  • Page 138

    138 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G482 SE04 Setup 4 shafts Property non-modal Topic Cycle command Position --- Syntax G482 <Parameter list> This special set-up cycle is identical to SE03, except that the center of...

  • Page 139

    andronic 2060/3060 139 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y (Starting point) Positioning feed 1. Positioning X/Y (for measurement) Positioning feed 2. Position...

  • Page 140

    140 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G483 Setup slot/rectangular pocket inside Property non-modal Topic Cycle command Position --- Syntax G483 <Parameter list> The cycle G483 serves to determine the Center of a slot ...

  • Page 141

    andronic 2060/3060 141 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G483 D2 R1 B2 Z-5 X50 K100 J0 C0 E1000 O55 N2 G79 X10 Y5 Z0 Measurement log Slot/rectangle measurement, start direction 1:X+ 2:Y+ 3:X- 4:Y-; middle of slot / ...

  • Page 142

    142 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y (Starting point) Positioning feed 1. Positioning X/Y (for measurement) Positioning feed 2. Positioning Z...

  • Page 143

    andronic 2060/3060 143 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G484 Setup slot/rectangle outside Property non-modal Topic Cycle command Position --- Syntax G484 <Parameter list> The cycle G484 serves to determine the center of a slot or ...

  • Page 144

    144 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G484 D2 R1 B2 Z-5 X50 K100 J0 C0 E1000 O55 N2 G79 X10 Y5 Z0 Measurement log Slot/rectangle measurement externally, start direction 1:X+ 2:Y+ 3:X- 4:Y-; middle of sl...

  • Page 145

    andronic 2060/3060 145 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y (Starting point) Positioning feed 1. Positioning X/Y (for measurement) Positioning feed 2. Position...

  • Page 146

    146 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G485 Setup 2 sides Property non-modal Topic Cycle command Position --- Syntax G485 <Parameter list> The cycle G485 is used for determining the point of intersection of two side an...

  • Page 147

    andronic 2060/3060 147 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G485 R1 B2 Z-5 X113 Y40 I113 J14 K106 H6 A11 D6 C20 E1000 O55 N3 G79 X10 Y5 Z0 Measurement log Measurement direction left/right [0/1], coordinates intersec...

  • Page 148

    148 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 0. Positioning Z  Safety level and positioning X / Y (Starting point) Positioning feed 1. Positioning X/Y 1 (for measurement) Positioning feed 2. Positioning...

  • Page 149

    andronic 2060/3060 149 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G487 Determine space point Property non-modal Topic Cycle command Position --- Syntax G487 <Parameter list> The cycle G487 Determine space point is used to determine a switch...

  • Page 150

    150 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc A Tool radius B Measurement result

  • Page 151

    andronic 2060/3060 151 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 1. Probe 1st corner  Measuring feed 2. Move free 1st corner  50 mm/min 3. Probe 1st corner  (measurement result) 10 mm/min 4. Move free 1st corne...

  • Page 152

    152 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G488 Simple measurement block Property non-modal Topic Cycle command Position --- Syntax G488 <Parameter list> The cycle G488 Simple measurement block is used for determining the ...

  • Page 153

    andronic 2060/3060 153 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G488 A1 X30 Y0 Z-30 B1000 E300 O55 N2 I5 K0 C0 D0 H0 R1 G79 To determine the axis code word, the program WINAKW.exe in the directory 'C:/andron/Tools' can be used...

  • Page 154

    154 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Procedure Movement Feed 1. Probe 1st corner  Measuring feed 2. Move free 1st corner  50 mm/min 3. Probe 1st corner  (measurement result) 10 mm/min 4. Move free 1st corner ...

  • Page 155

    andronic 2060/3060 155 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Communication variables for FlexProg Cycle Description Variable Meaning G488 Simple measurement block IKV [2000] Cycle number IKV [2001] Extended cycle number IKV [2002] Tool numbe...

  • Page 156

    156 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G581 Continuous operation cycle rotation Property non-modal Topic Cycle command Position --- Syntax G581 <Parameter list> Cycle G581 is used for the continuous rotation of the rot...

  • Page 157

    andronic 2060/3060 157 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G582 Continuous operation cycle oscillation Property non-modal Topic Cycle command Position --- Syntax G582 <Parameter list> Cycle G582 is used for oscillating linear or rota...

  • Page 158

    158 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G582 Z1 I0 C1 R45 E100 D0

  • Page 159

    andronic 2060/3060 159 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G585 Position log Property Modal Topic Special command Position --- Syntax G585 L <Data set> D <Scanning distance> X <Start/Stop> In addition to the configuration...

  • Page 160

    160 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G586 Activation of job list processing Property modal Topic Setup command Position --- Syntax G586 L <List number> R <Restart> Activation of a job list with restart option. ...

  • Page 161

    andronic 2060/3060 161 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G587 I Variable -> PLC Property modal Topic Special command Position --- Syntax G587 I <Index> X <Integer value> Y <Float value> Sending of PLC Variables from ...

  • Page 162

    162 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G587 O Set feed/spindle potentiometer Property modal Topic Special command Position --- Syntax G587 O <Override value> N <Override Number> The parameter 'O' can be used to s...

  • Page 163

    andronic 2060/3060 163 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G589 Approach reference point Property modal Topic Traverse command Position --- Syntax G589 <Axis designation> oder K <Axis number> With the function G589 reference po...

  • Page 164

    164 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G688 Setup command - Workpiece Machining The cycles G688,xx can be called with G79 from an NC program or started directly from the XPanel. Direct execution in the XPanel under „Cycles – F...

  • Page 165

    andronic 2060/3060 165 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G688,2 Surface plane milling Property not modal Topic Cycle command, setup cycle Position --- Syntax G688,2 <Parameter list> G688,2 can be used for surface plane milling. ...

  • Page 166

    166 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G688,3 Frame milling Property not modal Topic Cycle command, setup cycle Position --- Syntax G688,3 <Parameter list> G688,3 can be used for milling rectangular workpiece outside...

  • Page 167

    andronic 2060/3060 167 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G688,10 Thread milling Property not modal Topic Cycle command, setup cycle Position --- Syntax G688,10 <Parameter list> G688,10 is used for milling metric right-hand thread....

  • Page 168

    168 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Sequence from NC start • Positioning to safety plane Z • Positioning to the starting point X/Y • Positioning to the starting point Z • Approaching to the contour • Machining the ...

  • Page 169

    andronic 2060/3060 169 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G781 Calibration OFFSET Property modal Topic NC command Position --- G781 O10-O13 – OFFSET set / delete / read G781 O10 offsets affect the individual axes in the machine coordi...

  • Page 170

    170 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc R<IKV/FKV - Index> G781 Ox Rxxx makes it possible to enter a start index for a field of IKV and FKV. The status is assigned to ALL IKV even if they are not available in the table. Only ...

  • Page 171

    andronic 2060/3060 171 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G781 O10 - O13 XYZ / IJK -> write the value and status to the ID file and activate G781 O12 X2.512 -> X axis set RP-B to value 2.512 G781 O10 Y24.258 -> Y axis set MK offs...

  • Page 172

    172 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Axis Axis number Axis Axis number A 0 X´ 8 X 1 Y´ 9 Z 2 P 10 Y 3 Q 11 B 4 R 12 C 5 U 13 D 6 V 14 E 7 W 15

  • Page 173

    andronic 2060/3060 173 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G781,1 Spindle offset Property modal Topic NC command Position --- Syntax: G781,1 N<Spindle number> X<Offset in X> Y<Offset in Y> Z<Offset in Z> The ...

  • Page 174

    174 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782 Read/write data of the CNC Functions G782,0 and G782,1 can be used for reading or writing the data of the tool management. Functions G782,2 and G782,3 can be used for reading or writin...

  • Page 175

    andronic 2060/3060 175 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,0 I/R Read data of the CNC Property modal Topic Special command Position --- Syntax G782,0 I <Integer Index> (IKV) G782,0 R <Real Index> (FKV) The function G782.0 ...

  • Page 176

    176 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,0 E Adjust error reaction cycles Property modal Topic Special command Position --- Syntax G782,0 E <0/1> G782.0 E changes the error reaction of the cycle execution. This make...

  • Page 177

    andronic 2060/3060 177 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,1 Write data of the CNC Property modal Topic Special command Position --- Syntax G782,1 I <Integer Index> (IKV) G782,1 R <Real Index> (FKV) The function G782.1 rea...

  • Page 178

    178 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,2 Read PLC variables Property modal Topic Special command Position --- Syntax G782,2 I <Integer Index> (IKV) G782,2 R <Real Index> (FKV) The function G782.2 reads PLC v...

  • Page 179

    andronic 2060/3060 179 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,3 Write PLC variables Property modal Topic Special command Position --- Syntax G782,3 I <Integer Index> (IKV) G782,3 R <Real Index> (FKV) The function G782.3 write...

  • Page 180

    180 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,4 Read axis position Property modal Topic Special command Position --- Syntax G782,4 R<Real index> (FKV) N<Axis> O<Source> G782,4 reads axis positions of the CNC...

  • Page 181

    andronic 2060/3060 181 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,5 Read definition of the external cycle interface Property modal Topic Special command Position --- Syntax G782,5 R<FKV Start index> I<IKV Start index> Function G...

  • Page 182

    182 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,6 Reading the execution definition of the external cycle interface Property modal Topic Special command Position --- Syntax G782,6 R<Real-Index> (FKV) N<Axis> O<Source&...

  • Page 183

    andronic 2060/3060 183 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,8 Read sercos parameter Property modal Topic Special command Position --- Syntax G782,8 R<Real Index> (FKV) N<Axis> I<sercos ident number> O<Parameter type&...

  • Page 184

    184 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,9 Checking the assignment of communication variables Property modal Topic Special command Position --- Syntax G782,9 I<Integer Index> A<Return value> D<Defaul value>...

  • Page 185

    andronic 2060/3060 185 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G782,10 Reading the active offsets Property modal Topic Special command Position --- Syntax G782,10 R<FKV-Index> N<Axis> O<Source> Function G782,10 reads current ...

  • Page 186

    186 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G783,0 Read/Write zero points Property modal Topic Special command Position --- Syntax Write to the zero offset table: G783,0 <Parameter list> G783,0 can be used for: • activati...

  • Page 187

    andronic 2060/3060 187 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G784,0 Read in communication variable Property modal Topic Special command Position --- Syntax G784,0 D <Variable type> G784,0 I <Variable index> G784,0 O <Input source...

  • Page 188

    188 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G784,1 Emit communication variables Property modal Topic Special command Position --- Syntax G784,1 D <Variable type> G784,1 I <Variable index> G784,1 O <Output source > ...

  • Page 189

    andronic 2060/3060 189 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G787 Apaptive Control Property modal Topic Special command Position --- Syntax G787 <Parameter list> The "adaptive control" function in the andronic CNC offers the ...

  • Page 190

    190 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G788,1 Probing the surface Z axis Property Direct execution Topic Setup cycle command Position --- Syntax Setup cycle: Cycles - F2 - Setup cycle - workpiece G788,1 is used to determ...

  • Page 191

    andronic 2060/3060 191 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G788,2 Corner and angle against the positive X axis Property Direct execution Topic Setup cycle command Position --- Syntax Setup cycle: Cycles - F2 - Setup cycle - workpiece G...

  • Page 192

    192 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G788,3 Rectangle centre point and angle against X – individual measurement Property Direct execution Topic Setup cycle command Position --- Syntax Setup cycle: Cycles - F2 - Setup cy...

  • Page 193

    andronic 2060/3060 193 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G788,5 Rectangle centre point and angle against X – follow-up measurement Property Direct execution Topic Setup cycle command Position --- Syntax Setup cycle: Cycles - F2 - Setup ...

  • Page 194

    194 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G788,5 O1 procedure: 1. Determining the clamping position Determining the workpiece centre in one procedure 1. Approach the measurement position Select the measurement direction NC start f...

  • Page 195

    andronic 2060/3060 195 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G788,10 Detecting the surface using 3 points (optional) Property Direct execution Topic Setup cycle command Position --- Syntax Setup cycle: Cycles - F2 - Setup cycle - workpiece ...

  • Page 196

    196 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G789 Timer cycles Property modal Topic Special command Position --- Syntax G789,0 <Parameter list> G789,1 <Parameter list> G789,2 <Parameter list> G789,3 <Parameter li...

  • Page 197

    andronic 2060/3060 197 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc G789 R1 ; Delete log file 'TIMER.LOG' G789 D99 ; Delete all timers G789 N1 A1 ; Start Timer 1 G04 X2 ; 2 sec. dwell time G789 N1 A0 ; Stop Timer 1 G789,2 A15 B39 C33 ;...

  • Page 198

    198 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Block search The block search is activated and started in NC Editor. It is also possible to execute a block search in NC programs reloaded using G22. • M-functions and NC cycles are nor...

  • Page 199

    andronic 2060/3060 199 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Step 1: Selecting the block search target The jump target is selected in the NC Editor. After the translation of the NC program, F7 translation, and activation, F8 program loading, a jump...

  • Page 200

    200 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Step 4: Approaching the set-down point Now, the control system is in NC stop or NC interruption. The set-down point is approached using NC start. 1. The required tool is possibly loaded and al...

  • Page 201

    andronic 2060/3060 201 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Job list The andronic job list allows the definition of the NC program sequences which are executed according to the following criteria: • to start several NC program in succession, ...

  • Page 202

    202 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Units: The NOMINAL number of pieces is specified and the ACTUAL number of pieces is used to indicate how many times the NC program was processed until the end. Here, the following options appl...

  • Page 203

    andronic 2060/3060 203 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Start of the job list The job list can be started from a NC program using G586 or directly from the job list overview. Direct start: F8-execution in the job list overview can start the...

  • Page 204

    204 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Parameter programming These parameters allow the calculation with variables within the NC program, the formulation of the conditions for executing program parts and the use of program branche...

  • Page 205

    andronic 2060/3060 205 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Flexible G&M code Programming (FlexProg) General A key enhancement of the functionality of the NC language and the parameter programming is the flexible programming (FlexProg). T...

  • Page 206

    206 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Restrictions  Despite great similarity of the language with the programming language 'C', it applies that the instructions are processed line by line.  If more than one calculation expr...

  • Page 207

    andronic 2060/3060 207 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Functions (general) Functions consist of a declaration part and a definition part. Functions always have a type, a name and a list of call-up parameters that can also be empty. All instr...

  • Page 208

    208 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Function definition The function definition consists of the function head with the information on the function call and the instruction block that contains the variable agreements and instruc...

  • Page 209

    andronic 2060/3060 209 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Communication variables These variables permit an exchange of data between NC programs and various control parameters and vice versa. These can be measurement values of the cycles or par...

  • Page 210

    210 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Expressions and operators Expressions consist of operands and operators. The operands are variables, constants, parameters or expressions. The assessment of an expression supplies a value tha...

  • Page 211

    andronic 2060/3060 211 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Assignment of NC addresses Constants, variables, parameters and also expressions can be assigned to the following addresses: - X, Y, Z, A, B, C, U, V - I, J, K, R - F, S, D, E - W, O, N...

  • Page 212

    212 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Instructions Simple instruction A simple instruction consists of a completed expression. An expression is deemed to be completed when all round brackets are closed again and behind the last v...

  • Page 213

    andronic 2060/3060 213 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc FOR loops With FOR, the conditional and repeated execution of program parts can be formulated. For the case <Expression2> is true, the following program part, including <Express...

  • Page 214

    214 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc SWITCH ... CASE branching With the SWITCH instruction, a multiple branching can be programmed very easily. The individual CASE branches can be terminated with BREAK and the system jumps to th...

  • Page 215

    andronic 2060/3060 215 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Sample programs #Para_Expr ;Functional example DECLARE void MoveCorner () DECLARE void MoveCircle (int number) DECLARE float StartPos () DECLARE double EndPos (float value) floa...

  • Page 216

    216 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Center of gravity (center) of a triangle DECLARE float KAX, KAY, KBX, KBY, KCX, KCY, KSX, KSY ; Coordinate of the Apoint X value T100 M6 ; clamp measuring stylus G4...

  • Page 217

    andronic 2060/3060 217 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ;Rectangle example DECLARE void rectangle (float Xvalue, float Yvalue) F1000 G01 X0 Y0 Z0 ; Move to zero Rectangle (10,10) ; Move rectangle 10x10 G01 X25 Y25 ...

  • Page 218

    218 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Loops example Q1=0 Q2=30 ; X and Y width Q4=6 ; miller diameter Q5=Q2/2 Q6=50 Q7=1 Q10=3 Q11=3 Q99=1 F4000 G72 ; scaling off G90 ; Rel. G00 X0 Y0 Z0 G91...

  • Page 219

    andronic 2060/3060 219 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Continuation [loop inverse] G73 X-1 Y-1 Q6=50 Q5=15 Q4=6 Q99=1 WHILE (Q6<100) ;WHILE loop ( 45 runs ) { X10 Y-3 FOR (,Q5>10,Q5=Q5-1) ;FOR loop ( 4 runs) { Y10 DO ...

  • Page 220

    220 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Writing/reading of the ZPOT ; Zero offset table DECLARE void rectangle (float Xvalue, float Yvalue) F1000 G01 X0 Y0 Z0 ; Move to zero Rectangle (10,10) ; Mov...

  • Page 221

    andronic 2060/3060 221 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Set/Delete SETPOS from G&M code DECLARE void rectangle (float Xvalue, float Yvalue) F1000 G01 X0 Y0 Z0 ; Move to zero Rectangle (10,10) ; Start rectangle at...

  • Page 222

    222 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Example 1 #Para_Expr ; Read/write data of the tool management Example 1 ; tool management T10 M6 ; Load virtual tool F1000 G01 X0 Y0 Z0 FKV[2101] = 23.654 ; Assign a value to ...

  • Page 223

    andronic 2060/3060 223 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Example 2 #Para_Expr ; Read/write data of the tool management Example 2 ; tool management DECLARE void Rectangle (float Xvalue, float Yvalue) FKV[2120] = 0 Q1 = 1 ; Radius ...

  • Page 224

    224 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Measure cube corner ; Program for the creation of a cycle that measures the corner of a 3D entity (cuboid) ; At the beginning of the program move to approximately the corn...

  • Page 225

    andronic 2060/3060 225 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc ; Simulate conical tool A program is to be developed that works with a conical tool. The tool diameter changes, depending on the MachiningDepth. Length of the tool 50 mm diamete...

  • Page 226

    226 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Code DECLARE float CalculateRadius (float ZHeight) DECLARE void WriteRadius () DECLARE void Rectangle (float Xvalue, float Yvalue) float Angle, Radius, MachiningDepth Angl...

  • Page 227

    andronic 2060/3060 227 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc #Para_Expr ; Read in/out variable int variable, number For (Number =14, Number >0, Number = Number -1) ; Grind 14 times { Variable =1000+Number ; Form variable 1014.......

  • Page 228

    228 andronic 2060/3060 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc

  • Page 229

    andronic 2060/3060 229 G&M Code Programming Manual gm_code_programming_manual_v6.05.08.02.doc Index A absolute circle center 105 absolute measure 70 acceleration value 107 Additional correction values 12 Address letters 7 adjust error reaction cycles 176 adopt measurement va...

  • Page 230

x