Siemens A4027118-A0414 user manual Step Function Comment Disable Æ Manual, Mode, starting position

Page 94

All rights reserved

Saw V1.4.doc

Copyright Siemens AG 2008

Manual SIMOTION Flying

Section D: Program description

Description of important program elements

Flying Saw with SIMOTION

A4027118-A0414

Step

Function

Comment

Disable Æ Manual

1

4

 

Disable

Manual

0The enable command is prepared.

1_enableAxis() is called for the flying saw axis

If the axis is enabled, then the “manual” mode is activated

Mode, starting position (2)

 

2

 

 

 

Startpo-

 

 

 

sition

 

 

 

 

 

Starting position Æ Error

2

0

 

 

 

 

 

Startpo-

 

 

Error

 

sition

 

 

 

 

 

 

 

 

 

 

 

0Preparation

1_disableAxis() is called for the flying saw axis

If the axes are disabled, then the “error” mode is activated

Starting position Æ Disable

2

1

 

Startpo-

 

Disable

 

sition

 

 

 

 

 

 

 

 

0The stop command is prepared.

1_stop() is called for the flying saw axis

2_disableAxis() is called for the flying saw axis

If the axis is disabled, then the “disable” mode is activated

Starting position Æ Automatic

2

3

 

 

Startpo-

 

Automa-

 

sition

 

tic

 

 

 

 

0The SyncPosBuffer is reset

1Wait until a valid synchronous position is available If yes, then advance to step 2

2_enableGearing() is called to synchronize the flying saw axis to the material web at the master and slave positions

If successfully synchronized, then advance with step 4, if not, then advance with step 3

V 1.4

Release 06/06/08

94/107

Image 94
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 elementsObjective ContentChap Title Contents Subjects discussedPrerequisites Basic informationObjective 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 Applications Tasks that can be implemented using the core functionsUses Controls that are permittedFlying axis Properties and features of the core flying saw functionsPrecisely synchronizing at a specific position Starting position of the flying axis can be setApplication environment SensorGeneral design Structure and functionDesign of the flying saw Physical quantities that can be parameterizedSynchronous range Physical quantity DescriptionOperating states of the FlyingSaw-FB ErrorDisable Starting positionAutomatic ManualContents Section B The application example as demonstration SystemSevere bodily injury or even death Pictograms, signal words and textClassification Severe bodily injury or even deathMisuse Responsibilities of the operator Correct useResponsible for monitoring Qualification of personnel Hardware structure and mounting/installationOverview Communications ProcedureHMI system Action Comment Resetting Simotion D435 to the factory settings Installing the standard Siemens softwareInstallation 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 Demonstrate Operator control of the application exampleBrief instructions to demonstrate Detailed operating instructionStructure overview Structure overview to demonstrate the applicationPrint Mark Simulation on / OFF Brief instructionsButton 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 StartPosition Machine parameter settingsMachine geometry Distance to sensor 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 FBBGDTEMPLATEFlyingSawInterfaces Call environmentClassifying 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 objectsDe-archiving the standard flying saw application PreparationsDownloading the core functions into your Scout project Setting-up the required technology objects Monitoring functions closed-loop control Axis, material web ConfigurationPre-assignment limits Pre-assignment gear synchronization FlyingSawAxisSYNCHRONOUSOPERATION ConfigurationAssigning the synchronous relationships Pre-assignment dynamicCalling the FlyingSaw FB in the user program Integrating into your applicationCalling the FBBGDTEMPLATEFlyingSaw in ST and FBD Integrating the template block in the processing sequence Assigning the instanceInstance General information and instructions Using the FBBGDTEMPLATEFlyingSawMode changeover sequence Initial state of the FBBGDTEMPLATEFlyingSawAutoma Changing-over the modeTic Error messages Using the restart bitRestart 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 changesDeclaration part FSVar Description of important program elementsProgram structure Declaration section Instruction sectionStatic variables Functions of the FBBGDTemplateFlyingSaw FlyingSaw-FBDeclarations Axis monitoring functions Automatic state change sequencesState machine of the FlyingSaw FB Step Function Comment Mode Error Error Æ DisableDisable Æ Error Step Function Comment Mode DisableDisable Æ Disable Disable Æ Starting positionStarting position Æ Disable Step Function Comment Disable Æ ManualStarting position Æ Error Mode, starting positionMode, automatic Step Function CommentStarting position Æ Manual Automatic cycleAutomatic Æ Error Automatic Æ DisableAutomatic Æ Starting position Manual Æ ErrorManual Æ Disable Mode, manualHelp routines Properties/features of startupSAPProperties/features of the IPOFS1IPORoutine SyncPos bufferFBBGDFSSPBout FBBGDFSSPBresetFBBGDFSSPBin FBBGDFSSPBreadRevisions/Author General information on the applicationScope of supply Version Date/Revision AuthorErrorID Explanation Error code Error messagesUsersInterface.grEndPos Disablegearing EnablegearingGap 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