Siemens A4027118-A0414 user manual Integrating the core flying saw functions

Page 72

All rights reserved

Saw V1.4.doc

Copyright Siemens AG 2008

Manual SIMOTION Flying

Section C: Integrating the core “flying saw” functions

Integrating the core “flying saw” functions

Flying Saw with SIMOTION

A4027118-A0414

7 Integrating the core “flying saw” functions

7.1This is how you integrate core functions into your project

Please proceed as follows to integrated core functions into your project:

Check whether your equipment fulfills the software and hardware prerequisites listed in Chapter 7.2 Prerequisites.

De-archive and load the relevant project sections as described in

Chapter 7.3 Preparations.

Set-up the required technology objects as described in Chapter 7.4

Setting-up the required technology objects.

Assign the synchronous relationships as described in Chapter 7.5

Assigning the synchronous relationships.

Call-up the core functions as listed in Chapter 7.6 Integrating into your application.

Information and instructions on how you must integrate core functions into the sequence of your user program are provided in Chapter 8

Using the "FB_BGD_TEMPLATE_FlyingSaw()".

7.2Prerequisites

7.2.1SIMOTION SCOUT with SIMATIC STEP 7

In order to use this standard SIMOTION application, the SIMOTION SCOUT programming interface must be correctly installed on your computer.

You have two possibilities to do this:

You can install SIMOTION SCOUT in its standalone version - the STEP 7 functions required will be automatically installed.

Table 7-1 Software components

Software

Diagram

Order No./MLFB and functions

Version used

SIMOTION

 

6AU1810-0CA40-0XA0

V4.0.0

SCOUT

 

SCOUT standalone is the engineering

 

standalone

 

tool to program all SIMOTION controls

 

 

 

without STEP 7

 

 

 

 

 

or

You install STEP 7 followed by SIMOTION SCOUT.

V 1.4

Release 06/06/08

72/107

Image 72
Contents Simotion Flying Saw Application number A4027118 -A0414General Notes CopyrightWarranty, liability and support General NotesQualified personnel Reference regarding export codesForeword Standard Simotion applicationDocument structure Sec Description TionList of contents Integrating the core flying saw functions Error messages 101 Description of important program elementsContent Chap Title ContentsObjective Subjects discussedBasic information PrerequisitesObjective and purpose of this standard application Solution using the standard flying saw application Principle design of a flying sawComponents included in the standard application Release 06/06/08 14/107 Tasks that can be implemented using the core functions UsesApplications Controls that are permittedProperties and features of the core flying saw functions Precisely synchronizing at a specific positionFlying axis Starting position of the flying axis can be setApplication environment SensorStructure and function Design of the flying sawGeneral design Physical quantities that can be parameterizedSynchronous range Physical quantity DescriptionError DisableOperating states of the FlyingSaw-FB Starting positionAutomatic ManualContents Section B The application example as demonstration SystemPictograms, signal words and text ClassificationSevere bodily injury or even death Severe bodily injury or even deathResponsibilities of the operator Correct use MisuseResponsible for monitoring Hardware structure and mounting/installation Qualification of personnelOverview Procedure CommunicationsHMI system Action Comment Installing the standard Siemens software InstallationResetting Simotion D435 to the factory settings Minimum required releasesRelease 06/06/08 29/107 Release 06/06/08 30/107 Release 06/06/08 31/107 PG/PC Interface YesPG/PC1 Setting the Ethernet address of the PG/PC Ethernet address Action Comment Page Downloading the Simotion project of the standard application Page Page Operator control of the application example Brief instructions to demonstrateDemonstrate Detailed operating instructionStructure overview Structure overview to demonstrate the applicationBrief instructions Print Mark Simulation on / OFFButton Flying Saw Startpos Material END button Process screen Material Start button and continue with StepPage Detailed operating instructions SimodriveStart General screen areas Welcome screenButton Function Machine parameter settings Machine geometry Distance to sensorStartPosition StartSyncPositionSystem Operator control functions in the setting-mode Operator functions of the process in the automatic mode Standard operator control Page Expanded operator control Gap LengthFlying saw mode Display areasTechnology view 10 Technology view of the flying sawOperator control functions in the status display 11 StatusSection C Integrating the core flying saw functions Program environment and interfaces Function and identification of the program groupsProgram structure Pro Program Data Gram Unit Module SectionIPO FBBGDTEMPLATEFlyingSawCall environment InterfacesClassifying the interfaces False Queued mode changeover is Activated using this input Block interface of the FBBGDTEMPLATEFlyingSawParameter Data type Initial value Description INTStructure of the global data area of the data unit FSVar Output parameter OUTPhysical quantities Parameter Data type Initial Description Value Restart Integrating the core flying saw functions This is how you integrate core functions into your projectHardware element Diagram Order No./MLFB and functions Simotion controlTechnology objects required and synchronous relationships Technology objectsPreparations De-archiving the standard flying saw applicationDownloading the core functions into your Scout project Setting-up the required technology objects Axis, material web Configuration Monitoring functions closed-loop controlPre-assignment limits FlyingSawAxisSYNCHRONOUSOPERATION Configuration Assigning the synchronous relationshipsPre-assignment gear synchronization Pre-assignment dynamicIntegrating into your application Calling the FlyingSaw FB in the user programCalling the FBBGDTEMPLATEFlyingSaw in ST and FBD Assigning the instance Integrating the template block in the processing sequenceInstance Using the FBBGDTEMPLATEFlyingSaw Mode changeover sequenceGeneral information and instructions Initial state of the FBBGDTEMPLATEFlyingSawChanging-over the mode AutomaTic Using the restart bit Error messagesRestart after a new start Release 06/06/08 84/107 Help functions within the core flying saw functions Help routinesSection D Program description ObjectivesInformation and warnings Before carrying-out changesDescription of important program elements Program structureDeclaration part FSVar Declaration section Instruction sectionFunctions of the FBBGDTemplateFlyingSaw FlyingSaw-FB Static variablesDeclarations Axis monitoring functions Automatic state change sequencesState machine of the FlyingSaw FB Step Function Comment Mode Error Error Æ DisableStep Function Comment Mode Disable Disable Æ DisableDisable Æ Error Disable Æ Starting positionStep Function Comment Disable Æ Manual Starting position Æ ErrorStarting position Æ Disable Mode, starting positionStep Function Comment Starting position Æ ManualMode, automatic Automatic cycleAutomatic Æ Error Automatic Æ DisableManual Æ Error Manual Æ DisableAutomatic Æ Starting position Mode, manualProperties/features of startupSAP Properties/features of the IPOFS1IPORoutineHelp routines SyncPos bufferFBBGDFSSPBreset FBBGDFSSPBinFBBGDFSSPBout FBBGDFSSPBreadGeneral information on the application Scope of supplyRevisions/Author Version Date/Revision AuthorError messages ErrorID Explanation Error codeUsersInterface.grEndPos Enablegearing DisablegearingGap pos Details in FSVar structure under FRpossuperimpFSA Section E Appendix Section E Appendix Contact partner ApplicationcenterPlease help us to become even better Evaluation of the document