Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual

Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Quick Links

SINUMERIK
SINUMERIK 808D ADVANCED
Commissioning 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 2018. All rights reserved
6FC5397-4EP10-0BA8, 07/2018
1

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 808D ADVANCED Series

  • 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 The EC Declaration of Conformity for the EMC Directive can be found on the Internet at https://support.industry.siemens.com/cs/ww/en/. Here, enter the number "59843164" as the search term or contact your local Siemens office. Product maintenance The components are subject to continuous further development within the scope of product maintenance (improvements to robustness, discontinuations of components, etc).
  • Page 4: Table Of Contents

    Table of contents Preface ..................................2 Safety instructions..............................11 Fundamental safety instructions ......................11 1.1.1 General safety instructions ........................11 1.1.2 Equipment damage due to electric fields or electrostatic discharge ............15 1.1.3 Warranty and liability for application examples ..................15 1.1.4 Industrial security ..........................
  • Page 5 System connection ..............................73 System connection overview ......................... 74 Interfaces on the PPU ........................... 76 4.2.1 Control elements on the PPU ........................ 76 4.2.2 Status LEDs on the PPU ........................76 4.2.3 PPU interface overview ......................... 77 4.2.4 Connecting the PPU ..........................78 4.2.5 Digital input interfaces - X100, X101, X102 ...................
  • Page 6 PLC machine data..........................138 PLC subroutine library ......................... 140 6.6.1 Overview ............................. 140 6.6.2 Conventions for the symbols used in the subroutines ................. 143 6.6.3 Subroutine 20 - AUX_MCP (machine auxiliary functions) ..............143 6.6.4 Subroutine 21 - AUX_LAMP (working lamp) ..................144 6.6.5 Subroutine 22 - AUX_SAFE_DOOR (safety door) ................
  • Page 7 7.4.3 Setting spindle parameters ........................215 Creating series archives ........................216 Setting compensation data ........................217 7.6.1 Setting software limit switch data ......................217 7.6.2 Setting backlash compensation data ....................218 7.6.3 Setting leadscrew error compensation data ..................219 Tuning drive performance ........................220 Creating prototype machine commissioning archives .................
  • Page 8 13.5.4 Creating the extended user text file..................... 257 13.5.5 Creating the user cycle softkey index file .................... 257 13.5.6 Creating the user cycle parameter file ....................258 13.5.7 Transferring the desired files to the control system ................259 13.5.8 Calling the created user cycle ......................262 13.6 Using the machine manufacturer's machine data descriptions ............
  • Page 9 15.3 Servo motors ............................378 15.3.1 SIMOTICS S-1FL6 feed motors ......................378 15.3.2 SIMOTICS M-1PH1 main motors ......................382 15.4 Cables ..............................394 15.4.1 Drive Bus cable for the SINUMERIK 808D ADVANCED ..............394 15.4.2 Cables for the SINAMICS V70 servo system ..................394 15.5 Address of CE-authorized manufacturer .....................
  • Page 10 17.11 PLC machine data..........................436 17.11.1 INT values (MD 14510 USER_DATA_INT) ..................436 17.11.2 HEX values (MD 14512 USER_DATA_HEX) ..................436 17.11.3 FLOAT values (MD 14514 USER_DATA_FLOAT) ................437 17.11.4 User alarm: Configuring (MD 14516 USER_DATA_PLC_ALARM) ............. 437 17.12 Signals, synchronized actions ......................437 17.12.1 Signals, synchronized actions to channel ...................
  • Page 11: Safety Instructions

    Safety instructions Fundamental safety instructions 1.1.1 General safety instructions WARNING Electric shock and danger to life due to other energy sources Touching live components can result in death or severe injury. Only work on electrical devices when you are qualified for this job. •...
  • Page 12 WARNING Electric shock due to connection to an unsuitable power supply When equipment is connected to an unsuitable power supply, exposed components may carry a hazardous voltage that might result in serious injury or death. Only use power supplies that provide SELV (Safety Extra Low Voltage) or PELV- (Protective Extra Low •...
  • Page 13 If you come closer than around 2 m to such components, switch off any radios or mobile phones. • Use the "SIEMENS Industry Online Support app" only on equipment that has already been switched off. • NOTICE...
  • Page 14 NOTICE Device damage caused by incorrect voltage/insulation tests Incorrect voltage/insulation tests can damage the device. Before carrying out a voltage/insulation check of the system/machine, disconnect the devices as all converters and • motors have been subject to a high voltage test by the manufacturer, and therefore it is not necessary to perform an additional test within the system/machine.
  • Page 15: Equipment Damage Due To Electric Fields Or Electrostatic Discharge

    WARNING Fire due to incorrect operation of the motor When incorrectly operated and in the case of a fault, the motor can overheat resulting in fire and smoke. This can result in severe injury or death. Further, excessively high temperatures destroy motor components and result in increased failures as well as shorter service lives of motors.
  • Page 16: Industrial Security

    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 17: Carrying Out Of Repairs

    2. Unusually high temperatures, including open flames, as well as emissions of light, noise, particles, gases, etc., can occur inside and outside the components under fault conditions caused by, for example: – Component failure – Software errors – Operation and/or environmental conditions outside the specification –...
  • Page 18: Preparation Before Commissioning

    Preparation before commissioning Scope of delivery 2.1.1 System overview The SINUMERIK 808D ADVANCED control system is an economic numerical control system for milling or turning machines. The SINUMERIK 808D ADVANCED controller, coupled with the high performance SINAMICS V70 feed/spindle drive, SIMOTICS S-1FL6 feed motor, and SIMOTICS M-1PH1 main motor, is able to control up to five axes including analog/digital spindles.
  • Page 19: Ppu And Mcp

    2.1.2 PPU and MCP Components in the panel processing unit (PPU) package Component Quantity (pieces) Illustration Article number Horizontal Turning 6FC5370-2AT03-0AA0 (English) version 6FC5370-2AT03-0CA0 (Chinese) (PPU161.3) Milling 6FC5370-2AM03-0AA0 (English) 6FC5370-2AM03-0CA0 (Chinese) Horizontal Turning 6FC5370-3AT03-0AA0 (English) version 6FC5370-3AT03-0CA0 (Chinese) (PPU151.3) Milling 6FC5370-3AM03-0AA0 (English) 6FC5370-3AM03-0CA0 (Chinese) Vertical...
  • Page 20 Components in the machine control panel (MCP) package Component Quantity (piec- Illustration Article number Horizontal MCP, with 6FC5303-0AF35-0AA0 (English) override switches 6FC5303-0AF35-0CA0 (Chinese) Horizontal MCP, with a 6FC5303-0AF35-1CA0 (Chinese) reserved slot for the handwheel Vertical MCP, with an 6FC5303-0AF35-2AA0 (English) override switch for the 6FC5303-0AF35-2CA0 (Chinese) spindle...
  • Page 21: Drives And Motors

    2.1.3 Drives and motors 2.1.3.1 SINAMICS V70 feed servo system Components in the SINAMICS V70 feed drive package Component Quantity Illustration Outline dimension Frame Rated output Article number (pieces) (Width × Height × size current (A) Depth, mm) SINAMICS 80 × 180 × 200 6SL3210-5DE12-4UA0 V70 feed 6SL3210-5DE13-5UA0...
  • Page 22 SINAMICS V70 feed drive rating plate Explanation of SINAMICS V70 feed drive article numbers Data position of the article number Article number ● ❑ ❑ ❑ Mains voltage: 3 AC 380 V to 480 V Motor output power 0.4 kW 0.75 kW/1 kW 1.5 kW 1.75 kW...
  • Page 23 Components in the SIMOTICS S-1FL6 motor package Component Illustration Shaft height (mm) Stall torque (Nm) Article number 1FL6042-1AF61-❑❑❑1 SIMOTICS S-1FL6 motor 1FL6044-1AF61-❑❑❑1 1FL6061-1AC61-❑❑❑1 1FL6061-1AC64-2L❑1 1FL6062-1AC61-❑❑❑1 1FL6062-1AC64-2L❑1 1FL6064-1AC61-❑❑❑1 1FL6064-1AC64-2L❑1 1FL6066-1AC61-❑❑❑1 1FL6066-1AC64-2L❑1 1FL6067-1AC61-❑❑❑1 1FL6067-1AC64-2L❑1 1FL6090-1AC61-❑❑❑1 1FL6092-1AC61-❑❑❑1 1FL6094-1AC61-❑❑❑1 1FL6096-1AC61-❑❑❑1 User documentation SIMOTICS S-1FL6 Servo Motors Installation Guide For more information about article numbers, see motor article number explanation described later in this section.
  • Page 24 Explanation of SIMOTICS S-1FL6 feed motor article numbers Data position of the article number Article number ❑ ❑ ❑ ● ● ❑ ● ● ❑ ❑ ❑ ● Shaft height 45 mm 65 mm 90 mm Stall torque 15 Nm, SH90 4 Nm, SH65 1.9 Nm, SH45;...
  • Page 25: Sinamics V70 Spindle Servo System

    Device combination of the SINAMICS V70 feed servo system The table below lists ordering data of V70 feed drives and configurable motors. You can select the desired feed drive according to the motor configured: SIMOTICS S-1FL6 feed motor SINAMICS V70 feed drive Stall Rated Rated...
  • Page 26 SINAMICS V70 spindle drive rating plate Explanation of SINAMICS V70 spindle drive article numbers Data position of the article number Article number ● ❑ ❑ ❑ Mains voltage: 3 AC 380 V to 480 V Frame size Motor output power 3.7 kW 3.7 kW 7.5 kW...
  • Page 27 SIMOTICS M-1PH1 main motor rating plate ① ⑧ ⑮ Motor type Degree of protection Maximum speed ② ⑨ ⑯ Article number Rated current Rated frequency ③ ⑩ ⑰ Serial number Thermal class Motor ID ④ ⑪ ⑱ Mounting orientation Maximum torque Rated speed ⑤...
  • Page 28 Encoder type Incremental encoder, TTL 2500 ppr Absolute encoder, single- turn 20-bit Rated speed 1000 rpm 1500 rpm Forced cooling (non-drive end to drive end) Type of construction IM B3/IM V5, foot mounting IM B5/IM V1, flange mounting Shaft extension Plain shaft Fitted key, full-key balancing Fitted key, half-key balanc-...
  • Page 29: Cables And Connectors

    0.25 6FC5548-0BA20-1AA3 0.35 6FC5548-0BA20-1AB0 6FC5548-0BA20-1AD0 6FC5548-0BA20-1AF0 6FC5548-0BA20-1AH0 6FC5548-0BA20-1BA0 6FC5548-0BA20-1BF0 6FC5548-0BA20-1CA0 PPU (analog spindle interface) to Siemens inverter or third-party drive (with analog input) Spindle setpoint cable 6FC5548-0BA05-1AD0 6FC5548-0BA05-1AE0 6FC5548-0BA05-1AF0 6FC5548-0BA05-1AH0 6FC5548-0BA05-1BA0 6FC5548-0BA05-1BF0 6FC5548-0BA05-1CA0 SINAMICS V70 feed drive to 1FL6 motor...
  • Page 30 Component Illustration Article number Length (m) 6FX3002-5BL02-1AD0 MOTION-CONNECT 300 brake cable (V70 to 1FL6 motor with straight con- 6FX3002-5BL02-1AF0 nectors) 6FX3002-5BL02-1AH0 6FX3002-5BL02-1BA0 6FX3002-5BL02-1BF0 6FX3002-5BL02-1CA0 6FX3002-5BL03-1AD0 MOTION-CONNECT 300 brake cable (V70 to 1FL6 motor with angular con- 6FX3002-5BL03-1AF0 nectors) 6FX3002-5BL03-1AH0 6FX3002-5BL03-1BA0 6FX3002-5BL03-1BF0 6FX3002-5BL03-1CA0 6FX3002-2CT10-1AD0...
  • Page 31 Component Illustration Article number Length (m) MOTION-CONNECT 300 absolute 6FX3002-2DB30-1AD0 encoder cable 6FX3002-2DB30-1AF0 6FX3002-2DB30-1AH0 6FX3002-2DB30-1BA0 6FX3002-2DB30-1BF0 6FX3002-2DB30-1CA0 Note The MOTION-CONNECT 300 cables, MOTION-CONNECT 500 cables, and spindle setpoint cables given above are • suitable for use in drag chains. For more information on how to lay cables properly in drag chains, see Section "Notes on the laying of cables in drag chains (Page 72)".
  • Page 32: Options

    2.1.5 Options 2.1.5.1 External 24 VDC power supply A 24 VDC power supply is used to supply the 808D ADVANCED and V70 servo drive. Consider the following technical specification requirements when selecting a 24 VDC power supply: ● 24 VDC supplying the SINUMERIK 808D ADVANCED: –...
  • Page 33: Braking Resistors

    2.1.5.3 Braking resistors A braking resistor is used for the SINAMICS V70 drive. For the feed drive, when the internal braking resistor cannot meet the braking requirements, an external braking resistor can be used to "dump" the regenerative energy produced by the motor, thus giving greatly improved braking and deceleration capabilities.
  • Page 34: Line Filters

    ● Connecting 2.1.5.5 Line filters Siemens recommends you to use a filter to protect the system from high frequency noise. The table below lists all filters recommended by Siemens: SINAMICS V70 Recommended filter Drive vari- Frame Rated input Rated current...
  • Page 35 Basic technical data Rated current 12 A 20 A 24 A 36 A 74 A Rated voltage 3-phase 200 VAC to 480 3-phase 380 VAC to 3-phase 380 VAC to 480 VAC (-15% to VAC (-15% to +15%) 480 VAC (-15% to +10%) +15%) Line frequency...
  • Page 36 ● Filter used for SINAMICS V70 spindle drives: Rated current (A) W Ø1 121.5 11.5 12.5 12.5 Connecting The figure below provides a connection example. It shows how to connect a line filter to a SINAMICS V70 drive. Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 37: Sd Card

    2.1.5.6 SD card An SD card can be used to copy drive parameters or perform a firmware update. Siemens recommends you to use the Siemens SD card (article number: 6SL3054-4AG00-2AA0). You can also select other high quality SD cards with a maximum capacity of 2 GB from manufacturers such as KINGMAX, Kingston or SanDisk.
  • Page 38 Replacement fans for V70 drives Drive frame size Fan components Illustration Article number 6SL3200-0WF00-0AA0 6SL3200-0WF01-0AA0 6SL3200-0WF03-0AA0 For more information about fan replacement, see Section "Replacing the fan for the V70 drive (Page 453)". Replacement fans for 1PH1 motors Motor shaft height Fan components Illustration Article number...
  • Page 39: Commissioning Software Tools

    Commissioning software tools 2.2.1 Installing the software tools Software components In order to integrate the control system into a machine tool, software tools are required. These tools, including service tools are supplied on a DVD. The following software tools are included on the Toolbox DVD: Software Description See-also...
  • Page 40 2. Read the welcome information and continue with "Next". 3. You can click the "Readme" button to read the indication information then close it and continue with "Next" or you can skip the reading and click "Next" directly. 4. Accept the software license agreement and continue with "Next". Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 41 5. Select desired languages you want to install. 6. If you have installed an earlier version of a program, un-install the program first, then start the installation again and select the required software from the list. 7. During the installation, various dialog boxes will appear. Acknowledge the dialog boxes and enter and confirm the installation information where necessary.
  • Page 42: Establishing A Connection With The Software Tools

    2.2.2 Establishing a connection with the software tools 2.2.2.1 Configuring the firewall Secure access and communication is achieved through the security function of the integrated firewall. To connect the software tools successfully, you must first enable the corresponding communication ports in the firewall configuration. Operating sequence Select the system data operating area on the PPU.
  • Page 43 Establishing a direct connection Proceed through the following steps to establish a direct connection: Connect the control system with the computer using an Ethernet cable. Select the system data operating area on the PPU. Press this key to view the extended softkeys. Set up a direct connection on the control system through the following softkey operations: →...
  • Page 44 Double-click the access point symbol, and the following "Set PG/PC Interface" dialog box is displayed. Select "TCP/IP" with the Ethernet card name of your computer and click the "OK" button. Note: You can find the name of your Ethernet card in the local area connection status under Control Panel on your computer.
  • Page 45 Press this softkey to enter the window for the network configuration. Note: Make sure the following vertical softkey is deactivated: Configure the network as required in the following window: You can configure DHCP with the following key: Note: If you select "No" for DHCP, you must enter the IP address (which must belong to the same network as that of your computer) and subnet mask manually.
  • Page 46 Double-click the access point symbol, and the following "Set PG/PC Interface" dialog box is displayed. Select "TCP/IP" with the Ethernet card name of your computer and click the "OK" button. Note: You can find the name of your Ethernet card in the local area connection status under Control Panel on your computer.
  • Page 47: Connecting With Amm

    2.2.2.3 Connecting with AMM Note Before connecting the AMM tool, make sure you enable the communication port 22 on the HMI. For more information about enabling the communication ports, see Section "Configuring the firewall (Page 42)". You can establish a connection between the control system and a computer installed with AMM via the Ethernet interface (X130).
  • Page 48 Assign the connection parameters. Note that the access level and password must be speci- fied according to those set on the HMI. Note: To avoid unauthorized access of the controller, change the Siemens default pass- words to your own ones. For more information about changing a password, see Section "Setting the password (Page 122)".
  • Page 49: Personal Computer

    HMI. Note: To avoid unauthorized access of the controller, change the Siemens default pass- words to your own ones. For more information about changing a password, see Section "Setting the password (Page 122)".
  • Page 50: Mounting

    Mounting WARNING Electric shock and danger to life when live parts are touched Death or serious injury can result when live parts are touched. Only work on electrical devices when you are qualified for this job. • Always observe the country-specific safety rules. •...
  • Page 51 PPU160.3/PPU150.3 Note PPU160.3 and PPU150.3 have the same outline dimensions. The illustration below uses PPU160.3 as an example. Horizontal MCP Note All horizontal MCP versions have the same outline dimensions. The illustration below uses the variant with override switches as an example. * Not available on the horizontal MCP with a reserved slot for the handwheel Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 52: Cut-Out Dimensions And Mounting Clearance

    Vertical MCP Note All vertical MCP versions have the same outline dimensions. The illustration below uses the variant with an override switch for the spindle as an example. 3.1.2 Cut-out dimensions and mounting clearance Note Make sure there is enough space around the PPU and the MCP for tightening the screws in the control cabinet. Horizontal PPU and MCP (unit: mm) Note The illustration below uses PPU161.3 and the horizontal MCP with a reserved slot for the handwheel as an example.
  • Page 53 To make maintenance easy, keep sufficient clearance (≥ 80 mm) between the system CF card slot and the cabinet wall. The recommended depth of the cabinet is greater than 155 mm. Vertical PPU and MCP (unit: mm) Note All vertical MCP versions share the same requirements for cut-out dimensions and mounting clearance. The illustration below uses the vertical MCP with a reserved slot for the handwheel as an example.
  • Page 54: Mounting The Ppu And Mcp With The Companion Clamps

    3.1.3 Mounting the PPU and MCP with the companion clamps Use the companion clamps (8 for PPU161.3/PPU151.3, 10 for PPU160.3/PPU150.3, 6 for the horizontal MCP, and 8 for the vertical MCP) to fix the PPU and MCP to the cabinet panel. You can find the mounting positions (circled) on the PPU and MCP.
  • Page 55: Mounting The Drive

    Mounting the drive Protection against the spread of fire The device may be operated only in closed housings or in control cabinets with protective covers that are closed, and when all of the protective devices are used. The installation of the device in a metal control cabinet or the protection with another equivalent measure must prevent the spread of fire and emissions outside the control cabinet.
  • Page 56: Drill Patterns And Outline Dimensions

    3.2.2 Drill patterns and outline dimensions All dimensional data is specified in millimeters. SINAMICS V70 feed drive FSA SINAMICS V70 feed/spindle drive FSB Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 57 SINAMICS V70 feed/spindle drive FSC SINAMICS V70 spindle drive FSD Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 58: Mounting The Drive

    3.2.3 Mounting the drive Note EMC instructions The SINAMICS V70 drives have been tested in accordance with the emission requirements of the category of C2 • (residential) environment for FSA/FSB/FSC, and C3 (industrial) environment for FSD. The conducted emissions and radiated emissions are in compliance with the standard of EN 55011 and reached Class A for FSA/FSB/FSC and Class A2 for FSD.
  • Page 59: Mounting The Motor

    Mounting the motor NOTICE Damage to the motor If the liquid enters the motor, the motor may be damaged. During motor installation or operation, make sure that no liquid (water, oil, etc.) can penetrate into the motor. Besides, when installing the motor horizontally, make sure that the cable outlet faces downward to protect the motor from ingress of oil or water.
  • Page 60 Motor dimensions (unit: mm) Shaft height 45 mm, with straight connectors and the incremental encoder Shaft height 45 mm, with angular connectors and the incremental encoder Stall torque 1.9 Nm 154.5 169.5 61.5 3.5 Nm 201.5 216.5 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 61 Shaft height 45 mm, with straight connectors and the absolute encoder Shaft height 45 mm, with angular connectors and the absolute encoder Stall torque 1.9 Nm 203.5 61.5 3.5 Nm 250.5 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 62 Shaft height 65 mm, with straight connectors and the incremental encoder Shaft height 65 mm, with angular connectors and the incremental encoder Stall torque 4 Nm 202.5 69.5 6 Nm /164.5 235.5 /219 /179.5 8 Nm 235.5 11 Nm 268.5 15 Nm 301.5 For the motor variants with straight connectors;...
  • Page 63 Shaft height 65 mm, with straight connectors and the absolute encoder Shaft height 65 mm, with angular connectors and the absolute encoder Stall torque 4 Nm 205.5 69.5 6 Nm /167.5 /164.5 /182.5 8 Nm 238.5 11 Nm 271.5 15 Nm 304.5 For the motor variants with straight connectors;...
  • Page 64 Shaft height 90 mm, with straight connectors and the incremental encoder Shaft height 90 mm, with angular connectors and the incremental encoder Stall torque 15 Nm 189.5 210.5 98.5 22 Nm 211.5 236.5 30 Nm 237.5 262.5 40 Nm 289.5 314.5 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 65 Shaft height 90 mm, with straight connectors and the absolute encoder Shaft height 90 mm, with angular connectors and the absolute encoder Stall torque 15 Nm 98.5 22 Nm 30 Nm 40 Nm Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 66: Mounting The Motor

    3.3.1.2 Mounting the motor WARNING Personal injury and material damage Some motors, especially the 1FL609❑ are heavy. The excessive weight of the motor should be considered and any necessary assistance required for mounting should be sought. Otherwise, the motor can fall down during mounting. This can result in serious personal injury or material damage. NOTICE Magnetic interference to the absolute encoder due to the magnetic field To avoid magnetic interference to the absolute encoder, keep the servo motor with an absolute encoder at least 15 mm...
  • Page 67: Mounting The Simotics M-1Ph1 Main Motor

    3.3.2 Mounting the SIMOTICS M-1PH1 main motor 3.3.2.1 Mounting orientation and outline dimensions Mounting orientation The SIMOTICS M-1PH1 main motor supports flange mounting and foot mounting as shown below: Mounting method Standard type of construction Rotated type of construction Foot mounting IM B3 IM V5 Flange mounting...
  • Page 68 Shaft height 100 mm: foot mounting (unit: mm) Motor 1PH1101-1❑F10-❑GA0 1PH1103-1❑F10-❑GA0 1PH1103-1❑D10-❑GA0 1PH1105-1❑F10-❑GA0 1PH1105-1❑D10-❑GA0 Shaft height 132 mm: flange mounting (unit: mm) Motor 1PH1131-1❑F12-❑GA0 1PH1131-1❑D12-❑GA0 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 69: Mounting The Motor

    Motor 1PH1133-1❑F12-❑GA0 1PH1133-1❑D12-❑GA0 Shaft height 132 mm: foot mounting (unit: mm) Motor 1PH1131-1❑F10-❑GA0 251.8 1PH1131-1❑D10-❑GA0 241.8 1PH1133-1❑F10-❑GA0 301.8 1PH1133-1❑D10-❑GA0 301.8 3.3.2.2 Mounting the motor In order to ensure smooth, vibration-free motor operation, a stable foundation design is required, the motor must be precisely aligned, and the components that are to be mounted on the shaft extension must be correctly balanced.
  • Page 70 Note All flange-mounted motors must have a stable motor suspension assembly and for high field weakening speeds must be supported using the appropriate feet at the bearing end shield. For more information on foot/flange mounting, see Section "Mounting orientation and outline dimensions (Page 67)". Support using feet at the bearing end shield is not required if the following conditions are maintained: For flange-mounted motors, there is a stable motor suspension design.
  • Page 71: Motor Heating Conditions

    When the motor is mounted on a small surface, the motor temperature may rise considerably because of the limited heat radiating abilities of the surface. Make sure you use a suitable flange according to Siemens recommended flange sizes.
  • Page 72: Correct Installation Of Cooling Units

    3.4.2 Correct installation of cooling units The cool air should be directed to the bottom of the drive. The natural convection will draw the air through the drives. The cool air from the cooling unit should not be directed straight onto/into the drives. It should be allowed to mix with the warmer air already in the cabinet, which can minimize the risk of condensation forming.
  • Page 73: System Connection

    Please observe the notes in the System Manual "Requirements for third-party motors" • Additional information is provided on the Internet: Requirements for third-party motors (https://support.industry.siemens.com/cs/ww/en/view/79690594) NOTICE Damage to the control system The high-voltage components have strong interference on 24 VDC power supplies.
  • Page 74: System Connection Overview

    System connection overview SINUMERIK 808D ADVANCED control system The following configuration shows a typical example of the SINUMERIK 808D ADVANCED T controller (PPU161.3) with the SINAMICS V70 servo system, controlling two feed axes and one digital spindle. Note that the devices with an asterisk ("*") are not included in the scope of delivery.
  • Page 75 Note For more information about connecting the drive to a line filter or an external braking resistor, see Section "Connecting the drive to the motor (Page 109)". CAUTION Personal injury and damage to property from inadequate protection Inadequate protection may cause minor personal injury or damage to property. Using a copper protective earth conductor with a cross section of 10 mm to connect the PE terminal of V70 to the •...
  • Page 76: Interfaces On The Ppu

    Interfaces on the PPU 4.2.1 Control elements on the PPU ① ⑧ Status indicators Alarm cancellation key Cancels alarms and messages that are marked with the symbol on this key ② ⑨ Protective cover for USB interface Wizard key Guides you through performing basic commissioning and operation tasks ③...
  • Page 77: Ppu Interface Overview

    The individual LEDs and their functions are described in the table below: Color Status Description Green Continuously lit The power supply for the CNC is switched on. Green Continuously lit The CNC is ready and the PLC is in run mode. Orange Continuously lit The PLC is in stop mode.
  • Page 78: Connecting The Ppu

    ⑩ USB interface, for connection with the MCP ⑪ Power supply interface, +24 VDC power supply ⑫ PE terminal, for connection with the ground ⑬ Slot for the system CF card PPU front ⑭ USB interface 4.2.4 Connecting the PPU For the SINUMERIK 808D ADVANCED T control system, connecting to the third and fourth drives is optional and depends upon whether you activate the software option "additional axis".
  • Page 79: Digital Input Interfaces - X100, X101, X102

    4.2.5 Digital input interfaces - X100, X101, X102 Pin assignment Type Mini Combicon 10-pin Cable Max. length: 10 m Max. cross-section: 1.5 mm (when using one cable per connection) Inputs Permissible level (including ripple) High level: 20.4 V to 28.8 V Low level: -3 V to +5 V X100 (DIN0) X101 (DIN1)
  • Page 80: Digital Output Interfaces - X200, X201

    4.2.6 Digital output interfaces - X200, X201 Pin assignment Type Mini Combicon 10-pin Cable Max. length: 10 m Max. cross-section: 1.5 mm (when using one cable per connection) Outputs Rated digital output current: 250 mA X200 (DOUT0) X201 (DOUT1) Remarks +24 V +24 V +24 V input (20.4 V to...
  • Page 81: Fast Input/Output - X21

    4.2.7 Fast input/output - X21 Pin assignment Type Mini Combicon 10-pin Cable Shielded cable Max. length: 10 m Max. cross-section: 1.5 mm (when use one cable per connection) Inputs Permissible level (including ripple) High level: 20.4 V to 28.8 V Low level: -3 V to +5 V Illustration Signal...
  • Page 82: Distributed I/O - X301, X302

    NC readiness is in the form of a relay contact (NO). It must be integrated into an EMERGENCY STOP circuit. The connection diagram is shown as follows: When the NC is not ready, the contact is open; otherwise, the contact is closed. Connection cables End sleeves are necessary if you use two cables per connection.
  • Page 83 Signal Comment Signal Comment I5.0 Digital input Q3.5 Digital output I5.1 Digital input Q3.6 Digital output I5.2 Digital input Q3.7 Digital output I5.3 Digital input +24 V +24 V input I5.4 Digital input +24 V +24 V input I5.5 Digital input +24 V +24 V input I5.6...
  • Page 84 Connecting WARNING Electric shock due to connection to an unsuitable power supply When equipment is connected to an unsuitable power supply, exposed components may carry a hazardous voltage that might result in serious injury or death. The 24 V power supply must be protective extra-low voltage in accordance with EN60204-1, Section 6.4, PELV (with M •...
  • Page 85 Digital outputs The diagram below shows you how to connect the connector pins of the digital outputs at interface X301 (example). You can connect connector X302 in the same way. To supply the digital outputs, you must connect an external 24 VDC power supply (X301, X302: pins 47, 48, 49, 50). You must also connect the reference ground of the external power supply to X301, X302: Pin 1 (M).
  • Page 86: Handwheel Inputs - X10

    4.2.9 Handwheel inputs - X10 Pin assignment Type Mini Combicon 10-pin Cable Less than 3 m Illustration Signal Comment Track A, handwheel 1 Negative Track A, handwheel 1 Track B, handwheel 1 Negative Track B, handwheel 1 +5 V +5 V power output Ground Track A, handwheel 2 Negative Track A, handwheel 2...
  • Page 87: Drive Bus Interface - X126

    4.2.10 Drive Bus interface - X126 Pin assignment Type IEEE 1394, 6-pin, female Cable Type: Drive Bus cable Max. length: 20 m Illustration Signal Comment PB_N Negative RxD/TxD of Drive Bus +5 V Positive RxD/TxD of Drive Bus NULL Not connected PB_RTS Request to send Ground...
  • Page 88: Analog Spindle Interface - X54, Spindle Encoder Interface - X60

    Note You must install the Drive Bus terminator (that ships with the PPU) on X11 of the last servo drive; otherwise, the servo system cannot work normally. 4.2.11 Analog spindle interface - X54, spindle encoder interface - X60 Interface X54 is for connecting the PPU to the inverter or servo spindle drive. Interface X60 is for connecting the PPU to the spindle encoder.
  • Page 89 Connecting Connecting the inverter or servo spindle drive (unipolar) 10 V analog voltage 0 V signal Use twisted pair cables for signals A/A_N, B/B_N, Z/Z_N, and +5 V/M. See the following table for the enable status of pin 8 and pin 9 when the spindle rotates clockwise or counter-clockwise respectively for unipolar 1 and unipolar 2.
  • Page 90: Ethernet Interface - X130

    Connecting the inverter or servo spindle drive (bipolar) +/- 10 V analog voltage 0 V signal Use twisted pair cables for signals A/A_N, B/B_N, Z/Z_N, and +5 V/M. 4.2.12 Ethernet interface - X130 Pin assignment Type 8-pin RJ45 socket Cable Type: Ethernet cable Illustration Signal...
  • Page 91: Power Supply Interface - X1

    4.2.13 Power supply interface - X1 The PPU uses a 24 VDC power supply. You can connect the 24 VDC power supply via interface X1. For more information about the 24 VDC power supply, see Section "External 24 VDC power supply (Page 32)". Pin assignment Type Combicon 4-pin...
  • Page 92: Usb Interface On The Front Cover Of The Ppu

    The system CF card is installed on the PPU at the factory. ① Slot for the CF card ② System CF card Note The system CF card is accessible only by the Siemens service personnel. Do not touch or remove the system CF card under any conditions. Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 93: Interfaces On The Mcp

    Interfaces on the MCP 4.3.1 Control elements on the MCP Horizontal MCP ● Variant with override switches ● Variant with a reserved slot for the handwheel Vertical MCP Variant with an override switch for the spindle Variant with a reserved slot for the handwheel •...
  • Page 94: Mcp Interface Overview

    ④ Program control keys ⑫ Reserved slot for the handwheel ⑤ User-defined keys ⑬ Spindle override control keys ⑥ ⑭ Axis traversing keys Feedrate override control keys ⑦ ⑮ Spindle override switch Keys for increment override/rapid traverse override * ⑧ Feedrate override switch The increment override can be activated in "JOG"...
  • Page 95: Interfaces On The Sinamics V70 Servo System

    Interfaces on the SINAMICS V70 servo system The SINAMICS V70 servo system, consisting of the SINAMICS V70 servo drive and SIMOTICS servo motor, is an economical closed-loop servo drive solution for machine tool applications. It is designed for use with the SINUMERIK 808D ADVANCED controller.
  • Page 96: Interface Overview

    4.4.2 Interface overview 4.4.2.1 SINAMICS V70 feed servo system SINAMICS V70 FSA (with detachable terminal blocks) Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 97 SINAMICS V70 FSB/FSC (with screw terminals) Note For more information about the connection of the X10 and X11, see Section "Drive Bus interface - X126 (Page 87)". SIMOTICS S-1FL6 motor ● Motor with straight connectors: Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 98: Sinamics V70 Spindle Servo System

    ● Motor with angular connectors: 4.4.2.2 SINAMICS V70 spindle servo system SINAMICS V70 FSB/FSC (with screw terminals) Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 99 SINAMICS V70 FSD * The protective covers are available for the PE, line supply, motor power, external braking resistor, and DC link terminals. Before connecting these terminals, remove the plastic covers first with a slot/cross head screw driver. Note For more information about the connection of the X10 and X11, see Section "Drive Bus interface - X126 (Page 87)". SIMOTICS M-1PH1 main motor Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 100: Main Circuit Interfaces

    4.4.3 Main circuit interfaces Main circuit interfaces (drive side) Type Illustration Signal Description Line supply input FSA: FSB/FSC: FSD: Line phase L1 For connecting to the 3 interface phase 380 VAC to 480 VAC Line phase L2 power supply Line phase L3 PE (protective earth, for FSD only)
  • Page 101 Main circuit interface (motor side) Type Illustration Signal Description Power con- Straight connector for Angular connector for 1PH1 motor: 1: U Phase U nector 1FL6 motor: 1FL6 motor: 2: V Phase V 3: W Phase W : PE Protective earth Wiring Main circuit wiring for SINAMICS V70 FSA/FSB/FSC A short-circuit stick is available only for the SINAMICS V70 feed drive.
  • Page 102: Connecting The 24 V Power Supply/Sto - X6

    You can install a Type E combination motor controller or circuit breaker to protect the system. For more information about the article numbers of Siemens recommended filters and Type E combination motor controllers/circuit breakers, see Sections "Line filters (Page 34)" and "Fuse/Type E combination motor controllers and circuit breakers (Page 32)".
  • Page 103 Wiring WARNING Unexpected drop of a hanging axis due to incorrect connection of 24 V power supply When the servo system is used as a hanging axis, the axis will drop if the positive and negative poles of the 24 V power supply are connected inversely.
  • Page 104: Connecting The Holding Brake - X7 (Feed Drive Only)

    STO function In conjunction with a machine function or in the event of a fault, the "Safe Torque Off" (STO) function is used to safely disconnect the torque-generating energy feed to the motor. When the function is selected, the drive unit is in a "safe status". The switching on inhibited function prevents the drive unit from being restarted.
  • Page 105: Connecting The Encoder - X9

    Holding brake (motor side) Type Illustration Signal Description Brake connector Straight connector: Angular connector: 1: B+ Phase Brake + 2: B- Phase Brake - Wiring 4.4.6 Connecting the encoder - X9 The SINAMICS V70 drive supports the following types of encoders: V70 feed drive Incremental encoder, TTL 2500 ppr Absolute encoder, 20-bit + 12-bit multi-turn...
  • Page 106 Encoder connector - motor side 8-pin connector for the incremental/absolute encoder, used for the 1FL6 motor: Illustration Incremental encoder Absolute encoder Signal Description Signal Description Straight P_Supply Power supply 5 V P_Supply Power supply 5 V connector: Power supply 0 V Power supply 0 V Phase A+ n.
  • Page 107 Wiring SINAMICS V70 feed servo system SINAMICS V70 spindle servo system Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 108: Connecting An External Braking Resistor

    Grounding the shielded encoder cable To ensure better EMC compliance, you are recommended to strip the encoder cable and connect the cable shield to earth to enhance the grounding effect: 4.4.7 Connecting an external braking resistor The SINAMICS V70 feed drive has been designed with an internal braking resistor to absorb regenerative energy from the motor.
  • Page 109: Connecting The Sinamics V70 Servo System

    Connecting the SINAMICS V70 servo system 4.5.1 Connecting the drive to the motor CAUTION Finger injuries caused by improper cable connection When connecting cables to the drive interfaces with detachable connectors, fixing the cables directly to the connectors which have not been fitted onto the drive may result in finger injuries. First fit the connectors onto the drive, and then fix the cables to the connectors.
  • Page 110 An external braking resistor can be used to absorb excess regenerative energy in the DC link when the capacity of the internal braking resistor is insufficient. Note that no internal braking resistor is available in the V70 spindle drive, and you must select an external braking resistor as specified in Section "Braking resistors (Page 33)".
  • Page 111 WARNING Electric shock or short circuit due to improper connections Improper connections have high risks of electric shock and short circuit, which will jeopardize personal safety and equipment. The drive must be directly connected with the motor. It is not permissible to connect a capacitor, inductor or •...
  • Page 112 WARNING Electric shock due to earth leakage current The earth leakage current for the drive can be greater than AC 3.5 mA, which may cause death or severe personal injury due to electrical shock. A fixed earth connection is required to eliminate the dangerous leakage current. In addition, the minimum size of the protective earth conductor shall comply with the local safety regulations for high leakage current equipment.
  • Page 113: Connecting The Terminal Boxes Of The 1Ph1 Motor

    1PH1 motor: There are holes through which you pass cables on both sides of the terminal box of 1PH1 motor. You can connect the cables through the holes on any of the both sides. For more information about how to adjust cable orientations, see Section "Connecting the terminal boxes of the 1PH1 motor (Page 113)".
  • Page 114 Loosen the screws on the top of both the motor terminal box and the fan terminal box to remove the terminal box covers. Remove the three screw plugs on one side of the two terminal boxes. Loosen the cable gland pre-assembled on the encoder cable. Pass the encoder cable through the first threaded hole in the motor terminal box housing.
  • Page 115: Switching On The Drive

    Remove from the terminal box the three binding post nuts that correspond to the power cable terminals U, V, and W. Place the three terminal lugs at the end of the power cable conductors onto the corresponding binding posts. Fasten the cable conductors with the nuts (3 x M5, max.
  • Page 116: Jog Test

    4.6.1 Jog test To implement Jog test for the SINAMICS V70 drive, proceed through the following steps: 1. Switch on the 24 VDC power supply to the drive. 2. Switch on the 3 phase 380 VAC line supply to the drive. 3.
  • Page 117 5. Set the Jog speed p1058 with a value between 0 and the rated speed of the connected motor. If you want to use the default Jog speed (100 rpm), skip this step. Note For more information about the rated speed of a motor, see sections "SIMOTICS S-1FL6 feed motors (Page 378)" and "SIMOTICS M-1PH1 main motors (Page 382)".
  • Page 118: Configuring Drive Bus Addresses

    Note When you run a servo motor with an incremental encoder in JOG mode, the servo motor makes a short buzzing sound indicating that it is identifying the magnetic pole position of the rotor. 4.6.2 Configuring Drive Bus addresses To configure the Drive Bus addresses on the SINAMICS V70 drive, set parameter p0918 (default = 10) with the drive BOP as required.
  • Page 119: Switching On The Control System

    Switching on the control system Preparation before switch-on Make sure the following before switching on the control system: ● You have finished the mechanical installation of the whole system based on the information included in Chapter "Mounting (Page 50)". ● You have completed the wiring of the whole system according to the information included in Chapter "System connection (Page 73)"...
  • Page 120: Initial System Setup

    Initial system setup System startup menu The control system carries out a normal startup by default after power-on. When necessary, you can press this key on the PPU once the message "Press the SELECT key to enter set-up menu" appears while the system boots to select other startup options via the following menu: ①...
  • Page 121: Synchronizing Drive Data Files Between Nc And Drive

    Synchronizing drive data files between NC and drive The NC always compares its data backup with the drive data upon every startup. ● If no data backup files can be found, the NC creates a new backup file automatically with the following message displaying on the screen: ●...
  • Page 122: Setting The Password

    The control system delivered from Siemens is set by default to the lowest protection level 7 (without password). If the password is no longer known, you must reinitialize the control system with the default machine/drive data. All passwords are then reset to default passwords for this software release.
  • Page 123: Setting The Date And Time

    The following password operations are also available in this operating area: Changes the default password of the control system Note To avoid unauthorized access to the controller, you must change the Siemens default passwords to your own ones. Deletes the current password Note Clear the password before the machine is delivered;...
  • Page 124: Setting The User Interface Language

    5.5.2 Loading system languages You can load a new system language or update an existing language on the control system. Siemens will provide each language in the form of an archive file. The file name format is as follows: 808_lang_<LANG>_04080100yyy.arc Where, <LANG>...
  • Page 125 Operating sequence Proceed through the following steps to load a system language: Copy the system language file to a USB stick. Insert the USB stick into the USB interface at the front of the PPU. Select the system data operating area. Press this softkey to open the start-up archive window.
  • Page 126: Activating The Optional Functions

    → Then you can find the serial number of the CF card in the following dialog box: Go to the Web License Manager (http://www.siemens.com/automation/license) on a comput- er with Internet access, and login via "Direct access". Follow the instructions in the Web License Manager to assign the licenses of your purchased options to the specified PPU.
  • Page 127 Note: The last option (see below) in this window indicates the variant information and the licensing status of your control system, for example: In case of any problems with the licensing status of your control system, contact Siemens service personnel.
  • Page 128: Commissioning The Plc

    Commissioning the PLC PLC programming conventions Program organization During the PLC programming, you must structure your program into finished program parts (subroutines). The programming language for the S7-200 offers you the capability to set up your user program in a structured manner. There are the following two types of programs: ●...
  • Page 129: Operation Symbols Of Plc Programming Languages

    Operation symbols of PLC programming languages Operand identifier Address identifier Description Range Data DB1000 to DB7999 DB9900 to DB9906 Timers T0 to T15 (100 ms) T16 to T63 (10 ms) Counters C0 to C63 Image of digital inputs I0.0 to I8.7 Image of digital outputs Q0.0 to Q5.7 Bit memory...
  • Page 130 Structure of the DB-range address Access Example Description DB3801.DBX1000.7 Bit 7 of the byte with offset 0 in subrange 1 for axis 2, user range 38 Byte DB3801.DBB0 Byte with offset 0 in subrange 0 for axis, user range 38 Word DB4500.DBW2 Work with offset 2 in subrange 0, range 0, user range 45...
  • Page 131 Special bit memory SM bit definition (read-only) Inputs (I) and outputs (Q) Form ● Bit: I0.0, I4.6; Q2.1, Q1.7 ● Byte: IB4, IB12; QB3, QB7 ● Word: IW2, IW4; QW0, QW6 ● Double word: ID2, ID8; QD0, QD4 Accumulators (AC) A maximum of four accumulators are available: ●...
  • Page 132 Flag registers (M) Form ● Bit: M0.1, M124.5 ● Byte: MB21, MB12 ● Word: MW22, MW106 ● Double word: MD4, MD28 Counters (C) Form Condition of counter: C3 and C25 - represent the comparison result of the counter and preset value Type ●...
  • Page 133 DINT/DWORD/REAL Note All of the empty fields in the user interface are reserved for Siemens and may neither be written to nor be evaluated. Fields designated with "0" always have the value "logical 0". If there is no data format information, you can read or write to all the specified data formats.
  • Page 134: Plc Sample Applications

    PLC sample applications 6.4.1 PLC sample application (turning) This sample application is applicable to machines with the following configurations: ● Two axes: axes X and Z, with a hardware limit switch respectively in the positive and negative directions of each axis ●...
  • Page 135 Signal Description Remark I4.2 Handheld unit: axis Z selected Valid at a high level I4.3 Handheld unit: fourth axis selected Reserved I4.4 Handheld unit: increment X1 Valid at a high level I4.5 Handheld unit: increment X10 Valid at a high level I4.6 Handheld unit: increment X100 Valid at a high level...
  • Page 136: Plc Sample Application (Milling)

    Call Conditions Subroutine Name Description Each scan (SM0.0) PI_SERVICE (SBR46) ASUP (Asynchronous Subroutine Pro- gram) Each scan (SM0.0) ServPlan (SBR48) Maintenance plan example: first task Each scan (SM0.0) Turret1_HED_T (SBR51) HALL effect device turret control Each scan (SM0.0) Tail_stock_T (SBR55) Tailstock control Each scan (SM0.0) Lock_unlock_T (SBR56)
  • Page 137 Signal Description Remark I3.5 Reserved I3.6 Reserved I3.7 Reserved I4.0 Handheld unit: axis X selected Valid at a high level I4.1 Handheld unit: axis Y selected Valid at a high level I4.2 Handheld unit: axis Z selected Valid at a high level I4.3 Handheld unit: fourth axis selected Valid at a high level...
  • Page 138: Plc Machine Data

    PLC machine data Note The following tables list the PLC machine data used in the default PLC applications. The machine data not listed below is reserved for the manufacturer. USER_DATA_INT MD14510 PLC interface Unit Range Function address Machine data - Integer 14510[12] DB4500.DBW24 -...
  • Page 139 MD14512 PLC interface address Function Machine data - Hex Bit 1 DB4500.DBX1020.1 Spindle disable mode (0: disable by pressing the spindle stop key; 1: disa- ble when detecting the standstill speed) Bit 2 DB4500.DBX1020.2 Activate the first additional axis (0: disable the additional axis control; 1: enable the additional axis control) Bit 3 DB4500.DBX1020.3...
  • Page 140: Plc Subroutine Library

    PLC subroutine library 6.6.1 Overview In order to simplify the PLC design, we provide refined PLC functions which have generality, such as initialization, machine panel signal processing, emergency stop processing, axis enable control, hard limit, and reference point etc. By adding the desired subroutine module to the main procedure, plus other supplementary procedures, you can complete the PLC procedure design easily.
  • Page 141 Structure of symbol tables All the addresses in the PLC subroutine library are programmed with symbols. All the signals of interfaces are named by symbols and arranged in different symbol tables. The name of a symbol follows some conventions. For details, see Section "Conventions for the symbols used in the subroutines (Page 143)".
  • Page 142 Subroutine No. Name Description MINI_HHU Handwheel on hand-held unit SPINDLE Spindle control, including the spindle braking function MEAS_JOG Tool measurement in JOG mode COOLING Coolant control (Manual Machine key and M code: M07, M08, M09) LUBRICATE Lubrication control (interval and time) PI_SERVICE ASUP (Asynchronous Subroutine Program) PLC_Select_PP...
  • Page 143: Conventions For The Symbols Used In The Subroutines

    6.6.2 Conventions for the symbols used in the subroutines The symbols used in the subroutines follow the conventions listed below: ● Leading characters designate the destinations of interface signals. – P_: to PLC interface – H_: to HMI interface – N_: to NCK interface –...
  • Page 144: Subroutine 21 - Aux_Lamp (Working Lamp)

    6.6.4 Subroutine 21 - AUX_LAMP (working lamp) Purpose Subroutine 21 is used to control working lamp and can be called in AUX_MCP. One-time pressing of the "LAMP" key activates the working lamp while double pressing de-activates the working lamp. Local variable definition Inputs Variable Type...
  • Page 145: Subroutine 23 - Aux_Chip (Chip Conveyor)

    Relevant PLC machine data Description 14512 [16].2 Selection of safety door function (0: do not use; 1: use) 14512 [16].3 Safety door function is activated by M01/M02 (0: deactivate; 1: activate) 14512 [21].1 Switch of the I/O interface (0: set I0.0 to I2.7/Q0.0 to Q1.7 as the standard I/O wiring in the default PLC;...
  • Page 146: Subroutine 24 - Aux_3Color_Lamp

    Example for calling subroutine 23 6.6.7 Subroutine 24 - AUX_3Color_LAMP Purpose Subroutine 24 is used to control the three-color lamp function and can be called in AUX_MCP. Local variable definition Inputs Variable Type Description nodef BYTE Reserved Outputs Variable Type Description BOOL Alarm lamp: red...
  • Page 147: Subroutine 31 - Plc_Ini_Usr_Ini (User Initialization)

    6.6.8 Subroutine 31 - PLC_ini_USR_ini (user initialization) Purpose Subroutine 31 is used for user initialization and should be called in subroutine PLC_INI. Since the subroutine PLC_INI is called only during the first PLC cycle, the subroutine PLC_ini_USER_ini is also only called during the first PLC cycle. Local variable definition None Relevant PLC machine data...
  • Page 148: Subroutine 33 - Emg_Stop

    6.6.10 Subroutine 33 - EMG_STOP NOTICE Program safety Check whether this subroutine complies with the relevant safety requirements or not. Purpose Subroutine 33 handles emergency stop. Pressing down the Emergency Stop button produces an emergency stop alarm and disables the drive enable signal (DB380x.DBX2.1). If you want to clear the emergency stop alarm, you must first release the Emergency Stop button and then press the RESET key on the MCP.
  • Page 149: Subroutine 37 - Mcp_Nck (Mcp And Hmi Signal Processing)

    Example for calling subroutine 33 6.6.11 Subroutine 37 - MCP_NCK (MCP and HMI signal processing) Purpose Subroutine 37 is used to transfer the interface signals from the MCP and HMI to the NCK interfaces, and thus to activate the specific operating mode and control sequences. It has the following main functions: ●...
  • Page 150: Subroutine 38 - Mcp_Tool_Nr (Display Tool Number On The Mcp)

    Description 14510 [12] Layout of the traverse keys For a turning variant, 0: horizontal version; 1: inclined version • For a milling variant, 0: vertical milling; 1: knee-type • Example for calling subroutine 37 6.6.12 Subroutine 38 - MCP_Tool_Nr (display tool number on the MCP) Purpose Subroutine 38 is used to display active tool number (<...
  • Page 151: Subroutine 39 - Handwhl (Selecting A Handwheel According To Hmi Interface Signals)

    6.6.13 Subroutine 39 - HANDWHL (selecting a handwheel according to HMI interface signals) Purpose Subroutine 39 is used to select one of the two handwheels to control an axis (X, Y or Z) in the machine coordinate system or the workpiece coordinate system according to the HMI signals. With the HANDWHEEL key and axis selection key on the MCP, you can assign the handwheel 1 in the workpiece coordinate system to any axis.
  • Page 152 ● Hardware solution (MD14512 [18] bit 6 = 1) This solution is independent of the PLC and thus is much safer: Encoding the hardware limit switches Result E_Key _1LMTp _2LMTp _3LMTp Direction EMERGENCY STOP active DB3900.DBX4.7 1st + over limit DB3900.DBX4.6 1st - over limit DB3901.DBX4.7...
  • Page 153 Name Type Description _2LMTn BOOL Negative hardware limit switch of 2nd axis (NC) _2REF BOOL Reference cam of 2nd axis (NO) _3LMTp BOOL Positive hardware limit switch of 3rd axis (NC) _3LMTn BOOL Negative hardware limit switch of 3rd axis (NC) _3REF BOOL Reference cam of 3rd axis (NO)
  • Page 154: Subroutine 41 - Mini_Hhu (Handwheel On Hand-Held Unit)

    6.6.15 Subroutine 41 - MINI_HHU (handwheel on hand-held unit) Purpose Subroutine 41 is used to support the customer's handheld units. With a handheld unit, you can assign the handwheels to X axis, Y axis and Z axis, and select incremental override X1, X10, X100 at the same time. You can then use the handwheels to control the movements of your machine.
  • Page 155: Subroutine 42 - Spindle (Spindle Control)

    Example for calling subroutine 41 6.6.16 Subroutine 42 - SPINDLE (spindle control) Purpose Subroutine 42 is used for spindle control, including the spindle braking function and spindle speed selection. Spindle braking function When the braking function is activated (MD14512 [19].1 = 1), the spindle brakes in the following cases: ●...
  • Page 156: Subroutine 43 - Meas_Jog (Measurement In Jog Mode)

    Name Type Description SP_LED BOOL Spindle operating status LED Assigned global variables SP_B_CMD BOOL Spindle braking command TIMER Spindle braking timer Relevant PLC machine data Type Description 14510 [13] BOOL Spindle braking duration (unit: 0.1 s) 14512 [19].1 BOOL Selection of spindle braking function (1: enabled; 0: forbidden) 14512 [19].4 BOOL Selection of the spindle speed in "JOG"...
  • Page 157: Subroutine 44 - Cooling (Cooling Control)

    RES_MEASJOG M241.4 Reset Meas_JOG ESC_MEASJOG M241.5 Interrupt Meas_JOG DRY_MEASJOG M241.6 Dry run Meas_JOG SBL_MEASJOG M241.7 Single block Meas_JOG Relevant PLC machine data None Example for calling subroutine 43 6.6.18 Subroutine 44 - COOLING (cooling control) Purpose Subroutine 44 is used to start/stop cooling using the buttons on the MCP in JOG mode, or to start (using the auxiliary function M07/M08 in the part program) or to stop (using the M09 in the part program) cooling in AUTO/MDA mode.
  • Page 158: Subroutine 45 - Lubricat (Control Of Lubricate)

    Example for calling subroutine 44 6.6.19 Subroutine 45 - LUBRICAT (control of lubricate) Purpose Subroutine 45 is used to control the lubrication according to specific time interval and duration (independent of the distance that the axis has travelled). Meanwhile, a manual button is available to start the lubrication, and you can configure that the lubrication starts automatically each time that the machine is powered up.
  • Page 159: Subroutine 46 - Pi_Service

    Example for calling subroutine 45 6.6.20 Subroutine 46 - PI_SERVICE Purpose Subroutine 46 is for realizing functions like ASUP (Asynchronous Subroutine Program) and deleting a password. ● ASUP function The ASUP function means the execution of PLCASUP1.SPF or PLCASUP2.SPF called by the PLC. The two ASUPs cannot be simultaneously executed, and the PLCASUP1.SPF has a higher priority over the PLCASUP2.SPF.
  • Page 160 Local variable definition Inputs Name Type Description nodef BYTE Reserved ASUP1_trigger BOOL Start ASUP1 (rise edge) ASUP2_trigger BOOL Start ASUP2 (rise edge) Outputs Name Type Description ASUP1Run BOOL Indicates whether ASUP1 is running ASUP2Run BOOL Indicates whether ASUP2 is running Err1 BOOL ASUP1 error...
  • Page 161: Subroutine 47 - Plc_Select_Pp (Plc Selects A Subroutine)

    47 you can assign DB1700.DBB1000 to the "Program index" to select the corresponding part program. Local variable definition Inputs Name Type Description PP_num BOOL Part program number, 1-100: user; 101-200: OEM; 201-255: Siemens Outputs Name Type Description Finish BOOL PLC selects a part program successfully...
  • Page 162: Subroutine 49 - Gearchg1_Auto (Automatic Spindle Gear Change)

    Assigned global variables ServPlan_msg0 BOOL Notification message of the first service plan ServPlan_alm0 BOOL Alarm message for 1st service plan Relevant PLC machine data None Example for calling subroutine 48 6.6.23 Subroutine 49 - GearChg1_Auto (automatic spindle gear change) Purpose Subroutine 49 is used to automatically change the gear for the analog spindle with 2-level gear detection signals.
  • Page 163: Subroutine 50 - Gearchg2_Virtual (Virtual Spindle Gear Change)

    Dstill BOOL M248.5 Signal for spindle stop Dchg BOOL M248.6 Spindle gear change delay Dmon BOOL M248.7 Monitoring for the gear change Req_SP_G_CH BOOL M244.0 Request for spindle gear change Req_Low_G BOOL M244.1 Request to change to the low gear stage Req_Hign_G BOOL M244.2...
  • Page 164: Subroutine 51 - Turret1_Hed_T (Turret With Hall Effect Device Position Sensor)

    6.6.25 Subroutine 51 - Turret1_HED_T (turret with Hall effect device position sensor) Purpose Subroutine 51 is used to control the turret with a Hall effect device positioning sensor, and the turret motor is controlled by the PLC. The turret rotates clockwise to search for a tool, and rotates counter-clockwise after positioning the desired tool to clamp it (the turret CCW rotation time can be adjusted).
  • Page 165 Local variable definition Inputs Name Type Description Tmax WORD Number of tool on the turret, only 4, 6 are permitted C_time WORD Turret clamping delay time (unit: 0.1 s) M_time WORD Monitor time for searching for a tool (unit: 0.1s) T_polar BOOL Tool position signal: NC/NO...
  • Page 166: Subroutine 52 - Turret2_Bin_T (Turret With Binary Coding Function)

    Example for calling subroutine 51 6.6.26 Subroutine 52 - Turret2_BIN_T (turret with binary coding function) Purpose Subroutine 52 is used to control the turret with encoder positioning signals and function of dual-direction adjacent tool change. Contact the turret vendor for the working theory and the timing diagram of a tool change. During a tool change, the NC interface signals "Read-in disable"...
  • Page 167 Outputs Name Type Description T_cw BOOL Turret CW rotation output T_ccw BOOL Turret CCW rotation output Magent BOOL Solenoid for clamping T_LED BOOL Display for tool changing ERR1 BOOL Error1: turret motor overload ERR2 BOOL Error2: programmed tool no. > max tool no. ERR3 BOOL Error3: max tool no.
  • Page 168: Subroutine 53 - Turret3_Code_T (Tool Change Control For Turret With Coding Function)

    6.6.27 Subroutine 53 - Turret3_CODE_T (tool change control for turret with coding function) Purpose Subroutine 53 is used to control the turret with coded tool positions and function of adjacent tool change. The difference between the subroutine 52 and the subroutine 53 is that the subroutine 52 uses binary tool position codes while the subroutine 53 uses tool position codes made according to a specific common turret.
  • Page 169: Subroutine 54 - Turret2_3_Tooldir (Tool Change Direction)

    T_dir BOOL M237.1 Direction for searching for an adjacent tool Relevant PLC machine data Unit Description 14510 [22] 0.1 s Monitoring time for searching for a tool 14512 [21].1 Switch of the I/O interface (0: set I0.0 to I2.7/Q0.0 to Q1.7 as the standard I/O wiring in the default PLC;...
  • Page 170: Subroutine 55 - Tail_Stock_T (Tailstock Control Program For Turning Machines)

    Local variable definition Inputs Name Type Description Tmax DWORD Possible positions of the turret Pnum DWORD Programmed tool number Tcurr DWORD Current tool number Outputs Name Type Description P_INDXo DWORD Pre-indexing position: the previous tool position of the desired tool in the direction of an adjacent tool BOOL Direction for tool change...
  • Page 171: Subroutine 56 - Lock_Unlock_T (Clamping Control For Turning Machine)

    Assigned global variables SP_RUNm BOOL M236.0 Indicate that the spindle is running TailAdv_m BOOL M229.2 Indicates that the tailstock is moving forward TailRet_m BOOL M229.3 Indicates tailstock is moving backward Relevant PLC machine data Value Description 14512 [17].2 Enable tailstock in turning Disable tailstock in turning 14512 [21].1 Set I0.0 to I2.7/Q0.0 to Q1.7 as the standard I/O wiring in the default PLC...
  • Page 172: Subroutine 58 (Mm_Main)

    Name Type Description Err1 BOOL Error 1: clamp/unclamp not possible while spindle is operating Assigned global variables ChuckLcked BOOL M229.4 Chuck clamped ChuckLckLED BOOL M239.2 Chuck at released state ExtInLED_Om BOOL M239.5 External/inside clamping state TR_Status BOOL M237.6 Chuck release command Relevant PLC machine data Value Description...
  • Page 173 Name Type Description BOOL ROV in Manual Machine Mode Outputs Name Type Description AL_03 BOOL Not approaching the reference point on axis X (user alarm 03) AL_04 BOOL Not approaching the reference point on axis Z (user alarm 04) AL_09 BOOL Incorrect start in the spindle direction (user alarm 09) AL_11...
  • Page 174: Subroutine 59 (Mm_Mcp_808D)

    Example for calling subroutine 58 6.6.32 Subroutine 59 (MM_MCP_808D) Purpose To use subroutine 59, you must have licensed the optional Manual Machine Plus function for the SINUMERIK 808D ADVANCED T (Turning). The subroutines 46, 58 and 59 must be used together. Normally, the spindle will be stopped after you press the NC reset key.
  • Page 175: Subroutine 60 - Disk_Mgz_M (Disk-Style Tool Magazine Used For Milling)

    Assigned global variables None Relevant PLC machine data Unit Range Description MD14512[19].7 1: to enable the manual machine function 0: to disable the manual machine function Example for calling subroutine 59 6.6.33 Subroutine 60 - Disk_MGZ_M (disk-style tool magazine used for milling) Purpose You can use subroutine 60 to control the disk-style tool magazine on a milling machine.
  • Page 176 Local variable definition Inputs Name Type Description nodef BYTE Reserved MgzCnt BOOL Magazine counter MgzRef_k BOOL Set current tool no. to 1 in magazine via this key MgzCW_k BOOL Magazine CW rotate key MgzCCW_k BOOL Magazine CCW rotate key MgzSp_k BOOL Magazine enter spindle position key MgzOrg_k...
  • Page 177: Subroutine 62 - Trg_Key_Or

    Example for calling subroutine 60 6.6.34 Subroutine 62 - Trg_key_OR Purpose Subroutine 62 is used for the override control via trigger user keys in the following MCP variants: ● Vertical MCP with a reserved slot for the handwheel: for spindle override control only ●...
  • Page 178 Name Type Description F_100_Key BOOL Feedrate override 100% key RapidOvr_1 BOOL Rapid override 1% RapidOvr_25 BOOL Rapid override 25% RapidOvr_50 BOOL Rapid override 50% RapidOvr_100 BOOL Rapid override 100% Noder1 BYTE Reserved Outputs Name Type Description LED1_S BOOL Lights, spindle override < 100%; flashing, 50% LED2_S BOOL Lights, spindle override 100%...
  • Page 179 Example for calling subroutine 62 Subroutine 62 for milling application Set the following PLC machine data for different MCP variants: MCP variants PLC machine data setting Description 14512 [20].0 Vertical MCP with a reserved slot for Spindle override controlled by trigger user the handwheel keys Horizontal/vertical MCP with two...
  • Page 180 Outputs Name Type Description LED1_S BOOL Lights, spindle override < 100%; flashing, 50% LED2_S BOOL Lights, spindle override 100% LED3_S BOOL Lights, spindle override 105-115%; flashing, 120% Assigned global variables SP_OV_Switch BYTE MB202 Spindle override switch buffer USB_MCP_SP_OV BYTE MB209 USB MCP signal: spindle override Relevant PLC machine data Unit...
  • Page 181: Subroutine 63 - Toggles

    6.6.35 Subroutine 63 - TOGGLES Purpose Two types of switches are provided in subroutine 63, more specifically, a hold switch for switching a circuit on (press) and off (press again), and a delay switch for switching on a circuit and automatically switching it off after a certain time period. A total of six hold switches and two delay switches are available in this subroutine, with the delay duration being configurable.
  • Page 182: Plc Programming Tool

    PLC Programming Tool 6.7.1 Overview of PLC Programming Tool In order to edit the PLC program, use PLC Programming Tool V3.2.4 or higher. By using PLC Programming Tool, you can perform the following operations: ● Creating the PLC program ● Editing the PLC program ●...
  • Page 183: Renaming The Default Program

    6.7.2 Renaming the default program PLC Programming Tool contains a default PLC program. You can give this program a new name by performing the following operations: Start the software by double-clicking the icon on your desktop. Click the button in the toolbar or select from the main window menu as follows to select and open the default PLC program from the Toolbox: Select the following menu command to save this file under a new name to a desired folder so that the default program will not be overwritten:...
  • Page 184: Changing The Display Language

    6.7.3 Changing the display language You can select the languages to be installed when installing the software. Then you can change the display language as desired in PLC Programming Tool. Perform the following steps to change the display language. Choose from the main menu as follows: In the appeared dialog box, select the desired display language, and then click this button to confirm.
  • Page 185: Selecting A Target System

    6.7.4 Selecting a target system In PLC Programming Tool, you can select the PLC type as preset. In the instruction tree, the instructions that cannot be used for the target system are marked with a red × (for example, After the PLC type is preset, an error check of the program takes place when the program is written. Operating sequence Start PLC Programming Tool on your PC.
  • Page 186: Downloading/Uploading/Comparing Plc Applications

    Note that the compatibility mode must not be activated to use the CNC lock function of the control system. Click this button to confirm and close the dialog box. 6.7.5 Downloading/uploading/comparing PLC applications You can save, copy, or overwrite a PLC project on the control system by using the following: ●...
  • Page 187 Select from the main screen menu as follows or click the toolbar button to start the download: Click this button on the download dialog box to proceed directly. You can also select the following checkbox for data blocks to include the actual values of the data blocks, and then click this button.
  • Page 188 Note If you have chosen to download when the PLC is in the stop mode, you can place the PLC at the run mode again with PLC Programming Tool (click the button To download a PLC project with a USB memory stick or the network drive, proceed as follows: Open the desired PLC project in PLC Programming Tool.
  • Page 189 Uploading a PLC project from the control system You can back up a PLC project from the permanent memory of the control system using PLC Programming Tool, a USB memory stick, or the network drive. To upload a PLC project using PLC Programming Tool, proceed as follows: Establish the communication between the control system and PLC Programming Tool.
  • Page 190 Click this button and you can view the upload results. To upload a PLC project using a USB memory stick or the network drive, proceed as follows: To upload the PLC project via USB, insert the USB memory stick into the USB interface •...
  • Page 191 Select from the main screen menu of PLC Programming Tool as follows or click the toolbar button to create a new and empty PLC project: Import the .pte file from the USB memory stick or the network drive by selecting from the main screen menu as follows: Click this button or double-click the .pte file in the following dialog box.
  • Page 192 After successfully importing the PLC project, you can view the import results. Comparing the PLC projects You can compare the project opened in PLC Programming Tool with that stored on the control system by proceeding through the following steps: Select from the main screen menu as follows: You can also select the checkbox for data blocks to include the actual values of the data blocks.
  • Page 193 Click this button and the comparing begins. Wait for a few seconds, and then you can view the compare results. Version display The transferred PLC application will be active in the working memory of the control after the system is started up. Then you can view the detailed information about the currently active PLC application in the version display through the following softkey operations: →...
  • Page 194: Compiling And Monitoring Programs

    6.7.6 Compiling and monitoring programs Compiling PLC programs You can check for syntax errors after editing or modifying a PLC project using the compile function of PLC Programming Tool. Proceed through the following steps to compile the PLC programs: Open an existing or a new PLC project in PLC Programming Tool, and save it after editing. Start compiling by clicking the toolbar button or choosing from the main screen menu as follows:...
  • Page 195: Plc Alarms

    The blue color in the program editing window indicates the online connection status. PLC alarms Diagnosing of the machine is important. Complete diagnosis of the external electrics can help users understand the cause and location of breakdown immediately. User alarms in the PLC subroutines System provides users with 128 PLC user alarms.
  • Page 196 Alarm No. Interface Address Alarm Description From SBR 700010 DB1600.DBX1.2 Handheld unit active SBR41: MINI_HHU 700011 DB1600.DBX1.3 Tool clamping timeout SBR53: Turret3_CODE_T 700012 DB1600.DBX1.4 Spindle being braked SBR42: SPINDLE 700013 DB1600.DBX1.5 Operation not allowed: chuck unclamped SBR56: Lock_unlock_T 700014 DB1600.DBX1.6 Gear stage change timeout SBR49: GearChg1_Auto 700015...
  • Page 197: Alarm Cancel/Reset And Reaction

    6.8.1 Alarm cancel/reset and reaction Conditions of alarm cancel/reset After the cancel of an alarm, you need to press one of the following two keys to clear the alarm finally. Then the alarm displayed will disappear by itself. Alarm reaction There are the following two ways for alarm reaction.
  • Page 198 Select the HMI data folder and press this key to open it. Move the cursor to the folder highlighted as follows and press this key to open it. Press this softkey to copy the PLC alarm text file in the desired language. Press this softkey to enter the USB storage directory.
  • Page 199 Connect the USB stick with your computer, find the PLC alarm text file copied from the NC, and open it with the WordPad. Edit the alarm text as desired and then save and close the file. Insert the USB stick into the USB interface on the front panel of the PPU. Enter the USB storage directory through the following operations: →...
  • Page 200: Plc Diagnostics

    Confirm your entry with this softkey or the following key: PLC diagnostics A PLC user program consists to a large degree of logical operations to realize safety functions and to support process sequences. These logical operations include the linking of various contacts and relays. As a rule, the failure of a single contact or relay results in a failure of the whole system/installation.
  • Page 201 You can use this softkey to select the main program or a specific subroutine that you desire to dis- play. Displaying the PLC properties You can use this softkey to check the following PLC properties: Operating status • Project name and change info •...
  • Page 202 The following softkey operations are possible in this window: Use these softkeys to increase or decrease the bit of the operand. Pressing this softkey deletes all the entered operands. You can press this softkey to change the status of the PLC interface or I/O signals by entering "0" (low) or "1"...
  • Page 203: Handwheel Assignment

    Displaying cross references All operands used in the PLC project are displayed in the list of cross references. This list indicates in which networks an input, output, flag etc. is used. You can press this softkey to display the list of cross references. The operands are displayed ac- cording to the absolute address by default, for example: The following softkey operations are possible in this window: Press this softkey to switch between the absolute and symbolic representation of the components.
  • Page 204: Commissioning The Prototype Machine

    Commissioning the prototype machine Overview on commissioning and operation wizards The control system has two commissioning wizards and one operation wizard. ● The commissioning wizards require a manufacturer access level. They are designed to help you commission the basic machine tool functions on the prototype machine and series machines. ●...
  • Page 205 Commissioning status You can check the commissioning status via the status symbols from the main screens of the commissioning wizards. Status symbol Meaning Completed task Current task Partially completed task group Uncompleted task Commissioning diagram The diagram below shows the general commissioning procedure for the NC. ①...
  • Page 206: Commissioning The Plc

    Commissioning the PLC 7.2.1 Setting PLC related parameters Use either of the following softkeys on the main screen of prototype commissioning wizard to enter the window for setting the PLC related parameters: Softkey functions ① ③ Activates the parameter changes. Note that the control Cancels the last change to the parameter system restarts to accept the new values.
  • Page 207: Checking I/O Address Assignment

    Start PLC Programming Tool on your computer and make corresponding communication settings. For more information about the communication settings for direct connection in PLC Programming Tool, see Section "Connecting with PLC Programming Tool (Page 42)". After the connection is established successfully, you can upload the sample PLC application to your computer first, and then edit the PLC programs to achieve the required functionality.
  • Page 208: Editing Plc Alarm Texts

    7.2.4 Editing PLC alarm texts PLC user alarms can be used as one of the most effective diagnosis methods. The control system provides 128 PLC user alarms (700xxx). You can edit the PLC alarm texts as required. Operating sequence Select the alarm text you desire to edit. Press this softkey to activate the input field at the bottom of the screen and enter the de- sired text, for example: Note that the text of each PLC user alarm must be limited to 50 characters;...
  • Page 209: Configuring The Drives

    Configuring the drives Note This commissioning step is applicable to the standard axes only. For the drive configuration of additional axes, see Section "Configuring an additional feed axis (Page 234)". Before starting the drive configuration, you must ensure the Drive Bus addresses are properly set (p0918) via the drive BOPs.
  • Page 210 Press this softkey to confirm your selection. The selected motor information then displays in the drive list. Repeat Steps 2 to 4 as above to complete the configuration of all feed axes. Configuring the spindle ● Configuring the digital spindle Use the cursor keys to select the spindle MSP1 in the drive list window.
  • Page 211: Setting Basic Parameters

    Press this softkey to confirm your settings and return to the drive list window. After you finish configuring all axes and the spindle, press this softkey to save the configuration results on both CNC and drives and proceed to the next step. Note: The control system restarts after you press this softkey.
  • Page 212: Commissioning The Referencing Function

    ① ⑤ Selects the next axis Cancels the last change to the parameter ② ⑥ Selects the previous axis Returns to the last step ③ ⑦ Activates the modified values Proceeds to the next step ④ Resets the value of the selected parameter to default Axis-specific parameters Name Unit...
  • Page 213 Position velocity (MD34070: REFP_VELO_POS) Shift of the reference point (MD34080: REFP_MOVE_DIST + MD34090: REFP_MOVE_DIST_CORR) Set position of the reference point (MD34100: REFP_SET_POS [0]) Softkey functions You can commission the axis referencing function and approach the reference point by setting relevant machine data in the following window: ①...
  • Page 214 If the axis is referenced, a symbol appears next to the axis identifier, for example: Relevant machine data Name Unit Range Description 20700 REFP_NC_START_LOCK NC start disable without reference point 34010 REFP_CAM_DIR_IS_MINUS Direction for approaching the reference point: 0: + •...
  • Page 215: Setting Spindle Parameters

    7.4.3 Setting spindle parameters The control system controls one analog or digital spindle. You can commission the spindle by setting the relevant machine data under this commissioning step. Softkey functions ① ④ Activates the modified values Switches to "MDA" mode for program test ②...
  • Page 216: Creating Series Archives

    Creating series archives Creating series startup archives is a prerequisite for series machine commissioning. The series startup archives contain data from the prototype machine commissioning which bring the series machine to the same state. Operating sequence Specify the properties of the archive as required: Press this softkey to open the window for saving the archive file.
  • Page 217: Setting Compensation Data

    Setting compensation data 7.6.1 Setting software limit switch data The software limit switches are used to limit the maximum traversing range on each individual axis. You can set the software limit switches for each axis by configuring parameters 36100 and 36110 under this commissioning step.
  • Page 218: Setting Backlash Compensation Data

    7.6.2 Setting backlash compensation data In the case of axes/spindle with indirect measuring systems, mechanical backlash results in corruption of the traverse path, causing an axis, for example, to travel too much or too little by the amount of the backlash when the direction of movement is reversed.
  • Page 219: Setting Leadscrew Error Compensation Data

    7.6.3 Setting leadscrew error compensation data The principle of the leadscrew error compensation is to modify the actual value of the axis-specific position by the assigned compensation value at the particular compensation point and to apply this value to the machine axis for immediate traversal. A positive compensation value causes the corresponding machine axis to move in the negative direction.
  • Page 220: Tuning Drive Performance

    Follow the instructions in the help window to perform the compensation for the selected axis. You can input the compensation values manually on the screen. Alternatively, you can also use this softkey to import a compensation file in rtl format (produced with RENISHAW measuring software) to input the compensation values automatically.
  • Page 221 Softkey functions ① Saves the trace files generated during the tuning process to a USB memory stick (if inserted) ② Enters the window for selecting the tuning strategy ③ Starts the drive tuning process ④ Returns to the last step ⑤...
  • Page 222 Use this key to select a desired tuning objective. There are three objectives available for selection: (default setting) • The speed and position controller gain (servo gain factor) is tuned with maximum values and minimum ruggedness. This setting is recommended for high-speed machining with maximum suppression of all disturbing forces.
  • Page 223 Press this softkey to confirm and proceed to one-key auto tuning. Press this key on the MCP and the drive tuning starts automatically. Since the axes traverse during the tuning process, make sure you take proper precautions to avoid personal injury or machine damage.
  • Page 224: Creating Prototype Machine Commissioning Archives

    Parameter adjustment after drive tuning To ensure correct machining results of all interpolating axes, it is necessary to adjust the following axis-specific parameters after the drive tuning: ● Position controller gain – For the feed axes, set MD32200[0] to the minimum gain value of all interpolating axes. –...
  • Page 225 To create a start-up archive for the prototype machine, proceed as follows: Specify the properties of the archive as required: Press this softkey to open the window for saving the archive file. You must select a directory in this window. The default name of the data archive is "arc_startup.arc". You can use your desired name for it.
  • Page 226: Commissioning The Turret/Magazine

    Commissioning the turret/magazine PLC subroutines for tool change The following PLC subroutines are provided for the turret/magazine control on a turning or milling machine. Subroutine Name Description See also SBR 51 Turret1_HED_T HED turret control for turning ma- Subroutine 51 - Turret1_HED_T (turret with Hall chine effect device position sensor) (Page 164) SBR 52...
  • Page 227: Series Machine Commissioning

    T"<<$P_TOOLP) GOTOF _END _NO: MSG("No action *** Reason: programmed tool num- ber=spindle tool number") _END: ;>>> End of the standard cycle <<< Calling a tool change cycle with "T" Configure the parameters shown in below table to activate a T code for calling a standard cycle: Parameter Name Unit...
  • Page 228: Setting Software Limit Switch Data

    Press this softkey to confirm your selection, and the archive information displays on the screen. Check the archive information and press this softkey to start loading the series commission- ing archive. Note Successful loading of the data archive can delete the password. You must set the password again before proceeding. For more information about setting a password, refer to Section "Setting the password (Page 122)".
  • Page 229: Network Functions

    Network functions 10.1 Network configuration Ethernet connections You can establish a network connection between the control system and a computer via the Ethernet interface X130. The following Ethernet connections are possible: ● Direct connection: connecting the control system directly to a computer ●...
  • Page 230: Configuring The Network Drive

    Configure the network as required in the following window: You can configure the DHCP with this key. Note: if you select "No" for DHCP, you must enter the IP address (which must belong to the same network as that of your PC) and subnet mask manually. Press this softkey to save the configuration.
  • Page 231 Move the cursor to the following input fields: ① : Enter the user name of your Windows account ② : Enter the logon password (case sensitive) of your Windows account ③ : Enter the IP address of the server and the share name of the shared directory on your computer.
  • Page 232: Configuring The Firewall

    10.3 Configuring the firewall Configuring the firewall Secure access and communication is achieved through the security function of the integrated firewall. You can open the window for firewall configuration through the following operations: → → → → Configurable ports are listed in the following window: The ports are disabled by default and can be enabled when necessary.
  • Page 233: Measurement Functions

    Measurement functions 11.1 Fast inputs and outputs The fast input/output interface (X21) provides 3 digital inputs and 1 digital output: Illustration Signal Variable Description $A_IN[1] Fast input with address DB2900.DBX0.0, for connection to probe 1 $A_IN[2] Fast input with address DB2900.DBX0.1, for connection to probe 2 $A_IN[3] Fast input with address DB2900.DBX0.2...
  • Page 234: Extended Drive Commissioning

    Testing signal You can test the measuring signal by checking the PLC interface status through the following operations: → → Enter the interface address DB2700.DBB1 in the operand input field, and trigger the probe manually. In this case, the corresponding PLC status bit changes, which indicates the probe is properly connected. Extended drive commissioning 12.1 Overview...
  • Page 235: Configuring The Drive System

    Press this softkey to confirm your input. Press this softkey to activate the value changes. Note that the control system restarts to ac- cept the new values and the additional axis can be displayed in the system. Note The factory default PLC program only supports one additional axis. 12.2.2 Configuring the drive system Note...
  • Page 236: Tuning The Drive Performance

    Press this softkey when the following dialog appears to exit the drive configuration window. 12.2.3 Tuning the drive performance The control system provides facilities to tune the drive performance for both standard and additional axes by automatically modifying the control loop parameters. The tuning is performed based on frequency response measurements of the dynamic response of the machine.
  • Page 237 Press this softkey to confirm and proceed to one-key auto tuning. Press this key on the MCP and the drive tuning starts automatically. Since the axes traverse during the tuning process, make sure you take proper precautions to avoid personal injury or machine damage.
  • Page 238: Configuring An Additional Spindle

    12.3 Configuring an additional spindle An additional spindle can be configured as follows: ● If a digital spindle is already configured on the control system, you can additionally configure either a digital spindle driven by SINAMICS V70 feed drive or an analog spindle driven by an inverter or servo spindle drive. ●...
  • Page 239 Open the axis machine data window through the following softkey operations: → → Use these softkeys to switch to the data set for the additional spindle (MSP2). Default the following machine data for MSP2 with this softkey: 30100[0], 30110[0], 30120[0], 30200, and 30220.
  • Page 240: Setting Parameters For The Additional Analog Spindle

    12.3.2 Setting parameters for the additional analog spindle Proceed as follows to set the parameters for the additional analog spindle: Select the system data operating area. Open the channel machine data window through the following softkey operations: → → Use this softkey or the cursor keys to search for the following machine data and assign the desired values: For the turning variant of the control system: •...
  • Page 241: Configuring An Additional Positioning Axis

    Default the machine data 30110[0] and 30220[0] for MSP2 with this softkey. Use this softkey or the cursor keys to search for the following machine data and assign the desired values: If you use an external spindle encoder for the additional spindle: •...
  • Page 242 Proceed as follows to set the parameters for an additional positioning axis: Select the system data operating area. Open the channel machine data window through the following softkey operations: → → Set the machine data 20070 as follows: For the turning variant: set 20070[3]/[4]/[5] = 5 or 6 •...
  • Page 243: Configuring The Y Axis On A Turning Machine

    12.5 Configuring the Y axis on a turning machine Prerequisites: ● The Drive Bus address of the corresponding drive is properly set (p0918 = 12). For more information, see Section "Configuring Drive Bus addresses (Page 118)". ● At least one additional axis is activated. For more information, see Section "Activating the optional functions (Page 126)". 12.5.1 Setting parameters for the Y axis Proceed as follows to set the parameters for the Y axis:...
  • Page 244: Measuring The Tool Manually (With The Y Axis)

    Use these softkeys to switch to the data set for axis MY1. Use this softkey or the cursor keys to search for the drive parameter p29000. Enter the motor ID of the motor connected to axis MY1. You can find the motor ID on the motor rating plate. Press this softkey to activate the value changes.
  • Page 245 Move the cursor to the input field for Length X with the cursor keys and then press this soft- key. Enter the distance measured in Step 9 in the input field (for example, 48). If you desire to use the relative coordinate, press this softkey. Press this softkey to confirm your input.
  • Page 246 Select the offset operating area. Press the alphabetic key <Y> or proceed through the following method to open the window for measuring the tool in the Y direction: Move the cursor to the input field for Length Y with the cursor keys and then press this soft- key.
  • Page 247: Other Frequently Used Functions

    13.1 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 248 Select the folder(s) and press this softkey to copy. Press this softkey to open the window of system data. Select the HMI data folder and press this key to open it. Move the cursor to the folder highlighted as follows: Press this key to open this folder.
  • Page 249: Defining The Service Planner

    13.2 Defining the service planner With the service planning function, you can set up maintenance tasks that have to be performed at certain intervals (for example, top up oil, change coolant). An alarm appears as a reminder when the interval expires. A list is displayed of all the maintenance tasks that have been set up together with the time remaining until the end of the specified maintenance interval.
  • Page 250: Using The Machine Manufacturer's Startup Screen And Machine Logo

    13.3 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. Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 251 Proceed as follows to use your own startup screen: Prepare the image for the startup screen in BMP format. To achieve the best display effect, the recommended image size is 750*450 pixels. Name the image "startup.bmp" and save it on a USB memory stick. Insert the USB stick into the USB interface on the front panel of the PPU.
  • Page 252 Note To restore the default startup screen, delete the customized bitmap file (startup.bmp) from the control system. Using the machine manufacturer machine logo The default machine logo is displayed in the machining operating area as follows. If necessary, you can use your own machine logo.
  • Page 253 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. Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 254: Configuring The Operating Area After Startup

    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 255 Programming example Create the program with a wordpad or notepad. As a cycle screen always also transfers values as call parameters to the user cycle, the transfer interface is defined as follows. PROC CYCLE100(REAL DIA,REAL DIAF,REAL STAP,REAL ENDP,REAL MID,REAL UX,INT MACH,REAL VRT) SAVE SBLOF DISPLOF PROC is a keyword followed by the cycle name with the cycle number.
  • Page 256: Creating The User Cycle Alarm File

    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 END2: SETAL(65001) STOPRE 13.5.2 Creating the user cycle alarm file The user cycle alarm file is required to display alarm numbers and alarm messages for user cycles. Naming rule alc_<LANG>.txt Here "<LANG>"...
  • Page 257: Creating The Extended User Text File

    13.5.4 Creating the extended user text file The extended user text file is required for the display of respective screen texts, cycle messages and softkey texts. Naming rule almc_<LANG>.txt Here "<LANG>" refers to the language denotation, for example, eng. For more information, see Section "Loading system languages (Page 124)". Text definition rules When defining the texts, you must follow the rule below: <Identifier>...
  • Page 258: Creating The User Cycle Parameter File

    13.5.6 Creating the user cycle parameter file The user cycle parameter file (sc.com) file is required to define the help information and the parameters for the user cycle. You can create the sc.com file with a text editor like the WordPad or Notepad. Text definition rules The "//"...
  • Page 259: Transferring The Desired Files To The Control System

    13.5.7 Transferring the desired files to the control system Proceed as follows to transfer the required files to the control system. Prerequisite: A USB memory stick which contains all required files is inserted into the USB interface at the front of the PPU. Transferring the user cycle file Select the system data operating area.
  • Page 260 Paste the user cycle bitmaps with this softkey. Transferring the user cycle alarm file Press this softkey to switch to the USB storage directory. Locate the user cycle alarm file (for example, alc_eng.txt) and press this softkey to copy the file.
  • Page 261 → → Press this softkey to replace the following empty files: Press this softkey when a message appears prompting you to restart the HMI. The new data will be active after the HMI restarts successfully. Transferring the extended user text file Select the system data operating area.
  • Page 262: Calling The Created User Cycle

    13.5.8 Calling the created user cycle After you transfer all the files necessary for your own cycle to the control system, the cycle is created successfully. Then you can call the cycle in the program editing operating area. Proceed as follows to call the created cycle, for example, CYCLE100. Select the program management operating area.
  • Page 263: Using The Machine Manufacturer's Machine Data Descriptions

    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. Then you can find CYCLE100 inserted in your program. 13.6 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.
  • Page 264: Using The Machine Manufacturer's R Variable Names

    After you have modified the description of at least one MD on the control system, you can find an OEM MD description file (.txt) which contains the manufacturer's MD descriptions edited under the current system language. You can access this file through the following operations: →...
  • Page 265: Pi Service Functions

    After you have defined at least one R variable name on the control system, you can find an OEM R variable name file (.txt) which contains the manufacturer's R variable names defined under the current system language. You can access this file through the following operations: →...
  • Page 266: Programming A Retraction For Rigid Tapping

    DB3400 ASUP: Result [r] NCK → PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1000 INT1 ASUP exe- Interrupt ASUP is ASUP end- cution not no. not being exe- possible allocated cuted...
  • Page 267: Cnc Lock Function

    The company that created the CNC lock function (machine manufacturer or dealer) must retain the license certificate for this option. 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 268: Creating The Activation File

    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 269: Importing 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 ADVANCED control system. ② The serial number of the CF card can be found on the PPU HMI through the following operations: →...
  • Page 270 Select the system data operating area. Press this key to view the extended softkeys. Open the license key dialog box through the following softkey operations: → → Check and make sure the screen displays as follows, which indicates the CNC lock option is licensed and set properly: Press this softkey to open the file opening dialog box.
  • Page 271: Extending The Cnc Lock Function

    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. Note We recommend that the machine manufacturer creates a complete commissioning archive over all control system components after commissioning the machine and activating the CNC lock function.
  • Page 272: Deactivating The Cnc Lock Function

    If no error occurs when importing the activation file, the CNC lock function with the new lock date is active in the control system. You can find the extended 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.
  • Page 273 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 268)".
  • Page 274: 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 275 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 276: Commissioning The Plc Axis

    13.11 Commissioning the PLC axis The PLC can control axes/spindles via data blocks of the PLC user interface. The PLC axis can be used for turret/magazine control or workpiece transfer on a turning or milling machine. There are three positioning modes for the PLC axis: ●...
  • Page 277 Commissioning examples The following takes the fourth axis for example. Firstly, the PLC axis must be requested from the PLC via the PLC user interface. Positioning via the PLC user interface DB3803.DBX8.7 = 1: request • PLC axis DB3803.DBX8.0 = 1: request •...
  • Page 278 DB3803.DBX8.7 = 1: request • PLC axis DB3803.DBX8.0 = 1: request • NC axis Indexing position active Select the fifth indexing position Result: The PLC axis traverses to the fifth position set in MD10910[4]. For more information about PLC axis function, see the SINUMERIK 808D ADVANCED Function Manual. Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 279: Configuring The Dsc Function For The Digital Spindle

    13.12 Configuring the DSC function for the digital spindle Function overview The Dynamic Stiffness Control (DSC) function eliminates the deadtime that necessarily exists at the speed-setpoint interface normally used between the NCK and drive due to relocation of the position controller into the drive. To use the DSC function for the digital spindle, you must additionally connect an external spindle encoder via interface X60 in addition to the motor encoder and configure two measuring systems.
  • Page 280: Cycle Protection

    Activating the DSC function With the second measuring system activated, you can set MD32640[0] = 1 to use the Dynamic Stiffness Control function. Precondition Before activating the DSC function via MD32640, you must check and make sure MD32110[0] = 1 and MD32110[1] = 1. In case of MD32110[0]/MD32110[1] = -1, you must first change its value to 1 and then set MD32100 and drive parameter p1821 according to your desired encoder feedback direction and motor direction of rotation.
  • Page 281: Encrypting Cycle File(S)

    Requirements ● The option "Lock MyCycles" must be activated with a license key. For more information about how to activate the optional functions, see Section "Activating the optional functions (Page 126)". ● The AMM tool must be installed on your computer. For more information about AMM installation, see Section "Installing the software tools (Page 39)".
  • Page 282 Alternatively, you can select this function via the main menu: Select the following encryption option from the dialog box: Click this button and the encryption process starts. After the encryption process completes successfully, the following message appears and an encrypted cycle file is generated in the same directory as the original file. The name of the new created file is "Original file name.CPF".
  • Page 283: Handling The Encrypted Cycles

    13.13.3 Handling the encrypted cycles The machine manufacturer must transfer the encrypted cycles (.CPF files) to the control and perform a power-on reset before executing the encrytped cycles. If no power-on reset is performed, the processing of a .CPF file causes the NC alarm 15176.
  • Page 284: Customizing Hmi Display With Easyxlanguage Scripts

    Customizing HMI display with EasyXLanguage scripts 14.1 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 ADVANCED. The control system offers an XML-based script language for generating user dialogs. This script language makes it possible to display machine-specific menus and dialog forms in the user- defined operating area on the HMI.
  • Page 285: Fundamentals Of Configuration

    14.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. Configuration files are not stored in the software supplied and must first be set up and loaded by the user.
  • Page 286 Dependencies of files for configuring user dialogs Loading configuration Make sure that you copy the generated configuration files to the following path from a USB stick directly or from a network drive via Ethernet connection: → → → → → Note When a script file "xmldial.xml"...
  • Page 287: Structure Of Configuration File

    Example of a user dialog on the HMI The configured softkey menus are displayed when the user-defined operating area is called. This enables the user to operate the dialog forms which have been configured. See also Predefined functions (Page 346) 14.4 Structure of configuration file Overview...
  • Page 288: Xml Identifier

    14.6 XML identifier 14.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 289 Tag identifier Meaning BREAK Conditional cancellation of a loop. CONTROL The tag is used to generate control elements. 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 290 Tag identifier Meaning DATA The tag enables the NC, PLC, GUD and drive data to be directly written to. The Addressing components (Page 336) 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 291 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 292 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 293 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 309)") –...
  • Page 294 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 295 Tag identifier Meaning INCLUDE The instruction includes an XML description. (see also DYNAMIC_INCLUDE in this table) Attribute: • Contains the path name. Syntax: <?INCLUDE src="<Path name>" ?> 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.
  • Page 296 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 297 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 298 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 299 Tag identifier Meaning The tag executes the specified operations. The operations listed in Section "Operators (Page 309)" 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 336) " de- scribes how addresses are formed.
  • Page 300 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 301 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 302 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 303 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 304 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 305 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 306 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 307 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 308: System Variables

    Tag identifier Meaning XML_PARSER Continued charactersHandler: System variables $xmlCharacters String with data $xmlCharactersStart Always 0 $xmlCharactersLength Number of bytes Example: <function_body name="charactersHandler" return="true" > <print text="chars %s"> $xmlCharacters </print> </function_body> documentHandler: Function parameters state 1 start document, 2 end document errorHandler: System variables $xmlErrorString...
  • Page 309: Color Coding

    System variable Description Tags where valid $mouse_event.type Contains the structures for handing over mouse event pa- MOUSE_EVENT rameters $mouse_event.x $mouse_event.y $mouse_event.id $mouse_event.buttons $mouse_event.button 14.6.4 Color coding The color attribute uses the color coding scheme for the HTML language. In terms of syntax, color specifications consist of the "#" (hash) character and six digits from the hexadecimal system, with each color represented by two digits.
  • Page 310: Generating Softkey Menus And Dialog Forms

    Operator Meaning Division Not equal to Operation instructions are processed from left to right. It may make sense to place terms in parentheses under certain circumstances in order to define the priority for executing subterms. 14.6.7 Generating softkey menus and dialog forms User menus can only be inserted if there is a main-menu tag with the name "main"...
  • Page 311 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 309)") name • Identifier of the form type • cycle -attribute specifies a cycle form xpos •...
  • Page 312 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 313 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 314 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 315 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 316 Tag identifier Meaning CLOSE Dialog box message This tag is executed before the dialog box is closed. CLOSE_FORM The tag closes the active dialog. This instruction is only necessary if the dialog is opened by the MMC command and the user is offered a softkey function to close the dialog.
  • Page 317 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 loadItem, addItem or insertItem.
  • Page 318 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 309)") display_format •...
  • Page 319 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 320 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 321 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 322 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 323 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 324 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 325 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 326 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 327 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 328 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 329 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 330 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 331 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 332 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 333: 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 334 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 335: 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 336: Addressing Components

    A slash should be used as a separating character. For detailed information about all system variables, see the SINUMERIK 840D sl/828D List Manual System variables under the following link: https://support.industry.siemens.com/cs/ww/en/ps/14593/man 14.8.1 PLC addressing Addressing the PLC starts with the path section plc.
  • Page 337: 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 828D List Manual NC variable and interface signals under the following link: https://support.industry.siemens.com/cs/ww/en/ps/14593/man Example: <LET name = "tempStatus"></LET>...
  • Page 338: Generating Nc/Plc Addresses During The Runtime

    Variable address Meaning Remarks nck/Nck/ChannelDiagnose/poweronTime[u1] Time elapsed since the last normal power- on (unit: min) nck/Channel/State/actProgNetTime[u1] Run time of a selected program (unit: s) nck/Channel/State/reqParts[u1] Required parts to be counted nck/Channel/State/actParts[u1] Parts actually counted Nck/Channel/Parameter/R[n] R parameters 14.8.3 Generating NC/PLC addresses during the runtime It is possible to generate an address identifier during runtime.
  • Page 339: 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> 14.8.5 Addressing machine and setting data Drive and setting data is identified by the character $ followed by the name of the data.
  • Page 340: Addressing The User Data

    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 341 User dialog and XML file examples Syntax Used identifiers and their meanings <menu name="Main"> MENU: defines the start menu containing the softkey description and the dialog to be opened. <OPEN_FORM name="Main" /> OPEN_FORM: opens the desired dialog form given under the desired name. <softkey position="1"...
  • Page 342 Syntax Used identifiers and their meanings <control name="InputField1" xpos="489" ⑤ CONTROL: defines the desired control elements. ypos="54" height="16" width="40" refvar="nck/Channel/State/actDNumber" hot- link="true" format="%2d" /> </init> INIT: defines the desired input elements and hotlinks for the dialog form </form> FORM: defines the description of the desired user dialog.
  • Page 343 Syntax Used identifiers and their meanings <state type="notpressed" /> <navigation>Main</navigation> </softkey_back> </menu> MENU: defines the start menu containing the softkey description and the dialog to be opened. <form name="Setting"> FORM: defines the description of the desired user dialog. <paint> ② PAINT: defines the desired texts and images which <text xpos="15"...
  • Page 344 User dialog and XML file examples Pressed ⇒ Syntax Used identifiers and their meanings <let name="var2" type="int"></let> LET: defines the desired local variable under the specified name. <menu name="Parameter"> MENU: defines the start menu containing the softkey description and the dialog to be opened. <OPEN_FORM name="Parameter"...
  • Page 345 Syntax Used identifiers and their meanings <softkey position="2" type="user_controlled"> <state type="pressed" /> <caption>Parameter%nSetting</caption> </softkey> <softkey_back type="user_controlled"> <state type="notpressed" /> <navigation>Main</navigation> </softkey_back> <softkey position="12"> <caption>Activate</caption> <msgbox text="This operation will restart ② MSGBOX: opens the desired message box whose the NCK, drive and HMI. Are you sure to con- return value can be used for branching.
  • Page 346: Predefined Functions

    14.9 Predefined functions The script language offers various string processing and standard mathematical functions. The function names listed below are reserved and cannot be overloaded. Function name Description ncfunc.cap.read The function copies a value from the specified address into a local variable.
  • Page 347 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 348 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 349 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 350 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 351 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 352 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 353 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 354 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 355 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 356 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 index , nCount </function>...
  • Page 357 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 358 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 359 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 360 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 361 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 362 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 363 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 364 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 365 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 366 Function name Description control.deleteitem The function deletes an element at the specified position. Note: The function is only available for the control type "listbox". Syntax: <function name="control.deleteitem"> control name, index </function> Attribute: name – function name Values: control name – control name index–...
  • Page 367 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 368 Function name Description control.getfocus The function supplies the name of the control, which has the input focus. Syntax: <function name="control.getfocus" re- turn="focus_name" /> Attributes: name – function name return – a string variable should be specified, into which the control name is copied.
  • Page 369 Function name Description control.setcurssel For a list box, the function sets the cursor to the appropriate line. The control name should be transferred as text expression of the function. Syntax: <function name="control.setcurssel" > control name, index</function> Example: <let name>="index">2</let> <function name="control.setcurssel" ">_T"listbox1",index</function>...
  • Page 370 Function name Description bitmap.dim The function copies the dimension of a bitmap back into a variable with structure type SIZE. To define the type, file struct_def.xml must be included in the project. Syntax: <function name="bitmap.dim" >name, variable type </function> Parameters: name - file path variable type - variable name of a variable of type SIZE Example:...
  • Page 371 Function name Description srad The function converts the specified value into RADian. Syntax: <function name="srad" return="var"> value </function> sqrt The function calculates the square root of the specified value. Syntax: <function name="sqrt" return="var"> value </function> round The function rounds of the transferred number to the specified num- ber of decimal places.
  • Page 372: Technical Data

    Function name Description The function compares the transferred value and returns the higher of the values. Syntax: <function name="max" return="var"> value1, value2 </function> random The function returns a pseudo random number. Syntax: <function name="random" return="var" </function> Technical data 15.1 SINUMERIK 808D ADVANCED Horizontal PPU Vertical PPU Horizontal MCP...
  • Page 373: Servo Drives

    Horizontal PPU Vertical PPU Horizontal MCP Vertical MCP (161.3/151.3) (160.3/150.3) Ambient operating conditions Temperature Front: 0 °C to 45 °C Rear: 0 °C to 50 °C Relative humidity 5% to 90%, without condensation Atmospheric pressure From 1080 hPa to 795 hPa Vibration resistance (in operation) 10 Hz to 58 Hz: 0.35 mm 58 Hz to 200 Hz: 1g...
  • Page 374 Frame size Overload capability 300% Control system Servo control Braking resistor Built-in Protective functions Earthing fault protection, output short-cut protection, overvoltage/undervoltage protection t detection, IGBT overtemperature protection Cooling method Self-cooled Fan-cooled Environmental Surround- Operation 0 °C to 45 °C: without power derating conditions ing air 45 °C to 55 °C: with power derating...
  • Page 375: Sinamics V70 Spindle Drives

    Frame size Certification Outline dimensions (W × H × D, mm) 80 × 180 × 200 100 × 180 × 220 140 × 260 × 240 Net weight 1.86 kg 1.87 kg 2.445 kg 2.505 kg 2.565 kg 5.62 kg 5.725 kg The values here are given at rated load.
  • Page 376 Frame size Overload capability Note: The overload capability is 150% by default. It can be set up to 200% via p0640, but the corresponding overload duration might be reduced under the circumstances. Control system Servo control Braking resistor External Protective functions Earthing fault protection, output short-cut protection, overvolt- age/undervoltage protection t detection, IGBT overtempera-...
  • Page 377: Permissible Line Supplies Dependent On The Installation Altitude

    Frame size Shock Operation Operational area: II Ambient classification: 3M2 Peak acceleration: 5 g + 15 g Duration: 30 ms + 11 ms Quantity of shocks: 3 Summed shocks: 18 Cycle time: 1 s Transport & Covered by vibration test storage Vibration Operation...
  • Page 378: Servo Motors

    15.3 Servo motors 15.3.1 SIMOTICS S-1FL6 feed motors General technical data Parameter Description Type of motor Permanent-magnet synchronous motor Cooling Self-cooled Operating temperature 0 °C to 40 °C (without power derating) Storage temperature -20 °C to +65 °C Relative humidity ≤...
  • Page 379 Specific technical data Article no. 1FL60... Rated power (kW) 0.40 0.75 0.75 1.00 1.50 1.75 2.00 Stall torque (Nm) Rated torque (Nm) 1.27 2.39 3.58 4.78 7.16 8.36 9.55 11.9 16.7 23.9 33.4 Maximum torque 10.7 14.3 21.5 25.1 28.7 35.7 50.0 70.0...
  • Page 380 Installation altitude above sea Power deratings (kW) level (m) < 30 °C 30 °C to 40 °C 45 °C 50 °C 55 °C 2000 1.00 0.94 0.90 0.86 0.82 2500 0.96 0.90 0.86 0.83 0.78 3000 0.92 0.86 0.82 0.79 0.75 3500 0.88...
  • Page 381 Note Continuous operating area is a series of states when a motor can operate continuously and safely. The effective torque • must be located in this area. Short-term operating area is a series of states when a motor can operate in a short duration if its effective torque is •...
  • Page 382: Simotics M-1Ph1 Main Motors

    15.3.2 SIMOTICS M-1PH1 main motors General technical data Parameter Description Type of motor Asynchronous motor Cooling method Fan-cooled Operating temperature -15 °C to 40 °C (without power derating) Storage temperature -20 °C to 65 °C Relative humidity (storage) ≤ 95% Relative humidity (operating) ≤...
  • Page 383 Article no. 1PH110... 1-1❑F 3-1❑F 5-1❑F 3-1❑D 5-1❑D Rated frequency 53.3 Hz 53 Hz 52.6 Hz 36.9 Hz 36.4 Hz Rated voltage (phase/phase) 326 V 290 V 327 V 269 V 265 V Motor maximum voltage 355 V Rated current 10.3 A 16.9 A 19.6 A...
  • Page 384 NOTICE Damage to the motors For surrounding air temperatures > 55 °C, please contact your local Siemens office. The standard motors are not suitable for use in corrosive atmospheres, atmospheres with a high salt content, or in outdoor applications; otherwise, the motors may be damaged.
  • Page 385 1PH1103-1❑F❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1500 16.9 5500 10000 8.25 52.5 33.8 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 386 1PH1105-1❑F❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1500 19.6 52.6 4300 10000 11.25 39.2 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 387 1PH1103-1❑D❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1000 12.9 36.9 4600 6000 5.55 52.5 25.8 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 388 1PH1105-1❑D❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1000 18.8 36.4 4600 6000 8.25 79.5 37.6 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 389 Torque-speed/power-speed characteristics - SH132 1PH1131-1❑F❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1500 28.8 51.5 5000 8000 16.5 57.6 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 390 1PH1133-1❑F❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1500 95.5 36.7 50.8 4000 8000 22.5 73.4 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 391 1PH1131-1❑D❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1000 71.6 26.6 35.2 5000 6000 11.25 53.2 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 392 1PH1133-1❑D❑: s6-25% s6-25% s6-25% [rpm] [kW] [Nm] [Hz] [rpm] [rpm] [kW] [Nm] 1000 28.3 3000 6000 16.5 56.6 Permissible radial and axial forces - SH100 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 393 Permissible radial and axial forces - SH132 Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 394: Cables

    15.4 Cables 15.4.1 Drive Bus cable for the SINUMERIK 808D ADVANCED Parameter Drive Bus cable Jacket material Degree of protection IP20 Number of cores Operation voltage 100 V Operation temperature, static -40 °C to 80 °C Shielding Minimum bending radius, static 75 mm Bending cycles 3000000...
  • Page 395: Address Of Ce-Authorized Manufacturer

    15.5 Address of CE-authorized manufacturer The CE Declaration of Conformity is held on file available to the competent authorities at the following address: SINUMERIK 808D ADVANCED controller and SINAMICS V70 drive Siemens AG Digital Factory Motion Control Frauenauracher Straße 80...
  • Page 396: Parameter List

    Parameter list 16.1 Basic machine data The table below lists the most frequently used machine data only. For more machine data, see SINUMERIK 808D ADVANCED HMI through the following operations: → → You can also call the help information for the machine data on the PPU by proceeding through the following steps: Select the system data operating area.
  • Page 397 Name Default Range Type Unit Activating Definition of tool parameters 20700 REFP_NC_STA BOOL RT_LOCK NC start disable without reference point 30100 CTRLOUT_SE 1 to 5 BYTE GMENT_NR[0] Setpoint assignment: bus segment number 30120 CTRLOUT_NR[ BYTE Setpoint assignment: Setpoint output on drive submodule/module 30130 CTRLOUT_TY 0 to 3...
  • Page 398 Name Default Range Type Unit Activating 32000 MAX_AX_VEL 10,000 DOUBLE mm/min, rpm (mm/min) 27.77 (rpm) Maximum axis velocity 32010 JOG_VELO_R 10,000 DOUBLE mm/min, rpm APID (mm/min) 27.77 (rpm) Rapid traverse in JOG mode Feed axis: 32020 JOG_VELO • DOUBLE mm/min, rpm 2,000 (mm/min) Spindle:...
  • Page 399 Name Default Range Type Unit Activating 34010 REFP_CAM_DI BOOL R_IS_MINUS Approach reference point in minus direction 34020 REFP_VELO_S 5,000.0 DOUBLE mm/min, rpm EARCH_CAM (mm/min) 13.88 (rpm) Reference point approach velocity 34040 REFP_VELO_S 300.0 (mm/min) DOUBLE mm/min, rpm EARCH_MARK 0.833 (rpm) ER[0] Creep velocity 34050...
  • Page 400 Name Default Range Type Unit Activating 34230 ENC_SERIAL_ DWORD NUMBER[0] Encoder serial number 35010 GEAR_STEP_ BOOL CHANGE_ENA Parameterize gear stage change 35100 * SPIND_VELO_ 10,000.0 DOUBLE LIMIT Maximum spindle speed 35110 GEAR_STEP_ [0]...[1]: 500 DOUBLE MAX_VELO[0] [2]: 1,000 ... [5] [3]: 2,000 [4]: 4,000 [5]: 8,000...
  • Page 401: Sinamics V70 Parameters

    Name Default Range Type Unit Activating Turning: 38000 MM_ENC_CO • DWORD MP_MAX_POI Milling: 200 • Number of intermediate for interpolar compensation (SRAM) * The machine data followed by an asterisk (*) have the access level of "Customer", while those without an asterisk have the access level of "Manufacturer".
  • Page 402: V70 Parameters On Bop

    Open the drive data list through the following softkey operations: → Select the desired parameter using the cursor keys. Press this key to call the help information for the selected parameter. Note: You can further press this softkey in the current help screen to show a complete list of all SINAMICS V70 parameters.
  • Page 403 Par. No. Name Factory setting Unit Data type Effective Can be changed Description: Displays the smoothed field-generating actual current. Smoothing time constant = 100 ms The signal is not suitable as a process quantity and may only be used as a display quantity. r0030 Current actual Arms...
  • Page 404 Par. No. Name Factory setting Unit Data type Effective Can be changed Description: Displays the temperatures in the servo drive. [0] = Inverter, maximum value • [1] = Depletion layer maximum value • [2] = Rectifier maximum value • [3] = Air intake •...
  • Page 405 Par. No. Name Factory setting Unit Data type Effective Can be changed r0079[0...1] Torque setpoint Float total Description: Displays the torque setpoint at the output of the speed controller (before clock cycle interpola- tion). [0]: Unsmoothed • [1]: Smoothed • r0632 Motor tempera- °C...
  • Page 406 Par. No. Name Factory setting Unit Data type Effective Can be changed Description: Sets the holding brake configuration. 0: No motor holding brake being used • 1: Motor holding brake according to sequence control • 2: Motor holding brake always open •...
  • Page 407 Par. No. Name Factory setting Unit Data type Effective Can be changed Description: Sets the delay time for pulse suppression. After OFF1 or OFF3 and zero speed detection, the system waits for this time to expire and the pulses are then suppressed.
  • Page 408 Par. No. Name Factory setting Unit Data type Effective Can be changed Description: Sets the numerator natural frequency for speed setpoint filter 1 (general filter). This parameter is only effective if the speed filter is set as a general filter. The filter is only effective if the natural frequency is less than half of the sampling frequency.
  • Page 409 Par. No. Name Factory setting Unit Data type Effective Can be changed Dependency: Current setpoint filter 1 is activated via p1656.0 and parameterized via p1657 ... p1661. p1658 Current setpoint 16000.0 1999.0 Float T, U filter 1 denomi- nator natural frequency Description: Sets the denominator natural frequency for current setpoint filter 1 (PT2, general filter).
  • Page 410: Drive Basic List On Hmi

    Par. No. Name Factory setting Unit Data type Effective Can be changed Description: Firmware version. [0]: Firmware version number • [1]: Build increment number • Note: Index [1] only applies to V70 firmware versions higher than 1.00. For example, when r29018[0] = 10100 and r29018[1] = 10, the firmware version is displayed as 1.01.00.10 on the HMI.
  • Page 411 Par. No. Name Factory Unit Data type Effective Can be setting changed Note: When automatically calculating the speed controller, only the motor moment of inertia is taken into account (p0341). For higher load moments of inertia (p0342 > 1 or p1498 > 0), you are advised to check the speed controller gain.
  • Page 412: Plc User Interface

    PLC user interface 17.1 Signals from/to the MCP Horizontal MCP with override switches The figure below takes the horizontal MCP variant with override switches as an example. The vertical MCP variants share the same PLC interface addresses for the corresponding keys. Note that labels K13, K15, K19, and K21 are not included in the pre-inserted labeling strips for keys of the MCP.
  • Page 413 Axis trav- Key 13 CYCLE CYCLE RESET SPINDLE SPINDLE SPINDLE ersing key START STOP RIGHT STOP LEFT (↑x) Key 21 Axis trav- Key 19 Axis trav- RAPID Axis trav- Key 15 ersing key ersing key ersing key (↓x) (→z) (←z) 7 SEG LED1 7 SEG LED2 To ensure the correct display of the active tool number, make sure that you set Bit 4 and Bit 5 to 1.
  • Page 414: Reading/Writing Nc Data

    Axis trav- Spindle CYCLE CYCLE RESET SPINDLE SPINDLE SPINDLE ersing key override START STOP RIGHT STOP LEFT (↑x) key (-) PROGRAM Axis trav- Spindle Axis trav- RAPID Axis trav- Spindle TEST ersing key override ersing key ersing key override (↓x) key (+) (→z) (←z)
  • Page 415: Pi Service

    3004 Reading: data from NCK variable x (data type of the variables: 1 to 4 bytes) 0: no error; 3: illegal access to object; 5: invalid address; 10: object does not exist 17.3 PI Service 17.3.1 PI service: Job DB1200 PI service [r/w] PLC →...
  • Page 416: User Alarms

    User data User data 17.5 User Alarms 17.5.1 User alarms: Activating DB1600 Activating alarm [r/w] PLC -> HMI interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Activation of alarm no. 700007 700006 700005...
  • Page 417: Active Alarm Response

    17.5.3 Active alarm response DB1600 Active alarm response [r] PLC -> HMI interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 2000 Acknowledge Acknowledge PLC STOP EMERGENCY Feedrate Read-in NC start POWER ON with STOP...
  • Page 418: Program Selection From Plc (Retentive Area)

    17.6.2 Program selection from PLC (retentive area) DB1700 Program selection [r/w] PLC -> HMI interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1000 Program selection from the PLC: Program number 1001 Command job from the PLC: Command 1002...
  • Page 419: Signals To Maintenance Planners

    1011 Hour: Tens digit, BCD Hour: Units digit, BCD 1012 Minute: Tens digit, BCD Minute: Units digit, BCD 1013 Second: Tens digit, BCD Second: Units digit, BCD 1014 Millisecond: Hundreds digit, BCD Millisecond: Tens digit, BCD 1015 Millisecond: Units digit, BCD Weekday, BCD {1, 2, ...
  • Page 420: Signals From Operator Panel (Retentive Area)

    17.6.8 Signals from operator panel (retentive area) DB1900 Signals from operator panel [r/w] HMI -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Switch over Simulation active chine/Work 17.6.9 General selection/status signals from HMI (retentive area) DB1900 Signals from HMI [r]...
  • Page 421: Auxiliary Functions Transfer From Nc Channel

    5012 ... 5015 5016 ... 5019 17.7 Auxiliary functions transfer from NC channel 17.7.1 Overview DB2500 Auxiliary functions from NCK channel [r] NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 M fct.
  • Page 422: Transferred T Functions

    1002 Dynamic M functions … 1012 Dynamic M functions 1013 1014 1015 As the PLC user, you must generate basic functions yourself from the dynamic M functions. The basic program decodes dynamic M functions (M0 to M99). 17.7.3 Transferred T functions DB2500 T functions from NCK channel [r] NCK ->...
  • Page 423: Transferred D Functions

    17.7.6 Transferred D functions DB2500 D functions from NCK channel [r] NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 5000 D function 1 (DINT) 5004 17.7.7 Transferred H functions DB2500 H functions from NCK channel [r] NCK ->...
  • Page 424: Signals At Fast Inputs And Outputs

    Air temper- NCK alarm ature alarm is active Change counter for motion, handwheel 1 Modification counter for motion, handwheel 2 Change counter , inch/metric measuring system 17.8.3 Signals at fast inputs and outputs DB2800 Signals at fast inputs and outputs [r/w] PLC ->...
  • Page 425: Channel Signals

    DB3000 Mode signals to NCK [r/w] PLC -> NCK interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reset Mode Mode change AUTO block Single block Machine function Type A Type B Machine function Continuous Var.
  • Page 426 Feedrate Rapid trav- Path veloci- Program Delete Delete Read-in Federate override erse over- ty limiting level abort number of distance - disable disable active ride active subroutine to-go cycles Suppress NC stop NC stop NC stop at NC start NC start start lock axes plus block limit...
  • Page 427: Signals From Nc Channel

    Handwheel direction of rotation inverted 1004 Axis 2 in Work Traversing keys Rapid trav- Traversing Feedrate Activate handwheel (bit/binary coded) ers override key disable stop Plus Minus 1005 Axis 2 in Work Machine function Continuous Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC...
  • Page 428 Contour handwheel active (bit/binary coded) Handwheel Handwheel Invert con- Protection tour hand- zone not wheel guaranteed direction Machine-related protection zone pre-activated Area 8 Area 7 Area 6 Area 5 Area 4 Area 3 Area 2 Area 1 Machine-related protection zone pre-activated Area 10 Area 9 Channel-specific protection zone pre-activated...
  • Page 429 1005 Axis 2 in Work Machine function Continuous Var. INC 10000 INC 1000 INC 100 INC 10 INC 1 INC traversing 1006 1007 Contour handwheel direction of rotation inverted 1008 Axis 3 in Work Traversing command Travel request Handwheel active (bit/binary coded) Plus Minus Plus...
  • Page 430 4008 Active transformation number 4009 Reserved 4010 Reserved 4011 Reserved Asynchronous subroutines (ASUPs): Job DB3400 ASUP: Result [r/w] PLC → NCK interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 INT1 Start INT2 Start...
  • Page 431: Axis/Spindle Signals

    17.10 Axis/spindle signals 17.10.1 Transferred M and S functions, axis specific DB3700 … 3705 M, S functions [r] NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 M function for spindle (DINT) S function for spindle (REAL) 17.10.2 Signals to axis/spindle...
  • Page 432 Signals to axis DB3800 ... Signals to axis [r/w] 3803 PLC -> NCK interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1000 Delay Ref. Module limit Software limit switch Hardware limit switch pt.
  • Page 433 3004 Position (REAL, with indexing axis: DINT) 3008 Feedrate velocity (REAL), if < 0, the value is taken from machine data POS_AX_VELO Signals to drive DB3800 ... Signals to axis/spindle [r/w] 3803 PLC -> NCK interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3...
  • Page 434: Signals From Axis/Spindle

    17.10.3 Signals from axis/spindle General signals from axis/spindle DB3900 ... Signals from axis/spindle [r] 3905 NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Position reached Referenced Encoder limit freq. ex- Spindle/no ceeded axis...
  • Page 435 Signals from spindle DB3900 ... Signals from spindle [r] 3903 NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 2000 Change Setpoint gear stage gear stage 2001 Actual Speed Spindle in Overlay...
  • Page 436: Plc Machine Data

    Signals from technology functions DB3900 ... Signals from axis/spindle [r] 3903 NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 5000 5001 5002 Accelera- Velocity Superim- Actual Synchronous operation tion warn- warning posed mo-...
  • Page 437: Float Values (Md 14514 User_Data_Float)

    17.11.3 FLOAT values (MD 14514 USER_DATA_FLOAT) DB4500 Signals from NCK [r32] NCK -> PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 2000 Float value (REAL/4 byte) 2004 Float value (REAL/4 byte) 2008 Float value (REAL/4 byte) 2012...
  • Page 438: Reading And Writing Plc Variables

    Synchronized action with ID...can be blocked from the PLC ID24 ID23 ID22 ID21 ID20 ID19 ID18 ID17 17.12.3 Reading and writing PLC variables DB4900 PLC variables [r/w] PLC interface Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0...
  • Page 439: Actual Data

    Interval 32 [h] Time of first warning 32 [h] Number of warnings to be output 32 Reserved 32 17.14.2 Actual data DB9904 Actual data table [r16] Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Interval 1 [h] Number of warnings to be output 1...
  • Page 440 Reversed Actual value: actual value T1 Actual value: actual value T2 Effectiveness, profile Disable Energy energy saving saving profile con- profile figured State conditions (HMI -> PLC) Screen Data trans- Operator change panel State conditions (HMI -> PLC) Machine control panel State conditions (HMI ->...
  • Page 441: A Appendix

    Appendix Operating the SINAMICS V70 Basic Operator Panel (BOP) A.1.1 BOP overview The SINAMICS V70 servo drive has been designed with a Basic Operator Panel (BOP) on the front of the drive: You can use the BOP for following operations: ●...
  • Page 442 Button functions Button Description Remarks Exits from current menu M button • Switches between operating modes in the top level menu • OK button Short-pressing: Confirms selection or input • Enters sub menu • Acknowledges faults • Long-pressing: Activates auxiliary functions Sets Drive Bus address •...
  • Page 443 Display Example Description Remarks F.xxxxx. Fault code of the first fault In the case of multiple faults Fxxxxx. Fault code In the case of multiple faults Axxxxx Alarm code In the case of a single alarm A.xxxxx. Alarm code of the first alarm In the case of multiple alarms Axxxxx.
  • Page 444 Display Example Description Remarks Jog function See Section "Jog (Page 449)". Save Save data in drive See Section "Saving parameter set in drive (RAM to ROM) (Page 450)". defu Restore drive to default settings See Section "Setting parameter set to default (Page 450)".
  • Page 445: Parameter Structure

    A.1.2 Parameter structure You can navigate through the parameter structure by pressing the keys as shown in the sequences below. Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 446: Actual Status Display

    A.1.3 Actual status display You can monitor the following drive states by using the operating panel after power-on: ● Servo off ● Actual speed ● Torque ● Voltage If the servo enable signal is available, actual drive speed is displayed by default; otherwise, "S OFF" (servo off) is displayed. With p29002, you define which of the following drive operating status data is to be displayed on the BOP.
  • Page 447: Editing Parameters

    A.1.4.1 Editing parameters You can edit a parameter value in two methods: ● Method 1: change the value directly with the UP or DOWN button ● Method 2: move the cursor to a digit with the SHIFT button, then change the digit value with the UP or DOWN button If you change a parameter value with method 1, proceed as follows: To change a parameter value digit by digit, proceed as follows: Commissioning Manual...
  • Page 448: Viewing Parameters

    Note You cannot change parameters p1414 and p1656 with the SHIFT button. A.1.4.2 Viewing parameters If a parameter has no index, view its value as follows: If a parameter has indices, view its value as follows: A.1.5 Auxiliary functions Seven BOP functions in total are available: ①...
  • Page 449: Setting Drive Bus Address

    A.1.5.1 Setting Drive Bus address When connecting the SINAMICS V70 to the SINUMERIK 808D ADVANCED, you must set the Drive Bus address with the BOP. Six addresses in total are available. You must set a proper address according to the actual application of the drive. ●...
  • Page 450: Saving Parameter Set In Drive (Ram To Rom)

    A.1.5.3 Saving parameter set in drive (RAM to ROM) This function is used for saving a parameter set from drive RAM to drive ROM. To use this function, proceed as follows: Note Plugging or unplugging the SD card will cause saving failure. Do not plug or unplug the SD card during saving;...
  • Page 451: Transferring Data (Drive To Sd Card)

    A.1.5.5 Transferring data (drive to SD card) You can transfer the parameter set from the drive to an SD card with the BOP. To do this, proceed as follows: Note Data transfer between the drive and the SD card is possible only when the drive is in "S OFF" state. Note Plugging or unplugging the SD card will cause transferring failure.
  • Page 452: Updating Firmware

    For more information, see Section "Transferring data (drive to SD card) (Page 451)". Note Before performing the firmware update, Siemens recommends you to disable the communication between the drive and the control system by removing the Drive Bus cable from the drive; otherwise, after the firmware update you may need to power off/on the control system to clear possible alarms.
  • Page 453: Replacing The Fan For The V70 Drive

    Replacing the fan for the V70 drive Proceed as illustrated below to remove the fan from the drive. To re-assemble the fan, proceed in reverse order. When re- assembling the fan, make sure that the arrow symbol ("A" in the illustration) on the fan points to the drive rather than the fan housing.
  • Page 454 Replacing the fan for V70 FSC Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 455 Replacing the fan for V70 FSD Commissioning Manual 6FC5397-4EP10-0BA8, 07/2018...
  • Page 456: Replacing The Fan For The 1Ph1 Motor

    Replacing the fan for the 1PH1 motor Proceed through the steps as illustrated below to remove the fan from the motor. To reassemble the fan, proceed in reverse order. Assembling the power cable for the 1PH1 motor For more information about selecting a proper power cable for the 1PH1 motor, see Section "Cables and connectors (Page 29)".
  • Page 457 Assembling procedure Motor side 1. Strip the specified length (see below) of the outer sheath at the end of the cable. 4 x 2.5 mm power cable: 125 mm all other power cables: 135 mm 2. Cut off the exposed braided shield in its entirety. 3.
  • Page 458 Drive side 1. Strip the specified length (see below) of the outer sheath at the end of the cable. 4 x 2.5 mm /4 x 4 mm power cable: 100 mm 4 x 10 mm /4 x 16 mm power cable: 110 mm 2.
  • Page 459: Assembling The Line Supply Terminal For The Drive

    Assembling the line supply terminal for the drive Drive variant Assembling procedure Illustration SINAMICS V70 1. Strip the specified length (see illustra- tion) of the insulation at the end of the wire. 2. Insert the stripped end into the pin- type terminal.
  • Page 460: Customizing Pre-Defined Labeling Strips For Keys Of The Mcp

    To cut a reserved hole, proceed as follows: Customizing pre-defined labeling strips for keys of the MCP Note The horizontal MCP with a reserved slot for the handwheel is designed for turning machines only. The customization of the pre-defined labeling strips for keys is not supported by this MCP variant. Replacing the MCP strips The MCP strips of the turning version are already pre-assembled into the MCP.
  • Page 461 (...\examples\SINUMERIK_808D\MCP). Siemens also provides you with a template file for printing customized strips. Key positions in the template accord with real key layout on the MCP. You can copy symbols from the symbol library and paste them to the key positions where you want to use customized symbols.
  • Page 462: Diagnostics

    Diagnostics A.8.1 SINUMERIK 808D ADVANCED alarms Some alarms may occur during the commissioning work. For more information about the alarms, see the SINUMERIK 808D ADVANCED Diagnostics Manual. Calling help information for an alarm You can call the help information for an active alarm on the PPU by proceeding through the following steps: Select the alarm operating area.
  • Page 463: List Of Faults And Alarms

    Fault reactions The following fault reactions are defined: Reaction Description NONE No reaction when a fault occurs. OFF1 Servo motor ramps down to stop. OFF2 Servo motor coasts down to stop. OFF3 Servo motor stops quickly (emergency stop). ENCODER Encoder fault causes OFF2. Fault acknowledgements The acknowledgement methods for faults are specified as follows: Acknowledgement...
  • Page 464 Fault list Fault Cause Remedy Evaluate fault buffer. F1000: Internal software An internal software error has occurred. • error Carry out a POWER ON (power off/on) for • all components. Reaction: OFF2 Upgrade firmware to later version. • Acknowledgement: POWER Contact the Hotline.
  • Page 465 Fault Cause Remedy The reception of setpoints from the Drive F1910: Drive Bus: Setpoint Restore the bus connection and set the con- timeout Bus interface has been interrupted. troller to RUN. Bus connection interrupted. Reaction: OFF3 • Controller switched off. •...
  • Page 466 Fault Cause Remedy The condition "I_act = 0 and Uq_set_1 Connect the motor or check the motor F7410: Current controller • contactor. output limited longer than 16 ms at its limit" is present and can be caused by the following: Check the DC link voltage.
  • Page 467 Fault Cause Remedy One of the filter natural frequencies is Reduce the numerator or denominator F7420: Drive: Current set- • natural frequency of the current setpoint fil- point filter natural frequency greater than the Shannon frequency ter involved at the control system side. >...
  • Page 468 Fault Cause Remedy Restart the drive. F7860: External fault 1 The signal "external fault 1" was triggered. • Restore the drive to its factory default set- • Reaction: OFF2 tings. Acknowledgement: IMMEDIATELY (POWER Check whether the servo motor can rotate F7900: Motor blocked/speed The servo motor has been operating at the •...
  • Page 469 Fault Cause Remedy The temperature of the power unit heat Check whether the fan is running. F30004: Drive heat sink • overtemperature sink has exceeded the permissible limit Check the fan elements. • value. Reaction: OFF2 Check whether the surrounding air temper- •...
  • Page 470 Fault Cause Remedy The power unit DC link was not able to F30027: Precharging DC link • Check the line supply voltage at the input ter- be pre-charged within the expected time monitoring minals. time. Reaction: OFF2 There is no line supply voltage con- Acknowledgement: nected.
  • Page 471 Fault Cause Remedy Communications between the Control Unit F30074: Communication Reinsert the Control Unit (CU) or the Control error between the Control (CU) and Power Unit (PU) via the interface Unit adapter (CUAxx) onto the original Power Unit and Power Module no longer possible.
  • Page 472 Fault Cause Remedy Check the encoder cable and shielding F31112: Encoder 1: Error bit The encoder sends a set error bit via the • connection. set in the serial protocol serial protocol. Replace the encoder/motor. • Reaction: ENCODER Acknowledgement: PULSE INHIBIT Check that the encoder cables are routed F31130: Zero mark and...
  • Page 473 Fault Cause Remedy F52987: Absolute encoder Incorrect data of the absolute encoder. Contact the Hotline. replaced Reaction: OFF1 Acknowledgement: IMMEDIATELY Alarm list Check the air intake for the Control Unit. A1009: Control module over- The temperature of the control module •...
  • Page 474 A6310: DC link voltage ex- For AC/AC drive units, the measured DC Check the line supply voltage. ceeding the tolerance range voltage lies outside the tolerance range after pre-charging has been completed. The following applies for the tolerance range: 1.16 * 400 V < actual DC link volt- age <...
  • Page 475: Amm Communication Tool

    Check the encoder/cable. A31117: Inversion error For a square-wave encoder (bipolar, dou- • signals A/B/R ble ended) signals A*, B* and R* are not Does the encoder supply signals and the • inverted with respect to signals A, B and associated inverted signals? Reaction: ENCODER Acknowledgement: PULSE...
  • Page 476: File Management And Transfer

    A.9.1 File management and transfer After an active Ethernet connection is established, you can have a remote access to the control system's NC file system from your computer. In this case, you can easily manage the NC files with the AMM tool and transfer files between the control system and your computer.
  • Page 477: Remote Control

    Copy the program file with the toolbar button , keyboard shortcuts (Ctrl + C), or from the shortcut menu. Select the program directory in the NC file system. Paste the copied file into the current directory with the toolbar button , keyboard shortcuts (Ctrl + V), or from the shortcut menu.
  • Page 478 Set the behavior of the control system when it receives a remote access request. ① Specify the duration of the following dialog box displaying on the HMI: The following operations on the HMI are possible when this dialog box appears: Press this softkey to reject the request.
  • Page 479: Operating The Hmi Via Remote Control

    Closing the monitoring window or selecting from the main window menu as follows stops the re- mote control. A.9.2.2 Operating the HMI via remote control If the remote control has been started, you can use your mouse to operate the HMI by clicking on the softkeys displayed in the monitoring window.
  • Page 480: Saving The Remote Control Screen As A Picture

    Click this button to save the picture. 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.

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents