Installation and Operating Notes - Siemens · o Step 7 Version >= V5.5 SP4 (or later) o Current...

36
s SINUMERIK 840D sl 2016-02-15 CNC Software 4.5 SP6 © Siemens AG 2016 DF MC R&D 51 Page 1 of 36 All rights reserved Installation and Operating Notes The CNC Software 4.5 SP6 (internal version 04.05.06.00.010) comprises the following components: Component Version NCK V87.13.01 SNCK V02.06.02.00.002 SINAMICS V04.50.30.46 PLC Op.sys. V32.81.41 FB15(sl) V04.05.23 CP V02.34.00 MCP_CLIENT V01.06.04 SINUMERIK Operate V04.05.06.00.010 Linux basic system V04.50.76.00 NCK File System Driver V04.04.01.01.001 Profinet FW V14.01.06.04 Cycles V04.05.82.01 SinIntClient V02.00.04.00.010 Requirements: o The CNC SW 4.5 SP6 can only be operated on SINUMERIK NCU 7x0.3 (B) PN with PLC 317. o A specific 8GB CF card is required for the CNC software: - For the export version 6FC5851-1YG41-_YA8 - For the standard version 6FC5851-1XG41-_YA8. o No standard versions may be operated on CF cards which are licensed for the export version because, in this case, NC-Start is disabled. o Step 7 Version >= V5.5 SP4 (or later) o Current toolbox V04.05.26.00 o NCU Service System V04.70.47.00 o If required, startup tool or HMI-Advanced V7.6 SP2 HF7 (or later) for drive commissioning, Actual startup tool V7.7 HF2 o If required, Starter V4.4.1.1 including accompanying SINUMERIK-SSP or PC / PG o NCU 7x0.3 modules with boot code of PLC version V2.3 (see also the point "Boot code..") o When using SINUMERIK Operate for PCU 50 or PC / PG, version V4.5 SP6 must be used o When using SINUMERIK Integrate for Production (SIP), please read the notes provided in the Annex " SINUMERIK_Integrate_liesmich_Operate_4.5.6.pdf". Function improvements in NCK SW 4.5 SP6 compared to SW 4.5 SP5 HF5: PR-No. 298293 329598 333051 345762 349183 349460 351179 355443 365731 366484 367681 372680 376765 378782 379096 379143 379474 380731 381959 382053 383143 383202 385000 388926 390300 390330 390364 390847 390857 391807 392293 392304 392400 394797 395547 395852 397923 398392 399256 400273 400639 401503 404601 406197 408564 410433 411028 411246 411433 412625 413392 415254 415785 426240 426264 433677 435550 444703 Function improvements in Operate SW 4.5 SP6 compared to SW 4.5 SP5 HF5:

Transcript of Installation and Operating Notes - Siemens · o Step 7 Version >= V5.5 SP4 (or later) o Current...

s SINUMERIK 840D sl 2016-02-15

CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 1 of 36 All rights reserved

Installation and Operating Notes The CNC Software 4.5 SP6 (internal version 04.05.06.00.010) comprises the following components: Component Version NCK V87.13.01 SNCK V02.06.02.00.002 SINAMICS V04.50.30.46 PLC Op.sys. V32.81.41 FB15(sl) V04.05.23 CP V02.34.00 MCP_CLIENT V01.06.04 SINUMERIK Operate V04.05.06.00.010 Linux basic system V04.50.76.00 NCK File System Driver V04.04.01.01.001 Profinet FW V14.01.06.04 Cycles V04.05.82.01 SinIntClient V02.00.04.00.010

Requirements:

o The CNC SW 4.5 SP6 can only be operated on SINUMERIK NCU 7x0.3 (B) PN with PLC 317. o A specific 8GB CF card is required for the CNC software:

- For the export version 6FC5851-1YG41-_YA8 - For the standard version 6FC5851-1XG41-_YA8.

o No standard versions may be operated on CF cards which are licensed for the export version because, in this case, NC-Start is disabled.

o Step 7 Version >= V5.5 SP4 (or later) o Current toolbox V04.05.26.00 o NCU Service System V04.70.47.00 o If required, startup tool or HMI-Advanced V7.6 SP2 HF7 (or later) for drive commissioning,

Actual startup tool V7.7 HF2 o If required, Starter V4.4.1.1 including accompanying SINUMERIK-SSP or PC / PG o NCU 7x0.3 modules with boot code of PLC version V2.3 (see also the point "Boot code..") o When using SINUMERIK Operate for PCU 50 or PC / PG, version V4.5 SP6 must be used o When using SINUMERIK Integrate for Production (SIP), please read the notes provided in the Annex "

SINUMERIK_Integrate_liesmich_Operate_4.5.6.pdf". Function improvements in NCK SW 4.5 SP6 compared to SW 4.5 SP5 HF5:

PR-No. 298293 329598 333051 345762 349183 349460 351179 355443 365731 366484 367681 372680 376765 378782 379096 379143 379474 380731 381959 382053 383143 383202 385000 388926 390300 390330 390364 390847 390857 391807 392293 392304 392400 394797 395547 395852 397923 398392 399256 400273 400639 401503 404601 406197 408564 410433 411028 411246 411433 412625 413392 415254 415785 426240 426264 433677 435550 444703

Function improvements in Operate SW 4.5 SP6 compared to SW 4.5 SP5 HF5:

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 2 of 36 All rights reserved

PR-No. 299094 299370 322470 339010 360558 360583 361656 363278 372803 375180 381296 381305 383795 388564 389701 395906 396445 397037 397145 397810 397966 400529 401097 401671 401728 402313 405389 405809 405819 406038 406215 406238 406457 408580 410119 411594 414983 415201 416135 420484 420585 424217 424507 424540 425000 425249 425359 426333 426349 426393 426707 426793 428798 431381 433103 434937 435295 437757 437980 439613 440061 441023 441160 441236 442396 452263 435897

Function improvements in Siemens cycles SW 4.5 SP6 compared to SW 4.5 SP5 HF5:

PR-No. 311986 333374 359436 364202 364204 377647 389579 390783 392759 394495 399903 400382 405380 408989 410650 412362 414764 427603 431377 435052 435054 435238 436807 442926

Function improvements in Operate SW 4.5 SP5 HF5 compared to SW 4.5 SP5 HF4: PR/RQ number: 433001 436908 438918 439491 439837 439840 Note regarding PR 433001: The following settings are required in /oem/.../Systemconfiguration.ini:

[miscellaneous] DoNotHandleSvcAdapter="ReadAD"

For multiple EXEs: DoNotHandleSvcAdapter="ReadAD, SetAccessLevel" The EXEs which use the SVC adapter must be entered here, so execute GetObj()/releaseObj.

Function improvements in Operate SW 4.5 SP5 HF4 compared to SW 4.5 SP5 HF3: PR number: 426393 Function improvements in Operate SW 4.5 SP5 HF3 compared to SW 4.5 SP5 HF2: PR number: 424217 426349 Function improvements in NCK SW 4.5 SP5 HF2 compared to SW 4.5 SP5 HF1: PR number: 390857 Function improvements in Operate SW 4.5 SP5 HF2 compared to SW 4.5 SP5 HF1: PR number: 404475 405534 408062 410914 417387 417723 RQ 416542 Function improvements in Siemens cycles SW 4.5 SP5 HF2 compared to SW 4.5 SP5 HF1: PR number 399281 401723 416760 Function improvements in NCK SW 4.5 SP5 HF1 compared to SW 4.5 SP5: PR number: 345762 366094 379474 381765 388926 391807 399256 Function improvements in Operate SW 4.5 SP5 HF1 compared to SW 4.5 SP5: PR number: 322713 337082 353659 368374 390815

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 3 of 36 All rights reserved

396445 399991 400490 408701 Function improvements in other software components of SW 4.5 SP5 HF1: PR number 372658 396242 Function improvements in NCK SW 4.5 SP5 compared to SW 4.5 SP4 HF4: PR number 223981 224485 224590 224657 224719 225192 225480 225662 225714 225760 225838 225974 226113 226134 226175 226226 226244 226335 287864 291540 298293 298481 299302 299426 307012 308809 309028 310138 312376 312421 312708 312889 313388 316745 317281 322349 323565 324949 325544 325836 326440 326723 326806 327152 327559 328656 330029 330082 330513 331411 331785 332500 332801 334673 334927 334949 335280 356081 336721 336843 336983 337226 338438 338573 338919 339418 340140 340368 340814 340996 344290 344404 345169 345360 346665 346668 347010 347727 348713 349873 350383 351642 352427 353091 353472 353606 354616 354631 355123 356113 356904 357822 358656 359007 359927 360178 360534 360543 360550 365308 365752 365574 366166 366484 366717 367592 368094 369616 369953 370430 371206 372680 372954 374197 375457 378124 378767 378869 380731 381765 381791 381959 382053 385000 388836 390364 390847 Function improvements in Operate SW 4.5 SP5 compared to SW 4.5 SP4 HF3 resp. HF4: PR number 224752 225192 225985 226090 226309 298153 298291 299066 300402 304816 306459 307083 307351 309324 310138 311804 314240 318491 320750 324767 328091 328360 328753 330457 330831 332800 332998 333034 333544 333583 334072 334331 335187 336851 337082 337474 338537 339408 339444 339453 340344 340651 344908 345367 345426 345621 345709 347249 347629 347918 349107 349308 350129 350201 350617 350906 352355 352597 352628 352667 352675 352904 353004 353163 353531 353604 353691 353721 354616 355426 356095 356266 356357 357362 357902 358092 358210 358904 359055 359206 359281 359288 359290 360403 360998 361217 361546 362217 363677 363724 364038 364238 364963 365162 366126 366705 366930 368327 368806 368916 368958 369099 369484 370361 370560 371351 371357 372477 372809 372813 372835 373487 373557 373742 374229 375424 375787 375794 376538 376966 377095 377115 377593 377808 378142 378372 378446 378694 379569 379874 379893

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 4 of 36 All rights reserved

380434 380460 380670 381831 381964 382114 382397 383158 383578 384438 385251 386383 386625 386642 387371 387465 387473 388054 388181 388186 392850 Function improvements in Siemens Cycles SW 4.5 SP5 compared to SW 4.5 SP4 HF4: PR number 223945 307345 310522 327348 331960 332639 337452 337568 339325 344272 345182 345810 346143 348898 349844 350381 350523 351352 351529 352177 353899 358163 360164 362907 371797 376496 377615 379881 381187 381218 381340 386148 Function improvements in SINAMICS SW 4.5 SP5 compared to SW 4.5 SP4 HF4: PR number 224503 226220 352579 372680 Function improvements in NCK SW 4.5 SP4 HF4 compared to SW 4.5 SP4 HF3: PR number 358656 334949 335280 338919 351642 353472 330513 332500 356081 359927 358656 Function improvements in SINAMICS SW 4.5 SP4 HF4 compared to SW 4.5 SP4 HF3: RQ number 317865 356093 356307 364032 364033 364035 Function improvements in PLC and ToolBox SW 4.5 SP4 HF4 compared to SW 4.5 SP4 HF3: RQ 363425 Function improvements in Linux SW 4.5 SP4 HF4 compared to SW 4.5 SP4 HF3: Security Patch ntp Function improvements in Operate SW 4.5 SP4 HF3 compared to SW 4.5 SP4 HF2: PR number 350607 351311 348557 344290 338438 350383 352427 Function improvements in Operate SW 4.5 SP4 HF2 compared to SW 4.5 SP4 HF1: PR number 288130 298506 348292 350203 Note: In order to solve the problem 288130 resp. 298506, make the following entry in the file /card/user/sinumerik/hmi/cfg/slguiconfig.ini or /card/oem/sinumerik/hmi/cfg/slguiconfig.ini: [Keyboard] IgnoreSoftkeyRepeatings = false Function improvements in NCK SW 4.5 SP4 HF1 compared to SW 4.5 SP4: PR number 299302 309028 336843 340368 345169 Function improvements in Operate SW 4.5 SP4 HF1 compared to SW 4.5 SP4: PR number 225752 312510 317793 334382 335925 334673 341129 344489 Function improvements in NCK SW 4.5 SP4 compared to SW 4.5 SP3 HF5:

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 5 of 36 All rights reserved

PR number 330887 330029 329767 328593 324343 322563 320700 317006 314546 313388 312238 311820 311672 311442 310423 308990 308978 308488 307762 307012 306692 306691 306588 306400 306129 305082 300595 226336 226124 224989 Function improvements in Operate SW 4.5 SP4 compared to SW 4.5 SP3 HF2: PR number 225037 225435 226003 226012 226103 226161 226185 226266 226269 226302 226332 226360 226373 226375 226396 298159 298576 305097 306625 308384 308405 308568 308617 308950 309189 309309 310320 310366 310428 310433 310753 310992 310996 311533 311772 311806 312013 312119 312128 312281 312383 312731 312866 313240 314713 314895 315964 315977 315983 316835 316841 317161 317351 317511 318224 318227 318269 321235 321320 321817 322470 322622 322728 322894 322966 323045 323051 323629 323734 323755 324073 325048 325106 325267 325521 325726 325768 325837 325844 326040 326471 326549 326956 327032 327676 327927 328179 328587 328688 329486 329793 329810 330322 330334 331116 331375 331613 331990 332018 332331 332598 333785 333828 334403 334613 334816 334930 334970 334983 336582 300998 328717 Function improvements in Siemens cycles SW 4.5 SP4 compared to SW 4.5 SP3 HF2: PR number 226093 224833 225600 226049 226384 224782 226139 225719 225746 298505 300731 306029 308086 308809 315101 315473 316708 317312 322362 325776 326970 Function improvements in Operate SW 4.5 SP3 HF2 compared to SW 4.5 SP3 HF1: PR number 298305 298309 298791 309190 306250 Function improvements in Siemens Cycles SW 4.5 SP3 HF2 compared to SW 4.5 SP3 HF1: PR number 300696 298310 299421 300814 Changes / extensions in measuring cycles: Modified behavior when correcting in ZO if no fine offset is provided:

o Compatibility: Only the measuring difference in entered in the coarse offset of the ZO (MD 51740 $MNS_MEA_FUNCTION_MASK Bit 5 = 0)

o New behavior: The absolute offset corrected by the measuring difference in entered in the coarse offset of the ZO. This is activated with MD 51740 $MNS_MEA_FUNCTION_MASK Bit 5 = 1

Function improvements in NCK SW 4.5 SP3 HF1 compared to SW 4.5 SP3: PR number: 226209 226118 Function improvements in Operate SW 4.5 SP3 HF1 compared to SW 4.5 SP3:

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 6 of 36 All rights reserved

PR number: AP01600629 AP01600418 298306 298304 298290 298173 Function improvements in NCK SW 4.5 SP3 compared to SW 4.5 SP2 HF4: PR number: AP00312403 AP00678963 AP00699511 AP01033184 AP01172212 AP01214404 AP01239231 AP01360159 AP01367508 AP01368822 AP01447959 AP01463460 AP01467438 AP01470141 AP01488705 AP01497435 AP01498892 AP01501439 AP01510705 AP01514634 AP01516147 AP01521417 AP01522574 AP01526416 AP01529449 AP01538660 AP01539346 AP01540316 AP01540385 AP01545789 AP01546220 AP01546831 AP01552185 AP01552845 AP01554988 AP01555003 AP01555083 AP01557022 AP01557406 AP01563666 AP01565924 AP01567093 AP01567176 AP01568236 AP01568999 AP01569552 AP01576081 AP01576757 AP01577399 AP01578485 AP01582663 AP01583055 AP01583900 AP01584639 AP01584639 AP01584819 AP01585237 AP01586285 AP01586313 AP01588048 AP01588653 AP01589618 AP01593312 AP01599137 Function improvements in Operate SW 4.5 SP3 compared to SW 4.5 SP2 HF4: PR number: AP01346367 AP01391082 AP01420102 AP01480648 AP01481109 AP01490353 AP01497696 AP01499269 AP01504646 AP01505147 AP01508971 AP01514499 AP01515592 AP01522116 AP01522651 AP01522858 AP01523166 AP01524335 AP01526932 AP01527942 AP01530542 AP01531894 AP01532925 AP01537486 AP01540703 AP01541443 AP01541724 AP01542532 AP01545702 AP01545746 AP01545955 AP01546093 AP01548921 AP01549206 AP01550296 AP01554790 AP01555581 AP01556010 AP01556150 AP01556379 AP01556747 AP01557835 AP01558129 AP01560162 AP01561224 AP01563018 AP01563236 AP01564804 AP01568067 AP01569241 AP01570136 AP01570396 AP01571221 AP01573010 AP01573603 AP01573677 AP01574302 AP01574754 AP01574882 AP01575754 AP01575855 AP01576692 AP01577258 AP01577739 AP01577880 AP01579353 AP01579878 AP01580389 AP01580604 AP01580796 AP01580879 AP01581342 AP01581929 AP01582228 AP01582393 AP01582526 AP01582751 AP01583052 AP01584985 AP01585041 AP01585860 AP01587126 AP01588294 AP01589476 AP01589524 AP01589615 AP01589966 AP01590460 AP01590715 AP01592058 AP01594397 AP01594591 AP01595100 AP01595394 AP01596303 AP01597712 AP01598853 Function improvements in the Siemens cycles SW 4.5 SP3 compared to SW 4.5 SP2 HF4: PR number: AP00402835 AP01344092 AP01366704 AP01394073 AP01427048 AP01450725 AP01463857 AP01472628 AP01477765 AP01478046 AP01482155 AP01485980 AP01495714 AP01498085 AP01505092 AP01513443 AP01518882 AP01520444 AP01525588 AP01527453 AP01531909 AP01534083 AP01537220 AP01537486 AP01541158 AP01543228 AP01544319 AP01544563 AP01544673 AP01544974 AP01545575 AP01546787 AP01546905 AP01548013 AP01554784 AP01556150 AP01556402 AP01572556 AP01576544 AP01578310 AP01579467 AP01580723 AP01585860 AP01588410 **********************************************************************************************************************

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 7 of 36 All rights reserved

Installing the CNC software: The NCU service system V04.70.47 (or later) is required on USB stick to install the CNC software. New installations can be performed via the NCU service system and TCU or with WinSCP / RCS Commander. An upgrade or new installation can also be performed using the Create MyConfig Version 4.6 HF1. For this, create a CMC package which is either stored on a PG, PC, a PCU or a USB stick on the NCU or PCU and started. Instructions for this are included in the manual Create MyConfig. The software may only be installed on a Smart Modular XceedCF 8GB card – see prerequisites. Boot code of the PLC: Software release 4.5 SPx only starts with PLC boot code V2.3 (or later) internally coded on the NCU hardware. All NCUs 7x0.3 that were supplied from the middle of 2012, have this new PLC boot code V2.3:

MLFB 6FC537x-0AA30-0AA0 from release G MLFB 6FC537x-0AA30-0AA1

To do this, nothing else has to be taken into account. The version can also be determined with Step7 online under target system/diagnostics/module state. For all NCUs 7x0.3 that were supplied before the middle of 2012: MLFB 6FC537x-0AA30-0AA0 up to release F, the PLC boot code must be upgraded once. To do this, proceed as follows: If this PLC boot code has still not been installed, then the control will not start (in the 7-segment display there is "PLC“ and SF and DP LEDs flash red). In this state, the boot code upgrade can be initiated via the PLC rotary switch. The boot code is flashed when turning the PLC rotary switch to switch position 5. This can be identified by the fact that a rotating wheel is displayed in the 7-segment display. This lasts approx. 15 seconds. With this procedure, under no circumstances is it permissible that the NCU is switched off! The 7-segment display goes dark after the boot code upgrade has been completed. The PLC rotary switch can now be rotated back to position 3 (memory reset) and system booting (powering up) is continued. Installing the NCU service system on USB stick: The NCU service system is stored as USB stick image in the directory emergency_bootsys_ncu of the DVD delivered. The copy program installdisk.exe is also included. Connect a USB stick >= 2 GB to your PG resp. PC (with Windows XP) and determine the relevant drive letter. Call up installdisk to copy the NCU service system onto the USB stick: installdisk --verbose --blocksize 1m <image file> <drive letter:> We recommend that you execute this command in a DOS shell. For this, you require administrator rights on your PG/PC. Upon completion of installdisk, remove the USB stick from the PG / PC, boot once an NCU 7x0 from this stick (this boot process takes a little bit longer; a "P" in the 7-segment display of the NCU indicates that the FAT partition of the USB stick is partitioned) and reinsert the stick in the PG / PC. Windows now displays an empty USB stick. Copy the requested CNC software (file with the extension .tgz) from the DVD delivered, the directory ncu_sw. The USB stick can be inserted in one of the two USB plugs of the NCU 7x0.3. After being switched on, the NCU is booted from this USB stick. The system is operated either via a TCU which is connected to the NCU or via PG / PC using WinSCP under "Open Terminal". The use of the NCU service system is described in the documentation /IM7/ on the DVD delivered. We recommend that you use the USB stick "SIMATIC IPC USB Flashdrive, 6ES7648-0DC50-0AA0". Alternatively, the image can be installed with AMM /P2P V4.6 via the menu item "Write file system image". Notes and restrictions:

o The "Retraction" function cannot be practically used for lathes. If required, the associated softkey on the ETC bar of the basic JOG screen can be hidden.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 8 of 36 All rights reserved

o The contour handwheel and velocity override with handwheel have only been released for Profibus MCP.

o The reset button on the NCU allows to restart the NCU module. A restart of the entire system cannot be ensured in all configurations. This also applies to the PI service of PLC with FB4.

o Spindle traversing with limited torque (Focon) or spindle traversing to fixed stop: The performance indication on the SINUMERIK Operate is calculated as 100% of the limited torque and displayed.

o As before, the DBSI1 is not released in combination with SINUMERIK 840D sl and integrated drive control.

o The Starter, in combination with 840 D sl, is released for diagnostic purposes and for commissioning of Profinet drives (CU310-2PN and CU320-2PN).

o SPI and PW have always been keywords and may not be used as axis identifiers. o The function G643 (block-internal approximate positioning) has been released for tool change

applications (e.g. optimizations when approaching the tool change position). It has not been released for machining applications.

o The function G644 (corner rounding with maximally possible dynamics) has been released for tool change applications (e.g. optimizations when approaching the tool change position). It has not been released for machining applications.

o The function "extended measurement" with distributed measuring input at the SINAMICS modules is not functional (MEAC, MEASA, MEAWA).

o Access to arbitrary drive data via system variable $nn_nn has not been released. Only the system variables transferred in the telegram 116/136 can be accessed.

o As from 4.4 SP1, the drive-autonomous ESR has also been released with Safety Integrated. The machine data MD10089 $MN_SAFE_PULSE_DIS_TIME_BUSFAIL (corresponding to p9580 in the relevant drive) allows to configure the time during which the NCK-SGA are still left in the old version (prior to communication failure) in case of a communication failure between NCK and drive. Afterwards, they are initialized. The time provided for the safety drives for retraction is defined in the drive parameters p9697 and p9897. Notice: These parameters are not included in the safety copy procedure. Proceed as follows to set these times: - Go to the safety drive commissioning mode (p10=95); for this, use the HMI functionality (softkey "Activate drive commissioning") - Set the value p9697 to the required value (should be identical to MD10089); Unit: ms - Set the value p9897 to the required value (should be identical to MD10089); Notice: Unit: us - Quit the commissioning mode via HMI; as a result, the checksums are confirmed and the data stored - When working without HMI, you have to confirm the checksums manually (copy 9798 to p9898, p010=0, p0971=1 resp. p977=1)

On account of the interrupted communication, data cross-check errors occur, StopF. If the StopF-StopB time is not sufficient, the pulses are deleted by the StopB-StopA, retraction is not started resp. aborted too early (depending on the values for the StopF-StopB time resp. the StopB-StopA time).

o The MD 10062 $MN_POSCTRL_CYCLE_DELAY must be zero. Check the existing data backup. o The machine data 32250 $MA_RATED_OUTVAL[] must have the value zero. o After performing a block search, the auxiliary function M6 is no longer output by default.

Remedy: Change the auxiliary function group in MD 22040 $MC_AUXFU_PREDEF_GROUP[5] into a free group.

o If the value of the MD18210 deviates from the default, increase the MD18210 by at least 21 MB DRAM. o Deleting the PLC 317-3PN/DP:

After deleting the PLC via an operator sequence at the PLC rotary switch or from Step 7, the PLC program is automatically reloaded. When starting the PLC initialization via the operator handling PLC switch into position 3 and power off/on, the PLC program is not loaded automatically. This is then neither possible via the above-mentioned operator sequence.

o The PLC series commissioning archive must be created in the stop status of the PLC. Otherwise, it is not ensured that the PLC goes to cyclic mode after loading the data backup.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 9 of 36 All rights reserved

o The service interface X127 of the NCU may only be used for commissioning and service. o The Profibus 1 must be configured to ensure that the softkeys CU, Infeed, Drives are displayed on the

SINUMERIK Operate. o No parallel use of measuring functions for i-/n-measurement via the Starter and HMI-Advanced. If

Starter measurement is required, this requires a Power OFF=>ON and direct measurement with the Starter. Measurements with HMI-Advanced may not be performed prior to Starter measurements.

o The SINAMICS module VSM10 can be used with 840D sl as from SW 4.5 SP2. The “Deactivation/activation of components“ – in particular SINAMICS VSM10 – from the topology view has not been released. That means, if you wish to deactivate a VSM10 later, this must be performed for the specific drive. In this case, you have to remove the infeed first.

o When replacing a SINAMICS component resp. performing an upgrade, check the firmware version and restore the original version, if required. (Keyword: Macro 150399) The firmware versions can be checked in the following parameters: Control Unit R18 Firmware Version of the CU Infeed unit R128 Firmware Version of the infeed unit Drive MD R128 Firmware Version of the power unit

R148 Firmware Version of the sensor module o The Starter is not yet required to determine the motor codes. o Line voltages: To ensure smooth operation in the target country, the following parameters must be set in

the stated order: P010 = 1 P210 = Rated line voltage in the target country P211 = Rated line frequency in the target country P340 = 1 P3410 = 4 P3900 = 3 Save RAM to ROM Switch off the system, only switch it on in the target network. With the next ON command on the ALM, a line identification is performed and the values determined are stored in a power fail-proof manner. The firmware versions of the Motor Modules, Sensor Modules and DRIVE-CliQ motors (comprising integrated Sensor Modules) involved in the safety functions must be adjusted to the SINAMICS firmware version of the NCU. This is automatically performed during the startup if the parameter p7826 (firmware automatic) = 1 is set (standard setting). When using Safety Integrated, the parameter p9826 (firmware automatic) =1 must be set and may not be reparameterized. When performing an acceptance test of Safety Integrated, you must read out and record the safety firmware versions of all Motor Modules, Sensor Modules and DRIVE-CliQ motors involved in the safety functions, and check them against the following list: http://support.automation.siemens.com/WW/view/de/28554461 Each line in the tables displays a permissible combination of safety firmware versions.

o Drive system utilization of CU or NX: Setpoint values are displayed in V4.4 (or later). The values do not fluctuate any more, in contrast to former times. Now, the statement applies that r9976[1] and r9976[5] must both be less than or equal to 100% to ensure that the utilization is permissible. If one of these two indexes exceeds 100 %, the fault F1054 "CU: System limit exceeded" is output.

o In order to have sufficient reserves for program processing, the maximum load with typical user operations should not exceed 75%. The current average load should not exceed 50%. The current load can be checked under Diagnosis / System resources.

o Cam output (position switching signals) with modulo rotary axes is not possible in a time frame comprising less than 4 IPO cycles and is rejected with Alarm 21751.

o The machine data used to describe the spindle dynamics must be set such that they approximately correspond to the real spindle dynamics. If the values are unnecessarily exceeded, alarms may occur upon the transition from spindle to positioning mode.

o NCU 7xx.3 PN: The “DIAG“ button has no function with 840D sl. Instead, the key combination CTRL+ALT+D on Sinumerik Operate can be used to save all of the relevant log data on a USB drive.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 10 of 36 All rights reserved

o The initial address of the NCK (slot 4 in the S7 hardware configuration) changes from 256 to 4096 (outside the peripheral image). For this reason, the hardware configuration must be newly created. Here, you must ensure that all properties of the PLC CPU (e.g. remanence ranges, cycles, cycle time monitors, etc.) that deviate from the standard are set as before.

o Alarm 411503: When using existing configurations, the alarm 411503 (incorrect configuring) is output and the PLC set to stop.

o With SMI encoder, the function “Parking axis“ is not supported without voltage ON/OFF. o Alarm 7300: When using NC archives of Software Versions lower than NCK 75.00.00, the alarm 7300 is

output if the MD18235 is 0. The default setting is MD18235=20000. o The function “Fixed point approach G75“ is not permissible with active radius offset G41 / G42

(Alarm 14091 Index 9). o With fixed point approach with G75, the fixed point is now approached with non-linear interpolation

(RTLIOF). As a result, the axes are traversed at the jerk set for positioning axes ($MA_JOG_AND_POS_MAX_JERK).

o The machine data 11295[0..9] is now memory-configuring. Values deviating from the standard must be removed from existing archives before performing the upgrade.

o If you wish to use the service interface X127 with PG/PC on an NCU7x0.x with SW V2.6 (or later), please observe that the PG/PC network interface is operated in the mode "DHCP Client", that means "Automatically obtain IP address". If you have set the PG/PC network interface to a permanent IP (192.168.215.xx), a ping is sent to X127, but you cannot go online neither with Step7 nor with SINUMERIK Operate. The firewall is activated by default setting.

o The NCU link is not released. o If you wish to operate more than six axes, use the modules NX10.3 or NX15.3. o Archives with MD 19730.11 = false are incompatible. The machine data 19730.11 (hmi_function_mask)

must always be set. o Archives with MD18150=150 (old default value / default is 196) may be incompatible. o Archives with MD 32250 > 0 are incompatible. With MD32250 > 0, neither speed setpoint value nor

torque setpoint value standardization are taken from the drive. o The interface signal "Invert M3/M4" is now also active when tapping with G331/G332.

In applications where the interface signal is always set to "1", the spindle now rotates in the incorrect direction with G331/G332. To achieve a behavior which is compatible with earlier versions, set the bit 22 in the MD35035 to "1" (default is 0).

o Archives with MD28253=100 (old default value) may be incompatible. Change the MD to 200 (default new).

o Archives with MD19730[0] =0 are incompatible. Missing softkeys in MDA. Change the MD to 804hex. o The function TANGON with additional parameter "P" has not been released. Remedy: use the default

setting "S". o The SD43235 has a speed limit of 10,000 rpm as default value. When upgrading to Software Version

NCK 78.00 or later and with spindle speeds exceeding 10,000 rpm, the SD43235 must be increased to an appropriate value. The speed is limited by SD43235 if the system variable $AC_SMAXVELO_INFO[n] has the value 21.

o Multitool as manual tool: With repeated selection (of tools within this manual multitool), in the sequence

T="x" M06 --> T0 M06 --> T="Y" M06 --> T0 M06, the identifier "manual tool" is not set upon the second tool selection. As a result, the system tries upon the next T0 M06 to store the multitool in the magazine.

o Safety: Alarm 27071 checksum error SPL parameterization To facilitate handling when testing the valid scope of languages of the program SAFE.SPF, bit 2 of the machine data $MN_SAFE_MODE_MASK has not been included in the checksum calculation. This allows to perform tests without confirming the checksum. Due to the recalculation of the checksum without this bit, the relevant checksum must be confirmed once.

o Safety:

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 11 of 36 All rights reserved

If safe operating stop is active for an axis and the handwheel is actuated for this axis in this state, the pulses are collected and traversed after deselecting the safe operating stop. Proceed as follows to avoid this behavior: In MD MD 20624 $MC_HANDWH_CHAN_STOP_COND, set bit 7 to "1" (feed stop) In the PLC, select the link "Select feed stop with active handwheel and active SBH". Upon deselection of SBH, deselect the feed stop as well.

o Due to the F-CPU, the I/O addresses of F-DI/F-DO modules must now be included in the PLC process image.

o Safety: Software version 4.5 SP3 now features the Safety machine data 36904 ($MA_SAFE_ADD_FUNCTION_MASK). As a result of this machine data the NCK checksum changes (MD 36998 $MA_SAFE_ACT_CHECKSUM and MD $MA_SAFE_DES_CHECKSUM; in each case the index 0). With regard to the acceptance test, the notes in the Safety Integrated Description of Functions must be followed.

o Safety and lookahead: With $MC_LOOKAH_FUNCTION_MASK = 'H00' and 'H01' the limitation is factored in via axial safe velocity over the entire block as a path limit value. Longer blocks and highly limited local axial velocity may result in the entire block being traversed very slowly. With $MC_LOOKAH_FUNCTION_MASK = 'H03' the limitation is now taken into account in greater detail via the block.

o Multitool: A multitool may not be a manual tool a. With certain change procedures, the target position for the old tools is not output to the user interface (DB72)

Tool management: Multitool, incomplete data for the old tool to VDI in case of MT change. b. With the end acknowledgement of the T preparation, the multitool position ($TC_MTP_POS) is already set to the new location. Thus, the system cannot detect during a following change cycle that the multitool must be positioned.

Tool management: Multitool $TC_MTP_POS is incorrectly set with MT==manual_tool. Tool provision: Programming sequence

... M06 T="drill";Provision ... T="drill";repeated tool programming M06 ...

Can only be used if the Bit11 is set to 0 in $MC_Tool_Management_Mask. Otherwise, this programming leads to the Alarm 6402 upon the 2nd tool call. Tool management: Multitool, Alarm 6402 in combination with MD20310 Bit11=1 That means the setting $SCS_FUNCTION_MASK_TECH_SET Bit0=1 is not supported (tool preselection)

o When working with multitool and multitool location OEM data, you must change the data types ($MN_MM_TYPE_CC_MULTITOOL_PARAM and $MN_MM_TYPE_CC_MTLOC_PARAM) from default=3 (integer) to the value=4 (real).

o When taking data backups from NCU versions lower than Software Version 4.4, the machine data 10185 NCK_PCOS_TIME_RATIO should be checked. The setting of NCK_PCOS_TIME_RATIO should be as follows: - With NCU 7x0.1 and 7x0.2: 65% with internal HMI and 90% with external HMI - With NCU 7x0.3: 90%

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 12 of 36 All rights reserved

o Hiding the tool management You can deactivate, that means hide, the tool management in the Parameter operator area. For this, change the entry DLG002 in the file systemconfiguration.ini in the paragraph [dialogs] as follows: [dialogs]

… DLG002= name:=SlParameter, implementation:=slpadialog.SlPaDialog, process:=SlHmiHost1, preload:=true, terminate:=false, cmdline:="-conf slpadialog.hmi"

… In this case, the softkey “Zero offset“ is selected when selecting the Parameter operating area for the first time. The modified file system configuration.ini must be stored in the directory /oem/sinumerik/hmi/cfg or /user/sinumerik/hmi/cfg. o The existing Siemens system password is no longer valid. o The machine data 28070 $mc_mm_num_blocks_in_prep should be set to a value greater than or equal

to 80. o With the new channel-specific machine data MD20115 $MC_IGNORE_REFP_LOCK_ASUP and

MD20105 $MC_PROG_EVENT_IGN_REFP_LOCK, the customer can set separately for each ASUP channel resp. each Prog-Event whether the axes must be referenced for the start. If the bit 1 of $MN_ASUP_START_MASK is set prior to Software Version 4.5, the Version 4.5 N20115 $MC_IGNORE_REFP_LOCK_ASUP=’HFFFFFFFF’ N20105 $MC_PROG_EVENT_IGN_REFP_LOCK=’H3F’ must be set in all channels to enforce an identical behavior. If the bits in $MC_IGNORE_REFP_LOCK_ASUP or $MC_PROG_EVENT_IGN_REFP_LOCK are not set, but not all axes are referenced in ASUP resp. Prog–Event–Start, the start is rejected and a new Alarm 10204 output

o In Software Version 4.5, the compile cycle interface has changed. For this reason, new compile cycles are required.

o In Software Version 4.5, the compile cycle CC-MCSC is no longer provided as standard and replaced by the generic couplings (CPSETTYPE="TRAIL" CPFRS="MCS" / see also Function Manual Special Functions -M3).

o After a software upgrade, the NC MD 18150 must be increased at least to the standard value 196. o Safety data must be confirmed when upgrading from 4.4 to 4.5. o Safety:

Alarm 1671 with identifier 9514 after upgrading and use of linear motors Sinamics 4.50 provides a new safety drive parameter: p9514, absolute encoder linear measuring steps (CU). This parameter corresponds to the parameter p422. The Alarm 1671 indicates that the values in p422 and p9514 are not identical. When upgrading SW <4.5 with commissioning archive, this alarm may occur, when using linear motors, if the parameter p422 does not show the value "100" (default value of p9514). To correct the error, enter the value of p422 in p9514 and then confirm the checksum for this drive. When commissioning a new system, this status does not occur because the values are automatically copied as long as safety is not active (p9501=0)

o The Sinamics function "know-how protection" has not been released for Sinumerik. o Alarm 12080: In the part program, all ASCII characters > 127 (0x7F) are rejected and Alarm 12080 is

output. The existing behavior stating that all impermissible ASCII characters are internally converted into blanks can be set anew with the machine data $MN_PROG_FUNCTION_MASK BIT3 = 1. The presetting is BIT3 = 0.

o The Installdisk for creating a boot-capable USB stick must be installed with installdiskCmd.exe. o The bus systems at DP1 (X126) and DP2 (X136) and PN (X150) can be simultaneously operated with

clock cycle synchronism (isochronous operation). o PLC FC24 key-operated switch position:

From SW 4.5 SP2 the FC24 also transfers the key-operated switch signals to the user interface (DB10.DBX56.4..7). This transfer takes place, irrespective of whether a key-operated switch is mounted at the MCP. If previously, the key-operated switch information was entered into the user interface by the user program, then this must possibly be adapted.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 13 of 36 All rights reserved

o ADI4: To avoid access conflicts between PROFIBUS drives and I/O modules, the I/O addresses of DP slave ADI4 must lie completely outside the process image.

o Alarms 400551 - 400553: For module faults at the DP or PN bus (PLC fault LED bright), then alarms (400551..400553) are output. The error event/alarm can be suppressed using SFC12 (deactivating and activating DP slaves).

o At X150, PN drives can be operated via CU320-2PN and CU310-2PN. The Sinamics Starter is necessary for commissioning. Commissioning with Sinumerik Operate is not released for PN drives (possible only with V4.7 SP2 HF1 and later).

o MCP PN: From software release 4.5 SP2 and higher, machine control panels and the connected handwheels can be operated in the Profinet mode. Example: The first handwheel is connected at the first MCP X60 with MCP device number 4 (Profinet device No.).

o DIP switch S2 of the MCP 1 to 10 = on (DCP mode)

- FB1 parameters in the OB100 CALL "RUN_UP" , "gp_par"

MCPNum :=1 MCP1In :=P#E 0.0 MCP1Out :=P#A 0.0 MCP1StatSend :=P#A 8.0 MCP1StatRec :=P#A 12.0 MCP1BusAdr :=4 //enter the Profinet device number here *

* MCPBusType :=B#16#66 //for MCP1&2 PN B#16#66

o Machine data 11350[0] = 5 (Segment Profibus/Profinet)

11351[0] = 1 11352[0] = 1 11353[0] =258 (start address handwheel E/A out Step7 HW config) - Step 7 hardware configuration

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 14 of 36 All rights reserved

o Incremental jogging for G700: If, for rotary and linear axes, different computation resolutions have been set via $MN_INT_INCR_PER_MM and $MN_INT_INCR_PER_DEG, then this must also be taken into account in the new machine data 31092 $MA_JOG_INCR_WEIGHT_TRAFO. This applies if the machine axes assigned to the geometry axes are rotary axes.

o Collision avoidance has only been released for the field test. The following applies: The indices for kinematic chains, protection areas, protection area elements and collision pairs must be allocated starting at 0 and must be seamless (no gaps).

o On turning machines with B-axis kinematics, after upgrading from Version 2.7/4.4 to 4.5, you must set the MD20360 TOOL_PARA;METER_DEF_MASK Bit 20 to 1 in order to ensure compatibility (no default holder and clearance angles with CUTMOD).

o If PLC modules on the Profinet are deactivated with SFC12, at least two nodes must be connected to the Profinet line.

o If PLC modules on the Profinet are deactivated with SFC12, no access from NCK to these I/Os may be activated via machine data.

o PLC blocks should be loaded with S7 in the PLC stop state. Otherwise, a NCK stop may occur depending on the NCU utilization.

o The function “DRF offset in tool orientation“ has not been released. o Safety: New function, new MD, requires confirmation of the checksums

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 15 of 36 All rights reserved

$MA_SAFE_ADD_FUNCTION_MASK Bit 0=1: With Stop B and Stop C, braking is performed at the OFF3 ramp instead of using the setpoint speed =0 Bit0=0 (default): Braking is as usual, with Stop B and C, braking is performed using the setpoint speed =0

o Safety: New function in the drive, extension of the machine data; confirmation not required if not used. So far: In case of an encoder fault on a single encoder system, a Stop A is output, the pulses are suppressed, the axis coasts down. New: By setting the Bit 4 in p9516, you can configure the system such that braking is initiated. For this, however, you must also enter a value which is not equal to 0 in p491. p9516, Bit 4 =0: Same behavior as before p9516, Bit 4 =1: New behavior

Notes regarding SINUMERIK Operate:

When operating an NCU without TCU (i.e. with SINUMERIK Operate on a PCU 50.5), then the internal SINUMERIK Operate must be deactivated. This is realized using the service command “sc disable hmi”.

Only one SINUMERIK Operate may be active on one NCU, either the internal SINUMERIK Operate or SINUMERIK Operate for PCU 50 / PC. Exceptions: Commissioning / service; SINUMERIK Operate on PCU 50 for the main operator station with permanently assigned MCP and one tool loading station with internal SINUMERIK Operate without MCP.

Path names in SELECT instructions of job lists referring to part programs on the CF card or USB data carrier are case-sensitive.

When writing via OPCUA to a NodeID of the PLC (e.g. "/Random/Plc/DB123.DBB0“), the value must not be transferred as a variant/string or string. Otherwise, incorrect values will be written. First, the value must be converted to a correct data type, e.g. Variant/Int32 or Int32 zu wandeln.

Networking:

Important system and network settings of the NCU Base software are specified in the file basesys.ini in the directory /card/user/system/etc and may be modified. The original basesys.ini is called "template-basesys.ini” and is included in /card/siemens/system/etc ". Each NCU in the plant network should be assigned an unambiguous ("talking") computer name, with the entry "Hostname=..." in the basesys.ini. Upper and lower cases, digits and minus signs are allowed. System and network settings can also be specified in Sinumerik Operate under “Commissioning / Network”. The NCU must be restarted in order to activate the changes.

Always switch in the DHCP server of the NCU. When changing IP addresses of NCUs / PCUs, execute the service command "sc clear dhcp" to activate

the change. Configuration with 1 NCU with TCUs and MCPs In this configuration, no special network settings are required. The DHCP server and internal Operate remain switched on. Configuration with 1 NCU with 1 PCU 50, MCPs and possibly TCUs In this configuration, the following network settings (system network) must be made in the NCU: DHCP server synchronization mode = Master priority

Hostname = .... SyncModeDHCPD_SysNet = ON_MASTER

Generally, the internal Operate should be switched off, as operating two HMIs connected to one NCU is only

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 16 of 36 All rights reserved

permissible in special cases. If the system has a TCU (HT8) which shall be connected to the PCU 50 as standard, the following entries must be made in the file /card/user/common/tcu/<TCU name>/common/tcu/config.ini on the NCU:

MaxHostIndex = 1 [host_1] Address = <IP address of the PCU>.

Configuration with several NCUs and possibly 1 or several PCUs, TCUs, MCPs In this configuration, the following settings must be made in the basesys.ini of the NCU:

Unambiguous Hostname = .... for each NCU Unambiguous InternalIP= .... Same InternalNetMask= .... Exactly one NCU with SyncModeDHCPD_SysNet = ON_MASTER

During the first startup after networking, the DHCP master shall run up first, followed by all other stations. All operator stations in the plant network (TCUs, HT8, PCU 50) are managed on the NCU with "ON_MASTER", that means the config.ini files relevant during the runtime and the .leases file comprising all IP addresses assigned in the system are located here. The config.ini files are distributed by the master NCU to all other NCUs / PCUs via the service command "sc distribute tcudata". With the service command "sc clear dhcp" and subsequent switching off / on of the overall system, the NCUs / PCUs are assigned their preset IP addresses, which are newly assigned for TCUs and MCPs, the .leases file is the distributed to all other NCUs / PCUs.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 17 of 36 All rights reserved

Cycle packages: With CNC SW 4.5 SP6, the following cycle packages are stored on the CF card: Technological cycles Measuring cycles ISO cycles ShopMill cycles ShopTurn cycles

All these Siemens cycles are automatically loaded onto the NC during startup of the NCU. The corresponding variables are stored in the definition file PGUD. Important note: The “programGUIDE“ (previously cycle support) in SINUMERIK Operate is based on these cycle packages. Cycle calls in part programs for these cycles cannot be recompiled or processed with cycle support in HMI-Advanced 7.x.

1 Reference documents

1.1 List of reference documents and editions

/1/ SINUMERIK 840D sl / 828D Measuring cycles – Programming Manual 03/2013 (SW 4.5 SP2) /2/ SINUMERIK 840D sl / SINUMERIK Operate (IM9) Commissioning Manual 03/2013 (SW 4.5 SP2) /3/ SINUMERIK 840D sl / 840D / 840Di Cycles – Programming Manual 01/2008 (SW 1.5 840D sl or SW 7.5 840D) /4/ SINUMERIK 840D sl / 828D Milling – Operating Manual 03/2013 (SW 4.5 SP2) /5/ SINUMERIK 840D sl / 828D Turning – Operating Manual 03/2013 (SW 4.5 SP2) /6/ SINUMERIK 840D sl / 828D Production planning –Programming Manual 03/2013 (SW 4.5 SP2)

1.2 Documentation overview –where are cycle topics described

Document Contents

SINUMERIK 840D sl/828D Milling Operating Manual

In Chapter 2 – All functions for measuring in JOG - workpiece and tool on milling machines Chapter 6 – Generating G code program Chapter 7 – Generating ShopMill program Chapter 8 – programming cycles (in these, all drilling, milling and turning cycles)

SINUMERIK 840D sl/828D In Chapter 2 – Measuring tools in JOG on a lathe

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 18 of 36 All rights reserved

Turning Operating Manual

Chapter 6 – Generating a G -code program Chapter 7 – Generating a ShopTurn -program Chapter 8 – Programming cycles (in these, all drilling, milling and turning cycles

SINUMERIK 840D sl/828D Measuring cycles Programming Manual

Chapter 1 – Basics/measuring principle etc. (as before) Chapter 2 – All measuring versions, workpiece and tool measuring, turning and milling– SK oriented Chapter 3 – Overview parameter list of the measuring cycles (for external programming): contains the call interfaces for all measuring cycles in the G-code and detailed description of the transfer parameters Chapter 4 – Attachments, list for the changeover to SW from 2.7/4.4

SINUMERIK 840D sl/828D Programming Manual - Production Planning

Chapter 16 - Externally programming cycles: contains the call interfaces of all technological cycles in the G-code and the detailed description of the transfer parameters

SINUMERIK 840D sl SINUMERIK Operate (IM9) Commissioning Manual

Chapter 9 – Settings for simulation and simultaneous recording Chapter 20 – Configuring cycles Contains a description of the machine and setting data for cycles, swiveling, JobShop, adapting manufacturer cycles (CUST_TECHCYC, CUST_MEACYC etc.)

2 Cycle packages– Functional scope

2.1 Technological cycles The functional scope of the technological cycles is described in documents /4/ and /5/. Difference list cycles/cycle functions for 840D sl SW 1.5 (cycles SW 7.5): The following cycles/cycle functions are not included in this cycle package:

Cycle Function and entry softkeys

POCKET1 POCKET2

Rectangular pocket/circular pocket 1

An assignment list of the earlier adjustable parameters (GUD-variable) to the machine and setting data is provided in Attachment_1.

2.2 Measuring cycles The functional scope of the measuring cycles is described in document/1/. Difference list measuring cycles/cycle functions for 840D sl SW 1.5 (measuring cycles SW 7.5): The following cycles/cycle functions are not included in this cycle package: Logging measuring results

1 POCKET1/POCKET2 functions are covered by the newer pocket milling cycles POCKET3/POCKET4

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 19 of 36 All rights reserved

For workpiece measurement with automatic tool correction, the tool to be corrected can still only be specified using the tool name – the alternative by specifying a tool number is no longer possible. Further, it is no longer possible to select a tool environment TENV. This function is an absolute special case and was no longer realized from SW 4.4.

2.3 Cycles for ISO compatibility The setting data for cycles for ISO compatibility (GUD fields_ZSFR, _ZSFI) has been changed over to configured machine and setting data. An assignment list of the previous adjustable parameters (GUDvariable) to the machine and setting data is provided in Attachment_2.

3 Compatibility

3.1 Compatibility to the cycle packages 840D sl up to SW 1.5 In the following points, the behavior of the cycles has changed as compared to Software Versions up to and including SW 1.5: Technological cycles: 1. Milling cycles - Calculation of the infeed depth with / without consideration of the safety clearance (could so far be set

in the GUD variables _ZSD[1]): In the setting data $SCS_FUNCTION_MASK_MILL_SET Bit2, you can set whether the safety clearance is considered in the depth calculation or not. So far, “with consideration of the safety clearance” was set as default – now “without consideration of the safety clearance” is set as default. Thus, the individual depth infeeds may change in the existing program. The setting of this setting data has the same effect in G-code programs and ShopMill resp. ShopTurn programs.

2. Milling cycles when calling with MCALL: Milling cycles in G-code programs can optionally also be called up on position patterns with MCALL.

3. Thread drilling cycles CYCLE84, CYCLE840 – technological parameters (could so far be set in the GUD variables): The machine manufacturer must enter the required settings of the technological parameters in the corresponding setting data. These settings are neither changed by the cycle nor by the input screen form

4. Thread drilling cycle CYCLE840 – parameter for reversal of rotating direction: The parameter “rotating direction for retraction” is no longer supported in the cycle input screen. This makes sense as the cycle now assumes this function for both thread types and only functions if a spindle direction has been programmed before the call-up. .

5. Pocket milling cycles POCKET3 and POCKET4 – Parameter for plunge feed: The programmed feedrate for depth infeed is only active with “pre-drilled” and “vertical”“. “Helical” plunging and “oscillating” are performed with the infeed for machining in the plane.

6. Milling cycle rectangular pocket POCKET3 – Reference to the pocket angle of rotation: The angle of rotation now always acts at the point of reference. The programming for rectangular pocket "reference point is the corner" and "angle of rotation refers to the center" (with ZSD[2]=1 and ZSD[9]=1) is no longer supported, but leads to the Alarm 61109 “Parameter _STA incorrectly defined”.

7. Milling cycles – Parameter for infeed width: A value > 0 must always be entered for the infeed width. In the screen, the field is marked as incorrect and the cycle outputs an alarm.

8. Drilling and milling cycles – parameter for safety clearance: A value > 0 must always be entered for the safety clearance as this value also affects the switchover from G0 to G1 when approaching for machining in the tool axis. In the screen form, this field is marked as incorrect.

9. High-speed settings CYCLE832: The differences are explained on the basis of the documentation: Documentation up to and including SW 7.5: Cycles – Programming Manual /3/

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 20 of 36 All rights reserved

Documentation as from SW2.6: Commissioning Manual IHsl IM9 /2/ Milling Operator Manual /4/ resp. Turning Operator Manual /5/

o As from Software Version 2.6, all functions documented in /3/ “Point 3.17“ which are coded in the parameter _TOLM, except the machining type (_TOLM unit position), are only supported in the compatibility mode.

o All GUDs described in /3/ Point “3.17.4.3 Adjustment by the machine manufacturer“ and the documented functionality no longer apply as from Software Version 2.6.

o Note regarding /3/ “Point 3.17.4.4 Adjustment of additional program parameters CYC_832T” As from Software Version 2.6, the user cycle CYC_832T.SPF is replaced by the cycle CUST_832.SPF. For reasons of compatibility, the markers _M0 to _M4 in the cycle CUST_832 are still provided. The transfer parameter _OVL_on of the CYC_832T is no longer used because the documented machine data in CYCLE832 are not rewritten.

o Note regarding /3/ Point “3.17.5 Interfaces” All documented machine and setting data are not rewritten in CYCLE832 as from Software Version 2.6. All documented channel-specific variables GUD7 are omitted as from Software Version 2.6.

o When using the CYCLE832, the option Advanced Surface (AS) must always be active. Otherwise, fault 8025 “Option AS not set” is output. According to the application example AS in the Commissioning Manual HMI Operate (03/2010), AS requires specific G commands. These G commands are not necessarily compatible with the settings of the "old" CYCLE832 resp. CYC_832T. These new G commands are entered as a suggestion (commented out with ;) in the individual markers of the compatibility branch (as from the marker _M1). The SOFT command is always activated because BRISK does not fit with AS. The old calls CYCLE832 should only be used in exceptional cases. When upgrading the machine, the old calls should preferably be replaced by new calls with CYCLE832. The tolerance settings and machining type (roughing, finishing, ..) settings can be transferred. The parameter _FACTOR should no longer be used. Factor settings see Commissioning Manual HMI Operate (03/2010) -> SD55441 to SD55443. If the parameter _FACTOR in CUST_832.SPF is assigned in the compatibility branch, this value is active..

10. Circular pocket cycle POCKET4 – Plunging: With depth infeed with G0 (pre-drilled), the infeed is always performed with G0 independently of whether raw dimension is programmed or not. Sufficient space up to (DP+SDIS ) must be provided for this. With infeed into the material, the programmed helix radius is active if it is smaller than the tool radius. Up until now, the tool radius was active in this case.

11. Pocket milling cycles POCKET3, POCKET4 – special case 1 depth infeed: Only one depth infeed is performed when roughing / finishing if the infeed depth is >= max. material depth to be removed.

Possibly existing programs must be adjusted for these changes . Measuring cycles: 1. Due to the introduction of new machine and setting data for cycles, the data concept for measuring cycles has been

revised. Setting data which have so far been stored in GUD variables have become machine and setting data. The Document /1/ comprises tables with the corresponding information in Attachment A: o Comparison of GUD parameters Machine and setting data o GUD variables which are no longer used o Changed names of cycles and GUD blocks

2. When using measuring cycles with different systems of units (basic system <> programmed system) and programming of G commands G70 or G71, the system of units of the following tolerance parameters has changed – they now refer to the programmed system (formerly basic system): Confidence range (_TSA), zero offset range (_TZL), averaging with offset (_TMV), measure difference check (_TDIF).

3. Notes regarding DFA with measurement programs in inch: The measurement path DFA is now also calculated as an inch value in the programmed system inch. For programs in inch which have been newly created as from SW 2.7/4.4, the DFA parameter must be adjusted accordingly.

Possibly existing programs must be adjusted accordingly for these changes using measuring cycles.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 21 of 36 All rights reserved

ShopMill cycles: 1. Up to SW 1.5, the reference point (X0, Y0, Z0) for ShopMill could also be indicated incrementally. In newly opened

screens, the reference point can only be entered in absolute values. A toggle field abs/inc is offered in recompiled screens comprising an incremental reference point. With inc, the check outputs an error message “Reference point inc no longer supported, please convert to abs”.

3.2 Adapting machine manufacturer cycles Note: Generally, the machine manufacturer is recommended to copy all CUST cycles with changed functionality with respect to the initial state before the upgrade and then readapt them. If an upgrade is only made to resolve errors (debugs) and no new functions are to be used from this software release, then the compatibility can be established as described in the following.

3.2.1 Status CUST cycles in SW 4.5 SPx The table provides an overview of the changes in the machine manufacturer cycles from software 2.7/4.4 (this also applies to the following SPx and HFx releases). Cycle

Function, significance Adaptations after the upgrade

CUST_TECHCYC Manufacture cycle to adapt the functions of the technological cycles

Contains new functions and changes with respect to SW 2.7/4.4

CUST_800 Manufacturer cycle for adaptation to the function swivel plane and swivel tool (CYCLE800)

Contains new functions and changes with respect to SW 2.7/4.4

CUST_832 Manufacturer cycle to adapt the High Speed Settings function (CYCLE832)

No change with respect to SW 2.7/4.4

CUST_MEACYC Manufacturer cycle to adapt functions for measuring cycles

Contains new functions and changes with respect to SW 2.7/4.4

CUST_T Cycle is used to track T -preparation after SERUPRO

From SW 4.5, bit 1 in MD 20310 $MC_TOOL_MANAGEMENT_MASK must be set

CUST_M6 Cycle is used to track the tool change after SERUPRO

No change with respect to SW 2.7/4.4

CUST_MULTICHAN Manufacturer cycle for lathes with several channels

No change with respect to all previous releases

CUST_CLAMP Manufacturer cycle for clamping elements No change with respect to all previous releases

3.2.2 Special note regarding the upgrade When upgrading from a previous release SW 2.6 or SW 2.6 SP1, all CUST cycles with the exception of CUST_MULTICHAN from SW 4.5 SP2 must be accepted and readapted! When upgrading from previous releases from SW 2.7/4.4 and higher, compatibility can be established as described below.

3.2.3 Establishing compatibility The machine manufacturer cycles CUST_<Name> have been function ally expanded so that after a software upgrade, existing CUST cycles from SW 2.7/4.4 are still able to run after a small one-off (single) adaptation (compatibility). The adaptation means that when calling new functions (new transfer values in the MODE parameter), a branch is always made to the actual CUST cycle in the standard cycle directory, which belongs to the cycle package.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 22 of 36 All rights reserved

Adapting means the following: o Copying blocks from the CUST cycle, supplied in the CST.DIR and inserting in the existing cycle in the CMA.DIR o This procedure is just once, if the cycle had a previous version < 4.5 SP2; o All of the blocks to be copied are bracketed with

;BEGIN_DO_UPGRADE ;END_DO_UPGRADE

CUST_TECHCYC – copy 2 blocks: (1) Copy the first designated block and insert immediately before the instruction

CASE _MODE OF 1 GOTOF _M1 2 GOTOF _M2 …

(2) Copy the second designated block, and use it to replace SETAL(61019,"_MODE="<<_MODE) ; Parameter _MODE=n …

CUST_800 – copy 2 blocks: (1) Copy the first designated block and insert directly before the 1st executable instruction

IF ((_MODE>=21)AND(_MODE<=31)) …

(2) Copy the second designated block, and use it to replace SETAL(61019,"_MODE="<<_MODE) ; Parameter _MODE=n …

CUST_MEACYC – copy 4 blocks: (1) Copy the first designated block, and insert immediately before the instruction

IF _MODE==2 GOTOF _MEACYC_END …

(2) Using the three additional blocks, the blocks for alarm outputs are replaced. ... N631001 SETAL(61099," Parameter _OVI[2] ") ... N631002 SETAL(61099," Parameter _OVI[2] ") ... N631003 SETAL(61099," Parameter _OVI[14] ") ...

Copy the designated block and use it to replace the instruction N631xxx SETAL(61019,…

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 23 of 36 All rights reserved

3.2.4. Processing CUST cycles using CMC Using the component CMC-Diff from the Create MyConfig tool from SW 4.6.0.0 (031), CUST cycles can be adapted on a PC. The tool is available at no charge through PriaNet. (It is possible to partially install the CMC-Diff component.) The following work steps are required: o Initial situation: the software has been upgraded o After the upgrade, transfer the machine manufacturer’s cycle from the CMA.DIR and the system cycle from

the CST.DIR of the control to an external PC o Start Create MyConfig Diff and select the menu item "File"/"Data comparison" o In the left-hand window, open the version of the CUST cycle from the machine manufacturer and in the

right-hand window, the version of the CUST cycle from the upgraded status (it goes without saying that the windows can also be interchanged)

o After reading in, if the automatic file identification has not changed over to the comparison configuration "NC program (*.mpf, *.spf)“, then this must be done using "Comparison"/"Configuration selection" (display to the right at the bottom of the status line).

o Select the menu item "Comparison"/"Update" o In the menu item "Process", you can navigate between the differences with "Go to the next difference"/"Go

to the previous difference" o Changes can be made by activating the edit mode

o Changes can be transferred from one file version to the other - in this case from the machine

manufacturer’s cycle into the new system cycle using "Copy to the right" (or "Copy to the left") o Then save the modified file (right) and transfer back to the control in CMA.DIR

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 24 of 36 All rights reserved

4 Changes with respect to the previous release

4.1 Changes in SW 4.5 SP3 with respect to SW 4.5 SP2 HF4 New functions, functional changes/expansions, technological cycles:

- Contour pocket with islands: The number of island contours has been increased from 10 up to 20 - Multi-edge cycle (CYCLE79): Special handling of disk-type milling tool/saw for multi-edges - can be

switched using MD 52214 bit 2 (see below) - For these tool types, the first infeed is selected so that the upper edge of the tool precisely touches the

reference point Z0. At the end of machining, the tool is laterally retracted completely from the blank spigot. This can be used to machine an internal multi-edge on a shaft.

- Modified behavior when swiveling – initial position: Initial swivel position is not compatible between ShopMill 06.04 and Operate 4.5 Permit program compatibility with direction selection "not optimized", if SD55221 $SCS_FUNCTION_MASK_SWIVEL_SET bit7=1

New functions, functional changes, expanded functionality for measuring cycles: - Function expansions, ball measuring cycle (CYCLE997) and cycle to measure the kinematics

(CYCLE996): When measuring with CYCLE997 (orbiting + repeat measurement + diameter is not determined) the measured diameter is saved to the result parameter_OVR[4]. Therefore, when measuring kinematics with CYCLE996 for the 1st measurement, it is not necessary to determine the diameter - and therefore additional motion is not required. Result parameters from_OVR[72] are used to check the measured diameter: _OVR[72] to _OVR[74] -> actual diameter of the calibration ball 1.2.3.measurement rotary axis 1 _OVR[75] to _OVR[77] -> actual diameter calibration ball 1.2.3.measurement rotary axis 2 (if

available)

- Additional alarm display and LOG file for measuring cycles: SD54750 $SNS_MEA_ALARM_MASK bit1=1 -> when measuring the workpiece, alarm 62319 is generated, if the conditions for measured value correction are not available. For fault diagnostics, a LOG file for cycle CYCLE110 is integrated in the measuring cycles: Part programs: LOG_CYCLE110_1.mpf -> log file CYCLE110 for the 1st channel

- Functional expansions for measuring on milling-turning machines: For milling machines, where in addition turning is setup as 2nd technology (observe the machine-specific enable), according to the setting regulation "Turning on milling machines" SD 42940 $SC_TOOL_LENGTH_CONST must be set up to = -1018. This means that the NCK rotates the tool orientation, without active rotation transformation, through 90 degrees around Z (for G17). When measuring or calibrating the probe, without active orientation transformation, e.g. CYCLE800(), the tool orientation is taken into account in the measuring cycles, if, in MD52740 $MCS_MEA_FUNCTION_MASK bit2 is set =1. The intention is that the switching position of the probe in the spindle or the internal correction calculation of the switching point of the probe is always correctly calculated.

In the detail view, the new setting machine data bits have no bit description and no online help. They can be set by previously selecting "display all bits".

Functional changes/expansions technological cycles and ShopTurn cycles:

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 25 of 36 All rights reserved

- Counterspindle that can be swiveled The cutting-edge position and cutting direction is only corrected in the cycles, if MD 20360 $MC_TOOL_PARAMETER_DEF_MASK Bit 21 is not =1 and CUTMOD is not active (bit 21=1: CUTMOD takes into account the actual frame) To align the tool (CYCLE800), in SD 55221 $SCS_FUNCTION_MASK_SWIVEL_SET bit 5 must be set =1 (bit 5=1 align tool absolute with TCOABS).

New functions, functional changes/expansions ShopMill/ShopTurn cycles:

- Modified behavior for counterspindle step in ShopTurn: If the machining side is changed in the counterspindle step, then the tool is first traversed with the retraction planes of the old machining side to the tool change point.

Functional changes/expansions configurable machine and setting data:

MD 52214 $MCS_FUNCTION_MASK_MILL Bit 2: Special handling of disk-type milling tools/saws for multi-edge

0: no special handling of disk-type milling tools/saws for multi-edge 1: special handling of disk-type milling tools/saws for multi-edge

MD 52207 $MCS_AXIS _USAGE_ATTRIB

Bit 10: rotation axis rotates around the 1st geo axis (only for position pattern) Bit 11: rotation axis rotates around the 2nd geo axis (only for position pattern) Bit 12: rotation axis rotates around the 3rd geo axis (only for position pattern)

If one of these 3 bits is set, then bits 10 – 12 replace bits 0 - 2 for the evaluation in position patterns.

Changes as from SW 4.5 SP4: New functions, functional changes / expansions Technological cycles: - Change CYCLE800 – Swiveling is performed directly with “rotary axis ZO<> 0“:

The offset of the translation of a rotary axis has been changed such that this offset is only performed when traversing the rotary axis in CUST_800. Thus, the MCS and WCS are correctly displayed before/after swiveling. The new function is activated in SD 55221 Bit8=1. (SD 55221 $SCS_FUNCTION_MASK_SWIVEL_SET Bit8 = 0 Compatibility). When setting

MD 21186 $MC_TOCARR_ROT_OFFSET_FROM_FR = 1 and SD 55221 $SCS_FUNCTION_MASK_SWIVEL_SET Bit8 = 1

and a value in the ZO of a rotary axis and direct swiveling, the positioning behavior changes. The relevant programs must be checked and, if necessary, amended when upgrading the software.

Functional changes / expansions Measuring cycles: - Functional changes to measuring cycles regarding feed override <> 100%:

Measuring blocks are traversed at a measuring feedrate of 100 %, independently of the feed override. This is valid for workpiece and tool measurement. All other traversing blocks in the measuring cycles use the current feed override. The function is deactivated/activated with MD 51740 $MNS_MEA_FUNCTION_MASK Bit 6.

Bit 6=0 Measuring blocks (MEAS) are traversed in the measuring cycles using the current feed override (compatibility) Bit 6=1 Measuring blocks (MEAS) are traversed in the measuring cycles at a feed override of 100%, if the feed override has been set to a value >0.

- Functional change to groove measuring with protective zone: When measuring grooves with protective zone, it is now always checked whether the measuring path and the probe ball diameter fit into the protective zone. If this is not the case, the measuring path is shortened internally. The alarm 61334 is only output if no measuring path is provided and the probe ball does no longer fit into the protective zone.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 26 of 36 All rights reserved

- Workpiece measurement on milling-tool machine with offset turning tool: With the following settings for milling-turning tools

SD 42940 $SC_TOOL_LENGTH_CONST = -1018 and SD 42950 $SC_TOOL_LENGTH_TYPE=2

when measuring with CYCLE977 or CYCEL979 and automatic correction, a turning tool is offset in the length L3x. In addition, when measuring a hole or groove, the offset sign is inverted (hole too small -> offset positive in L3x). When turning with oriented tool (beta<>0 or gamma=180), the wear offset is correctly converted by NCK if TOWWCS is active in the G group 56.

- Functional extension ball measuring cycle (CYCLE997) with monoprobe: So far, for measurements on a ball, only 3D probes, tool type 710 were permissible. In combination with the ball measurement versions “Ball contouring - Standard“ and “Ball contouring - 3D probe alignment“, you can now also use a monoprobe, tool type 712. If the active tool is a monoprobe, you need not change the parameterization of the ball measurement cycle. It suffices if one of the two measurement versions is active. When performing a paraxial measurement with active monoprobe, the alarm 61309 “Check probe type“ is output.

Changes as from SW 4.5 SP6: New Functions, Functional Changes/Extensions Technological Cycles: - Changes in drilling cycles when no absolute drilling depth is programmed and the incremental drilling depth = 0 or not

programmed: The alarm 61019 “Parameter DP, DPR defined incorrectly” is now issued, when DPR=0 or not programmed and DP is not programmed.

Example: CYCLE81(7,5,2, ,0) ; alarm 61019 CYCLE81(7,5,2, , ) ; alarm 61019 CYCLE81(7,5,2,0,0) ; absolute DP=0 applies CYCLE81(7,5,2,0, ) ; absolute DP=0 applies

- Behavior changes in tapping (CYCLE84): For compatibility reasons, the set bit

SD 55216 $SCS_FUNCTION_MASK_DRILL_SET Bit 0 is operational again. That makes it possible again to use the setting “Reverse spindle direction when tapping” for the cycle.

New Functions, Functional Changes/Extensions Measuring Cycles: - When measuring in JOG, the G group 53 Reset must be fixed -> MD20152[52]=1 - Extension to tool measurement turning (CYCLE982):

The recoding of the cutting edge position in tool measurement is available again (formerly _CHBIT[23]). Function can be set via

SD 52740 $MCS_MEA_FUNCTION_MASK Bit 17 0 … Compatibility 1 … Tool measurement turning, recoding of the cutting edge position (in CYCLE982)

New Functions, Functional Changes/Extensions Configurable MD/SD: - Machine data extended:

SD 52214 $MCS_FUNCTION_MASK_MILL Bit 7 0 … No recoding 1 … Offer a fixed table for blank clamping (on boring machines)

Functional Changes/Extensions Cycles ISO Compatibility:

- Function change for stock removal / roughing with G71 in ISO mode: It is now possible to specify whether residual corners should be removed following roughing via:

SD SD 55819 $SCS_ISO_T_FUNCTION_MASK Bit 0 0 … Complete residual corner removal will be carried out (compatibility) 1 … No complete residual corner removal

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 27 of 36 All rights reserved

Functional Changes/Extensions Cycles ISO Compatibility: - Function change for stock removal / roughing with G71 in ISO mode: It is now possible to specify whether roughing is performed with or without tool nose radius compensation via:

SD SD 55819 $SCS_ISO_T_FUNCTION_MASK Bit 1 0 … Roughing with active tool nose radius compensation (with G41/G42, compatibility) 1 … Roughing without tool nose radius compensation (with G40)

- Secondary conditions: Cycle packages, general

o The cycles require the following machine data setting: MD 20360 $MC_TOOL_PARAMETER_DEF_MASK bit 3 = 0 (this means that the work offset (WO) in frames of the face axis must not be set as diameter)

Technological cycles

- Manufacturer cycle CUST_800 for mark M40: a STOPRE has been incorporated. The machine manufacturer can test as to whether this STOPRE at mark M40 in CUST_800.spf fulfills his functional requirements. In this case, a compromise must be made between velocity (without STOPRE) and functionality for cancellation conditions (RESET) in the swiveled plane. This is also dependent on the type of machine kinematics.

Measuring cycles

- Measuring in JOG /measuring cycles with TRAORI: When measuring a workpiece with active TRAORI, the probe must be calibrated for the middle of the ball (MD $MNS_MEA_FUNCTION_MASK bit 1 = 0).

- When measuring in JOG, coupling spindle with coordinate rotation is always active. Setting bit data SD $SCS_MEA_FUNCTION_MASK bit 14 is inactive.

- The measuring cycles always require a spindle capable of SPOS. However, they can be used if the following note, when using a workpiece probe in a spindle not capable of SPOS. (1) In order that the spindle is not positioned for this particular case in the measuring cycles, in machine data MD 52207 $MCS_AXIS_USAGE_ATTRIB[spindle] bit9 must be set =1. (2) At the instant of calibration and measurement, the user must guarantee an identical orientation

(spindle position) of the probe, for example, by clamping or indexing. (3) CUST_MEACYC from SW 4.5 must be executed! If an older version is in the manufacturer or user directory, then this cycle must be newly transferred from the standard directories. The following adaptation should be made: The NC command SPOS should be commented out in the program section shown. . . . . IF _OVI[14]==0; cycle is calling from the AUTOMATIC-mode ; no coupling between the spindle and the coordinate system! IF ($SCS_MEA_FUNCTION_MASK B_AND 'B10')==0 ; SPOS=0 ENDIF ENDIF M17 ; _AM_T_MES: . . . . .

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 28 of 36 All rights reserved

(4) For a spindle that is not SPOS capable, the following measurement versions cannot be executed; they would otherwise result in incorrect measurement results: o Calibration with unknown center point in the ring o Calibration at the ball o Measurement with spindle reversal o Spindle coupling with coordinate rotation around the infeed axis

- Note regarding calibrating the tool probe on lathes (with CYCLE982): For calibration, a reference turning tool, type 5xy with precisely known a geometry or a calibration tool, type 585 can be used (type 580 3D probe-turning cannot be used.)

- Note regarding measuring balls– 3 balls: The zero offset correction is realized in cycle 119, this can only be corrected in the zero offsets coarse! The reason for this is that for the offset calculation (using MEAFRAME) three translatory and three rotary components are determined in a direct relationship. As there is no rotary fine correction, a correction can only be made completely in the work offset coarse.

- New machine and setting data bits have no bit description in the detailed view and no online help. They can be set by previously selecting "display all bits".

4.2 Notes for using this cycle package

4.2.1 Notes regarding the boring cycle (CYCLE86) If the "adapting the spindle position to the tool orientation" function is activated in CYCLE86 (boring) (SD 55216 $SCS_FUNCTION_MASK_DRILL_SET Bit6=1), then internally, a correction value is calculated, and saved in the GUD variable _MEA_CORR_ANGLE[1]. As it may be necessary, for selected machine kinematics, to additionally adapt this correction angle for spindle positioning, after this calculation, the CUST_TECHCYC is called at Marker _M300. There, you have the possibility of describing the correction angle_MEA_CORR_ANGLE[0] (for the manufacturer) and_MEA_CORR_ANGLE[1] (system). For subsequent spindle positioning operations, both angles act additively in CYCLE86.

4.3 Notes regarding handling L probes (type 713) in the measuring cycles To implement "drawing measurement" (in the positive direction of the infeed axis, +Z in G17) it is necessary to position the probe ball in front of the surface/edge to be measured by rotating the probe boom. The correct position of the arm of the L probe, type 713, is defined by the active coordinate rotation around the infeed axis, plus the correction angle ($TC_DP10[n]) in the tool data of the active L -probe. The basic alignment of the arm for a coordinate rotation of 0 degrees around the infeed axis, taking into account the correction angle of the positive direction of the 1st measuring axis (+X). If the measuring task requires another alignment of the arm, when pre-positioning in the user program, it is necessary to rotate around the infeed axis. Example: Measuring in +Z with L probe, arm alignment in +Y ….. X... ; prepositioning axes X Y Z

Y… Z…

ROT Z=90 ; rotation around Z CYCLE978(, , , … ) In the measuring cycle, the L probe is correctly aligned by rotating the spindle to +Y. When prepositioning, the "orbit" of the arm should be taken into account. Otherwise there is a danger of collision when rotating the spindle. The manufacturer cycle CUST_MEACYC must be adapted to suppress unnecessary spindle positioning operations when performing measurements with the L probe:

…..

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 29 of 36 All rights reserved

_AM_WP_MES: ….. IF $P_ADT[1] <> 713; <<<< ----Insert IF _OVI[14]==1; cycle is calling from the JOG-mode ; IF ($SCS_MEA_FUNCTION_MASK B_AND 'B100000000000000')==0; no coupling, relating to the JOG-mode SPOS=0 ; ENDIF ELSE; cycle is calling from the AUTOMATIC-mode ; IF ($SCS_MEA_FUNCTION_MASK B_AND 'B10')==0; no coupling, relating to the AUTOMATIC-mode SPOS=0 ; ENDIF ENDIF ENDIF; <<<< ----Insert M17

4.4 Notes when measuring workpieces on turning-milling machines with B -axis

Supplements to Measuring cup cycles Programming Manual (reference documents /1/), Chapter 2.3.24, Measuring a workpiece on a machine with combined technology: The following assignment of the machining planes should be maintained when making measurements with milling cycles at the main spindle of a turning-milling machine: The workpiece probe was prepositioned by aligning using the tool carrier.

Tool carrier basic position, = 0 °, G17 is the machining plane Tool carrier aligned, = 90 °, G19 is the machining plane

4.5 Notes regarding the swivel cycle (CYCLE800) 4.5.1 Notes regarding direct swiveling For direct swiveling, swivel plane additive and an additional rotation, the additional rotation refers to the currently calculated frame resulting from the positions of the rotary axes. This means that the additional rotation is calculated in absolute terms. If the WCS is rotated and shifted before swivel direct and swivel plane additive, the rotary axes cannot be directly programmed with swiveling, because it involves a combination of frame operations and direct machine positions. In this case, this is why fault 61153 "No swivel mode rotary axes direct possible" (fault code %4 = G or H) is output.

%4 = G TRANS ? -> swivel direct + additive translations not permissible in the workpiece reference %4 = H X0,Y0,Z0<>0 -> swivel direct + additive translations before swiveling not permitted

Alternatively, the machining program can be programmed with swivel axis-by-axis (swivel plane new or additive) or with swivel direct (only new swivel plane). 4.5.2 Notes regarding swivel basic position Activating and deactivating the function:

SD 55221 $SCS_FUNCTION_MASK_SWIVEL_SET Bit 7: Swivel plane; direction selection in the basic position of the kinematics Behavior for swivel plane in basic position of the kinematics, if the NCK calculates two solutions. Bit 7=0 For direction selection + or - both calculated solutions of the rotary axes are approached. Bit 7=1 For direction selection + or - only one of the calculated solutions of the rotary axes approached. Compatibility to PowerLine up to SW 7.x or SolutionLine up to SW 1.x

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 30 of 36 All rights reserved

5 Attachment_1: Compatibility list, machine and setting data for technological cycles

Validity: This list describes the assignment of setting parameters in the GUDs up to cycles SW 7.5 (complete status SW 1.5 of 840Dsl) to the machine and setting data from SW 2.6 (This is also applicable for SW 2.7/4.4 and SW 4.5)

5.1 Setting data that are no longer applicable

GUD name up to SW 7.5

Function, significance

_ZSD[4] =1: CYCLE93 retraction after the 1st plunge with G0 =0: Retraction with G1

_ZSD[5] =1: CYCLE88 is only executed with M5 =0: CYCLE88 is executed with M5 M0

_ZSD[6] =1: CYCLE93 In the cycle with active mirroring, tool offsets are not exchanged =0: Tool offsets are exchanged

_ZSD[9] =1: POCKET3 When measuring the square pocket above the corner, the angle of rotation refers to the center of the pocket =0: When measuring the rectangular pocket above the corner, the angle of rotation refers to this reference point

5.2 New setting data

MD/SD number

MD/SD name and bit Function, significance GUD name up to SW 7.5

General cycle settings No longer applicable, is now programmed =2: CYCLE95 infeed MID is the

diameter value =1: Infeed MID is the radius value =0: Infeed is active corresponding to the active radius- /diameter programming before the call

_ZSD[0]

SD 55214 $SCS_FUNCTION_MASK_MILL_SET, Bit 2 =1: Depth calculation without taking into account the safety clearance =0: Depth calculation between the reference plane + safety clearance and final depth

_ZSD[1]

No longer applicable, is now programmed

=1: Measuring a rectangular pocket/rectangular spigot from a corner =0: Measuring a rectangular pocket /rectangular spigot from the center point

_ZSD[2]

SD 55216 $SCS_FUNCTION_MASK_DRILL_SET, Bit 0 =1: CYCLE84 The programmed sign of the incline is reversed in the cycle. =0: The programmed sign of the incline is kept in the cycle.

_ZSD[7]

Thread table for thread cutting (CYCLE97)

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 31 of 36 All rights reserved

SD 55218 $SCS_FUNCTION_MASK_TURN_SET, Bit 0=1 CYCLE97: New thread table according to DIN 13-1 corresponding to edition 11.1999

_SC_MASK[2]

Tapping (CYCLE84/CYCLE840) SD 55481 $SCS_DRILL_TAPPING_SET_GG12[0] Setting for tapping: G-group 12:

Block change response for exact stop _SC_MASK[0] _SC_MASK[1]

SD 55482 $SCS_DRILL_TAPPING_SET_GG21[0] Setting for tapping: G group 21: Acceleration profile

_SC_MASK[0] _SC_MASK[1]

SD 55483 $SCS_DRILL_TAPPING_SET_GG24[0] Setting for tapping: G group 24: Precontrol

_SC_MASK[0] _SC_MASK[1]

SD 55484 $SCS_DRILL_TAPPING_SET_MC[0] Setting for tapping spindle operation for MCALL

_SC_MASK[0] _SC_MASK[1]

Notes: (1) SD 55481 … SD 55484 are only effective in conjunction with MD 52216 $MCS_FUNCTION_MASK_DRILL bit0 and bit1; description of the function: IM9 Chapter 20

6 Attachment_2: assignment list GUD parameter machine data for ISO cycles

Validity: This list describes the assignment of setting parameters in the GUDs up to SW 6.5 (complete release SW 1.5 of 840Dsl) to the machine and setting data from SW 2.6 (also valid for SW 2.7/4.4 and SW 4.5)

GUD up to version 6.5

MD/SD number MD/SD name

_ZSFI[0] SD 55800 $SCS_ISO_M_DRILLING_AXIS_IS_Z _ZSFI[1] SD 55802 $SCS_ISO_M_DRILLING_TYPE _ZSFI[2] SD 55804 $SCS_ISO_M_RETRACTION_FACTOR _ZSFI[3] MD 52800 $MCS_ISO_M_ENABLE_POLAR_COORD _ZSFI[4] MD 52802 $MCS_ISO_ENABLE_INTERRUPTS _ZSFI[5] SD 55806 $SCS_ISO_M_RETRACTION_DIR _ZSFI[6] MD 52804 $MCS_ISO_ENABLE_DRYRUN _ZSFI[7] _ZSFI[8] MD 52808 $MCS_ISO_SIMULTAN_AXES_START

_ZSFI[9] … _ZSFI[19] _ZSFI[20] MD 52810 $MCS_ISO_T_DEEPHOLE_DRILL_MODE _ZSFI[21] _ZSFI[22] SD 55808 $SCS_ISO_T_RETRACTION_FACTOR _ZSFI[23] SD 55810 $SCS_ISO_T_DWELL_TIME_UNIT

_ZSFI[24] … _ZSFI[38] _ZSFI[39] MD 10881 $MN_MM_EXTERN_GCODE_SYSTEM

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 32 of 36 All rights reserved

Notes regarding the integrated SIMATIC CPU 317 F-3 PN/DP A failsafe CPU 317 F is integrated in the SINUMERIK 840D sl as from the hardware platform NCU 7x0.3 (Software Version 4.x).

The safety Integrated functions known from the SIMATIC F-CPU cannot be used in the SINUMERIK environment. If the software module “S7 Distributed Safety Programming“ is installed in Step 7, you can generate and program a F-Program, as known from the SIMATIC. However, you cannot load such a program into a SINUMERIK. To obtain an identical system environment as in the hardware and software versions lower than Software Version 4.x, we recommend that you leave the “Protection“ tab in the properties of the CPU 317 F on the “Standard setting“.

Creation of a hardware configuration for F-Modules You still have to install the “S7 F Configuration Pack“ as a minimum requirement for creating a hardware configuration with F-Modules.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 33 of 36 All rights reserved

Depending on an additionally installed software package “S7 Distributed Safety Programming”, please observe the following. S7 Distributed Safety Programming installed on the PC/PG If the software module “S7 Distributed Safety Programming“ is installed in Step 7, the programmer is requested to enter a password which entitles him to set up a safety program, as soon as he wants to enter, display or modify the safety settings in the HW Config. Password assignment prompt.

Press the “Abort“ softkey to confirm this prompt. You are always prompted to enter a password when creating a new project resp. modifying an existing project and no password has been assigned before. Note You need not enter a password when using the Safety Integrated functions of the SINUMERIK 840D sl! If you have assigned a password here, this cannot be undone! If you have assigned a password, you must always enter this password when subsequently modifying the HW Config. Without entering the password, you have only read-only access to the parameter setting of the F-Modules. The “S7 Distributed Safety Programming“ is required to modify the HW Config. The “S7 F Configuration Pack“ no longer suffices. If “S7 Distributed Safety Programming“ is installed on the PC/PG and a password assigned in the screen “Authorization for setting up safety program“ (see Page 2), the following prompt is output when subsequently modifying the HW Config:

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 34 of 36 All rights reserved

Enter password: Read-only access

_______________________________________________________________ Note: If a password has been assigned for the HW Config, which is not known, or when opening a project with password in a Step 7 environment in which only the software module “F Configuration Pack“ is installed, you have solely read-only access to the F-Module parameters. ____________________________________________________________________________ Example: Solely read-only access to the fields highlighted in gray

Only the Software Module “S7 F Configuration Pack“ is installed on the PC/PG (without S7 Distributed Safety Programming) In this case, you are not prompted to enter a password when creating the hardware configuration. Entering the address areas of the F-Modules On the CPU 317 F, the address areas of the F-Modules must be within the process image. The available address area can be set in the properties of the CPU 317 F. The default setting for the address area is 1024, which can be extended to 4079.

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 35 of 36 All rights reserved

Setting the process image size of the inputs / outputs in the CPU 317 F

Setting the initial module addresses in a F-Module

SINUMERIK 840D sl CNC Software 4.5 SP6

© Siemens AG 2016 DF MC R&D 51 Page 36 of 36 All rights reserved

When parameterizing the address areas of the F-Modules outside the process image, the following message is output upon storage and compilation: