sinumerik fm-nc installation and start-up guide 07-00
TRANSCRIPT
-
SINUMERIK FM-NC
Installation and Start-Up Guide 07.2000 Edition
Manufacturer/Service Documentation
-
Valid for:
Control Software VersionSINUMERIK FMNC 3
07.2000 Edition
SINUMERIK FMNC
Installation and Start-up Guide
Manufacturer/Service Documentation
Preface, Contents
General Preparations 1
Design 2
Settings, MPI Nodes 3
EMC and ESD Measures 4
Power On and Power-Up 5
Parameterization of the FMNC 6
PLC 7
Alarm and Message Texts 8
Axis and Spindle Dry Run 9
Drive Optimization 10
Data Saving 11
Software/Hardware Replacement 12
Miscellaneous 13
Abbreviations A
References B
General Index
-
SINUMERIK documentation
Printing history
Brief details of this edition and previous editions are listed below.
The status of each edition is shown by the code in the Remarks column.
Status code in the Remarks column:
A New documentation.. . . . . B Unrevised reprint with new Order No.. . . . . C Revised edition with new status. . . . . .
If factual changes have been made on the page since the last edition, this is indicated by a new edition coding in the header on that page.
Edition Order No. Remarks07.94 6FC5 297-0AB00-0BP0 A06.95 6FC5 297-2AB00-0BP0 C04.96 6FC5 297-3AB00-0BP0 C07.2000 6FC5 297-3AB00-0BP1 C
This manual is included in the documentation available on CD-ROM (DOCONCD)Edition Order No. Remarks09.01 6FC5 298-6CA00-0BG1 C
TrademarksSIMATIC, SIMATIC HMI, SIMATIC NET, SIROTEC, SINUMERIK und SIMODRIVE are trademarks ofSiemens. Other product names used in this documentation may be trademarks which, if used by thirdparties, could infringe the rights of their owners.
Further information is available on the Internet under:http://www.ad.siemens.de/sinumerik
This publication was produced with Interleaf V 7
The reproduction, transmission or use of this document or itscontents is not permitted without express written authority. Offenderswill be liable for damages. All rights, including those created by patentgrant or registration of a utility model or design, are reserved.
Siemens AG 1994 2000. All rights reserved.
Other functions not described in this documentation might beexecutable in the control. However, no claim can be made regardingthe availability of these functions when the equipment is first suppliedor for service cases.
We have checked that the contents of this document correspond tothe hardware and software described. Nonetheless, differences mightexist and therefore we cannot guarantee that they are completelyidentical. The information contained in this document is, however,reviewed regularly and any necessary changes will be included in thenext edition. We welcome suggestions for improvement.
Subject to changes without prior notice.
Siemens-AktiengesellschaftOrder No. 6FC5 297-3AB00-0BP1Printed in the Federal Republic of Germany
-
v Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Preface
The SINUMERIK documentation is organized in 3 parts:
General Documentation
User Documentation
Manufacturer/Service Documentation
The Installation and Start-Up Guide provides the information required forstart-up and servicing.
This publication describes the structure of the control system and the interfacesof the various components. Also, the procedure for starting up the system isdescribed and all data, signals, PLC blocks and alarms relevant to the startupare listed.
Information on the individual functions, the assignments of the functions and theperformance data for the various components can be found in more specificdocumentation (manuals, description of functions, etc.).Separate descriptions are available for user-oriented activities such as writingpart programs and operating the control.There are also separate descriptions for work to be performed by the machinemanufacturer such as configuring, design, programming of the PLC.
Note
This guide contains a description of standard start-up and initial start-up (up toand including axis or spindle). The start-up of other functions can be found inthe appropriate function description.
To help the reader, this Guide offers not only a list of contents but also the follo-wing appendices:1. List of Abbreviations
2. List of References
3. Index
Notes for thereader
Objective
Standard scope
Search aids
-
07.2000
vi Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
! ImportantThis Installation and Start-Up Guide is valid forSINUMERIK FMNC, Software Version 3, with MMC 100/100.2/102 or MMC 103
The SINUMERIK FMNC alarms are listed and described in theReferences: /DA/, Diagnostics GuideFurther help for start-up and in tracing errors is given in theReferences: /FB/, D1, Diagnostics Tools
The Installation and Start-up Guide includes:
Description of the overall design and the interfaces of the variouscomponents in order to provide an overview of how the individual compo-nents interact.
The procedure for standard start-up, initial start-up and start-up of a stan-dard machine and also data saving.
The Installation and Start-Up Guide includes information for:
the person starting up the installation after it has been configured anderected,
the service engineer for checking and interpreting the status displays andalarms.
The following notes have a special significance and are used in thedocumentation:
Note
This symbol appears in the documentation whenever background informationis provided.
! ImportantThis symbol appears in the documentation whenever attention has to be paidto something of particular importance.
Contents
Target groups
Notes
Preface
-
07.2000
vii Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The following warning notes with different level of severity are used in this publi-cation:
! DangerThis symbol appears whenever death, severe bodily injury or substantialmaterial damage will occur if the appropriate precautions are not taken.
! CautionThis symbol appears whenever minor bodily injury or material damage canoccur if the appropriate precautions are not taken.
! WarningThis symbol appears whenever death, severe bodily injury or substantialmaterial damage can occur if the appropriate precautions are not taken.
Technical notes
IBM is registered trademark of International Business Corporation.MSDOS and WINDOWS is a registered trademark of MicrosoftCorporation.
The following notation and abbreviations apply in this documentation:
PLC interface signals > IS Signal name (Signal data)Examples:
IS MMCCPU1 Ready (DB10, DBX108.2) i.e. the signal is stored indata block 10, data byte 108, bit 2.
IS Feed/spindle override (DB3134, DBB0) i.e. the signals are locatedfor specific axes/-spindles in datablocks 31 to 34, datablock byte 0.
Machine data > MD: MD_NAME (designation) Setting data > SD: SD_NAME (designation) The symbol means corresponds to.
After altering data (e.g. machine data) attention must also be paid to the ques-tion as to when the alterations will become effective (e.g. after Power ON orIMMEDIATE).
Warning notes
Trademarks
Notation
Effectiveness ofalterations
Preface
-
07.2000
viii Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
If it is necessary to perform measuring or testing work on the active device, thestipulations and instructions for complying with the accident preventionspecifications VBG 4.0 must be observed, in particular 8 Permissibledeviations when working on active parts. Other, similar specifications willcertainly apply in countries outside of Germany. Suitable electrical tools must beused.
! Warning Repair on equipment supplied by our company may only be carried out bySIEMENS Service or repair stations authorized by SIEMENS. Any defec-tive parts or components are only to be replaced by parts contained in therelevant spare parts list.
Disconnect the power supply before opening the equipment.
Emergency Stop facilities according to EN 60204 IEC 204 (VDE 0113 Part1) must remain operative in all operating modes of the automation equip-ment. Any disengaging of the Emergency Stop facility must not lead to un-controlled or undefined restart.
Wherever faults occurring in the automation equipment can lead tosubstantial material damage or even grievious bodily injury, i.e. arepotentially dangerous faults, additional external precautions must be takenor facilities must be provided ensuring or enforcing safe operation evenwhen a fault occurs (e.g. independent limit switches, mechanical interlocksetc.).
! Caution Connecting and signal lines must be installed so as to safely preventinductive and capacitive interferences from affecting automation functions.
Further notes
Preface
-
07.2000
ix Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Electrostatically Sensitive Devices
! ImportantHandling of electrostatically sensitive devices (ESD) When handling electrostatically sensitive components make sure the
operator, workplace and packing material are properly earthed.
Generally, electrostatically sensitive components must not be touched unless work has to be carried out on them. Always handle printed circuitboards without touching pins or printed conductors.
Touch components of the equipment only if
you are permanently earthed by means of an antistatic chain
you are wearing ESD boots or ESD boots with earthing strips inconjunction with an ESD flooring.
Modules may be set down only on electrically conducting surfaces (tablewith ESD top, conductive ESD foam plastic, ESD packing bags, ESD trans-port containers).
Keep modules away from visual display units, monitors, or TV sets (mini-mum distance from screen > 10 cm).
Modules must not be allowed to come into contact with electricallyinsulating materials such as plastic film, insulating table tops or clothingmade of synthetic fibers.
Measurements on modules are allowed only if
the measuring instrument is properly earthed (e.g. equipment groundingconductor) or
before measuring with a potential-free instrument, the probe is brieflydischarged (e.g. touch the bare, earthed metal control housing).
The SINUMERIK FM-NC may be used only for the applications provided for inthe Installation and Start-Up Guide and only in conjunction with non-Siemensequipment and components recommended or authorized by Siemens.
Should you encounter problems or have questions on reading the Installationand Start-Up Guide, please contact the Siemens office specified on the replysheet provided at the end of this manual.
If you have any queries, please contact:
SINUMERIK Hotline for FM-NC and FM354:Tel.: +49 180 525 8008Fax.: +49 180 525 8009Fax.: +49 911 895 7002 or
SIMATIC Hotline for PLC-CPU and AS300 modules:Tel.: +49 911 895 7000.
ESD notes
Use for intendedpurpose only
Contact addresses
Hotline
Preface
-
07.2000
x Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Preface
-
xi Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Contents1 General Preparations 1-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 General requirements 1-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Requirements for start-up 1-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Design 2-23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 Integration of FM-NC module (NCU 570.2) in the S7-300 PLC 2-24. . . . . 2.2 Overviews of connections 2-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Overview of connections for FM-NC (NCU 570.2) 2-26. . . . . . . . . . . . . . . . 2.2.2 Overview of connections for FM 354 2-32. . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Power supply 2-36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Power supply requirements of entire S7-300 system 2-36. . . . . . . . . . . . . . 2.3.2 FM-NC power supply 2-36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 FM 354 power supply 2-37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.4 Module power supply options 2-37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.5 Back-up battery service 2-38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 Interfaces of operator panel with MMC 2-40. . . . . . . . . . . . . . . . . . . . . . . . . 2.5 Machine control panel interfaces 2-46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 Interfaces of the standard machine control panel 2-46. . . . . . . . . . . . . . . . . 2.5.2 Interfaces of machine control panel 2-48. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.3 2nd machine control panel 2-49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6 Interface for customer operator panel 2-50. . . . . . . . . . . . . . . . . . . . . . . . . . . 2.7 Hand-held unit (HHU) 2-51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8 COROS OP 27 operator interface 2-52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Settings, MPI Nodes 3-53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1 MPI networking rules 3-54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Standard configuration 3-55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Nonstandard configuration 3-58. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 Example of an MCP and HHU configuration on MPI bus
with STEP7 V5x 3-60. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5 Example of distribution of MPI addresses 3-66. . . . . . . . . . . . . . . . . . . . . . .
4 EMC and ESD Measures 4-69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 Measures to suppress interference 4-70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Measures to protect ESD-sensitive components 4-71. . . . . . . . . . . . . . . . .
-
07.2000
xii Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
5 Power On and Power-Up 5-73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1 Start-up sequence 5-74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Power on 5-74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 Booting of system software 5-75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.1 Booting of entire system 5-76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.2 Booting of FM-NC (NCU 570.2) 5-78. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.3 Booting of PLC-CPU 5-79. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.4 MMC102/103 BIOS setup 5-80. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.5 Booting of MMC 100/102 5-81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.6 Booting of machine control panel (MCP) 5-81. . . . . . . . . . . . . . . . . . . . . . . .
6 Parameterization of the FM-NC 6-83. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1 Machine and setting data 6-84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Handling machine and setting data 6-85. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Protection level strategy 6-87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Operator control functions for start-up 6-89. . . . . . . . . . . . . . . . . . . . . . . . . . 6.5 Initialization of system 6-91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6 SINUMERIK FMNC configuration/system data 6-92. . . . . . . . . . . . . . . . . . 6.6.1 General configuration 6-92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7 Memory configuration 6-96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.8 Sequence of operations for initial start-up 6-100. . . . . . . . . . . . . . . . . . . . . . . 6.9 Sequence of operations for starting up a series machine 6-104. . . . . . . . . . 6.10 Axes and spindles 6-105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.1 Axis configuration 6-105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.2 Axis data 6-109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.3 Encoder matching (axis) 6-111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.4 Setpoint routing (axis) 6-120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.5 Velocity/speed matching 6-121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.6 Monitoring functions (axis) 6-129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.7 Reference point approach 6-135. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.8 Reference point approach for stepper motors 6-138. . . . . . . . . . . . . . . . . . . . 6.10.9 Extension to 5th axis 6-139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.10 Basic settings for operator panel 6-140. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.11 Configuration and machine data of local P bus of FM-NC 6-141. . . . . . . . . . 6.10.12 Spindle data 6-143. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.13 Spindle configuration 6-145. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.14 Encoder matching (spindles) 6-145. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.15 Speeds and setpoint adjustment (spindles) 6-147. . . . . . . . . . . . . . . . . . . . . . 6.10.16 Spindle positioning 6-149. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.17 Spindle synchronization 6-150. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10.18 Monitoring functions (spindles) 6-151. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.11 Start-up of functions 6-153. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
-
07.2000
xiii Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
7 PLC 7-155. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1 PLC applications 7-156. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2 Mode switch on CPU 7-160. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 CPU: Status and error displays 7-162. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4 CPU: MPI Multi-point interface 7-163. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5 CPU operating status for FM-NC start-up 7-163. . . . . . . . . . . . . . . . . . . . . . . 7.6 Overview of organization blocks, function blocks, DBs 7-165. . . . . . . . . . . . 7.7 Interface signals 7-165. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8 Alarm and Message Texts 8-167. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1 Alarm text files for MMC100/100.2 8-168. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2 Alarm text files for MMC 102/103 8-170. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3 Syntax for alarm text files of cycles and PLC alarms 8-173. . . . . . . . . . . . . .
9 Axis and Spindle Dry Run 9-177. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.1 Preconditions 9-178. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.2 Testing the axis 9-179. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.3 Testing the spindle 9-180. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10 Drive Optimization 10-183. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1 General principles of optimization 10-184. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2 Aim of optimization procedure 10-184. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.3 Checking the speed control loop 10-185. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11 Data Saving 11-187. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1 General 11-188. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 Data saving via MMC 100/100.2 11-189. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3 Data saving via MMC 102/103 11-193. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4 Saving data on a PCMCIA memory card 11-194. . . . . . . . . . . . . . . . . . . . . . . . 11.5 Data saving from MMC 102/103 11-195. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5.1 Data saving from MMC 102 11-195. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5.2 Data saving from MMC 103 11-196. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.6 Line checksums and MD numbers in MD files 11-199. . . . . . . . . . . . . . . . . . . 11.6.1 Line checksums 11-199. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.6.2 Machine data numbers 11-200. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.6.3 Abortion of MD import 11-200. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.7 Notes on loading and saving machine data 11-202. . . . . . . . . . . . . . . . . . . . . . 11.8 Machine/setting data 11-204. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
-
07.2000
xiv Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
12 Software/Hardware Replacement 12-205. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1 Upgrading FM-NC software (firmware update) 12-206. . . . . . . . . . . . . . . . . . . 12.1.1 Procedure for updating firmware on FM-NC 12-206. . . . . . . . . . . . . . . . . . . . . 12.1.2 Procedure for updating firmware on FM354 12-207. . . . . . . . . . . . . . . . . . . . . 12.2 Upgrading MMC 100/100.2 software 12-208. . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.1 Installation of MMC 100/100.2 system diskette(s) 12-210. . . . . . . . . . . . . . . . 12.2.2 Installation of MMC100/100.2 application diskette 12-216. . . . . . . . . . . . . . . . 12.2.3 Installation of MMC 100.2 software via PCMCIA 12-221. . . . . . . . . . . . . . . . . 12.3 Upgrading MMC 102/103 software 12-225. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.3.1 Installation via MMC 102/103 floppy drive 12-225. . . . . . . . . . . . . . . . . . . . . . . 12.3.2 Installation via PC/PG to MMC102/103 12-226. . . . . . . . . . . . . . . . . . . . . . . . . 12.4 Hardware replacement 12-230. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.1 Special notes for CPU318 12-230. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.2 CPU hardware replacement 12-233. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.3 FM-NC hardware replacement 12-233. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.5 Battery replacement 12-234. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13 Miscellaneous 13-235. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.1 Tool Box software package 13-236. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.1.1 Contents of tool box 13-236. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.1.2 Application of tool box 13-237. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.2 Assessing machine data via part program 13-238. . . . . . . . . . . . . . . . . . . . . . . 13.3 O & M for FM-NC with OP 27 13-239. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A Abbreviations A-243. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B References B-249. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C General Index Index-261. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
-
11-15 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
General Preparations
1.1 General requirements 1-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Requirements for start-up 1-18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
-
107.2000
1-16 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
1.1 General requirements
This Installation and Start-Up Guide describes the procedure for starting up thebasic control functions. Please refer to Descriptions of Functions/Manuals (seeDocumentation requirements) for further reference material relating to specialNCK, MMC, PLC or drive functions.
The following software is required to start up the SINUMERIK FM-NC:1. PCIN for transmission of data between PC/PG and MMC
Order No. 6FX2 0604AA002XB0 (German, English, French). Order from: WK Frth
2. SIMATIC STEP73. Tool Box for SINUMERIK FM-NC
Order No. 6FC5 2520AX200AB0Supplied on 3.5 diskettes with: Basic PLC program Sample machine data sets NC variable selector OP27 sample configuration
4. Software for generating user applications and transferring them to MMC: MMC 100: System diskette and applications diskette MMC 100.2: 2 system diskettes and 1 application diskette.
The following equipment and accessories are required to start up theSINUMERIK FM-NC:1. PC/PG with MPI interface (e.g. PG 740)2. MPI cable
3. V24 cable with 9-pin connector (socket)
Introduction
Softwarerequirements
Equipment andaccessoryrequirements
1.1 General requirements
-
107.2000
1-17 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The following documentation is required to start up the SINUMERIK FM-NC:1. Configuring, Manuals NCU 570 and FM 354 /PHF/
Order No.: 6FC5 297-3AC00-0BP02. Operator Components Manual /BH/
Order No.: 6FC5 297-6AA50-0BP03. Description of Functions, Basic Machine (Part 1) /FB1/
Order No.: 6FC5 297-6AC20-0BP04. Installation and start-up documentation and equipment for starting up analog
or stepper drives (according to manufacturers specifications).5. Lists /LIS/
Order No.: 6FC5 297-6AB70-0BP06. Description PCIN /PI/ (supplied with software)
Documentationrequirements
1.1 General requirements
-
107.2000
1-18 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
1.2 Requirements for start-up
Before an installation with SINUMERIK FMNC can be started up, it is essentialthat all mechanical and electrical equipment has been fully installed. The axisand spindle drives have already been started up (speed control loop) accordingto the relevant manufacturer specifications.The S7300 system has been configured and started up.Customer personnel must be available to provide assistance with configuringtasks and machine operation.
The component variants and their design are described inReferences: /PHF/, SINUMERIK FM-NC manual
/S7H/, SIMATIC S7-300 manual/BH/, Operator Components manual
Note
The information contained in this Guide regarding
connection and ambient conditions,
cable installation and lengths, cable shielding,
electromagnetic compatibility (EMC), earthing system, insulation, class of protection and degree of protection,
back-up batteries, etc.
must be taken into account when the installation with the SINUMERIK FMNCis set up and must be tested prior to start-up.
The following jumper connections must be made on the components and testedprior to start-up.References: /PHF/, SINUMERIK FM-NC manual
/S7H/, SIMATIC S7-300 manual
Note
Please refer to the Description of the PLC S7300 for jumper connections onthe PLC I/O devices.
All wiring and cabling must be installed. In order to identify obvious wiring andtermination faults, the installation must be inspected visually.
Requirements forcommencingstart-up
Installation designwith SINUMERIKFMNC
Jumper connections
Visual inspection/wiring and cabling
1.2 Requirements for start-up
-
107.2000
1-19 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Particular attention is to be paid to the following:
Cable installationTo avoid electrical interference, power and signal cables must not be laid inthe same cable duct. A check must be made to ensure that all cables areproperly installed/routed and correctly connected to the actual value sensors(measuring system) and to the drives (setpoint).Any cables assembled by the customer must be checked for adequate qual-ity/workmanship, particularly the shield cabling.
Earthing system checkTo ensure fault-free operation of the system, it is essential that any externalinterference is diverted effectively. The earthing system must comply withthe specifications laid down in the SINUMERIK FMNC Planning Guide. Inthis respect, it is particularly important that: the earthing system complies with requirements stated in DIN VDE 0160, a common earthing system is provided for the NC, drive and machine, the earth connections are taken in a start connection to a central earth-
ing point equipotential bonding is provided between the individual components a PE connection is provided and relays and motors are equipped with interference suppression elements.
Power supply checkA check must be made to ensure that the power supply cable connectionsfor all S7300 system function modules and the power supply tolerancerange are correct.
In order to start up the system, the basic data (velocities, timers, names, etc.)and information which were produced in the course of design and configurationof the installation must be made available. These data cover all areas of thecontrol system.The data required to start up basic functions are listed below.
Table 1-1 Basic data for start-up
MD No. Machine data name UnitGeneral data10000 Machine axis name [axis no.]: 0...3 Channel data20050 Assignment between geometry and channel axes 20060 Geometry axis name in channel 20070 Machine axis number valid in channel 20080 Channel axis name in channel Axis data
30110 Setpoint assignment: Drive number 30130 Output type of setpoint 30200 Number of encoders 30220 Actual value assignment: Drive number 30230 Input on drive module
Machine data
1.2 Requirements for start-up
-
107.2000
1-20 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Table 1-1 Basic data for start-up, continued
MD No. UnitMachine data name30240 Type of actual value sensing 30300 Rotary axis 30310 Modulo conversion for rotary axis 30320 Modulo 360 degrees display for rotary axes and spindle 31000 Direct measuring system (linear scale) [encoder no.]: 0,1 31010 Division period for linear scales [encoder no]: 0,1 mm, degrees31020 Encoder marks per revolution [encoder no]: 0,1 31030 Leadscrew pitch mm/rev31040 Encoder is directly mounted on machine [encoder no.]: 0,1 31050 Denominator load gearing 31060 Numerator load gearing 31070 Denominator measurement gearing [encoder no.]: 0,1 31080 Numerator measurement gearing [encoder no.]: 0,1 31350 Stepping frequency at maximum speed (only relevant for stepper motors) Hz31400 Steps per stepper motor revolution (only relevant for stepper motors) 32000 Maximum axis velocity mm/min, rev/min32010 Conventional rapid traverse mm/min, rev/min32020 Conventional axis velocity mm/min, rev/min32200 Servo gain factor 1/s32250 Rated output voltage %32260 Rated motor speed rev/min32300 Axis acceleration mm/s2, rev/s2
34000 Axis with reference point cam 34010 Approach reference point in minus direction 34020 Reference point approach speed mm/min, rev/min34030 Maximum path to reference cam mm, degrees34040 Creep speed [encoder no.]: 0,1 mm/min, rev/min34050 Direction reversal to reference cam 34060 Maximum path to reference mark.
Maximum distance from 2 reference marks in the case of distance-coded measuringsystems. [encoder no.]: 0,1
mm , degrees
34070 Reference point approach speed mm/min, rev/min34080 Reference point distance/target point [encoder no.]: 0,1 mm, degrees34100 Reference point value [cam no.]: 0...3 mm, degrees34200 Position measuring system type 34300 Reference mark distance [encoder no.]: 0,1 mm, degrees34310 Differential distance between two reference marks with distance-coded scales
[encoder no.]: 0,1mm, degrees
34320 Length measuring system is inverted [encoder no.]: 0,1 36000 Exact stop limit coarse mm, degrees36010 Exact stop limit fine mm, degrees36030 Standstill tolerance mm, degrees
1.2 Requirements for start-up
-
107.2000
1-21 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Table 1-1 Basic data for start-up, continued
MD No. UnitMachine data name36050 Clamping tolerance mm, degrees36100 1st software limit switch minus mm, degrees36110 1st software limit switch plus mm, degrees36200 Threshold value for speed monitoring mm/min, rev/min36300 Encoder limit frequency [encoder no.]: 0,1 Hz36400 Tolerance band for contour monitoring mm, degreesSpindle data35000 Assignment between spindle and machine axis 35010 Gear step change possible 35040 Independent spindle reset 35100 Maximum spindle speed rev/min35110 Maximum speed for gear step change rev/min35120 Minimum speed for gear step change rev/min35130 Maximum gear step speed rev/min35140 Minimum gear step speed rev/min35150 Spindle speed tolerance Factor35200 Acceleration in speed control mode rev/s2
35210 Acceleration in position control mode rev/s2
35300 Creep speed rev/min35400 Oscillating speed rev/min35410 Acceleration in oscillation mode rev/s2
1.2 Requirements for start-up
-
107.2000
1-22 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
-
22-23 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Design
2.1 Integration of FM-NC module (NCU 570.2) in the S7-300 PLC 2-24. . . . . 2.2 Overviews of connections 2-26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Overview of connections for FM-NC (NCU 570.2) 2-26. . . . . . . . . . . . . . . . 2.2.2 Overview of connections for FM 354 2-32. . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Power supply 2-36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Power supply requirements of entire S7-300 system 2-36. . . . . . . . . . . . . . 2.3.2 FM-NC power supply 2-36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 FM 354 power supply 2-37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.4 Module power supply options 2-37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.5 Back-up battery service 2-38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 Interfaces of operator panel with MMC 2-40. . . . . . . . . . . . . . . . . . . . . . . . . 2.5 Machine control panel interfaces 2-46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 Interfaces of the standard machine control panel 2-46. . . . . . . . . . . . . . . . . 2.5.2 Interfaces of machine control panel 2-48. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.3 2nd machine control panel 2-49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6 Interface for customer operator panel 2-50. . . . . . . . . . . . . . . . . . . . . . . . . . . 2.7 Hand-held unit (HHU) 2-51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8 COROS OP 27 operator interface 2-52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
-
207.2000
2-24 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.1 Integration of FM-NC module (NCU 570.2) in the S7-300PLC
The SINUMERIK FM-NC comprises a SIMATIC S7-300 programmable logiccontrol and an FM-NC function module (NCU 570.2) as an I/O module. In thissystem, the S7-300 CPU performs the functions of a PLC-CPU while the NCfunctionality is provided by the FM-NC function module (NCU 570.2). A functionmodule can operate a maximum of four position-controlled axes/spindles. Thesystem can be extended to include a fifth axis/spindle through connection of anFM 354 module to the local P bus of the FM-NC.A maximum of two spindles can be implemented with one FM-NC.
dig./anal.
FM-NC(NCU 570.2)
Encoder
Servo and/orstepper drive
SIMATIC S7-300 CPU
C bus
P bus
to next rack
PS 24 V2/5/10 A
dig./anal.
24 V
PC/PG with STEP7Operator panel with MMC
IM SM SM
Machine control panel (MCP)/interface to customer op. panel/narrow machine control panel
FM 354 SM
Encoder
Drive10 V Servo drive
local P bus
PS Power supplyIM Interface moduleSM Signal module (I/O module)FM 354 Function module as axis expansionCPU PLC (Programmable Logic Control) of FM-NCMPI Multi Point Interface (multipoint serial interface)
Start-up devicee.g. PG740
MPI
V24
Handheld unit
HHU OP 27
Operatorpanel
Fig. 2-1 Integration of FM-NC into the S7-300 system
Overview
2.1 Integration of FM-NC module (NCU 570.2) in the S7-300 PLC
-
207.2000
2-25 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The NCU 570.2 constitutes the NC area.The NCU 570.2 communicates
with the SIMATIC S7-300 CPU via the serial P (peripherals) and C (commu-nications) buses,
with the FM 354 (as axis extension) or with digital input/output modules viathe serial local P bus,
with up to four servo drives via a 10 V interface and/or with up to four step-per drives via pulse interfaces,
with incremental or absolute measuring systems via four measuring circuitinterfaces and
with operator panels (OP), programming devices (PG) and machine controlpanels (MCP), etc. of various rating classes via the multi-point serial inter-face (MPI).
The following can be connected via a 20-pin front connector with single-wireterminals:
2 probes 4 sensing elements, e.g. proximity sensors 2 handwheels.
The NC area can be extended if required by installing an FM 354 which is con-trolled by the NCU 570.2 via a local bus. Furthermore, additional NC-specificinputs and outputs can be implemented through the installation of additionalsignal modules (without exceeding the maximum configuration per tier) whichare driven via the local P bus.
The FM 354 communicates as an axis extension module
with the NCU 570.2 via a serial local P bus,
with the SIMATIC S7-300 CPU during power-up via the serial local P bus,
with a servo drive via a 10 V interface and
with an incremental or absolute measuring system via a measuring circuitinterface.
The following can be connected via a 20-pin front connector with single-wireterminals:
4 digital inputs 4 digital outputs
Since the FM-NC is an integral component of the S7-300 installation, with thePLC-CPU acting as the master, the entire S7-300 system must be started upfirst.
To start up the entire S7-300 system, please refer to the following documenta-tion:References: /S7H/, SIMATIC S7-300 manual
/PHF/, SINUMERIK FM-NC manual/BH/, Operator Components manual
NCU 570.2
FM 354
Start-up
2.1 Integration of FM-NC module (NCU 570.2) in the S7-300 PLC
-
207.2000
2-26 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.2 Overviews of connections
2.2.1 Overview of connections for FM-NC (NCU 570.2)
Fig. 2-2 shows the interfaces of the FM-NC (NCU 570.2) to the S7-300 systemand to the NC machine.
Label plate
Front viewwithout front covers
Measuring system interfaces X3...X6
Front cover(hinged)
Error and status displays
Drive interface X2
Bus connectorSIMATIC interface(local P bus)
SFBAFDC5VDIAG
ML+M
Compartmentfor backup battery
Power supply connec-tionX10
DIN rail
I/O interface X1
123456789
1
1
111111112
0
0
123456789
L+
Front connector
X2 X3 X4
X5 X6
Bus connector (hidden)SIMATIC interface(P bus and C bus)
Start-up switch Slot for memory module (PCMCIA)
Start-upswitch
Slot for memorymodule(PCMCIA)
Fig. 2-2 Layout of interfaces and front elements
Interfaces andfront panel ele-ments
2.2 Overviews of connections
-
207.2000
2-27 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
SIMATIC interface
Rear-panel connectors (on left in Fig. 2-2) for connecting the NCU 570.2to other control components via the S7-300 backplane bus (P and Cbuses)
Rear-panel connectors (on right in Fig. 2-2) for connecting NCU 570.2 to S7-300 modules to extend NCU 570.2 functionality (local P bus)
Drive interface
50-pin D-sub connector (X2) for connecting the power sections for a maxi-mum of four drives (analog drives and/or stepper drives)
Measuring system interfaces
D-sub sockets (X3...X6) to which up to a maximum of four position encoderscan be connected via 15-pin connectors.
I/O interface
20-pin front connector (X1) for connecting the handwheels, high-speed in-puts and probes and for wiring up the NC-READY relay.
Power supply connection
4-pin screw-type terminal block (X10) for connecting the 24 V load powersupply.
Memory module interface
68-pin memory module interface for PCMCIA (JEIDA memory card)
Start-up switch (rotary switch)
for connection of a lithium battery, pre-assembled with connector
The start-up switch is provided to assist start-up. It can be actuated by means ofa screwdriver.
4 LEDs for error and status displays
SF (red) Group errorThis LED indicates an error status of the NCU 570.2. In order to eliminatethe error, it may be necessary to start up or install the system again, to up-date the firmware or to replace a hardware component.
DIAG (yellow) DiagnosisThis LED indicates various diagnostic statuses. If you are not using an oper-ator panel (OP) or a programmer (PG) to indicate error statuses, the flashingof this LED will help you to localize the causes of errors.
BAF (red) Battery faultFlashing of this LED indicates that the battery needs to be changed.When it lights up continuously, the data contents of the buffered memorymay no longer be stored. A restart is required after replacement of the bat-tery.
Interfaces
Operator controls
Battery compartment
Displays
2.2 Overviews of connections
-
207.2000
2-28 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
DC 5V (green) Logics supply connectedThis LED indicates that the hardware is ready to operate.
If it does not light up, check the following: Is mains power supply OK? Is load power supply defective? Is module incorrectly connected?
Is control incorrectly configured (sum of rated and starting currents toohigh)? or
Is module defective?
LED display when FM-NC (NCU 570.2) is in Normal state LED SF: OFF LED BAF OFF LED DC 5V ON LED DIAG Rapid, regular flashing = NC sign of life (3 Hz)
Table 2-1 provides you with an overview of the LED error indications on theNCU 570.2 module.In the table, the following mean:1 = ON0 = OFFn/1 = Periodic flashing for indefinite timex = Not significant for fault/error described
Table 2-1 Summary of LED error displays
SF BAF DC5V DIAG Meaning RemarkHardware/Power supply:
1 X 1 X HW fault1) Replace FM-NC (NCU 570.2)1 X 0 X 5 V failure Replace FM-NC (NCU 570.2)/remove
external connections
0 X 0 X 24 V failure Check 24 V incoming supply/remove external connections/replace FM-NC (NCU 570.2)
1) LED combination even when PLC-CPU is switched off or not connected (no 5 V power supply on P bus).Battery monitoring:
X 1 X X Battery failure Scan: During power-upRemedy: Replace battery(System must be started up again)
X 1/1 X X Battery warning, voltage belowlimit
Scan: CyclicRemedy: Replace battery a.s.a.p.
Power-up and SW monitoring: (With this error/fault group, we recommend that you run the FM-NC (NCU 570.2) upagain with a SW update. If this does not eliminate the error/fault, then the FM-NC (NCU 570.2) must be replaced).
1 1 1 1 RAM error in COM(power-up aborted)
1 x x 1/1 COM power-up error, parameter-ization by S7-300 missing.
0 X X 0 Power-up Status display
2.2 Overviews of connections
-
207.2000
2-29 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Table 2-1 Summary of LED error displays, continued
SF RemarkMeaningDIAGDC5VBAF0 X X 1 PLC STOP PLC RUN and POWER OFF/ON0 X X 2/1 COM watchdog0 X X 3/1 NCK watchdog0 X X 4/1 Internal NCK SW error:
NRK timer/memory/link0 X X 5/1 Internal NCK SW error:
Processor FAULTs Please contact theSIEMENS AG0 X X 6/1 Internal NCK SW error:
Plane run
SIEMENS AGHotline (Tel.: +49 9313 / 98 3836)
0 X X 7/1 Internal NCK SW error:Stack overflow, MM error
0 X X 8/1 COM-NCK power-up error0 X X 9/1 NCK-PLC power-up error1 x x 10/1
to17/1
Access error on local P bus HW or SW error/fault on a moduleconnected to local P bus of FM-NC
1 1/1 x 1/1 RAM error After POWER ON or RESETMeasuring system monitoring:
1 X X 2/1 Encoder supply failure Check measuring system and connectionStart-up and checksum check, update:
1 X X 1 No start-up synchronization Update request after 30 s1/1 X X X Update request1/1 X X 2/1 COM checksum error Update COM1/1 X X 3/1 NCK checksum error Update NCK
After initiation of update:1/1 x x x Update request1/1 x x 2/1 Checksum error during COM up-
date1/1 x x 3/1 Checksum error during NRK/NCK
update1/1 x x 4/1 Group error during NRK/NCK de-
compression0 X X 1 Flash deletion in progress Status display0 X X 4/1 Flash programming in progress Status display0 X X 5/1 Update complete, o.k. Status display, power OFF/ON
2.2 Overviews of connections
-
207.2000
2-30 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Table 2-2 provides you with a list of the connector pin assignments for thepower supply and connectors X1 to X6
Table 2-2 PIN assignment of front connectors on FM-NC (NCU 570.2) PIN MD 30120
CTRLOUT_NRDesignation
Terminal block for 24 V load power supply1/3 L+ (DC 24 V)2/4 M (frame)
X1: Handwheel and I/O connection, 20-pin front connectorX1 1/2 5 Handwheel 1, track A (A1, A1_N)
3/4 Handwheel 1, track B (B1, B1_N)7/8 6 Handwheel 2, track A (A2, A2_N)9/10 Handwheel 2, track B (B2, B2_N)
5 Handwheel voltages: P5_EXT6 M5_EXT
11/12 NCRDY.1/.2 (ready to operate)(NC READY contact)
X1 13 Digit. input 1 (I0/BERO1)14 Digit. input 2 (I1/BERO2)15 Digit. input 3 (I2/BERO3)16 Digit. input 4 (I3/BERO4)17 Digit. input 5 (I4/MEPU1)
For connection of probes please refer to:References: /FB/, M4, Measuring Cycles
18 Digit. input 6 (I5/MEPU2)For connection of probes please refer to:References: /FB/, M4, Measuring Cycles
19 Not assigned20 M (reference potential for inputs)
X3 to X6 (axes 1 to 4): 15-pin D-sub socket connector, measuring system interfaceX3 4/6 1 (X3) Measuring system power supply: P5EXTtoX6 5
2 (X4)3 (X5) Measuring system power supply:P24EXT
7/9 4 (X6) MEXT2/3 Absolute encoder: Shift clock cycle (CLS,
CLS_N)10/11 Incremental encoder: Zero mark (N, N_N)15/14 Track A/SSI data (A/DATA,
A/DATA_N)13/12 Track B (B, B_N)
Connector pin assignments
2.2 Overviews of connections
-
207.2000
2-31 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Table 2-2 PIN assignment of front connectors on FM-NC (NCU 570.2), continuedDesignationMD 30120
CTRLOUT_NRPIN
X2: 50-pin D-sub plug connector, drive interfaceX2 1/34 1 Analog setpoint (SW1, BS1)
2/35 2 Analog setpoint (BS2, SW2)3/36 3 Analog setpoint (SW3, BS3)4/37 4 Analog setpoint (BS4, SW4)5/38 1 Clock pulse 1 (PULS1, PULS1_N)6/39 Directional pulse 1 (DIR1, DIR1_N)18/19 Enable signal 1 (ENABLE1, ENABLE1_N)40/7 2 Clock pulse 2 (PULS2, PULS2_N)41/8 Directional pulse 2 (DIR2, DIR2_N)20/21 Enable signal 2 (ENABLE2, ENABLE2_N)9/42 3 Clock pulse 3 (PULS3, PULS3_N)10/43 Directional pulse 3 (DIR3, DIR3_N)26/27 Enable signal 3 (ENABLE3, ENABLE3_N)44/11 4 Clock pulse 4 (PULS4, PULS4_N)45/12 Directional pulse 4 (DIR4, DIR4_N)28/29 Enable signal 4 (ENABLE4, ENABLE4_N)14/47 1 Servo enable 1 (RF1.1, RF1.2)15/48 2 Servo enable 2 (RF2.1, RF2.2)16/49 3 Servo enable 3 (RF3.1, RF3.2)17/50 4 Servo enable 4 (RF4.1, RF4.2)
2.2 Overviews of connections
-
207.2000
2-32 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.2.2 Overview of connections for FM 354
Fig. 2-3 shows the interfaces of the FM-354 to the S7-300 system and to theNC machine.
Label plate
Front viewwithout front covers
Measuring system interface X3
Front cover(hinged)
Status and error displays
Drive interface X2
Bus connectorSIMATIC interface(local P bus)
SF
DC5VDIAG
DIN rail
I/O interface X1
123456789
1
1
111111112
0
0
123456789
Front connectorENCODER X3
ANAL.OUT X2
I0I1I2I3
RM
Q0Q1Q2Q3
Display for digital inputs and outputs
Label on module:FM 354F.SERVO MOTOR
Bus connector (hidden)SIMATIC interface(local P bus)
Fig. 2-3 Layout of interfaces and front elements
Interfaces andfront panel ele-ments
2.2 Overviews of connections
-
207.2000
2-33 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
SIMATIC interface
Rear-panel connectors for connecting the FM 354 to the FM-NC (NCU570.2) via the local P bus or to the SIMATIC S7-300 CPU during systempower-up.
Drive interface
9-pin D-sub connector (X2) for connecting the drive unit (analog drive orstepper motor)
Measuring system interfaces15-pin D-sub socket (X3) to which one position encoder can be connected.
I/O interface
20-pin front connector (X1) for connecting the digital inputs/outputs are wir-ing up the power supply
12 LEDs for error and status displays
SF (red) Group errorThis LED indicates an error status of the FM 354. In order to eliminate theerror, it may be necessary to start up or install the system again, to updatethe firmware or to replace a hardware component.
DIAG (yellow) DiagnosisThis LED indicates various diagnostic statuses. If you are not using an oper-ator panel (OP) or a programming device (PG) to indicate error statuses, theflashing of this LED will help you to localize the causes of errors.
DC 5V (green) Logics supply connectedThis LED indicates that the hardware is ready to operate.
If it does not light up, check the following: Is mains power supply OK? Is load power supply defective? Is module incorrectly connected?
Is control incorrectly configured (sum of rated and starting currents toohigh)? or
Is module defective?
I0...I3 (yellow) Digital inputsThese LEDs display the enabled input.
Q0...Q3 (yellow) Digital outputsThese LEDs display the enabled output.
RM (yellow) Drive unit ready (not used for FM-NC)This LED indicates that the drive unit is ready.
Interfaces
Displays
2.2 Overviews of connections
-
207.2000
2-34 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
LED display when FM 354 connected to local P bus of FM-NC is in Normalstate
LED SF: OFF LED DC 5V ON LED DIAG Flashes only in the case of axes with measuring
system, at a rate dependent on the set basic clock cycle time of FM-NC (MD_ENC_TYPE=2 or 5MN 10050 SYSCLOCK_CYCLE_TIME = 0.006 illuminated for 3 s, dark for 3 s)
LED DIAG ON only in the case of an axis without measuring system(MD_ENC_TYPE=0; e.g. spindle without measuring system or simulation axis)
Table 2-3 provides you with an overview of the LED error indications on the FM354 module.
In the table, the following mean:1 = ON0 = OFFn/1 = Periodic flashing for indefinite timex = Not significant for fault/error describedB = Flashing
Table 2-3 Summary of LED error displays
SF DC5V DIAG Meaning Remark1 x x HW fault or SW error FM 354 SW update or replace FM 354 module0 1 0 FM 354 power-up not detected by
SIMATIC S7-300 CPUCheck SDB 100 in PLC program
1 1 0 RESET Module in RESET state0 1 1 FM 354 power-up detected by SI-
MATIC S7-300 CPU, but 354module not parameterized as 5thaxis by FM-NC or axis withoutmeasuring system
Axis parameterized without measuring systemorFM 354 or FM-NC (NCU 570.2) defective
0 1 B Normal state; FM 354 as 5th axisof FM-NC with measuring system
No error/fault
2.2 Overviews of connections
-
207.2000
2-35 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Table 2-4 provides you with a list of the connector pin assignments for connec-tors X1 to X3.
Table 2-4 PIN assignment of front connectors on FM 354
PIN DesignationX1: Handwheel and I/O connection, 20-pin front connector
X1 3 Digit. input 1 (DE1)4 Digit. input 2 (DE2)5 Digit. input 3 (DE3) / Probe 26 Digit. input 4 (DE4) / Probe 19 Positive input of controller message (RM_P) (not with FMNC)10 Negative input of controller message (RM_N) (not with FMNC)11 Digit. output 1 (DA1)12 Digit. output 2 (DA2)13 Digit. output 3 (DA3)14 Digit. output 4 (DA4)19 Load power supply: 24 V20 M
X3: 15-pin D-sub socket connector, measuring system interfaceX3 4/6 Measuring system power supply: P5EXT
5 Measuring system power supply: P24EXT7/9 MEXT2/3 Absolute encoder: Shift clock cycle (CLS, CLS_N)
10/11 Incremental encoder: Zero mark (N, N_N)15/14 Track A/SSI data (A/DATA, A/DATA_N)13/12 Track B (B, B_N)
X2: 9-pin D-sub plug connector, drive interfaceX2 1/6 Analog setpoint (SW, BS)
9/5 Controller enable 1 (RF1.1, RF1.2)
Connector pin as-signments
2.2 Overviews of connections
-
207.2000
2-36 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.3 Power supply
2.3.1 Power supply requirements of entire S7-300 system
The S7-300-CPU can buffer mains supply interruptions lasting up to 5 ms (guaranteed minimum period).After a power failure, a back-up period of at least 50 ms is still available in theNCU 570.2.
Note
In order to bridge power supply interruptions of > 5 ms, the FM-NC, FM 354and PLC-CPU (or the entire S7-300 under ideal conditions) should be operatedon a common 24 V power supply which guarantees the power supply back-uptime required by the customer.PS 307 power supply modules (2 A, 5 A and 10 A) should preferably be used,depending on power requirements. These modules are capable of bufferingsupply failures of 20 ms.
If the customer prefers to use a separate power supply for the FM-NC, FM 354and PLC CPU 314 as an alternative to the above solution, then he must ensurethat all modules are powered up/down simultaneously when POWER OFF/ONis selected. The FM-NC cannot be powered up via POWER OFF/ON sepa-rately from the PLC CPU 314.
2.3.2 FM-NC power supply
4-way screw-type terminal blockTerminals 1 and 3: L+ +24 V load power supplyTerminals 2 and 4: M 0 V load power supply (frame)
Approx. 1 A load current.
FM-NC cannot operate when the polarity is reversed. LED DC5V is off.LED DC5V lights up when the poles have been properly connected.
! ImportantEquipotential bonding must be provided if the S7-300-CPU and FM-NC aresupplied by different load power supplies.
Mainsbuffering
POWER OFF/ON
Power supplyconnection
Power requirement
Polarity reversalprotection
2.3 Power supply
-
207.2000
2-37 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.3.3 FM 354 power supply
20-pin front connector X1
Terminal 19: L+ +24 V power supply
Terminal 20: M 0 V power supply (frame)
Approx. 350 mA load current (with encoder supply).
FM 354 cannot operate when polarity is reversed. LED DC 5V is off.LED DC 5V lights up when the poles have been properly connected.
! ImportantEquipotential bonding must be provided if the S7-300-CPU and FM 354 aresupplied by different power supplies.
2.3.4 Module power supply options
L1L2L3NPE
L+N
NCU 570.2CPUPS 307
PEM
MML+L
M
ACDC
L+L
L+M
CPU
PEM
ML+
NCU 570.2
L+M
FM 354
M
L+M
FM 354
Low-voltage distribution e.g. TNS system (3 x 400 V)
Rail
Rail
Earthingbarin cabinet
Earthing barin cabinet
Fig. 2-4 Module power supply options
Power supply con-nection
Power requirement
Polarity reversalprotection
2.3 Power supply
-
207.2000
2-38 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.3.5 Back-up battery service
The FM-NC has a back-up battery which acts as the power supply for the buffered RAM.
It must be ensured that the battery is properly connected (notch on battery con-nector must face towards right or lug towards left and positive pole downwards,connector is inserted in battery compartment).
SFBAFDC 5VDIAG
ML+M
L+
Compartment for back-up battery
X2 X3 X4
X5 X6
Fig. 2-5 Insertion of back-up battery
A battery fault is detected in the case of incorrect connection.
! ImportantAn incorrectly inserted battery may discharge and have to be replaced.
The battery voltage is monitored in two phases:1st phase: Battery warningThe battery must be replaced if LED BAF starts to flash. Buffered data will re-main safe for several weeks depending on how often the control is switched on.The battery must be replaced as quickly as possible after output of a batterywarning. The system need not be started up again.Error message: 2100 NCK battery warning threshold reached
! ImportantThe battery must be replaced when the control system is switched on (other-wise data will be lost).
Battery connection
Battery voltagemonitoring
2.3 Power supply
-
207.2000
2-39 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2nd phase: Battery faultThe BAF LED lights up steadily when the battery voltage has dropped belowthe minimum value required to buffer the RAM.
During control power-up, the system automatically branches to the start-upmode with default values and the error message Standard machine dataloaded is set. A new battery must be inserted before buffered data are reloadedor entered again.If buffered data have been lost, please proceed as described in Section 11 or 3.
Battery type: Li battery set with connecting lead,size 1/2 AA, capacity approx. 850 mAh,voltage min. 3.6 V
Service life: Minimum 2 years, typically 4 to 6 years dependingon control system service period.
Error message: 2102 NCK battery alarm
2.3 Power supply
-
207.2000
2-40 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.4 Interfaces of operator panel with MMC
Fig. 2-6 shows a view of the rear of the operator panel with its individual compo-nents.
For a detailed description and diagrams of these components, please refer toReferences: /BH/, Operator Components manual
MMC
ISA adapter3)
Powe
r sup
ply
S1
X10
X6 X5 X4X3
1) 2)
Chassis
1) Housing edge MMC 100/100.22) Housing edge MMC 102/1033) not with MMC 1004) not with MMC100.2
S2
Power supply
24 V0 V PE
Equipotential bonding conductor
4)
Fig. 2-6 Operator panel with individual components
Operator panelwith individualcomponents
2.4 Interfaces of operator panel with MMC
-
207.2000
2-41 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The interfaces and operating elements of the MMC 100 are shown in Fig. 2-7.
MMC 100
S1
X10
X6 X5 X4X3
S2
External keyboard interface (keyboardmust be set to XT keyboard
RS 232 serial interface
Operator panel interface(MPI)
VGA interface
RESET buttonNMI button
NC keyboard interface
LCD interface
Power supply interface
Fig. 2-7 Interfaces and operating elements of MMC 100
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer to
References: /BH/, Operator Components manual
RESET button S1
NMI button S2
Interfaces and op-erating elementsof MMC 100
Interfaces on MMC100
Operating elements
2.4 Interfaces of operator panel with MMC
-
207.2000
2-42 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The interfaces and operating elements of the MMC 100.2 are shown in Fig. 2-8 .
NC keyboard interface X142
LCD interface X141
Power supply interface X3
MPIoperator panel interface
Reset buttonMF2external keyboard interface
COM1serial interface RS232
VGA monitorinterface
Memory module interface for PCMCIAX201
DIP switch S3
X201
S31 8
COM2serial interface RS232(in preparation)
Cover for memory module interface X201
Fig. 2-8 Interfaces and operating elements of MMC 100.2
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer toReferences: /BH/, Operator Components manual
RESET button S1 DIP switch S3
Interfaces and op-erating elementsof MMC 100.2
Interfaces on MMC 100.2
Operatingelements onMMC100.2
2.4 Interfaces of operator panel with MMC
-
207.2000
2-43 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
I The interfaces and operating elements of the MMC 102/103 are shown in Fig. 2-9.
PCMCIA option interface for MMC103
X11
X3
X4X5X6X7
X8S1S2
X10X9
X153
X152
D12
X151
SIEM
ENS
X142
X141
X122
X121
Hard disk
Battery 7-segment display
ISA interface
NC keyboard interface
LCD interface
Button S1Button S2
Mass storage in-terface IDE
Floppy disk drive interface External keyboard/
mouse portParallel printer port (LPT1)
Serial interfacesRS232
Power supply interface
Operator panel interface (MPI)
VGA interface
COM
2
COM
1
LPT1
MPI
VGA
Fig. 2-9 Interfaces and operating elements of MMC 102/103
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer toReferences: /BH/, Operator Components manual
The buttons S1 and S2 have the following functions:
MMC102:RESET button S1NMI button S2
MMC103:NMI button S1RESET button S2
Interfaces and operating elementsof MMC 102/103
Interfaces on MMC 102/103
Operatingelements on MMC 102/103
2.4 Interfaces of operator panel with MMC
-
207.2000
2-44 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The ISA adapter interfaces are shown in Fig. 2-10. The ISA adapter is an exten-sion for the CPUs MMC 102.
ISA slot interface
X151
X152
X153
X22
0
X22
1
ISA interface
Fig. 2-10 ISA adapter interfaces
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer toReferences: /BH/, Operator Components manual
Interfaces on ISAadapter
ISA adapterinterfaces
2.4 Interfaces of operator panel with MMC
-
207.2000
2-45 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The PCI adapter interfaces are shown in Fig. 2-11. The PCI adapter is an exten-sion for the CPUs MMC 103.
Card interface
PCI slot interface
X151
X153
X3
X220
X4
X221
PCIinterface
8/16bit card interface
X123
X121
X122
Fig. 2-11 PCI adapter interfaces
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer toReferences: /BH/, Operator Components manual
Interfaces on PCI adapter
PCI adapter interfaces
2.4 Interfaces of operator panel with MMC
-
207.2000
2-46 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.5 Machine control panel interfaces2.5.1 Interfaces of the standard machine control panel
The following interfaces, switches and display elements are present on the rearof the standard machine control panel (MCP):
Operator panel interface
Power supplyinterface
Switch S3
X10
X20S3 3 1
4 2
Emergencystop button
ON
1 2 3 4
LEDs 1...4Equipotential bonding conductor terminal
1 2 3SHIELD M24 P24
Fig. 2-12 Rear view of machine control panel, M and T versions
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer to
References: /BH/, Operator Components manual
The baud rate, transmission cycle time, bus address and hardware can be setvia switch S3. The standard switch settings are as follows:
Table 2-5 Standard settings of switch S3
1 2 3 4 5 6 7 8 Meaning6FC5 203 0AD10-0AA0 off off on off on on off off Baud rate: 187.5 kbaud
Transmission cycle time: 100 msBus address: 6
Interfaces and op-erating elementsof standard MCP
Interfaces
Switch S3
2.5 Machine control panel interfaces
-
207.2000
2-47 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Other settings for the machine control panel are shown in the following table.These table data apply to MCPs and to the customer operator panel interface(Section 2.6).Table 2-6 Possible settings for S3
1 2 3 4 5 6 7 8 Meaning:onoff
Baud rate: 1.5 MbaudBaud rate: 187.5 kbaud
ononoffoff
onoffonoff
400 ms transmission cycle time200 ms transmission cycle time100 ms transmission cycle time50 ms transmission cycle time
ononononononononoffoffoffoffoffoffoffoff
ononononoffoffoffoffononononoffoffoffoff
ononoffoffononoffoffononoffoffononoffoff
onoffonoffonoffonoffonoffonoffonoffonoff
Bus address: 15Bus address: 14Bus address: 13Bus address: 12Bus address: 11Bus address: 10Bus address: 9Bus address: 8Bus address: 7Bus address: 6Bus address: 5Bus address: 4Bus address: 3Bus address: 2Bus address: 1Bus address: 0
off Series HW (MCP)on Interface for customer
operator panel
References: /BH/, Operator Components manual
The LEDs have the following meaning:Table 2-7 LEDs 1...4 on machine control panel
Designation MeaningLEDs 1 and 2 ReservedLED 3 POWER: Lights up when voltage (24V) is presentLED 4 SEND: Changes state after data have been sent
LEDs 1...4
2.5 Machine control panel interfaces
-
207.2000
2-48 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.5.2 Interfaces of machine control panel OP032S
The following interfaces, switches and display elements are present on the rearof the machine control panel OP032S:
X20
X10
Operator panel interface (MPI)DIP switch(8-way), assignments
Power supply interface
Displays: LED 1, 2: not usedLED 3: POWER (24 V supply)LED 4: SEND, changes state on protocol transmission
ON
1 2 3 4
Equipotentialbonding con-ductor terminal
S3
LED:
Inputs
Outputs8 1
Connector1x6-pin
Pin 4 1 4 1 Pin 4 1 4 1
X36X35
X10
P24 M24 Shield
Fig. 2-13 Rear view of machine control panel OP032S
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer toReferences: /BH/, Operator Components manual
The baud rate, transmission cycle time, bus address and hardware can be setvia switch S3. The standard switch settings are as follows:
Table 2-8 Standard settings of S3 for MSTT OP32S
1 2 3 4 5 6 7 8 Meaning:on off on off on on off off Baud rate: 1.5 MBaud
Transmission cycle time: 100 msBus address: 6
Note
For use with the FM-NC, a baud rate of 187.5kBaud is to be set at the MCP OP032S (see Possible settings in Table 2-9). Switch S3.1 is to be set to the position OFF.
Interfaces and op-erating elementsof MCP OP032S
Interfaces
Switch S3
2.5 Machine control panel interfaces
-
207.2000
2-49 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Other settings for the machine control panel are shown in the following table.These table data apply to MCP OP032S.
Table 2-9 Possible settings for S3 for MCP OP032S
1 2 3 4 5 6 7 8 Meaning:onoff
Baud rate: 1.5 MBaudBaud rate: 187.5 kBaud
onoffoff
offonoff
200ms transmission cycle time / 2400 ms receipt monitoring100ms transmission cycle time / 1200 ms receipt monitoring50 ms transmission cycle time / 600 ms receipt monitoring
ononononononononoffoffoffoffoffoffoffoff
ononononoffoffoffoffononononoffoffoffoff
ononoffoffononoffoffononoffoffononoffoff
onoffonoffonoffonoffonoffonoffonoffonoff
Bus address: 15Bus address: 14Bus address: 13Bus address: 12Bus address: 11Bus address: 10Bus address: 9Bus address: 8Bus address: 7Bus address: 6Bus address: 5Bus address: 4Bus address: 3Bus address: 2Bus address: 1Bus address: 0
onoff
Interface MPI customer operator panelSeries HW
2.5.3 2nd machine control panel
Two machine control panels can be operated with the SINUMERIK FM-NC. The2nd MCP must be parameterized in the basic program parameters of FB1 inOB100.
2.5 Machine control panel interfaces
-
207.2000
2-50 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.6 Interface for customer operator panel
A customer operator panel can be connected via this interface. 64 digital inputsand 64 digital outputs with C-MOS level (5V) are provided on the module for thispurpose.
The interface to the customer operator panel has the following interfaces,switches and display elements:
ON
X231
LEDsS3
X20
X10
X221X211
H3H1H4H2
Power supply interface
123
SHIELDM24P24
Switch S3 LED 1...4
Operator panel interface
Equipotential bonding conductor terminal
Fig. 2-14 Front view of interface for customer operator panel
For a detailed description and diagrams of the interfaces (e.g. pin assignment),please refer to
References: /BH/, Operator Components manual
The baud rate, transmission cycle time, bus address and hardware can be seton switch S3. The default switch settings are as follows:
Table 2-10 Default settings of switch S3
1 2 3 4 5 6 7 8 Meaning:off off on off on on off on Baud rate: 187.5 kBaud
Transmission cycle time: 100 msBus address: 6
Interface
Interfaces,switches and dis-play elements
Interfaces
Switch S3
2.6 Interface for customer operator panel
-
207.2000
2-51 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.7 Hand-held unit (HHU)
The hand-held unit is connected to the MPI line via a distributor. The distributoris designed for mounting in a control cubicle or separate housing.
1
2
3
4
1
2
3
4
ON OFFS1
S2
ON OFF
S1
S2
Reserved
187.5 kBaud
Bus ad-dress 15
IDLEtime100 ms
Default settings
Fig. 2-15 Position of DIP switches in HHU (default setting)
The default setting (delivery state) of the DIP switches should be used when theHHU is operated on the MPI interface.
Table 2-11 S1 and S2 settings in HHU
S11
S12
S13
S14
S21
S22
S23
S24
Meaning:
off on off off on on on on Delivery stateoff Baud rate: 187.5 kbaud
ononononononononoffoffoffoffoffoffoffoff
ononononoffoffoffoffononononoffoffoffoff
ononoffoffononoffoffononoffoffononoffoff
onoffonoffonoffonoffonoffonoffonoffonoff
Bus address: 15Bus address: 14Bus address: 13Bus address: 12Bus address: 11Bus address: 10Bus address: 9Bus address: 8Bus address: 7Bus address: 6Bus address: 5Bus address: 4Bus address: 3Bus address: 2Bus address: 1Bus address: 0
References: /BH/, Operator Components manual
Overview
DIP switch settingfor MPI
2.7 Hand-held unit (HHU)
-
207.2000
2-52 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
2.8 COROS OP 27 operator interface
To operate and monitor (O & M) the FM-NC, it is possible to connect an operatorinterface (OP 27) to the CPU via the MPI interface.The FM-NC communicates with the OP 27 via the backplane bus.The interfaces on the OP 27 are shown in the following diagram.
IF1 A IF2 IF1 B
Power supply
optional
V24/TTY
Printer PC/PG
CPU FM-NCNCU 570.2
OP 27
MPI
Equipotential bonding conductorconnection
MemoryExtension
P24 M24 Relay contacts24 V DC; 0.3 A
Fig. 2-16 Interfaces of OP 27
Standard cables are available to make the connections shown.
The supply voltage is connected via the four-pin terminal block supplied asfollows:
1. Connect leads to terminals (conductor cross-section: 0.5...2.5 mm2)2. Insert terminal block in lower plug connector on OP 27
The ground terminal must be connected to the cubicle ground.
References: /ST7/, SIMATIC S7, Catalog ST 70
Overview
Connecting cable
Terminal block
Ground terminal
References forCOROS operatorinterfaces
2.8 COROS OP 27 operator interface
-
33-53 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Settings, MPI Nodes
3.1 MPI networking rules 3-54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Standard configuration 3-55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Nonstandard configuration 3-58. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 Example of an MCP and HHU configuration on MPI bus
with STEP7 V5x 3-60. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5 Example of distribution of MPI addresses 3-66. . . . . . . . . . . . . . . . . . . . . . .
3
-
307.2000
3-54 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
3.1 MPI networking rules
The following basic rules must be observed with respect to networkinstallations:
1. The bus line must be terminated at both ends. To do so, switch in theterminating resistor in the MPI connector in the first and last nodes. Switchout all other terminating resistors.
Note
Only two terminating resistors may be activated in the same line at a time.
2. At least one termination must be supplied with a 5V voltage. For this pur-pose, the MPI connector with active terminating resistor must be connectedto a device that is connected to the power supply.
Note
Connecting the MPI connector to the PLC (CPU) is ideal for this purpose.
3. Spur lines (feeder cable from bus segment to node) should be as short aspossible.
Note
Unused spurs should be removed wherever possible.
MCP
MMC 100/102
PG
Terminating resistoractivated in connector
ON
MPI
PLC-CPU
FM-NCNCU 570.2
ON
ON
Fig. 3-1 Network installation with terminating resistors
Basic rules
Example
3.1 MPI networking rules
-
307.2000
3-55 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
3.2 Standard configuration
PLCCPU mit SINUMERIK FM-NC, MMC and a machine control panel (MCP)or interface to customer operator panel on MPI bus.
The following hardware components are required for the minimum configuration
AS300 PLC-CPU (315, 316, 614, .., 318) SINUMERIK FM-NC NCU 570.2 with firmware version from V 03.xx
MMC
MCP or interface to customer operator panel.
STEP7
MPI bus nodes operate at 187.5 kbaud.
Every node on the MPI bus must have a bus address (0...31).Fig. 3-2 shows the default settings for the MPI bus addresses.
MCP/interface tocustomer operatorpanel
Operator panel with MMC
PLC-CPU
FM-NCNCU 570.2
Programmingdevice with S7
1MPI 187.5 kbaud
6 0
2 3
MPI bus addresses
Fig. 3-2 Standard application for SINUMERIK FM-NC
Standardapplication
Hardware requirements
Software
Baud rate
Bus addresses
3.2 Standard configuration
-
307.2000
3-56 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
The addresses of the bus nodes can be set as follows:
MMC 100/100.2
Default address: 1
Setting in configuration file NETNAMES.INI using application softwareReferences: /FB/, B3, Several Operator Panels and NCUs
MMC 102/103
Default address: 1
Setting in operating area Startup/MMC/Operator panel
Programming deviceDefault address: 0
Setting in STEP7 via menu Extras / PG/PC interface
PLC-CPU
Default address: 2
Setting in STEP7 hardware configuration under menu item Edit/Objectproperties/General/Properties/MPIAfter changing the MPI address, it is necessary to load the configuration intothe target module via menu item Target system/Load into module. It isonly possible to change the MPI address if the PLC-CPU is in STOP.References: /S7H/, S7 Manual or
/S7HT/, Start-up MPI Bus Nodes manual
FM-NC (NCU 570.2)Default address: 3
Setting: The PLC-CPU ascertains the MPI bus address of the FM-NCfor its rack configuration while the S7-300 system is being booted. This slot-dependent MPI address is then transferred to the C-bus modules. Based onits own MPI address, the PLC-CPU increments by one the MPI address foreach C-bus moduleExample:
PLC-CPU
FM-NCNCU 570.2
SM
SM
FM
2 3 4
MPI
Fig. 3-3 MPI addresses for C-bus modules
Setting of busaddresses
3.2 Standard configuration
-
307.2000
3-57 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
! ImportantIt must be ensured that the addresses of other MPI nodes (e.g. MCP = 6) arenot overlapped when the addresses are consecutively numbered in this way.
Standard MCP / MCP OP032S / Interface to customer operator panel
Default address: 6
Setting via DIP switch S3
Table 3-1 Settings on DIP switch S3 for standard application
1 2 3 4 5 6 7 8 Meaning:off off on off on on off off Standard MCP / MCP OP032S:
Baud rate: 187.5 kbaudTransmission cycle time: 100 msBus address: 6
off off on off on on off on Interface to customer operatorpanelBaud rate: 187.5 kbaudTransmission cycle time: 100 msBus address: 6
The following bytes in the PLC-CPU are assigned for the MCP or interface tocustomer operator panel (applies when SDB210 of the basic program Library isused): Input bytes 118...125
Output bytes 120...127
Status bytes for error detection, output double word 108 (evaluated by basicprogram)
These parameters on FB1 in OB100 (basic program) for the MCP are alreadyset.
Note
The input and output bytes given above are addresses in the range of the 4thrack. If this address range in the 4th rack is being used, different input, outputand status ranges must be assigned in the PLC-CPU and a new SDB210 mustbe generated (see Section 3.3).
If communication does not commence after a PLC reset (all display LEDs of theMCP flashing), the following points should be checked: Cable and connector wiring
DIP switch S3 (default setting) SDB210 from basic program diskette not loaded
Assignedinputs/outputs inPLC-CPU
CommunicationPLCMCP doesnot start
3.2 Standard configuration
-
307.2000
3-58 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
3.3 Nonstandard configuration
To name an example, the connection of additional MPI bus nodes would consti-tute a nonstandard configuration. The following are nonstandard features:
Connection of a hand-held unit (HHU)References: /BH/, Operator Components manual
Connection of a second MCP
Connection of further PLCs
Nonstandard settings with regard to the HHU, MCP and PLC are specified inthe global data configuration (see Section 3.4 ).
Connection of an OP 27 operator panel
(Configuration via ProTool.)References: /ST7/, Catalog ST 70
Connection of further FM-NCs
(Configuration via the PLC basic program on FB1 in OB100.) Connection of positioning modules FM 353/FM 354 (not on local
P bus of the FM-NC)(Configuration via the startup tool.)References: /S7S/, /S7L/, SIMATIC S7-300 manuals
You must adjust the communications parameters and possibly the switch set-tings (addresses) of the bus nodes.
To be able to enter a new configuration it is necessary to define global data inSTEP7. Select the object MPI network in the STEP7 project and then selectDefine global data in the menu Extras. The following procedure assumes thatthe user is acquainted with the handling of this tool.1. Set up a new project in STEP7. A separate station is to be set up for each of
the components (PLC, HHU, ...) which are linked together via MPI.2. Link the MPI nodes, i.e. interconnect CPU programs with MPI address
(hardware configuration).3. Define global data and enter the desired configuration4. Compile this configuration. A new SDB210 (system data block) will be crea-
ted for each CPU program. The SDB210 for the component MCP/HHU ismeaningless, because the settings of the basic data parameters are madewith DIP switches or via the keyboard.
5. Set the cyclical transmit pattern. Once the configuration has been compiledsuccessfully for the first time, the Conversion factor (SR) and Status(GDS) can be activated and then input.
6. Compile your configuration again.7. Transfer the SDB210 (from the CPU program of the PLC) to the PLC.
Overview
Procedure
3.3 Nonstandard configuration
-
307.2000
3-59 Siemens AG 2000 All Rights ReservedSINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
Note
The SDBs are not displayed in the STEP7 project manager by default. Theyare listed by double-clicking on the object System data.
8. Make the device-specific settings for all nodes: You now need to set the GDidentifiers from the table of global data definitions for the components(HHU,..).
9. You must set the input, output and status parameters for call FB1, DB7 inOB 100 in the basic PLC program for all operator control components (MCP,HHU).
3.3 Nonstandard configuration
-
307.2000
3-60 Siemens AG 2000 All Rights Reserved
SINUMERIK FM-NC Installation and StartUp Guide (IAF) 07.2000 Edition
3.4 Example of an MCP and HHU configuration on MPI buswith STEP7 V5x
PG/PC with STEP7 V5.x, PLC-CPU, FM-NC, MCP, HHU,(MMC)
MCP
Operator panel with MMC
PLC-CPU
FM-NCNCU 570.2
1
MPI bus 187.5 kBaud
14
2 3
Distri-butor
HHU Inputs: Flag byte (MB) 20...25Outputs: Flag byte (MB) 0...19Status: Flag double word (MD) 26
15
Inputs: Input byte (EB) 118...125Outputs: Output byte (AB) 120...127Status: Output doubleword (AD) 108
PG with S70
Fig. 3-4 Example of an MCP and HHU configuration on an MPI bus
Set up new project with the name Example. 3 stations must then be set u