Download  Print this page

Siemens SINUMERIK 808D Function Manual

Hide thumbs

Advertisement

SINUMERIK
SINUMERIK 808D, SINUMERIK 808D ADVANCED
Function Manual
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The
notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage
have no safety alert symbol. These notices shown below are graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of
injury to persons with a safety alert symbol may also include a warning relating to property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with
the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their
training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products
and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage,
installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any
problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.
© Siemens AG 2017. All rights reserved
01/2017
1

Advertisement

   Summary of Contents for Siemens SINUMERIK 808D

  • Page 1 WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 2: Preface

    Readme file Third-party software - Licensing terms and copyright information My Documentation Manager (MDM) Under the following link you will find information to individually compile your documentation based on the Siemens content: www.siemens.com/mdm Standard scope This manual only describes the functionality of the standard version. Extensions or changes made by the machine tool manufacturer are documented by the machine tool manufacturer.
  • Page 3: Table Of Contents

    Table of contents Preface ................................... 2 Fundamental safety instructions ..........................10 General safety instructions ........................10 Industrial security ..........................10 Introduction................................11 Various interface signals (A2) ..........................12 General ..............................12 Signals from PLC to NCK ........................13 3.2.1 Access authorization ..........................13 3.2.2 General signals .............................
  • Page 4: Table Of Contents

    Compressor functions ........................... 35 LookAhead ............................37 Data table .............................. 39 5.7.1 Machine data ............................39 5.7.2 Setting data ............................39 5.7.3 Interface signals ............................ 39 Acceleration (B2)..............................40 Acceleration profiles ..........................40 Jerk limitation on interpolator level ......................40 Jerk limitation in JOG mode ........................40 Data lists ...............................
  • Page 5: Table Of Contents

    Block-search response .......................... 74 Description of auxiliary functions ......................74 9.6.1 M function .............................. 74 9.6.2 T function ............................... 75 9.6.3 D function .............................. 75 9.6.4 H function .............................. 75 9.6.5 S function .............................. 75 Data table .............................. 75 9.7.1 Machine data ............................
  • Page 6: Table Of Contents

    11.5 Friction compensation (quadrant error compensation) ................ 117 11.5.1 General function description ....................... 117 11.5.2 Supplementary conditions ........................117 11.5.3 Friction compensation with a constant compensation value ............... 117 11.5.3.1 Function activation ..........................117 11.5.3.2 Commissioning ........................... 118 11.5.4 Friction compensation with acceleration-dependent compensation value ........... 121 11.5.4.1 Description of functions ........................
  • Page 7: Table Of Contents

    15.4.2 Interface signals ..........................150 Reference point approach (R1) ........................... 150 16.1 Fundamentals ............................150 16.2 Referencing with incremental measuring systems ................151 16.3 Secondary conditions for absolute encoders ..................154 16.4 Data table ............................155 16.4.1 Machine data ............................155 16.4.2 Interface signals ..........................
  • Page 8: Table Of Contents

    19.5.1 Machine data ............................182 19.5.2 Interface signals ..........................182 Contour handwheel ............................. 183 Tool parameter: clearance angle .......................... 185 Safety Integrated ..............................187 22.1 Standards and regulations ........................187 22.1.1 General information..........................187 22.1.1.1 Aims ..............................187 22.1.1.2 Functional safety ..........................187 22.1.2 Safety of machinery in Europe ......................
  • Page 9: Table Of Contents

    23.15.10 OEM PIN forgotten ..........................322 23.15.11 Other information ..........................322 23.16 Switching geometry axes ........................324 Licensing in the SINUMERIK 808D/SINUMERIK 808D ADVANCED ..............325 24.1 Assigning licenses ..........................326 24.2 Activating the optional functions ......................327 24.3 Internet links ............................328 24.4...
  • Page 10: Fundamental Safety Instructions

    Note Industrial security Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks. In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain –...
  • Page 11: Introduction

    ● Detailed explanations for the machine/setting data and interface signals used can be found in the SINUMERIK 808D/SINUMERIK 808D ADVANCED Parameter Manual. ● Detailed explanations of the alarms which may occur can be found in the SINUMERIK 808D/SINUMERIK 808D ADVANCED Diagnostics Manual.
  • Page 12: Various Interface Signals (a2)

    Various interface signals (A2) General Brief description This chapter describes the functionality of various interface signals which are of general relevance, but are not described in the function-specific chapters. Interfaces The exchange of signals and data between the PLC user program and the NCK (numerical control kernel) or HMI (display unit) is performed via various data areas.
  • Page 13: Signals From Plc To Nck

    No password (level 7) End users This provides a multi-level safety concept for controlling access rights. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual, Section: Setting the password 3.2.2 General signals Delete distance-to-go (DB3200.DBX6.2) IS "Delete distance-to-go (channel specific)" is only active for path axes.
  • Page 14 Deactivation: Cancellation of the "Axis/spindle disable" (edge change 1 → 0) does not take effect until the axis/spindle is stationary (i.e. an interpolation setpoint is no longer present). The new movement begins with new specified setpoints. (E.g. new program block with movement specifications in "AUTO" operating mode.) Note: actual values vary between simulated and real axis! Follow-up mode (DB380x.DBX1.4) If an axis/spindle is operating in follow-up mode, its setpoint position is made to track the current actual value position.
  • Page 15: Signals For Digital Drives, To Axis/spindle

    External language mode active (DB3300.DBX4001.0) The control system sends this signal to the PLC to indicate that the active program language used for the part program is not a SIEMENS language. A language changeover has been made with G291. Function Manual...
  • Page 16: Signals For Digital Drives, From Axis/spindle

    NCK alarm with processing stop present (DB3300.DBX4.7) The control sends this signal to the PLC to indicate that at least one NCK alarm, which has interrupted or aborted the current program run (processing stop), is active for the channel. Follow-up active (DB390x.DBX1.3) Follow-up mode for this axis is active.
  • Page 17: Signals From Hmi To Plc

    ● 1 to 100: User area (end user protection level) ● 101 to 200: Machine manufacturer (machine manufacturer protection level) ● 201 to 255: SIEMENS (SIEMENS protection level) "Program number" (DB1700.DBB1000) corresponds to the following IS: ● "Program has been selected" (DB1700.DBX2000.0) ●...
  • Page 18: User Interface

    User interface 3.6.1 General (OF) Communication jobs can be performed via the "NC services" PLC/NCK interface. The following services are available for this: ● Start program invocation services (PI services) in the NCK area (e.g. asynchronous subroutine (ASUP)) ● Read variables from the NCK area ●...
  • Page 19: Pi Service Asup

    Explanations regarding the pulse diagram: 1. Starting of the job by setting "Start" ("Job completed" and "Error in job" must be reset) 2. Job completed without errors (the results of the individual variables must still be evaluated) 3. Resetting "Start" after receiving the result 4.
  • Page 20: Writing Variables From The Nck Area

    Values: The range DB120x.DBB1008 ... 11 is not relevant for reading. Result, variable-specific part A result is reported for each variable in the job. If the read process was successful, "Variable valid" (DB120x.DBX3000.0) is set to 1; the access result DB120x.DBB3001 is When reading, the data from DB120x.DBB3004 are entered type-specifically.
  • Page 21: Nc Variable

    Values: The values to be written must be entered in the range DB120x.DBB1008...11 in the data type specific for the appropriate variable. If necessary, the values are converted (e.g. NCL floating-point values (64-bit) into the PLC format (32-bit) and vice versa). A loss of accuracy results from the conversion from 64-bit to 32-bit REAL.
  • Page 22 Variable cuttEdgeParam [r/w] DB120x.DBB1000 DB120x.DBB1001 DB120x.DBW1002 (EdgeNo - 1) * numCuttEdgeParams + ParameterNo (WORD) DB120x.DBW1004 T number (1...32000) (WORD) DB120x.DBD1008 Write: Data to NCK variable x (data type of the variables: REAL) DB120x.DBD3004 Read: Data from NCK variable x (data type of the variables: REAL) Variable numCuttEdgeParams Number of P elements of an edge Variable numCuttEdgeParams [r]...
  • Page 23: Signals From Plc

    Variable numMachAxes No. of the highest existing channel axis If there are no gap between channels, this corresponds to the number of existing axes in the channel. Variable numMachAxes [r] DB120x.DBB1000 DB120x.DBB1001 DB120x.DBW1002 DB120x.DBW1004 DB120x.DBD1008 DB120x.DBW3004 Read: Data from NCK variable x (data type of the variables: WORD) Variable rpa R parameters Variable rpa [r/w]...
  • Page 24: Axis Monitoring (a3)

    Axis monitoring (A3) Overview of monitoring functions Overview of monitoring functions ● Motion monitoring functions – Contour monitoring – Position monitoring – Standstill monitoring – Clamping monitoring – Speed setpoint monitoring – Actual velocity monitoring – Encoder monitoring functions ● Monitoring of static limits –...
  • Page 25: Position Monitoring

    4.2.2 Position monitoring Function In order to ensure that an axis reaches the required position within the specified time, the timer that can be configured in MD36020 POSITIONING_TIME (time delay exact stop fine) is started at the end of each motion block (setpoint has reached target) and, when the timer runs out, a check made to ascertain whether the axis has reached its setpoint within the tolerance of MD36010 STOP_LIMIT_FINE (exact stop fine).
  • Page 26: Standstill Monitoring

    ● Positioning window (exact stop fine), position monitoring time, and position controller gain have not been coordinated --> change machine data: MD36010 STOP_LIMIT_FINE (exact stop fine), MD36020 POSITIONING_TIME (exact stop fine delay time), MD32200 POSCTRL_GAIN (servo gain factor) Rule of thumb ●...
  • Page 27: Speed Setpoint Monitoring

    Effectiveness Clamping monitoring is activated by the interface signal "Clamping active". It replaces standstill monitoring during clamping. Clamping monitoring is active on axes and position-controlled spindles. Effect If the axis is pushed out of position beyond the clamping tolerance during clamping the following occurs: ●...
  • Page 28: Actual Velocity Monitoring

    Note In the "Expert mode" access level (protection level 1), MD36220 CTRLOUT_LIMIT_TIME can be used to set a delay time, after the expiration of which an alarm is output and the axes are brought to a standstill. The default value of this time is zero.
  • Page 29: Hardware Limit Switches

    4.3.2 Hardware limit switches Function Every axis has a hardware (HW) limit switch for each traversing direction, which prevents the slide from moving out of the slide bed. If the hardware limit switch is crossed, the PLC signals this to the NC via IS "Hardware limit switch plus/minus" (DB380x.DBX1000.1 or .0) and the movement of all axes is stopped.
  • Page 30: Supplementary Conditions

    ● Program execution is terminated. ● Alarm 10720 "Software limit switch + or -" is signaled. JOG: ● The axis stops at the software limit switch position. ● Alarm 10621 "Axis at software limit switch + or -" is signaled. ●...
  • Page 31: Interface Signals

    Number Identifier Name 32260 RATED_VELO Rated motor speed 32300 MAX_AX_ACCEL Axis acceleration 32810 EQUIV_SPEEDCTRL_TIME [n] Equivalent time constant speed control loop for feedforward control 36000 STOP_LIMIT_COARSE Exact stop coarse 36010 STOP_LIMIT_FINE Exact stop fine 36020 POSITIONING_TIME Time delay exact stop fine 36030 STANDSTILL_POS_TOL Standstill tolerance...
  • Page 32: General

    The second way is called "continuous path mode" and it attempts to avoid deceleration of the path velocity at the block boundary in order to change to the next block with as little change of path velocity as possible. "LookAhead" is a procedure in continuous path mode that achieves velocity control with LookAhead over several NC part program blocks.
  • Page 33: Continuous Path Mode

    ● Exact traversing of the contour on the basis of the criterion (e.g. exact stop fine) can deviate from the programmed contour in order to achieve faster machining. ● An absolutely constant velocity is required. Activate exact stop The "Exact stop" function can be selected in the NC part program by command G60 or G9. G60 is modal, G9 is non-modal. G9 is used if continuous path mode is to be interrupted.
  • Page 34: Velocity Reduction According To Overload Factor

    Implicit exact stop In some cases, an exact stop needs to be generated in continuous path mode to allow the execution of subsequent actions. In such situations, the path velocity is reduced to zero. ● If auxiliary functions are output before the traverse motion, the previous block is only terminated when the selected exact-stop criterion is fulfilled.
  • Page 35: Jerk Limiting Along The Path Through Velocity Reduction

    Selection and deselection of velocity reduction Continuous-path mode with velocity reduction according to overload factor can be selected modally in every NC part program block by means of program code G64 (BRISK active, not SOFT). Continuous path mode G64 can be ●...
  • Page 36 ● : Continuous velocity and acceleration block transitions COMPCURV COMPCAD The compressor function can generate one polynomial block from theoretically any number of linear and circular COMPCAD blocks. The polynomial blocks have constant velocity and acceleration at the block transitions. Corners that are desirable are identified as such and taken into account.
  • Page 37: Lookahead

    COMPOF References The programming of the compressor functions is described in: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual (Milling) LookAhead Function LookAhead is a procedure in continuous path mode (G64) that achieves velocity control with LookAhead over several NC part program blocks beyond the current block.
  • Page 38 Comparison of the G60 and G64 velocity behavior with short travels in the blocks: LookAhead takes plannable velocity limits into consideration such as: ● Velocity limit in the block ● Acceleration limit in the block ● Velocity limit on block transition ●...
  • Page 39: Data Table

    Data table 5.7.1 Machine data Number Identifier Name General 18360 MM_EXT_PROG_BUFFER_SIZE FIFO buffer size for execution from external source (DRAM) Channel-specific 20170 COMPRESS_BLOCK_PATH_LIMIT Maximum traversing length of NC block for compression 20172 COMPRESS_VELO_TOL Maximum permissible deviation from path feed for compression 20482 COMPRESSOR_MODE Compressor mode...
  • Page 40: Acceleration Profiles

    Acceleration (B2) Acceleration profiles Abrupt acceleration changes With the v/t-linear control of the axis velocity that is normally applied, the motion is controlled such that the acceleration rate changes abruptly over time. With the discontinuous, stepped acceleration, jerk-free starting and braking of the axes is not possible, but a time optimized velocity/time profile can be implemented.
  • Page 41: Data Lists

    (were) set" is output. It will not be possible to operate the machine as normal. For information on operations relating to "Setting (an) option(s)", please refer to the chapter titled "Licensing in the SINUMERIK 808D/SINUMERIK 808D ADVANCED (Page 325)". Gantry axes Gantry axes are mechanically grouped machine axes.
  • Page 42 Example: Gantry-type milling machine with a gantry axis grouping (X and X1) The purpose of the "gantry axes" function is to control and monitor machine axes which are rigidly coupled in this way. Terms The following terms are frequently used in this functional description: Gantry axes Gantry axes comprise one pair of axes, the leading axis and the synchronized axis.
  • Page 43 Components The "gantry axes" function can be subdivided into the following functional units: ● Setpoint generation of synchronized axis ● Monitoring of actual value difference ● Referencing and synchronizing the leading axis and synchronized axis Setpoint generation of synchronized axis From the point of view of the operator, all coupled gantry axes are traversed as if only one axis, i.e.
  • Page 44: Referencing And Synchronizing Gantry Axes

    The monitoring functions are deactivated while the grouping is operating in "Follow-up" mode. Extended monitoring An extended monitoring function can be activated with the following machine data: MD37150 GANTRY_FUNCTION_MASK (gantry functions) Referencing and synchronization of gantry axes As the example "Gantry-type milling machine" shows, the forced coupling between gantry axes must remain intact in all operating modes as well as immediately after power ON.
  • Page 45 To execute this compensatory motion, the gantry grouping must be separated by means of the following machine data: MD37140 GANTRY_BREAK_UP (break up gantry grouping) Gantry synchronization All gantry axes must first be referenced and then synchronized after the control system is switched on. During gantry synchronization, all gantry axes approach the reference position of the gantry grouping in the decoupled state.
  • Page 46 ● Difference is higher than the gantry warning limit for the synchronized axis: IS "Gantry synchronization read to start" is set to "1" and the message "Wait for synchronization start of gantry grouping x" is output. The gantry synchronization process is not started automatically in this case, but must be started explicitly by the operator or from the PLC user program.
  • Page 47 Synchronization process A synchronization process is always required in the following cases: ● after the reference point approach of all axes included in a grouping, ● if the axes become desynchronized (see below). Operational sequence failure If the referencing process described above is interrupted as a result of disturbances or a RESET, proceed as follows: ●...
  • Page 48: Automatic Synchronization

    Allowance for deviations in distance between the zero mark and the reference point must be made for specific axes via the machine data: ● MD34080 REFP_MOVE_DIST (reference point distance) ● MD34090 REFP_MOVE_DIST_CORR (reference point offset/absolute offset) Referencing direction selection The zero mark leveling function of the following axis can be defined using the following machine data: MD37150 GANTRY_FUNCTION_MASK bit 1 Value Meaning...
  • Page 49: Points To Note

    7.3.3 Points to note Channelspecific referencing Gantry axes can also be referenced on a channel-specific basis: DB3200. DBX0001.0 (activate referencing) The value of the leading axis machine data is used for the axis sequence during channel-specific referencing: MD34110 REFP_CYCLE_NR (axis sequence for channel-specific referencing) After the reference point of the leading axis has been reached, the synchronized axis is referenced first as described above.
  • Page 50: Start-up Of Gantry Axes

    Start-up of gantry axes General information Owing to the forced coupling which is normally present between leading and synchronized gantry axes, the gantry axis grouping must be commissioned as if it were an axis unit. For this reason, the axial machine data for the leading and synchronized axes must always be defined and entered jointly.
  • Page 51 ● MD32810 EQUIV_SPEEDCTRL_TIME (equivalent time constant speed control loop for precontrol) The following control parameters must be set to the same value for the leading axis and synchronized axis: ● MD32400 AX_JERK_ENABLE (axial jerk limitation) ● MD32410 AX_JERK_TIME (time constant for the axial jerk filter) ●...
  • Page 52 This difference must be applied as the reference point offset: MD34080 REFP_MOVE_DIST (reference point distance) MD34090 REFP_MOVE_DIST_CORR (reference point offset/absolute offset) Synchronizing gantry axes The gantry synchronization process must be activated with IS "Start gantry synchronization" (see Section "Referencing and synchronizing gantry axes (Page 44)").
  • Page 53: Plc Interface Signals For Gantry Axes

    Note As a supplement to the more general description given here of features of start-up and dynamic control response of drives, a complete example of a concrete constellation defined on the basis of its machine data can be found in Chapter "Example (Page 55)".
  • Page 54: Miscellaneous Points Regarding Gantry Axes

    The following table shows the effect of individual interface signals (from PLC to axis) on gantry axes: PLC interface signal Address Effect on Leading axis Synchronized axis Axis/spindle disable DB380x.DBX0001.3 On all axes in gantry No effect grouping Position measuring system 1 DB380x.DBX0001.4 Axial Axial Controller enable...
  • Page 55: Example

    Position display The position actual value display shows the actual values of both the leading axis and the synchronized axes. The same applies to the service display values in the system data operating area. Software limit switch The SW limit switch monitor is processed for the leading axis only. If the leading axis crosses the limit switch, all axes in the gantry grouping are braked to a standstill.
  • Page 56: Setting Of Nck Plc Interface

    MD34050 REFP_SEARCH_MARKER_REVERSE = e.g. FALSE MD34060 REFP_MAX_MARKER_DIST = difference btw. cam edge and 0 mark MD34070 REFP_VELO_POS = MD34080 REFP_MOVE_DIST = 0 MD34090 REFP_MOVE_DIST_CORR = 0 MD34092 REFP_CAM_SHIFT = 0 MD34100 REFP_SET_POS = 0 MD34200 ENC_REFP_MODE = 1 7.7.2 Setting of NCK PLC interface Introduction An automatic synchronization process during axis referencing must first be disabled in order to prevent any damage to grouping axes that are misaligned.
  • Page 57: Commencing Start-up

    7.7.3 Commencing start-up Referencing The following steps must be taken: ● Select "REF.POINT" operating mode ● Start referencing for the leading axis (axis 1) ● Wait until message "10654 Channel 1 Waiting for synchronization start" appears. At this point, the NCK has prepared the leading axis for synchronization. NCK-PLC interface DB390x.DBB5005: Leading axis ready for synchronization: In addition, the following steps must be taken: ●...
  • Page 58: Setting Warning And Trip Limits

    If Case A applies, the synchronization process can be started immediately. See step "Start synchronization". If Case B applies, the offset "diff" must be calculated and taken into account: ● Measuring of diff ● By using two appropriate, right-angled reference points R and R" in the machine bed (at the right of the image), the difference in position can be traversed in JOG.
  • Page 59 Data lists 7.8.1 Machine data Number Identifier Name Axis-specific 30300 IS_ROT_AX Rotary axis 32200 POSCTRL_GAIN[0]...[5] factor 32400 AX_JERK_ENABLE Axial jerk limitation 32410 AX_JERK_TIME Time constant for axis jerk filter 32420 JOG_AND_POS_JERK_ENABLE Initial setting for axial jerk limitation 32430 JOG_AND_POS_MAX_JERK Axial jerk 32610 VELO_FFW_WEIGHT[0]...[5] Feedforward control factor for speed feedforward control...
  • Page 60: General Characteristics Of Traversing In Jog

    Number Name Leading axis Synchronized axis DB390x.DBX50 Gantry trip limit exceeded DB390x.DBX50 Gantry warning limit exceeded DB390x.DBX50 Gantry synchronization ready to start DB390x.DBX50 Gantry grouping is synchronized DB390x.DBX50 Gantry leading axis DB390x.DBX50 Gantry axis x: relevant for ... Manual operation and handwheel traversal (H1) General characteristics of traversing in JOG "JOG"...
  • Page 61 Traversing the geometry axes If workpieces whose workpiece coordinate system is not parallel to the machine coordinate system are being machined (inclined clamping, programmed rotation active in the contour), traversing can be done along the axes of the workpiece coordinate system via the traverse keys or handwheel. In the stopped state, switch from operating mode "AUTO" to "JOG" and traverse a geometry axis instead of a machine axis.
  • Page 62: Continuous Travel

    Acceleration The maximum axis acceleration is defined with the axis-specific MD32300 MAX_AX_ACCEL. The acceleration can also be set via a preset characteristic curve in "JOG" mode. The possible settings are described in Chapter "Acceleration (B2) (Page 40)". PLC interface A separate PLC interface (DB3200.DBB1000, ff or DB3300.DBB1000, ff ) exists for geometry axes (axes in WCS) that contains the same signals as the axis-specific PLC interface.
  • Page 63: Incremental Travel (inc)

    Continuous mode in "JOG" mode can also be selected via the PLC interface (IS "Machine function: continuous"). The PLC defines via the "INC inputs in mode group range active" interface signal (DB2600.DBX0001.0) the signal range within which INC/continuous signals are delivered to the NCK: DB2600.DBX0001.0 = 1 →...
  • Page 64: Handwheel Traversal In Jog

    ● A variable increment (INCvar). The increment setting for the variable increment can also be made for all axes using general SD41010 JOG_VAR_INCR_SIZE (size of the variable increment for INC/handwheel). Traverse keys and travel command As for continuous traversing (see Section "Continuous travel (Page 62)") Abort traversing movement If you do not want to traverse the whole increment, the traverse movement can be aborted with RESET or "Delete distance- to-go"...
  • Page 65 Evaluation The traversing path/velocity produced by rotation of the handwheel is dependent on the following factors: ● Number of handwheel pulses received at the interface ● Active increment (machine function INC1, INC10, INC100, ... ) An increment is evaluated with 0.001 mm if the basic system setting is metric. ●...
  • Page 66: Fixed Point Approach In Jog

    The process for approaching defined fixed points can be activated from the part program too using the command. For more information on approaching fixed points with , refer to the SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual, Section: "Fixed point approach". 8.5.2...
  • Page 67 Movement in the opposite direction The response while traversing in the opposite direction (i.e. in the opposite direction to the one used when approaching the fixed point) depends on the setting of bit 2 in the following machine data: MD10735 JOG_MODE_MASK (settings for "JOG" mode) Traversing in the opposite direction is only possible if bit 2 is set.
  • Page 68: Parameter Setting

    8.5.3 Parameter setting Movement in the opposite direction The response while traversing in the opposite direction, i.e., against the direction of the approaching fixed point depends on the setting of Bit 2 in the machine data: MD10735 JOG_MODE_MASK (settings for "JOG" mode) Value Description Travel in the opposite direction is not possible (default setting).
  • Page 69: Application Example

    8.5.6 Application example Target A rotary axis (machine axis 4 [AX4]) is to be moved to Fixed Point 2 (90 degrees) with the "Approaching fixed point in JOG" function. Parameter setting The machine data for the "Approaching fixed point" function of machine axis 4 are parameterized as follows: MD30610 NUM_FIX_POINT_POS[AX4] = 4 4 fixed points are defined for machine axis 4.
  • Page 70: Setting Data

    Number Identifier Name 32420 JOG_AND_POS_JERK_ENABLE Enable for axis-spec. jerk limitation 32430 JOG_AND_POS_MAX_JERK Axis-specific jerk 35130 GEAR_STEP_MAX_VELO_LIMIT[0]...[5] Maximum velocity for gear stage/spindle 8.6.2 Setting data Number Identifier Name General information 41010 JOG_VAR_INCR_SIZE Size of variable increment for INC/handwheel 41110 JOG_SET_VELO JOG velocity for linear axes 41130 JOG_ROT_AX_SET_VELO JOG speed for rotary axes...
  • Page 71: Brief Description

    ● Tool number T ● Tool offset D ● Feed F (for the SINUMERIK 808D/SINUMERIK 808D ADVANCED, there is no output from F to PLC) Output of auxiliary functions to PLC The auxiliary function output sends information to the PLC indicating, for example, when the NC program needs the PLC to perform specific switching operations on the machine tool.
  • Page 72: Programming Of Auxiliary Functions

    Programming of auxiliary functions General structure of an auxiliary function Letter[address extension]=Value The letters which can be used for auxiliary functions are: M, S, H, T, D, F. The address extension must be an integer. The square brackets can be omitted when an address extension is specified directly as a numeric value.
  • Page 73: Grouping Of Auxiliary Functions

    If several auxiliary functions with different output types (prior, during, at end of motion) are programmed in one motion block, then they are output individually according to their output type. In a block without axis movements or SPOS movement of the spindle, the auxiliary functions are all output immediately in a block.
  • Page 74: Block-search Response

    Configuring example: Distribute 8 auxiliary functions to 7 groups: Group 1: M0, M1, M2 (M17, M30) - by default, should be kept Group 2: M3, M4, M5 (M70) - by default, should be kept Group 3: S functions - by default, should be kept Group 4: M78, M79 Group 5: M80, M81 Group 6: H1=10, H1=11, H1=12...
  • Page 75: T Function

    ● Permanent functions have already been assigned to some of the M functions by the control manufacturer (see the SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual). The functions not yet assigned fixed functions are reserved for free use of the machine manufacturer.
  • Page 76 Number Identifier Name 22020 AUXFU_ASSIGN_EXTENSION[n] Auxiliary function extensions 22030 AUXFU_ASSIGN_VALUE[n] Auxiliary function values 9.7.2 Interface signals Number Name Channel-specific DB2500.DBX0000 .0 to .4 M function 1 change to M function 5 change DB2500.DBX0006 S function 1 change DB2500.DBX0008 T function 1 change DB2500.DBX0010 D function 1 change DB2500.DBX0012...
  • Page 77 A channel constitutes a unit in which a part program can be executed. A channel is assigned an interpolator with program processing by the system. A certain mode is valid for it. The SINUMERIK 808D/SINUMERIK 808D ADVANCED control system has one channel. 10.2 Operating modes 10.2.1...
  • Page 78: Mode Change

    ● The block indicator is reset to the beginning of the relevant part program. ● All Reset alarms are deleted from the display. ● The reset is complete as soon as IS "Channel status Reset" (DB3300.DBX0003.7) is set. Ready Ready to run is displayed by IS "808D Ready" (DB3100.DBX0000.3). 10.2.2 Mode change General...
  • Page 79: Monitoring Functions In The Individual Modes

    Mode of operation AUTO Functions Reference point approach via part program command (G74) s: Function can be started in this status b: Function can be processed in this status 1: Channel in reset 2: Channel interrupted 3: Channel active 4: Channel interrupted JOG during AUTO interruption 5: Channel interrupted JOG during MDA interruption 6: Channel active JOG in MDA during MDA interruption 7: Channel active JOG in MDA...
  • Page 80: Interlocks In The Individual Modes

    ● Operator input (machining/program management operating area) ● PLC – Selection of a program via the program number in "Program list" (see the SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual) – Reselection of an active program via the PLC-HMI interface (see Section "Signals from HMI to PLC (Page 17)")
  • Page 81: Start Of Part Program Or Part Program Block

    10.3.2 Start of part program or part program block START command, channel status The channel-specific IS "NC start" (DB3200.DBX0007.1), which is usually controlled via the following hardkey, starts program processing. The START command can only be executed in "AUTO" and "MDA" modes. For this purpose, the channel must be in the "Channel status reset"...
  • Page 82: Reset Command

    The following actions are executed when the STOP command is triggered: ● Part program processing is stopped at the next block limit (with NC stop at block limit, M0/M1 or single block), processing is stopped immediately with the other STOP commands. ●...
  • Page 83: Channel Status

    10.3.6 Program status Program states The status of the selected program is displayed in the interface in "AUTO" and "MDA" operating modes. If "JOG" operating mode is selected when the program is stopped, then the "interrupted" program status is displayed there or on reset also "aborted".
  • Page 84: Event-driven Program Calls

    For the effect on channel status, see the table below: Resulting channel status Commands Reset Interrupted Active IS "Reset" IS "NC Stop" IS "NC stop at block limit" IS "NC stop axes and spindles" IS "Read-in disable" IS "Feed stop, channel-sp." IS "Feed stop, axis-sp."...
  • Page 85 Command Boundary conditions Comments quence (must be satisfied before the command) MD20112 START_MODE_MASK Initialization sequence with evaluation /_N_CMA_DIR/CYCPE1MA.SPF and as a subroutine Implied call of the path name as /_N_CMA_DIR/CYCPE_MA.SPF a subroutine None Processing of the data part of the main program None Processing of the program part of...
  • Page 86 Event Startup For the sequence with power up, see the table below: Command Boundary conditions Comments quence (must be satisfied before the command) Reset after power up MD20110 RESET_MODE_MASK, Control activated MD20150 GCODE_RESET_VALUES, after ramp up: MD20152 GCODE_RESET_MODE Reset sequence with evaluation /_N_CMA_DIR/CYCPE1MA.SPF and as an ASUP Implied call of the path name as...
  • Page 87 With operator panel reset: Time sequence of VDI signals DB3300.DBB0003 ("Program status" and "Channel status") when processing with an event- driven program call: Time sequence of the interface signals for program status and channel status (2): Note IS DB3300.DBX0003.4 ("Program status aborted") and DB3300.DBX0003.7 ("Channel status reset") are only received if CYCPE1MA.SPF and CYCPE_MA.SPF have been completed.
  • Page 88 The response to read-in disable and single-block processing can be controlled separately through the machine data MD20106 PROG_EVENT_IGN_SINGLEBLOCK (Prog events ignore the single block) and MD20107 PROG_EVENT_IGN_INHIBIT (Prog events ignore the read-in disable). MD20106 PROG_EVENT_IGN_SINGLEBLOCK: CYCPE1MA.SPF and CYCPE_MA.SPF cause a block change despite single block without a further start when Bit 0 = 1 is set, after Part program start event Bit 1 = 1 is set, after Part program end event Bit 2 = 1 is set, after Operator panel reset event...
  • Page 89: Asynchronous Subroutines (asups)

    N 20 M17 ENDIF Sequence for part program end and operator panel reset IF ($P_PROG_EVENT == 2) OR ($P_PROG_EVENT == 3) N10 R20 = 5 N20 ENDIF N30 M17 ENDIF Sequence for powerup IF ($P_PROG_EVENT == 4) N10 $SA_SPIND_S[Ax4] = 0 Speed for spindle start through virtual interface N20 ENDIF N30 M17...
  • Page 90 Only one ASUP can be started at one time. If the start signal for both ASUPs is to be set to logical 1 in a PLC cycle, the ASUPs are started in the sequence INT1 and then INT2. The start signal must be set to logical 0 by the user once the ASUP has been completed or if an error has occurred. The control system provides two default ASUPs for the PLC.
  • Page 91: Responses To Operator Or Program Actions

    This machine data specifies the ASUP priority as of which machine data MD11602 ASUP_START_MASK is to be applied. MD11602 is applied from the level specified here up to the highest ASUP priority level 1. Recommended: MD11604 = 2 ● MD20116 IGNORE_INHIBIT_ASUP (execute interrupt program in spite of read-in disable) In spite of set read-in disable, an assigned user ASUP is processed completely for the interrupt channel with the set bit.
  • Page 92: Example Of A Timing Diagram For A Program Run

    Situa- Channel status Program status Active mode Operator or program action tion (Situation after the action) Swit pro- tec- tion NC Stop (8); at JOG end (6) NC Stop (10); at block end (10) NC Stop (11); at JOG end (11) Description Channel status: Program status:...
  • Page 93: Program Processing Without Axis Movements (prt)

    The following test options are described here: ● Program processing without axis movements ● Program processing in single-block mode ● Program processing with dry run feedrate ● Processing of certain program sections ● Skipping certain program parts ● Graphic simulation 10.4.2 Program processing without axis movements (PRT) Functionality...
  • Page 94: Program Processing With Dry Run Feedrate (dry)

    "Single block coarse" is the default setting after switching on. CAUTION In a series of G33 blocks single block is effective only if "dry run feedrate" is selected. Selection/activation The selection signal normally comes from a user machine control panel. This function must be activated by the PLC user program via the IS "Activate single block"...
  • Page 95: Block Search: Processing Of Certain Program Sections

    Display The checkback signal that dry run feedrate is active is displayed in the relevant "DRY" status line on the user interface. 10.4.5 Block search: Processing of certain program sections Functionality To set the program run to a certain block (target block) of a part program, the block search function can be used. It can be selected whether or not the same calculations are to be performed during the block search up to the target block as would be performed during normal program operation.
  • Page 96: Skip Part Program Blocks (skp)

    This should be G0 or G1, as appropriate. With other types of interpolation, the approach movement can be aborted with an alarm (e.g. circle end point error on G2/G3). Note For further information about the block search function, refer to the SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual. 10.4.6...
  • Page 97: Graphic Simulation

    HMI: Display Due to numerous operating possibilities a complete workpiece, or else only enlarged details of it, can be displayed on the screen. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Function Manual 01/2017...
  • Page 98: Timers For Program Execution Time

    Display machine data A number of display machine data (MD283 to MD292) is available for the user-specific configuration of the graphic simulation. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Parameter Manual 10.5 Timers for program execution time Function Timers are provided under the "Program execution time" function and these can be used for monitoring technological processes in the program or only in the display.
  • Page 99: Workpiece Counter

    ● Setup time = $AN_SETUP_TIME ● Power on time = $AN_POWERON_TIME "Cycle time" is also visible in the information line of the "AUTO" window of the machining operating area. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual 10.6 Workpiece counter Function The "Workpiece counter"...
  • Page 100 ● Part count = $AC_ACTUAL_PARTS ($AC_SPECIAL_PARTS not available for display) "Part count" is also visible in the information line of the "AUTO" window of the machining operating area. References: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual 10.7 Data table 10.7.1...
  • Page 101 Number Identifier Name 20107 PROG_EVENT_IGN_INHIBIT Prog events ignore the read-in disable 20108 PROG_EVENT_MASK Eventdriven program calls 20109 PROG_EVENT_MASK_PROPERTIES Prog event properties 20110 RESET_MODE_MASK Initial setting at RESET 20112 START_MODE_MASK Initial setting at special NC Start after power-up and at RESET 20116 IGNORE_INHIBIT_ASUP Execute user ASUPs completely in spite of reading...
  • Page 102 10.7.3 Interface signals Operating mode signals Number Name PLC to NCK DB3000.DBX0000 "AUTO" mode DB3000.DBX0000 "MDA" mode DB3000.DBX0000 "JOG" mode DB3000.DBX0000 Mode change disable DB3000.DBX0000 RESET DB3000.DBX0001 Machine function REF NCK to PLC DB3100.DBX0000 Active mode "AUTO" DB3100.DBX0000 Active mode "MDA" DB3100.DBX0000 Active "JOG"...
  • Page 103 Number Name DB3300.DBX0001 M2 / M30 active DB3300.DBX0001 Program test active DB3300.DBX0003 Program status: Running DB3300.DBX0003 Program status: Stopped DB3300.DBX0003 Program status: Interrupted DB3300.DBX0003 Program status: Aborted DB3300.DBX0003 Channel status: Active DB3300.DBX0003 Channel status: Interrupted DB3300.DBX0003 Channel status: Reset DB3300.DBX4001 Workpiece target reached HMI to PLC DB1700.DBX0000...
  • Page 104: Backlash Compensation

    Position display The normal actual-value and setpoint position displays ignore the compensation values and show the position values of an ideal machine. To view the compensation values, perform the following operations: → → Then navigate to the item "Abs. compens. value meas. system 1". 11.2 Backlash compensation Effect...
  • Page 105: Interpolatory Compensation

    11.3 Interpolatory compensation 11.3.1 General Terminology Compensation value: The difference between the axis position measured by the position actual-value encoder and the required programmed axis position (= axis position of the ideal machine). The compensation value is often also referred to as the correction value.
  • Page 106 Compensation value at reference point The compensation table should be structured such that the compensation value at the reference point is "zero". This prevents position jumps occurring when the LEC is activated (after reference point approach). 11.3.2 Function The leadscrew error compensation / measuring system error compensation (LEC) is an axis-specific compensation. The principle of the LEC is to modify the axis-specific position actual value by the assigned compensation value in the interpolation cycle and to apply this value to the machine axis for immediate traversal.
  • Page 107 The compensation value of interpolation point k is used for all positions larger than the end position (exception: table with modulo function). Compensation values which are greater than k are inactive. ● Compensation with modulo function: $AA_ENC_COMP_IS_MODULO[0,AXi] = 1 When compensation with modulo function is activated, the compensation table is repeated cyclically; i.e. the compensation value at position $AA_ENC_COMP_MAX (interpolation point $AA_ENC_COMP[0,k,AXi]) is immediately followed by the compensation value at position $AA_ENC_COMP_MIN (interpolation point $AA_ENC_COMP[0,0,AXi]).
  • Page 108: Angularity Error Compensation

    11.3.3 Angularity error compensation Function The angularity error compensation is a main-spindle-specific compensation used for the rotary positioning angle on lathes. The magnitude of the compensation value is not limited and is not monitored. In order to avoid impermissibly high velocities and accelerations caused by compensation, small compensation values must be selected.
  • Page 109 ● Compensation with modulo function: $AA_ENC_COMP_IS_MODULO[0,AXi] = 1 When compensation with modulo function is activated, the compensation table is repeated cyclically; that is, the compensation value at position $AA_ENC_COMP_MAX (interpolation point $AA_ENC_COMP[0,k,AXi]) is immediately followed by the compensation value at position $AA_ENC_COMP_MIN (interpolation point $AA_ENC_COMP[0,0,AXi]). For the main spindle it is therefore suitable to program 0°...
  • Page 110: Direction-dependent Leadscrew Error Compensation

    SPOS=300 ; spindle rotary to 300 degree position G4F1 ; wait for 1 second SPOS=270 ; spindle rotary to 270 degree position G4F1 ; wait for 1 second SPOS=240 ; spindle rotary to 240 degree position G4F1 ; wait for 1 second SPOS=210 ;...
  • Page 111: Commissioning

    negative traversing direction. The deviation at the particular compensation point is entered as difference between the ideal setpoint and measured actual value in the compensation tables. The control automatically calculates compensation values of intermediate values using linear interpolation. Preconditions / activation The "direction-dependent LEC"...
  • Page 112 Example: MD18342 [0] = 11; 11 interpolation points for the 1st table, e.g. positive traversing direction, X axis MD18342 [1] = 11; 11 interpolation points for the 2nd table, e.g. negative traversing direction, X axis MD18342 [2] = 21; 21 interpolation points for the 3rd table, e.g. positive traversing direction, Y axis MD18342 [3] = 21;...
  • Page 113 ● $AN_CEC_MAX[<t>] (end position) ● $AN_CEC_DIRECTION[<t>] (direction-dependent compensation) This system variable is used to set whether the compensation table [<t>] should apply to both positive and negative traversing directions of the basic axis: – $AN_CEC_DIRECTION[<t>] = 1: Table applies only to the positive traversing direction of the basic axis –...
  • Page 114 Interpolation points Table <t> [0,<N>] Number of interpola- MD18342 $MN_MM_CEC_MAX_POINTS[0] = 11 tion points Interpolation point <N> Position X -585 -527 -469 -411 -353 -295 -237 -179 -121 Measurement Setpoint posi- Deviation Checking measurement tion Position Comp. No. Measurement Direction + Direction - Direction + Direction -...
  • Page 115 Programming The following program "BI_SSFK_TAB_AX1_X.MPF" includes the value assignments for the parameters of the two compensation tables (positive and negative traversing direction) of the X axis: ;direction-dependent LEC ;1st axis MX1 ;Table 1 - positive traversing direction ;Table 2 - negative traversing direction ;-------------------------------------------------------------------------------------- CHANDATA(1) $MA_CEC_ENABLE[AX1]=0...
  • Page 116: Following Error Compensation (feedforward Control)

    11.4 Following error compensation (feedforward control) 11.4.1 General Axis-specific following error The following error can be reduced to almost zero with the help of the feedforward control. This feedforward control is therefore also called "following error compensation". Particularly during acceleration in contour curvatures, e.g. circles and corners, this following error leads to undesirable, velocity-dependent contour violations.
  • Page 117: Friction Compensation (quadrant Error Compensation)

    Parameters In order to achieve a correctly set speed feedforward control, the equivalent time constant of the speed control loop must be determined exactly and entered as machine data MD32810 EQUIV_SPEEDCTRL_TIME (equivalent time constant of the closed speed control loop) during commissioning. 11.5 Friction compensation (quadrant error compensation) 11.5.1...
  • Page 118 11.5.3.2 Commissioning Circularity test It is recommended that the circularity test be used for the commissioning of the friction compensation with constant injected value, as described above. The commissioning sequence is divided into the following steps: 1. Perform circularity test without friction compensation 2.
  • Page 119 Compensation value too small Too small a compensation value (MD32520) in the circularity test is indicated by insufficient compensation of the contour deviations at the quadrant transitions. Compensation value too large Too large a compensation value (MD32520) in the circularity test is indicated by overcompensation of the contour deviations at the quadrant transitions.
  • Page 120 Time constant too small Too small a time constant (MD32540) in the circularity test is indicated by short-time compensation of the contour deviations at the quadrant transitions which immediately increase thereafter. Time constant too large Too large a time constant (MD32540) in the circularity test compensates the contour deviations at the quadrant transitions. (Requirement: The optimum compensation value has already been determined.) However, with too large a time constant, the compensation value applies too long and results in an overcompensation at the next circular contour.
  • Page 121: Friction Compensation With Acceleration-dependent Compensation Value

    Mean value generation If different parameter values result for different radii and path velocities, the best values should be determined via mean value generation. Good friction compensation setting With a good friction compensation setting, "no" contour violations can be detected at the quadrant transitions. Acceleration-dependent compensation value If the compensation value proves to be acceleration-dependent, the "friction compensation and adaptation"...
  • Page 122: Function Activation

    Acceleration value 2 Acceleration value 3 Acceleration range with n = 1, 2, ... 4 with: Accelerations: a1 < a2 < a3 Compensation values: Δn > Δn , in special cases also Δn < Δn The compensation value Δn is calculated according to the respective acceleration range B1 to B4 as follows: Range With acceleration a ⇒...
  • Page 123: Compensation Value For Short Traversing Blocks

    ● MD32530 $MA_FRICT_COMP_CONST_MIN (minimum compensation value) Note If satisfactory results cannot be obtained for very small path velocities, the computational resolution may have to be increased: MD10200 $MA_INT_INCR_ PER_MM (computational resolution for linear positions) • MD10210 $MA_INT_INCR_PER_DEG (computational resolution for angular positions) •...
  • Page 124 The TRANSMIT and TRACYL functions are configured using separate machine data sets and switched on or off by means of special instructions in the program. With the SINUMERIK 808D/SINUMERIK 808D ADVANCED, a maximum of two kinematic transformations (TRANSMIT, TRACYL) may be configured and one of them may be activated using the program.
  • Page 125: Transmit Configuration

    Z machine axis (linear) X machine axis (linear) C axis (main spindle as rotary axis) Required machine kinematics The two linear axes (XM, ZM) must be mutually perpendicular. The rotary axis (CM) must travel parallel to the linear axis ZM (rotating around ZM).
  • Page 126 MD24210 TRAFO_AXES_IN_2[n] Channel axes for transformation 2 MD24220 TRAFO_GEOAX_ASSIGN_TAB_2[n] Geometry axes for transformation 2 Required assignment of channel axes for TRANSMIT transformation in machine data MD24110/MD24210: TRAFO_AXES_IN_1/2[0]= Channel axis number of axis perpendicular to rotary axis TRAFO_AXES_IN_1/2[1]= Channel axis number of rotary axis TRAFO_AXES_IN_1/2[2]= Channel axis number of axis parallel to rotary axis Machine data specifically for TRANSMIT...
  • Page 127 Examples: Machine data settings for TRANSMIT General settings: Axis names: XM->X1, ZM->Z1, CM->SP1 ● Machine axis name MD10000 AXCONF_MACHAX_NAME_TAB[0]="X1" MD10000 AXCONF_MACHAX_NAME_TAB[1]="Z1" MD10000 AXCONF_MACHAX_NAME_TAB[2]="SP1" MD10000 AXCONF_MACHAX_NAME_TAB[3]="SP2" MD10000 AXCONF_MACHAX_NAME_TAB[4]="" ● Assignment of geometry axis to channel axis MD20050 AXCONF_GEOAX_ASSIGN_TAB[0]=1 MD20050 AXCONF_GEOAX_ASSIGN_TAB[1]=0 MD20050 AXCONF_GEOAX_ASSIGN_TAB[2]=2 ●...
  • Page 128: Tracyl

    ● Vector of base tool MD24920 TRANSMIT_BASE_TOOL_1[0]=0 MD24920 TRANSMIT_BASE_TOOL_1[1]=0 MD24920 TRANSMIT_BASE_TOOL_1[2]=0 Setting data for the special treatment of the tool offset (only when required): ● Change of tool length component for change of plane SD42940 TOOL_LENGTH_CONST=18 ● Assignment of the tool length offset independent of tool type SD42950 TOOL_LENGTH_TYPE=2 Settings for second spindle (milling spindle of the lathe): ●...
  • Page 129 Required machine kinematics The two linear axes (XM, ZM) must be mutually perpendicular. The rotary axis (CM) must travel parallel to the linear axis ZM (rotating around ZM). The linear axis XM intersects the rotary axis CM (center of rotation). Machine with Y axis Machining grooves on a cylinder surface with X-Y-Z-C kinematics: Extended machine kinematics...
  • Page 130 Activation/deactivation of TRACYL The TRACYL function is activated in the program with ● TRACYL(d) in a separate block and deactivated with ● TRAFOOF in a separate block d - machining diameter of the cylinder in mm TRAFOOF deactivates any active transformation function. Programming - principle ;...
  • Page 131: Tracyl Configuration

    12.3.2 TRACYL configuration General machine data The names of the machine data, channel axes and geometry axes from the general machine data ($MN_AXCONF...) and channel-specific machine data ($MC_AXCONF...) are also used for a transformation. The geometry axis assignments specified in MD20050 AXCONF_GEOAX_ASSIGN_TAB only apply when the transformation is deactivated.
  • Page 132 ● MD24920 TRACYL_BASE_TOOL_1 The control is informed of the position of the tool zero point in relation to the origin of the coordinate system declared for TRACYL. The MD has three components for the three axes of the Cartesian coordinate system. Assignment of axis components in MD24920: –...
  • Page 133 MD20080 AXCONF_CHANAX_NAME_TAB[2]="C" MD20080 AXCONF_CHANAX_NAME_TAB[3]="SP2" MD20080 AXCONF_CHANAX_NAME_TAB[4]="" ● Initial setting of master spindle in channel MD20090 SPIND_DEF_MASTER_SPIND=1 TRACYL transformation type for second transformation: ● Without groove wall offset (no YM axis) MD24100 TRAFO_TYPE_2=512 ● Axis assignment in channel MD24110 TRAFO_AXES_IN_2[0]=1 MD24110 TRAFO_AXES_IN_2[1]=3 MD24110 TRAFO_AXES_IN_2[2]=2 MD24110 TRAFO_AXES_IN_2[3]=0 MD24110 TRAFO_AXES_IN_2[4]=0...
  • Page 134: Programming Example, Tracyl

    12.3.3 Programming example, TRACYL Machining grooves with groove wall compensation MD24100_TRAFO_TYPE_1 = 513 Contour It is possible to machine a groove which is wider than the tool by using address OFFN=... to program the compensation direction (G41, G42) in relation to the programmed reference contour and the distance of the groove side wall from the reference contour.
  • Page 135: Special Features Of Transmit And Tracyl

    ; define groove wall offset ; Y move to position 10 Z-50 ; Z move to position -50 ; Y move to position 70 G41 OFFN=-3 ; tool radius compensation left of contour ; define groove wall offset ; Y move to position 10 ;...
  • Page 136 Channel-specific measuring is integrated into this sequence. The PLC user program must include the required functionality. The measured offset values of the tool are available in the tool offset memory at the end of the measuring sequence. The exact operating instructions are contained in the SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual.
  • Page 137: Probe Connection

    For the probe, use an external voltage (24 V) whose reference potential should be connected to X21, pin 10. To ensure optimum interference immunity when connecting probes, lines must be used. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual Function Manual 01/2017...
  • Page 138: Channel-specific Measuring

    Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Note If a GEO axis (axis in the WCS) is programmed in a measuring block, the measured values are stored for all current GEO axes.
  • Page 139: Measurement Accuracy And Functional Testing

    13.4 Measurement accuracy and functional testing 13.4.1 Measuring accuracy Accuracy The propagation time of the measuring signal is determined by the hardware used. The delay times are in the µs range plus the probe response time. The measurement uncertainty is calculated as follows: Measurement uncertainty = measuring signal propagation time x traversing velocity Correct results can only be guaranteed for traversing velocity where not more than one triggering signal arrives per position controller cycle.
  • Page 140: Tool Measuring In Jog

    Softkeys and templates are provided for use by the user in "JOG" mode. This supports the user during tool measuring. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Note The PLC user program must be created with the necessary sequences. The functionality is not available beforehand.
  • Page 141 Preparation, probe calibration Select "JOG" mode. The following values should be entered in the displayed window via this softkey: return plane, safety clearance, JOG feed, variable increment and direction of rotation of the spindle for general use in JOG and for tool measuring. The following value must be entered in the window which opens when pressing this softkey: Feed for automatic probe approach in the measuring program.
  • Page 142 The toolbox for the SINUMERIK 808D/SINUMERIK 808D ADVANCED supplied by Siemens includes a user example in the PLC library. You can use this. In this case it should be noted that PLC_INI (SBR32) and MCP_NCK (SBR38) must always be opened in OB1 as these transfer the signals of the MEAS_JOG (SBR43) subroutine to the NCK/HMI.
  • Page 143 Configuring Drive Bus addresses The Drive Bus address of the corresponding drive is properly set (p0918 = 12). For more information about how to configure Drive Bus addresses, see the SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual. Activating an additional axis At least one additional axis is activated.
  • Page 144: Measuring The Tool Manually (with The Y Axis)

    If necessary, you can also tune the drive performance for the Y axis. For more information, see the SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual. Note that you must perform the reference point approach for the Y axis first before you start the drive tuning.
  • Page 145 Switch to "MDA" mode and continue to enter "SPOS=180" in the program editor window. Press this key to rotate the spindle 180 degrees. Repeat Steps 3 to 5. Measure the distance between the two cutting surfaces machined in the previous steps with a calliper.
  • Page 146 Use the handwheel to move the tool to approach the workpiece and cut the surface of the workpiece for about 1 mm along the X axis. Then retract the tool along the X axis. Note: Make sure you do not move the tool along the Y axis afterwards. Switch to "MDA"...
  • Page 147 Measuring the Z axis of the tool Select the machining operating area. Select a suitable override feedrate and use the handwheel to move the tool to scratch the required workpiece edge (or the edge of the setting block, if it is used) along the Z axis. Select the offset operating area.
  • Page 148: Emergency Stop Sequence

    Note Particular reference should be made to the following standards for the EMERGENCY STOP function: EN ISO 12100-1 • EN ISO 12100-2 • EN 418 • EN 60204-1 • EMERGENCY STOP in the control system The control system supports the machine manufacturer in implementing an EMERGENCY STOP function on the basis of the following features: ●...
  • Page 149: Emergency Stop Acknowledgment

    Note The interruption of the power feed to the equipment is the responsibility of the machine manufacturer. If the internal functions in the NC should not be executed in the predetermined sequence in the event of an EMERGENCY STOP, then IS EMERGENCY STOP (DB2600.DBX0000.1) may not be set at any time up to the point that an EMERGENCY STOP defined by the machine manufacture in the PLC user program is reached.
  • Page 150 A BERO (inductive proximity switch) can be deployed as the encoder for the synchronized pulse (instead of the zero mark of the position encoder) (preferred for rotary axes, spindles). Here connection is made to the control system via pin6 (DI3) of terminal X21. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual Function Manual 01/2017...
  • Page 151: Referencing With Incremental Measuring Systems

    G74 command instead of the plus/minus traversing keys and is done via the machine axis identifiers. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Note MD20700 REFP_NC_START_LOCK = 1 prevents a part program from being started (alarm output) if not all required axes are referenced.
  • Page 152 Referencing sequence with incremental measuring system (example): Characteristics of traversing to the reference point cam (phase 1) ● The feedrate override and feedrate stop is in effect. ● The machine axis can be stopped/started. ● The cam must be reached within the traversing distance in MD34030 REFP_MAX_CAM_DIST, otherwise a corresponding alarm is triggered.
  • Page 153 Different motion sequences during referencing: Referencing type Synchronizing pulse Motion sequence (zero mark, BERO) With reference cam (MD34000 Synchronizing pulse before cam, REFP_CAM_IS_ACTIVE = 1) reference coordinate before synchro- nizing pulse = without reversal: (MD34050 REFP_SEARCH_MARKER_REVERS E = 0) Synchronizing pulse on cam, refer- ence coordinate after synchronizing pulse on cam = with reversal: (MD34050...
  • Page 154: Secondary Conditions For Absolute Encoders

    Reference cam adjustment The reference cam must be calibrated exactly. The following factors influence the response time of the control when detecting the reference cam ("Reference point approach delay" interface signal): ● Switching accuracy of the reference cam switch ● Delay of the reference cam switch (NC contact) ●...
  • Page 155 16.4 Data table 16.4.1 Machine data Number Identifier Name Channel-specific 20700 REFP_NC_START_LOCK NC-Start disable without reference point Axis-specific 30200 NUM_ENCS Number of encoders 30240 ENC_TYP[0] Actual value encoder type 30330 MODULO_RANGE Magnitude of modulo range 31122 BERO_DELAY_TIME_PLUS[0] BERO delay time in plus direction 31123 BERO_DELAY_TIME_MINUS[0] BERO delay time in minus direction...
  • Page 156 Spindle (S1) 17.1 Brief description Spindle functions Depending on the machine type the following functions are possible for a spindle controlled by the NC: ● Input of a direction of rotation for the spindle (M3, M4) ● Input of a spindle speed (S) ●...
  • Page 157: Spindle Control Mode

    ● Positioning mode, see Section "Spindle positioning mode (Page 160)" ● Axis mode ● Tapping without compensating chuck, see also Chapter "Feed (Page 172)" Switching between spindle modes: Switching between spindle modes ● Control mode ---> oscillation mode The spindle changes to oscillation mode if a new gear stage has been specified using automatic gear stage selection (M40) in conjunction with a new S value or by M41 to M45.
  • Page 158: Spindle Oscillation Mode

    Requirements A spindle position actual value sensor is absolutely essential for M3/M4/M5 in conjunction with revolution feedrate (G95, F in mm/rev or inch/rev), constant cutting rate (G96, G97), thread cutting (G33). Independent spindle reset MD35040 SPIND_ACTIVE_AFTER_RESET defines the response of the spindle after reset or program end (M2, M30): ●...
  • Page 159 The direction of rotation is determined by IS "Set direction of rotation counterclockwise" or IS "Set direction of rotation clockwise" (DB380x.DBX2002.7 or .6). The oscillation movement and the two times t1 and t2 (for clockwise and counterclockwise rotation) must be simulated on the PLC.
  • Page 160: Spindle Positioning Mode

    17.2.4 Spindle positioning mode When is positioning mode used? The spindle positioning mode stops the spindle at the defined position and activates the position control, which remains active until it is deactivated. With the SPOS =..program function, the spindle is in positioning mode (see also Section "Programming (Page 166)").
  • Page 161 Phase 5: The position control remains active and stops the spindle in the programmed position. The IS "Position reached with exact stop fine" (DB390x.DBX0000.7) and "... coarse" (DB390x.DBX0000.6) are set if the distance between the spindle actual position and the programmed position (spindle setpoint position) is less than the settings for the exact stop fine and coarse limits (respectively defined in MD36010 STOP_LIMIT_FINE and MD36000 STOP_LIMIT_COARSE).
  • Page 162: Synchronization

    Sequence The spindle travels to the programmed end point optimally in terms of time. Depending on the appropriate secondary conditions, the operational sequences in phases 1 - 2 - 3 - 4 or 1 - 3a - 4a are executed. Phase 1: SPOS will switch the spindle to position control mode.
  • Page 163: Gear Stage Change

    Maximum encoder frequency exceeded When the spindle speed reaches a speed (large S value programmed), which exceeds the maximum encoder limit frequency MD36300 ENC_FREQ_LIMIT (the maximum mechanical speed limit of the encoder must not be exceeded), the synchronization is lost. The spindle continues to rotate, but with reduced functionality. If a speed is then reached that is below the encoder limit frequency in MD36302 ENC_FREQ_LIMIT_LOW (% value of MD36300), the spindle automatically synchronizes with the next zero mark signal.
  • Page 164 defined gear stage. If a spindle speed exceeding the maximum speed of the permanently defined gear stage is programmed, the speed is limited to the maximum speed of this gear stage and the IS "Programmed speed too high" (DB390x.DBX2001.1) is enabled. If a speed is programmed lower than the minimum speed of this gear stage, the speed is raised to this speed. The IS "Setpoint speed increased"...
  • Page 165 The following figure shows the typical time sequence for the gear stage change. Gear stage change with stationary spindle: Parameter set One parameter set each is provided for each of the five gear stages. The appropriate parameter set is activated through the IS "Actual gear stage A"...
  • Page 166: Programming

    M41 to M45 Select gear stage 1 to 5 for the spindle SPCON Position control on SPCOF Position control off Position control on LIMS=... Programmable maximum spindle speed for G96 Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Function Manual 01/2017...
  • Page 167: Spindle Monitoring

    17.6 Spindle monitoring 17.6.1 Spindle monitoring Speed ranges The spindle monitoring functions and the currently active functions (G94, G95, G96, G33, G331, G332, etc.) define the admissible speed ranges of the spindle. Ranges of spindle monitoring functions/speeds: 17.6.2 Axis/spindle stationary Only when the spindle is stationary, i.e.
  • Page 168: Maximum Spindle Speed

    17.6.4 Maximum spindle speed Maximum spindle speed A maximum speed is defined for "maximum spindle speed" spindle monitoring, which the spindle may not exceed. The maximum spindle speed is entered in MD35100 SPIND_VELO_LIMIT. The control limits an excessive spindle speed setpoint to this value. If the actual spindle speed exceeds the maximum spindle speed despite allowance for the spindle speed tolerance (MD35150 SPIND_DES_VELO_TOL), there is a drive fault and IS "Speed limit exceeded"...
  • Page 169: Target Point Monitoring

    If the encoder limit frequency is exceeded, the IS "Referenced/synchronized" DB390x.DBX0000.4) is reset for the measurement system and IS "Encoder limit frequency 1 exceeded" (DB390x.DBX0000.2) is enabled. If the maximum encoder limit frequency has been exceeded and the speed subsequently falls below the encoder frequency in MD36302 ENC_FREQ_LIMIT_LOW (% value of MD36300 ENC_FREQ_LIMIT), the spindle is automatically synchronized with the next zero mark or the next BERO signal.
  • Page 170 17.8 Data table 17.8.1 Machine data Number Identifier Name Channel-specific 20090 SPIND_DEF_MASTER_SPIND Master spindle Axis-specific 30134 IS_UNIPOLAR_OUTPUT[0] Setpoint output is unipolar 30300 IS_ROT_AX Rotary axis 30310 ROT_IS_MODULO Modulo conversion 30320 DISPLAY_IS_MODULO Position display 31050 * DRIVE_AX_RATIO_DENOM[n] Denominator load gearbox 31060 * DRIVE_AX_RATIO_NUMERA[n] Numerator load gearbox 32200 *...
  • Page 171 Number Identifier Name 36302 ENC_FREQ_LIMIT_LOW Encoder limit frequency resynchronization 36720 DRIFT_VALUE Drift basic value The machine data marked with * is contained in the parameter set for a gear stage. 17.8.2 Setting data Number Identifier Name General 41200 JOG_SPIND_SET_VELO JOG velocity for the spindle Spindle-specific 43230 SPIND_MAX_VELO_LIMS...
  • Page 172: Path Feedrate F

    The feedrate F is effective for the interpolation types G1, G2, G3, CIP, and CT and is retained in a program until a new F word is written. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Dimension units for F: G94, G95 The dimension unit for the F word is determined by G functions: ●...
  • Page 173: Feedrate With G33, G34, G35 (thread Cutting)

    Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Interface signals If the revolutional feedrate is active, IS "Revolutional feedrate" (DB3300.DBX0001.2) is set. If the G96/G332 function is active, the IS "Constant cutting rate active" (DB390x.DBX2002.0) is set for the spindle.
  • Page 174: Feedrate For G63 (tapping With Compensation Chuck)

    DITS= ...: Run-in path of the thread DITE= ...: Run-out path of the thread Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual SD42010 Only paths, and not positions, are programmed with DITS and DITE. With the part program instructions, the setting data SD42010 THREAD_RAMP_DISP[0], ...[1] defines the following acceleration response of the axis during thread cutting ([0]-run-in, [1]-run-out): ●...
  • Page 175: Feedrate For G331, G332 (tapping Without Compensation Chuck)

    This parameter set also applies to the current gear stage of the spindle (M40, M41 to M45 - see also Chapter "Spindle (S1) (Page 156)"). In general, the axis is adjusted to the slower spindle. Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual 18.1.5 Feedrate for chamfer/rounding: FRC, FRCM Chamfer/rounding You can insert the chamfer (CHF or CHR) or rounding (RND) elements into a contour corner.
  • Page 176: Rapid Traverse G0

    18.2 Rapid traverse G0 Application The rapid traverse movement G0 is used for rapid positioning of the tool, but not for direct workpiece machining. All axes can be traversed simultaneously. This results in a straight path. For each axis, the maximum speed (rapid traverse) is defined in machine data MD32000 MAX_AX_VELO. If only one axis traverses, it uses its rapid traverse.
  • Page 177: Feedrate Disable And Feedrate/spindle Stop

    18.3.2 Feedrate disable and feedrate/spindle stop General The "Feed disable" or "Feed/spindle stop" brings the axes to a standstill. The path contour is maintained (exception: G33 block). Feed disable The channel-specific interface signal "Feed disable" (DB3200.DBX0006.0) will stop all axes (geometry and special axes) in all operating modes.
  • Page 178 The interface for the override (value) is supplied by a machine control panel via the PLC to the NC and it is Gray-coded. An active feedrate override acts on all path axes. An active rapid traverse override acts on all axes traversing with rapid traverse.
  • Page 179 Number Identifier Name 20201 CHFRND_MODE_MASK Specifications regarding the chamfer/rounding behavior Axis-specific machine data 32000 MAX_AX_VELO Maximum axis velocity 35100 SPIND_VELO_LIMIT Maximum spindle speed Channel-specific setting data 42100 DRY_RUN_FEED Dry run feedrate 42010 THREAD_RAMP_DISP Acceleration behavior of the feedrate axis when thread cutting 42110 DEFAULT_FEED...
  • Page 180: Tool

    Compensation at outer corners selectable: transition circle (G450) or equidistant intersection (G451) – Automatic detection of outer/inner corners Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual 19.2 Tool Select a tool A tool is selected in the program with the T function. Whether the new tool is immediately loaded with the T function or with M6 depends on the setting in MD22550 TOOL_CHANGE_MODE (new tool offset with the M function).
  • Page 181: Special Handling Of Tool Compensation

    Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Value of the setting data not equal to 0: The assignment of the tool lengths 1 to 3 in geometry and wear to the geometry axes are performed according to the SD value and are not changed if the machining plane (G17 to G19) changes.
  • Page 182 (milling cutter / drill or turning tool). Reference: SINUMERIK 808D/SINUMERIK 808D ADVANCED Programming and Operating Manual Value of the setting data not equal to 0: The assignment of the tool lengths is always independent of the actual tool type.
  • Page 183: Contour Handwheel

    When the function is activated, the feedrate of path and synchronized axes can be controlled via a handwheel in "AUTO" and "MDA" modes. Availability For the SINUMERIK 808D/SINUMERIK 808D ADVANCED, the contour handwheel function is available as an option that is under license. Input mode (path or velocity input) Either the distance or the velocity can be entered via the handwheel: ●...
  • Page 184 Activating via the NC program The contour handwheel can be activated in the NC program non-modally using FD=0, that is, velocity F... from the block before the contour handwheel applies in the following block without the need for additional programming. You can proceed through the following steps to activate the contour handwheel function via the NC program: Select the machining operating area.
  • Page 185: Tool Parameter: Clearance Angle

    Address (PLC → NCK) Signal state Corresponding to ... (NCK → PLC) DB3200.DBX14.4 =1: negative direction for contour handwheel simulation =0: direction as programmed for contour handwheel simulation You can simply modify PLC subroutine 37 (MCP_NCK) as follows in the default PLC program to realize desired contour handwheel function: Input signals Description...
  • Page 186 Tool clearance angle of the turning tool during relief cutting: Note To activate this tool parameter on the HMI, set bit 18 of MD19730[0] to 1 (MD19730[0] = 40000H). Currently, the clearance angle function can work only when the optional Manual Machine Plus function is licensed and activated.
  • Page 187: General Information

    Safety Integrated 22.1 Standards and regulations 22.1.1 General information 22.1.1.1 Aims Manufacturers and operating companies of equipment, machines, and products are responsible for ensuring the required level of safety. This means that plants, machines, and other equipment must be designed to be as safe as possible in accordance with the current state of the art.
  • Page 188: Machinery Directive

    The EU Directives are equal. This means that if several Directives apply for a specific piece of equipment or device, the requirements of all of the relevant Directives apply (e.g. for a machine with electrical equipment, the Machinery Directive and the Low-Voltage Directive apply).
  • Page 189: Standards For Implementing Safety-related Controllers

    application of a particular standard may not be mandatory provided that all the safety requirements of the applicable EU directives are fulfilled. 22.1.2.3 Standards for implementing safety-related controllers If the functional safety of a machine depends on various control functions, the controller must be implemented in such a way that the probability of the safety functions failing is sufficiently minimized.
  • Page 190: Din En Iso 13849-1 (replaces En 954-1)

    Type Systems for executing safety-related control EN ISO 13849-1 EN 62061 functions "X" indicates that the point is covered by this standard. Comment 1: Designated architectures are described in Annex B of EN ISO 13849-1 and provide a simplified basis for the quantification. Comment 2: For complex electronics: Using designated architectures in compliance with EN ISO 13849-1 up to PL = d or every archi- tecture in compliance with EN 62061.
  • Page 191: Series Of Standards En 61508 (vde 0803)

    Simple sub-systems (e.g. sensors and actuators) in electromechanical components can, in turn, comprise sub-system elements (devices) interconnected in different ways with the characteristic quantities required for determining the relevant PFHD value of the sub-system. Safety-related characteristic quantities for subsystem elements (devices): ●...
  • Page 192: Risk Analysis/assessment

    Another recent development with respect to EN 61508 is its system approach, which extends the technical requirements to include the entire safety installation from the sensor to the actuator, the quantification of the probability of hazardous failure due to random hardware failures, and the creation of documentation covering all phases of the safety-related lifecycle of the E/E/PES.
  • Page 193: Risk Reduction

    Risks must be reduced by designing and implementing the machine accordingly (e.g. by means of controllers or protective measures suitable for the safety-related functions). If the protective measures involve the use of interlocking or control functions, these must be designed according to EN ISO 13849-1.
  • Page 194: Nrtl Listing

    22.1.3.2 NRTL listing To protect employees, all electrical equipment used in the USA must be certified for the planned application by a "Nationally Recognized Testing Laboratory" (NRTL) certified by the OSHA. NRTLs are authorized to certify equipment and material by means of listing, labeling, or similar.
  • Page 195: Machine Safety In Japan

    Category 3 and Performance Level d (PL d) acc. to ISO 13849-1:2006, as well as IEC 61800-5-2. Controlling the STO Function The STO function can be controlled via terminals. For more information on STO wiring, see Section "Connecting the 24 V power supply/STO - X6" of the SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual. Function Manual 01/2017...
  • Page 196: Safety Instructions

    ● Safety integrity level 2 (SIL 2) to IEC 61508 In addition, the safety function of SINAMICS V70 has been certified by independent institutes. An up-to-date list of certified components is available on request from your local Siemens office. 22.3.2...
  • Page 197: Probability Of Failure Of The Safety Function (pfh Value)

    22.3.3 Probability of failure of the safety function (PFH value) Probability of failure The probability of the failure of safety functions must be specified in the form of a PFH value (Probability of Failure per Hour) in accordance with IEC 61508, IEC 62061, and ISO 13849-1:2006. The PFH value of a safety function depends on the safety concept of the drive unit and its hardware configuration, as well as on the PFH values of other components used for this safety function.
  • Page 198 WARNING Appropriate measures must be taken to ensure that the motor does not undesirably move once the energy feed has been disconnected, e.g. against coasting down. CAUTION If two power transistors simultaneously fail in the power unit (one in the upper and one in the lower bridge), then this can cause brief momentary movement.
  • Page 199: Forced Dormant Error Detection

    The wiring for factory setting and using the STO function is shown as follows: Selecting/deselecting "Safe Torque Off" The following is executed when "Safe Torque Off" is selected: ● Each monitoring channel triggers safe pulse suppression via its switch-off signal path. ●...
  • Page 200: Multi-language Support For The Machine Manufacturer's Hmi Data

    detection run is due and to request that this be carried out at the next available opportunity. This alarm does not affect machine operation. Examples of when to carry out forced dormant error detection: ● When the drives are at a standstill after the system has been switched on (POWER ON). ●...
  • Page 201 Single file This is the case for: ● User cycle alarm file ● Extended user text file ● OEM MD description file ● PLC alarm texts ● OEM R variable name file ● Service planner task name file For these files, the machine manufacturer can easily import or export all language files without changing the system language.
  • Page 202: Calling An Online Help

    Calling an online help The procedure for calling an online help is as follows: A Siemens online help is available for your reference. You can press this key on the PPU to call it: Press one of these two keys on the PPU to display it, or press the following key to exit the...
  • Page 203 The table below gives the detailed information about the commands you can use in your help texts: Command Description #{XE "BookmarkName"} Will create a bookmark named BookmarkName. The com- mand must be followed by an HL command, which will be used as description in the help index.
  • Page 204 Press these softkeys in succession to open the "USB" window. → Use this hardkey on the PPU to select one or more online help files, and then copy the file(s) with the following: → Press this softkey, and then access the "HMI data" folder with the following: Then select the "OEM online help"...
  • Page 205 Press these two hardkeys on the PPU in succession. Then you can view your own online help, as shown in the following example. → Choose a certain manual and press this hardkey to view the help content list. Choose a certain help topic, and then press one of these two keys to view it. Function Manual 01/2017...
  • Page 206 If you have created a hyperlink in the online help text, press these two softkeys in succes- sion to go to the linked target. → Exit the online help. : Exit the online help. : Return to the online help main menu. Uploading a machine manufacturer's manual using a USB stick To upload a machine manufacturer's manual using a USB stick, proceed as follows: Create your own file(s) for a machine manufacturer's manual and save the file(s) in the USB...
  • Page 207 Copy the two first-level folders to the "OEM manual" folder. For how to find this folder, see the subsequent steps. Insert the USB stick into the USB interface at the front of the PPU. Select the system data operating area. Press these softkeys in succession to open the "USB"...
  • Page 208: Calling A Standard Cycle With Auxiliary Functions

    Press this hardkey to access the "OEM manual" folder, and then enter the "manual" folder, that is, the above-mentioned third-level folder. Paste the copied file(s) under this folder with the following: → Press these two keys in succession. Then you can view your own machine manufacturer's manual. →...
  • Page 209 Global user data (integral) _ZSFR[n] Global user data (float) NOTE: Since this data has been used in the Siemens standard technology cycles, ensure that there is no conflict with the technology cycles when you are using this data. Function Manual 01/2017...
  • Page 210: Display Function

    23.4 Display function Displaying the part timer The part timer is available for the control system to count the following time periods: Time Corresponding system variable Description Run time $AC_OPERATING_TIME Total time for running programs in "AUTO" mode Cycle time $AC_CYCLE_TIME Run time of a selected program Cutting time...
  • Page 211 Displaying the part counter The part counter is available for the control system to count the following information: Time Corresponding system variable Description Required parts $AC_REQUIRED_PARTS Required parts to be counted. Activated by setting MD27880 BIT0 = 1: BIT 1 = 0: if "Part count" = "Parts required", alarm or •...
  • Page 212: Prog_event Function

    Note All of the numbers that have been entered must be confirmed with the following hardkey. 23.5 Prog_Event function With the Prog_Event function, two subroutine programs called "CYCPE1MA.SPF" and "CYCPE_MA.SPF" are triggered to be executed at certain states such as the end of a program, NC reset, etc.. You must first create at least one of the CYCPE1MA.SPF and CYCPE_MA.SPF files, and then save the file(s) under the cycle directory (N: \CMA).
  • Page 213: Creating User Cycles

    For example: 23.7 Creating user cycles The control system is integrated with standard Siemens cycles. If necessary, you can also create your own cycles. To create a customized cycle, you must prepare the files shown below: ● User cycle file ●...
  • Page 214: Creating The User Cycle Softkey Index File

    Naming rule almc_<LANG>.txt Here "<LANG>" refers to the language denotation, for example, eng. For more information, see Section "Multi-language support for the machine manufacturer's HMI data (Page 200)". Text definition rules When defining the texts, you must follow the rule below: <Identifier>...
  • Page 215 If you have created an image to display on the left of the screen at cycle start, call the image at the first line. The image is followed by the cycle name written in brackets. Now define the parameters for the individual variables according to the format shown in the table below: Description of the parameters Entry Start of variable definition...
  • Page 216: Creating The User Cycle File

    Here "xxx" refers to the cycle number. It must not exceed four digits.. Note The name of a user cycle must not be same with that of a standard Siemens cycle. It is recommend to use a cycle number with the range of 100 to 800.
  • Page 217: Creating The User Cycle Alarm File

    ROUGHING2: SBLON G90 G0 X=DIAF+UX G1 Z=ENDP G0 G91X=VRT Z=VRT G90 G0 X=DIA+2 Z=STAP+2 IF MACH==2 GOTOF FINISHING SBLOF FINISHING: SBLON G0 X=DIAF G1 Z=ENDP G1 X=DIA+VRT G0 G91X=VRT Z=VRT G90 Z=STAP+2 SBLOF LL1: IF $P_EP[Z]<STAP GOTOF END1 GOTOB LL3 END1: SETAL(65000) STOPRE...
  • Page 218: Creating The User Cycle Bitmap File

    Example 65000 "Current tool position is incorrect" // 34 ⇒ one line with 34-character space 65001 "DIAF is bigger than DIA" // 23 ⇒ one line with 24-character space 23.7.6 Creating the user cycle bitmap file The cycle icons must be stored as bitmap files (*.bmp) with a maximum size of 224 * 224 pixels in 16 colors. The icon name must begin with an uppercase/lowercase "C"...
  • Page 219 Find the folder for storing the user cycle files through the following operations, and press this key to open it: → → Press this key to open the following user cycle bitmap file folder: Paste the user cycle bitmaps with this softkey. Transferring the user cycle alarm file Press this softkey to switch to the USB storage directory.
  • Page 220 Transferring the cov.com file and sc.com file Select the system data operating area. Open the USB storage directory through the following softkey operations: → Select the cov.com and sc.com files and then press this softkey to copy the files. Note that you can use the following key to select multiple files: Press this softkey to open the window of system data.
  • Page 221: Calling The Created User Cycle

    Find the folder for storing the extended user text file through the following operations, and press this key to open it: → → Press this softkey to paste the extended user text file. Press this softkey when a message appears prompting you to restart the HMI. The new data will be active after the HMI restarts successfully.
  • Page 222: Editing The User Cycle Screens

    Press this softkey to open the lower-level menu for calling user cycles, for example: Press this softkey to open the window for CYCLE100, for example: Set the parameters as desired, and press this softkey to confirm and return to the program editing screen.
  • Page 223: Using The Machine Manufacturer's Machine Data Descriptions

    23.8 Using the machine manufacturer's machine data descriptions If necessary, you can use your own descriptions for the PLC machine data 14510, 14512, 14514, 14516, and 17400. Proceed as follows to edit the machine data description: Select the system data operating area. Press this softkey, and the window of basic NC data opens by default.
  • Page 224: Using The Machine Manufacturer's R Variable Names

    23.9 Using the machine manufacturer's R variable names If necessary, you can define the names of the R variables as desired. Proceed as follows to define your own R variable names: Select the offset operating area. Press this softkey to open the list of R variables. Press this softkey to activate the name display of all R variables.
  • Page 225: Scope Of Functions

    Scope of functions The "Generate user dialogs" function offers an open structure and enables the user to develop customer-specific and application-specific user interfaces in the SINUMERIK 808D/SINUMERIK 808D ADVANCED. The control system offers an XML-based script language for generating user dialogs.
  • Page 226: Fundamentals Of Configuration

    Note The following section is not intended as a comprehensive description of XML (Extensible Markup Language). Please refer to the relevant specialist literature for additional information. 23.10.2 Fundamentals of configuration Configuration files The defining data for new user interfaces are stored in configuration files. These files are automatically interpreted and the result displayed on the screen.
  • Page 227: Configuration Files (easyxlanguage Scripts)

    23.10.3 Configuration files (EasyXLanguage scripts) The following files in the relevant manufacturer's folder on the control are needed to configure user dialogs: File type Name of the file Meaning Script file "xmldial.xml" This script file uses XML tags to control how the configured softkey menus and dialog forms will appear in the user- defined operating area on the HMI.
  • Page 228: Structure Of Configuration File

    Note When a script file "xmldial.xml" is available in the folder above, you can call the start menu in the user-defined operating area. After the initial copying process, reset the control system through the following operations: → → → Example of a user dialog on the HMI The configured softkey menus are displayed when the user-defined operating area is called.
  • Page 229: Xml Identifier

    23.10.6 XML identifier 23.10.6.1 General structure Structure and instructions of the script file for dialog configuration All dialog configurations should be stored in the DialogGui tag. <DialogGui> … </DialogGui> Example: <?xml version="1.0" encoding="utf-8"?> <DialogGui> … <FORM name ="Hello_World"> <INIT> <CAPTION>Hello World</CAPTION> </INIT>...
  • Page 230 Tag identifier Meaning CONTROL_RESET The tag enables one or more control components to be restarted. Syntax: <CONTROL_RESET resetnc="TRUE" /> Attributes: RESETNC = "TRUE" • The NC component is restarted. CREATE_CYCLE_EVENT If the parser starts to process the tag CREATE_CYCLE, initially, the message <CREATE_CYCLE_EVENT>...
  • Page 231 Tag identifier Meaning DATA The tag enables the NC, PLC, GUD and drive data to be directly written to. The Addressing components (Page 277) section contains details on address formation. Attribute: name • Variable address Tag value: All alphanumeric terms are approved as tag values. If a value is to be written from a local variable directly, the $ replacement operator preceding the name of the local variable should be used.
  • Page 232 Tag identifier Meaning DO_WHILE Do while loop Instructions WHILE (Test) Syntax: <DO_WHILE> Instructions … <CONDITION>…</CONDITION> </DO_WHILE> The Do while loop comprises a block of instructions and a condition. The code in the instruction block is executed first, then the condition is applied. If the condition is true, the function executes the code section again.
  • Page 233 Tag identifier Meaning For loop for (initialization; test; continuation) instruction(s) Syntax: <FOR> <INIT>…</INIT> <CONDITION>…</CONDITION> <INCREMENT>…</INCREMENT> Instructions … </FOR> The For loop is executed as follows: 1. Evaluation of the expression initialization (INIT). 2. Evaluation of the expression test (CONDITION) as a Boolean expression. If the value is false, the For loop is exited.
  • Page 234 Tag identifier Meaning FORM The tag contains the description of a user dialog. The relevant tags are described in the section on generating menus and dialog forms. Syntax: <FORM name="<dialog name>" color="#ff0000"> Attributes: color • Background color of the dialog form (color coding, see Section "Color coding (Page 249)") –...
  • Page 235 Tag identifier Meaning FORM Continued You can define how the images in a form will be displayed on the screen with a resolution of 800x600 pixels, that is, adapt the image size to the screen, by setting bit 1 of MD1113. Precondition: This function is applicable only when the script file is copied to the control system with a screen resolution of 800x600 pixels.
  • Page 236 Tag identifier Meaning The instruction creates a local variable under the specified name. Fields: Using the attribute dim (dimension) single or two-dimensional fields can be created. The field index addresses the individual field elements. For a two-dimensional field, initially the line index is specified and then the column index. Single-dimensional field: •...
  • Page 237 Tag identifier Meaning LET Continued Example: One-dimensional field: <let name="array" dim="10"></let> Two-dimensional field: <let name="list_string" dim="10,3" type="string"></let> Pre-assignment: A variable can be initialized with a value. <LET name = "VAR1" type = "INT"> 10 </LET> If values comprising NC or PLC variables are saved in a local variable, the assignment operation automatically adapts the format to that of the variables which have been loaded.
  • Page 238 Tag identifier Meaning LET Continued Variable type struct: This variable type contains a composition of variables that can be addressed using the structure name. A structure can contain all variable types and structures. Within the structure, a variable is declared with the "element" tag. The attributes of the tags and the initialization correspond to the attributes and initialization of the let instruc- tion.
  • Page 239 Tag identifier Meaning MSGBOX The instruction opens a message box whose return value can be used for branching. Syntax: <MSGBOX text="<Message>" caption="<caption>" retvalue="<variable name>" type="<button type>" /> Attributes: text • Text retvalue • Name of the variables to which the return value is copied: 1 –...
  • Page 240 Tag identifier Meaning The tag executes the specified operations. The operations listed in Section "Operators (Page 250)" can be executed. For the purpose of accessing the NC, PLC, and drive data, the complete variable name should be placed in quotation marks. Section "Addressing components (Page 277) " de- scribes how addresses are formed.
  • Page 241 Tag identifier Meaning OPERATION Operation Instructions can be moved within an equation. Move left "<<" operator The << function moves bits to the left. You can specify the value and the number of move increments directly or with a variable. If the limit of the data format is reached, the bits will be moved beyond the limit without an error message being issued.
  • Page 242 Tag identifier Meaning PRINT The tag outputs a text in the dialog line or copies the text to the variable specified. If the text contains formatting identifiers, the variable values are inserted at the appropri- ate places. Syntax: <PRINT name="Variable name " text="text %Formatting "> Variable, … </PRINT>...
  • Page 243 Tag identifier Meaning PROGRESS_BAR The tag opens or closes a progress bar. The bar is displayed below the application win- dow. Syntax: <PROGRESS_BAR type="<true/false>"> value </ PROGRESS_BAR> Attributes: type = "TRUE" - opens the progress bar • type = "FALSE" - closes the progress bar •...
  • Page 244 Tag identifier Meaning SHOW_CONTROL The visibility of a control can be controlled using the tag. Syntax: <SHOW_CONTROL name="<name>" type="<type>" /> Attributes: name • Name of the control type = "TRUE" - control becomes visible • type = "FALSE" - control becomes invisible (hidden) •...
  • Page 245 Tag identifier Meaning TYPE_CAST The tag converts the data type of a local variable. Syntax: <type_cast name="variable name" type=" new type" /> Attributes: name • Variable name type • The new data type is assigned to the variable. convert • The new data type is assigned to the variable.
  • Page 246 Tag identifier Meaning TYPEDEF Continued Some predefined functions expect variables of structure type RECT, POINT, or SIZE as the call parameter. These structures are defined in the file struct_def.xml. RECT: <typedef name="StructRect" type="struct" > <element name="left" type="int">0</element> <element name="top" type="int">0</element> <element name="right"...
  • Page 247 Tag identifier Meaning XML_PARSER The “XML_PARSER” tag can be used to parse XML files. The parser interprets an XML file and calls defined call-back functions. Each call-back function belongs to a predefined event. The programmer can process the XML data within this function.
  • Page 248 Tag identifier Meaning XML_PARSER Continued The parser also supplies variables so that the call-back functions can access the event data. startElementHandler: Function parameters tag_name - tag name - number of attributes found System variables $xmlAttribute String array that contains the 0-num attribute name range. $xmlValue String array that contains the 0-num attribute value range.
  • Page 249: System Variables

    23.10.6.3 System variables The system variables can be used in the EasyXLanguage scripts for the data exchange between a script parser and a program flow. The table below provides the automatically created system variables that can be used in the relevant tags. System variable Description Tags where valid...
  • Page 250: Operators

    23.10.6.6 Operators The operation instruction processes the following operators: Operator Meaning Assignment Equal to <, &lt; Less than >, &gt; Greater than <=, &lt;= Less than or equal to >=, &gt;= Greater than or equal to OR operation in bits Logic OR operation &, &amp;...
  • Page 251 Tag identifier Meaning FORM This tag contains the description of a user dialog. Attributes: color • Background color of the dialog box (for color coding, see Section "Color coding (Page 249)") name • Identifier of the form type • cycle -attribute specifies a cycle form xpos •...
  • Page 252 Tag identifier Meaning FORM continued FORM continued Syntax: <FORM name = "<dialog name>" color = "#ff0000"> Example: <FORM name = "R-Parameter"> <INIT> <DATA_ACCESS type = "true" /> <CAPTION>R - Parameter</CAPTION> <CONTROL name = "edit1" xpos = "322" ypos = "34" refvar = "nck/Channel/Parameter/R[1]"...
  • Page 253 Tag identifier Meaning KEY_EVENT Dialog message The tag KEY_EVENT can be integrated in the form to evaluate keyboard events. The sys- tem sends the MF2 keyboard code to the active form if the tag is available in a form. If the variable $actionresult is not set to zero, the system then subsequently processes the key- board event.
  • Page 254 Tag identifier Meaning MESSAGE Dialog message If the Send_message operation is executed in the script, then the parser processes the tag message. Values P1 and P2 are provided in the variables $message_par1 and $mes- sage_par2 (see the "SEND_MESSAGE" tag). Syntax: <MESSAGE>...
  • Page 255 Tag identifier Meaning SEND_MESSAGE The tag sends a message with two parameters to the active form, which is processed in the tag message (see also MESSAGE). Syntax: <SEND_MESSAGE>p1, p2</SEND_MESSAGE> Example: <LET name="user_selection" /> <SOFTKEY POSITION="3"> <CAPTION>Set%nParameter</CAPTION> <SEND_MESSAGE>1, 10</SEND_MESSAGE> </SOFTKEY> … …...
  • Page 256 Tag identifier Meaning CAPTION The tag contains the title of the dialog box. This tag should be used within the INIT tag. Syntax: <CAPTION>Titel</CAPTION> Example: <CAPTION>my first dialogue</CAPTION> CLOSE Dialog box message This tag is executed before the dialog box is closed. CLOSE_FORM The tag closes the active dialog.
  • Page 257 Tag identifier Meaning CONTROL The tag is used to generate control elements. Syntax: <CONTROL name = "<control name>" xpos = "<X position>" ypos = "<Y position>" refvar = "<NC variable>" hotlink = "true" format = "<for- mat>" /> Attributes: name •...
  • Page 258 Tag identifier Meaning fieldtype CONTROL Continued • – graphicbox The field type generates a 2D broken line graphic control. Using the tag <ITEM> a graphical element can be inserted into the control. Parameters width and height specify the width and height of the box. After the control has been created, additional elements can be inserted using the functions addItem, loaditem, or insertItem.
  • Page 259 Tag identifier Meaning CONTROL continued Attributes: font • The attribute defines the font size used. – – – – – – color_bk • The attribute sets the background color of the control. color_fg • The attribute sets the foreground color of the control. Color coding (see Section "Color coding (Page 249)") display_format •...
  • Page 260 Tag identifier Meaning CONTROL continued Example: <CONTROL name = "button1" xpos = "10" ypos = "10" fieldtype = " com- bobox "> <ITEM>text1</ITEM> <ITEM>text2</ITEM> <ITEM>text3</ITEM> <ITEM>text4</ITEM> </CONTROL> If any integer value is to be assigned to an expression, the attribute value = "value" should be added to the tag.
  • Page 261 Tag identifier Meaning CONTROL Continued Changing the control after creation A control tag changes the properties of an existing control after it has been created. The tag must be specified with the name of the control to be changed and the new properties. It can be executed only within a form tag.
  • Page 262 Tag identifier Meaning CONTROL Continued The following properties can be changed in an operation statement. For this purpose, the control name and property have to be specified. The property has to be separated by a point from the control name. xpos •...
  • Page 263 Tag identifier Meaning DATA_ACCESS The tag controls the behavior of the dialog forms when user inputs are being saved. The behavior should be defined within the INIT tag. If the tag is not used, inputs are buffered in each case. Exception: Controls for which the hotlink attribute is set to true are always written to and read directly.
  • Page 264 Tag identifier Meaning MENU The tag defines a menu containing the softkey description and the dialog to be opened. Attribute: name • Menu name Syntax: <MENU name = "<menu name>"> … <open_form …> … <SOFTKEY …> </SOFTKEY> </MENU> NAVIGATION This tag defines the menu to be called. It can be used within a softkey block, a menu block, and in a form.
  • Page 265 Tag identifier Meaning OPEN_FORM The tag opens the dialog form given under the name. Attribute: name • Name of the dialog form Syntax: <OPEN_FORM name = "<form name>" /> Example: <menu name = "main"> <open_form name = "main_form" /> <softkey POSITION="1"> <caption>main form</caption>...
  • Page 266 Tag identifier Meaning SOFTKEY The tag defines the properties and responses of a softkey. Attributes: position • Number of the softkey. 1-8 horizontal softkeys, 9-16 vertical softkeys The following attributes become effective from: type • Defines the property of the softkey. user_controled - The script defines how the softkey is displayed toggle_softkey - The softkey is displayed alternating between pressed and not pressed refvar...
  • Page 267 Tag identifier Meaning SOFTKEY continued Syntax: Standard softkey: <state type="<softkey state>" /> <softkey position = "<1>"> … … </softkey> Script-controlled softkey: <softkey position = "<1>" type="<user_defined>" > <state type="<softkey state>" /> … … </softkey> Toggle softkey: <softkey position = "<1>" type="<toggle_softkey>" refvar="<variable name>"...
  • Page 268 Tag identifier Meaning SOFTKEY continued Example: <let name="curr_softkey_state" type="string">PRESSED</let> </softkey> <softkey POSITION="3" type="toggle_softkey" refvar="curr_softkey_state"> <caption>Toggle%nSK</caption> … </softkey> SOFTKEY_OK The tag defines the response of the softkey "OK". The following additional actions can be defined within the softkey block: navigation • update_controls •...
  • Page 269 Tag identifier Meaning SOFTKEY_BACK The tag defines the response of the softkey "Back". The following additional actions can be defined within the softkey block: navigation • update_controls • function • Syntax: <SOFTKEY_BACK> … … </SOFTKEY_BACK> SOFTKEY_ACCEPT The tag defines the response of the softkey "Accept". The following additional actions can be defined within the softkey block: navigation •...
  • Page 270 Tag identifier Meaning The tag is used to display an image in the specified position. The BMP and PNG image formats are supported. Syntax: <IMG xpos = "<X position>" ypos = "<Y position>" name = "<name>" /> <IMG … xrot="angle X axis" yrot=" angle Y axis " zrot=" angle Z axis "...
  • Page 271 Tag identifier Meaning The tag draws a rectangle at the specified position, colored as indicated. Syntax: <BOX xpos = "<X position>" ypos = "<Y position>" width = "<X exten- sion>" height = "<Y extension>" color = "<Color code>" /> Attributes: xpos •...
  • Page 272 Tag identifier Meaning FUNCTION_BODY Function body The tag contains the function body of a subfunction. The function body needs to be pro- grammed within the DialogGui tag. Attributes: name = "Name of the function body" • parameter = "Parameter list" (optional) •...
  • Page 273 Tag identifier Meaning FUNCTION_BODY contin- Example: <function_body name = "test" parameter = "c1,c2,c3" return = "true"> <LET name = "tmp">0</LET> <OP> tmp = c1+c2+c3 </OP> <OP> $return = tmp </OP> </function_body> … … … <LET name = "my_var"> 4 </LET> <function name = "test"...
  • Page 274: Generating User Menus

    Tag identifier Meaning UPDATE_CONTROLS The tag runs a comparison between the operator controls and the reference variables. Attribute: type • The attribute defines the direction of the data comparison. = TRUE – data is read from the reference variables and copied to the operator controls. = FALSE –...
  • Page 275 Tag identifier Description NC_INSTRUCTION This tag is used to define the NC instruction to be generated. All listed cycle parameters are automatically created as string variables of the FORM and are available to the FORM. Precondition: The FORMattribute type is set to the value CYCLE. Attribute: refvar •...
  • Page 276: Substitution Characters

    Tag identifier Description CREATE_CYCLE The tag generates an NC block, whose syntax is defined by the value of the NC_INSTRUCTION tag. Before generating the NC instruction, the parser calls the CYCLE_CREATE_EVENT tag of the FORM. This tag can be used to calculate the cycle parameters.
  • Page 277: Addressing Components

    <op>my_ypos = my_ypos +20 </op> <control name = "edit2" xpos = "322" ypos = "$my_ypos" refvar="nck/Channel/Parameter/R[2]" /> <print name =" field_name" text="edit%d">3</print> <op>my_ypos = my_ypos +20 </op> <control name = "$field_name" xpos = "322" ypos = "$my_ypos" refvar="nck/Channel/Parameter/R3]" /> <caption>$$$field_name</caption> 23.10.8 Addressing components Address identifiers for the desired data must be created to address NC variables, PLC blocks or drive data.
  • Page 278: Addressing Nc Variables

    23.10.8.2 Addressing NC variables Addressing the NC variables starts with the path section nck. This section is followed by the data address; its structure should be taken from the SINUMERIK 808D/SINUMERIK 808D ADVANCED Parameter Manual. Example: <LET name = "tempStatus"></LET>...
  • Page 279: Addressing Machine And Setting Data

    Example: Alternatively, the drive index can be read from a local variable using $<variable name> "substitution characters". for instance DO$local variable Example: <DATA name = "drive/dc/p1460[do1]">1</DATA> Indirect addressing: <LET name = "driveIndex">1</LET> <DATA name = "drive/dc/p1460[do$driveIndex]">1</DATA> 23.10.8.5 Addressing machine and setting data Drive and setting data is identified by the character $ followed by the name of the data.
  • Page 280: Predefined Functions

    Addressing starts with the path section gud, followed by the specification of the area CHANNEL. This address section is followed by the specification of the GUD areas: GUD areas Assignment sgud Siemens GUD mgud Machine manufacturer GUD ugud User GUD Then enter the GUD name.
  • Page 281 Function name Description ncfunc.pi_service Jobs can be transferred to the NCK using the program invocation (PI) service. If the service has been executed error-free, the function returns the value 1 in the return variable. Manipulation of the tool list _N_CREATO - Create tool _N_DELETO - Delete tool _N_CREACE - Create tool cutting edge _N_DELECE - Delete tool cutting edge...
  • Page 282 Function name Description ncfunc.pi_service Continued Arguments: _N_CREATO • var1 - Tool number _N_DELETO • var1 - Tool number _N_CREACE • var1 - Tool number var2 - Cutting edge number _N_DELECE • var1 - Tool number var2 - Cutting edge number _N_SETUFR •...
  • Page 283 Function name Description ncfunc.chan_pi_service The function executes a PI service in a channel-related manner. The channel number is passed after the PI service name. This is followed by all other call parameters. Parameters: channel - Channel number Syntax: <function name="ncfunc.chan_pi_service" re- turn="error">...
  • Page 284 Function name Description ncfunc.password This function sets or deletes a password level. Set password: • The password should be specified for the required password lev- el as parameter. Delete password: • A blank string deletes the password level. Syntax: <function name="ncfunc.password">password </function>...
  • Page 285 Function name Description control.localtime The function copies the local time in a field with 7 array elements. The name of the variable is expected as call parameter. The following is stored in an array element: Index 0 - year • Index 1 - month •...
  • Page 286 Function name Description string.icmp Two strings are compared from a lexicographical perspective (the comparison is not case-sensitive). The function gives a return value of zero if the strings are the same, a value less than zero if the first string is smaller than the second string or a value greater than zero if the second string is smaller than the first string.
  • Page 287 Function name Description string.right The function extracts the last nCount character from string 1 and copies this to the return variable. Parameter: str1 - string nCount - number of characters Syntax: <function name="string.right" return="<result string>"> str1, nCount </function> Example: <let name="str1" type="string">A brown bear hunts a brown dog.</let>...
  • Page 288 Function name Description string.length The function gives the number of characters in a string. Parameter: str1 - string Syntax: <function name="string.length" return="<int var>"> str1 </function> Example: <let name="length">0</let> <let name="str1" type="string">A brown bear hunts a brown dog.</let> <function name="string.length" return="length"> str1 </function>...
  • Page 289 Function name Description string.remove The function removes all the substrings found. Parameter: string - string variable remove string - substring to be deleted Syntax: <function name="string.remove"> string, remove string </function> Example: <let name="index">0</let> <let name="str1" type="string">A brown bear hunts a brown dog.
  • Page 290 Function name Description string.delete The function deletes the defined number of characters starting from the start position specified. Parameter: string - string variable start index - start index (zero based) nCount - number of characters to be deleted Syntax: <function name="string.delete"> string, start in- dex , nCount </function>...
  • Page 291 Function name Description string.reversefind The function searches the transferred string for the last match with the substring. If the substring is found, the function provides the index to the first character (starting with zero) or, failing this, -1. Parameter: string - string variable find string - string to be found startindex –...
  • Page 292 Function name Description string.trimright The function trims the closing characters from a string. Parameter: str1 - string variable Syntax: <function name="string.trimright" > str1 </function> Example: <let name="str1" type="string"> test trim right </let> <function name="string.trimright" > str1 </function> Result: str1 = "test trim right" The function calculates the sine of the value transferred in degrees.
  • Page 293 Function name Description The function calculates the tangent of the value transferred in de- grees. Parameter: double - angle Syntax: <function name="tan" return="<double val>"> double </function> Example: <let name= "tan_val" type="double"></let> <function name="tan" return="tan_val"> 20.0 </function> arcsin The function calculates the arcsine of the value transferred in de- grees.
  • Page 294 Function name Description arctan The function calculates the arctan of the value transferred in de- grees. Parameter: double - arctan of y/x Syntax: <function name="arctan" return="<double val>"> dou- ble </function> Example: <let name= "arctan_val" type="double"></let> <function name="arctan" return="arctan_val"> 20.0 </function> File processing doc.readfromfile The function reads the contents of the specified file into a string vari-...
  • Page 295 Function name Description doc.writetofile The function writes the contents of a string variable to the file speci- fied. Parameter: progname - file name str1 - string Syntax: <function name="doc.writetofile" > progname, str1 </function> Example: <let name = "my_var" type="string" > file content </let>...
  • Page 296 Function name Description doc.loadscript The function copies a dialog description embedded in a part program into the specified local variable. The call parameters to be specified are the program name, the dialog name, and a variable for storing the main menu name. If the name of the dialog description was found in the part program, the return vari- able contains this description.
  • Page 297 Function name Description doc.exist If the file exists, the function returns the value 1. Parameter: progname - file name Note: The file name is case-sensitive for a file on the CF card. Syntax: <function name="doc.exist" return="<int_var>" > progname </function> Example: <let name ="exist">0</let>...
  • Page 298 Function name Description ncfunc.bitset The function is used to manipulate individual bits of the specified variables. The bits can either be set or reset. Syntax: <function name="ncfunc.bitset" refvar="address" value="set/reset" > bit0, bit1, … bit9 </function> Attributes: refvar - specifies the name of the variable, in which the bit combina- tion should be written value –...
  • Page 299 Function name Description control.additem The function inserts a new element at the end of the list. Note: The function is only available for the control types "listbox" and "graphicbox". Syntax: <function name="control.additem"> control name, item </function> Attribute: name – function name Values: control name –...
  • Page 300 Function name Description control.insertitem The function inserts a new element at the specified position. Note: The function is only available for the control types "listbox" and "graphicbox". Syntax: <function name="control.insertitem"> control name, index, item, itemdata </function> Attribute: name – function name Values: control name –...
  • Page 301 Function name Description control.loaditem The function inserts a list of expressions into the control. The function is only available for the control types "listbox" and "graphicbox". Syntax: <function name="control.loaditem"> control name, list </function> Attribute: name – function name Values: control name – control name list- string variable Structure of the list: The list contains a number of expressions, which must be separated...
  • Page 302 Function name Description control.empty The function deletes the contents of the specified list box or graphic box controls. Syntax: <function name="control.empty"> control name, </function> Attribute: name – function name Values: control name – control name Example: <function name="control.empty">_T"listbox1"</function> control.getfocus The function supplies the name of the control, which has the input focus.
  • Page 303 Function name Description control.getcurssel For a list box, the function supplies the cursor index. The control name should be transferred as text expression of the function. Syntax: <function name="control.getcurssel" retvar="var"> control name </function> Example: <let name>="index"></let> <function name="control.getcurssel" ">_T"listbox1"</function> control.setcurssel For a list box, the function sets the cursor to the appropriate line.
  • Page 304 Function name Description control.getitemdata For a list box, the function copies the user-specific allocated value of an element to the specified variable. For an edit control, the function copies the user-specific allocated value (item_data) to the specified variable. An integer variable should be specified as reference variable. The control name should be transferred as text expression of the function.
  • Page 305 Function name Description hmi.get_caption_heigt The function returns the title bar height in pixels. Syntax: <function name="hmi.get_caption_heigt" re- turn="<return var>" /> Attributes: return - integer variable This function returns the absolute value of the specified number. Syntax: <function name="abs" return="var"> value </function>...
  • Page 306: Hot Keys

    Function name Description The function calculates the logarithm of the specified value. Syntax: <function name="log" return="var"> value </function> log10 The function calculates the common (decadic) logarithm of the speci- fied value. Syntax: <function name="log10" return="var"> value </function> The function calculates the value "a ".
  • Page 307: Playing A Slide Show

    23.12 Playing a slide show The control system has the function of playing a slide show. By default, the slide show of Siemens product information is provided. You can press this key combination on the PPU to play a slide show and press the key combination again to exit the slide show.
  • Page 308 If your slides include both PNG-format images and BMP-format images, number them sepa- rately. During the slide show, the PNG-format images will have a higher priority over the BMP-format images. Store all the images in a folder on a USB memory stick, and name the folder with the corre- sponding language code, for example, "chs"...
  • Page 309: Defining The Service Planner

    Paste the copied folder(s) containing the slides with this softkey. Now you can press this key combination to play your own slide show. Note You can set the time interval of the slide show with MD9001 TIME_BTWEEN_SLIDES. This parameter can be found through the following operations: →...
  • Page 310 Press this softkey to open the dialog box for creating a new task. Enter desired data in the respective input fields. Press this softkey to confirm your settings, and the new maintenance task displays on the screen. You can also select the vertical softkeys as required in the service planning window to com- plete the following operations: Acknowledges the selected task which has been completed Edits the selected task...
  • Page 311: Using The Machine Manufacturer's Startup Screen And Machine Logo

    Using the machine manufacturer's startup screen and machine logo Using the machine manufacturer startup screen The control system uses the Siemens startup screen as follows by default. If necessary, you can use your own startup screen. Proceed as follows to use your own startup screen: Prepare the image for the startup screen in BMP format.
  • Page 312 Move the cursor to the folder highlighted as follows: Press this key to open this folder. Press this softkey to replace the default startup screen file with your own file. Press these two keys to restart the HMI. Then you can see your own startup screen during the startup of the control system.
  • Page 313 Press these two keys to restart the HMI. Then you can see your own machine logo in the machining operating area. Note To restore the default display of "SIEMENS" logo, delete the customized bitmap file (mtbico.bmp) from the control system. Function Manual 01/2017...
  • Page 314: Cnc Lock Function

    The company that created the CNC lock function (machine manufacturer or dealer) must retain the license certificate for this option (CoL). This certificate can be used as legitimation for SIEMENS should the PIN be forgotten. The owner of the certificate (CoL) can have the machine unlocked.
  • Page 315: Protection From Manipulation

    Supplementary conditions NOTICE Circumvention of the CNC lock function due to improper operations Any of the following operations allow circumvention of the CNC lock function: Using an unlocked PLC project • Using the default PLC project • Reimplementing the PLC project of the machine tool •...
  • Page 316: Creating The Activation File

    Enter the data required in the dialog box, for example: ① The software version 4.7 SP4 must be selected for the SINUMERIK 808D/SINUMERIK 808D ADVANCED control system. ② The serial number of the CF card can be found on the PPU HMI through the following operations: →...
  • Page 317: Importing The Activation File

    23.15.6 Importing the activation file The activation file must be transferred to the control system either directly via an Ethernet connection or alternatively via a storage medium, e.g. USB flash drive. The end-user or higher access level is required for the import. The control system must be in the reset state for the import.
  • Page 318: Extending The Cnc Lock Function

    If no error occurs when importing the activation file, the CNC lock function is active in the control system. You can find the lock date being displayed on the HMI screen, for example: Note If an error occurs when importing the activation file, an error-specific alarm will be issued. The state of the CNC lock function remains unchanged.
  • Page 319: Deactivating The Cnc Lock Function

    The process of creating an activation file for extending the CNC lock function is almost the same as that for activating the CNC lock function (see Section "Creating the activation file (Page 316)"), except that the button must be clicked at step 3. Importing the activation file The new activation file must be imported into the control system to extend the CNC lock function.
  • Page 320 Enter the data required in the dialog box, for example: Note: The serial numbers of the CF card and the PPU as well as the OEM PIN must match the values used when the CNC lock function was activated initially. For more information, see Section "Creating the activation file (Page 316)".
  • Page 321: Replacing A Defective Control System Hardware (ppu) And/or Cf Card

    After the replacement, the optional functions purchased earlier cannot be activated since the original license key is invalid. You must first contact the Siemens Hotline to unassign the licenses of the options, and then assign the licenses (Page 326) and activate the options (Page 327) again on the new control system.
  • Page 322: Oem Pin Forgotten

    Unlocking the machine To allow the machine manufacturer or dealer to operate the machine, the technician must contact the Siemens Hotline and provide the following information: ● License certificate (CoL) for the option of the CNC lock function ●...
  • Page 323 Enter the data required in the dialog box, for example: Click this button to save the data in the form of .ucls file. Clicking this button allows you to reimport the unencrypted data stored in the project file. Faulty settings of date If a date earlier than the actual date is set for activated CNC lock function, alarm 8065 is issued after NC restart and then NC start is disabled.
  • Page 324: Switching Geometry Axes

    23.16 Switching geometry axes Which channel axes are assigned to the geometry axis of the channel can be specified with the command. GEOAX As shown in the figure below, you can use axis Z1 as the third geometry axis named axis Z, which, together with axes X1 and Y1, form a geometry coordinate system used for interpolatory compensation.
  • Page 325: Licensing In The Sinumerik 808d/sinumerik 808d Advanced

    ● Gantry (BASIC) Web License Manager You can obtain the corresponding licenses from the Web License Manager (http://www.siemens.com/automation/license). With the Web License Manager, you can assign licenses to hardware in a standard Web browser. To conclude the assignment, you must manually enter the license key at the control system through the HMI user interface.
  • Page 326: Assigning Licenses

    24.1 Assigning licenses Requirements The following prerequisites must be met when you assign a license to a piece of hardware via direct access and the HMI user interface: ● The control system is powered up. ● The login data for direct access (e.g. per CoL) is available: –...
  • Page 327: Activating The Optional Functions

    Note: The last option displayed in this window indicates the variant information and the licensing status of your control system, for example: In case of any problems with respect to the licensing status of your control system, contact Siemens service personnel. Function Manual 01/2017...
  • Page 328: Internet Links

    • MD30310 • MD30320 • MD30330 • For more information on how to set the parameters for the additional axis, see the SINUMERIK 808D/SINUMERIK 808D ADVANCED Commissioning Manual. 24.3 Internet links Overview of Internet links used: Topic Address Web License Manager http://www.siemens.com/automation/license...
  • Page 329: Important Licensing Terms

    SINUMERIK control system to which licenses are assigned on the basis of its unique identifier. License information is also saved to the retentive memory on this component. SINUMERIK 808D/SINUMERIK 808D ADVANCED: CompactFlash card system • License A license gives the user a legal right to use the software product.
  • Page 330: A Appendix

    Appendix System variable list System variable Description $AA_FIX_POINT_SELECTED [<Axis>] Number of fixed point to be approached $AA_FIX_POINT_ACT [<Axis>] Number of the fixed point on which the axis is currently located $P_PROG_EVENT Event-driven program call active $P_SEARCH_S Search run: speed, cutting rate $P_SEARCH_SDIR Block search: programmed direction of spindle rotation in part program...
  • Page 331 Digital output Trademarks All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner. Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described.

This manual also for:

Sinumerik 808d advanced

Comments to this Manuals

Symbols: 0
Latest comments: