Siemens A4027118-A0414 Step Function Comment Mode Disable, Disable Æ Disable, Disable Æ Error

Page 93

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

Mode Disable (1)

 

1

 

 

 

 

Disable

Disable Æ Disable

1

1

 

Disable

Disable

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.

Disable Æ Error

1

0

 

Disable

Error

0Preparation

1_disableAxis() is called for the flying saw axis

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

Disable Æ Starting position

1

2

 

 

Disable

 

Startpo-

 

 

 

sition

 

 

 

 

 

 

 

 

 

 

0The enable command is prepared

1_enableAxis() is called for the flying saw axis If the axis is enabled, then advance to step 2

2_resetAxisError() is called for the flying saw axis If the axis is OK, advance to step 3

3_pos() is called for the flying saw axis with the direction of rotation for the shortest path

If the starting position is reached, then the “starting position” mode is activated.

V 1.4

Release 06/06/08

93/107

Image 93
Contents Application number A4027118 -A0414 Simotion Flying SawCopyright General NotesGeneral Notes Warranty, liability and supportReference regarding export codes Qualified personnelStandard Simotion application ForewordSec Description Tion Document structureList of contents Integrating the core flying saw functions Description of important program elements Error messages 101Chap Title Contents ContentObjective Subjects discussedBasic information PrerequisitesObjective and purpose of this standard application Principle design of a flying saw Solution using the standard flying saw applicationComponents included in the standard application Release 06/06/08 14/107 Uses Tasks that can be implemented using the core functionsApplications Controls that are permittedPrecisely synchronizing at a specific position Properties and features of the core flying saw functionsFlying axis Starting position of the flying axis can be setSensor Application environmentDesign of the flying saw Structure and functionGeneral design Physical quantities that can be parameterizedPhysical quantity Description Synchronous rangeDisable ErrorOperating states of the FlyingSaw-FB Starting positionManual AutomaticSection B The application example as demonstration System ContentsClassification Pictograms, signal words and textSevere 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 Installation Installing the standard Siemens softwareResetting 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 Yes PG/PC InterfacePG/PC1 Setting the Ethernet address of the PG/PC Ethernet address Action Comment Page Downloading the Simotion project of the standard application Page Page Brief instructions to demonstrate Operator control of the application exampleDemonstrate Detailed operating instructionStructure overview to demonstrate the application Structure overviewBrief instructions Print Mark Simulation on / OFFButton Flying Saw Startpos Material END button Material Start button and continue with Step Process screenPage Simodrive Detailed operating instructionsStart Welcome screen General screen areasButton Function Machine geometry Distance to sensor Machine parameter settingsStartPosition StartSyncPositionSystem Operator control functions in the setting-mode Operator functions of the process in the automatic mode Standard operator control Page Gap Length Expanded operator controlDisplay areas Flying saw mode10 Technology view of the flying saw Technology view11 Status Operator control functions in the status displaySection C Integrating the core flying saw functions Function and identification of the program groups Program environment and interfacesPro Program Data Gram Unit Module Section Program structureFBBGDTEMPLATEFlyingSaw IPOCall environment InterfacesClassifying the interfaces Block interface of the FBBGDTEMPLATEFlyingSaw False Queued mode changeover is Activated using this inputINT Parameter Data type Initial value DescriptionOutput parameter OUT Structure of the global data area of the data unit FSVarPhysical quantities Parameter Data type Initial Description Value Restart This is how you integrate core functions into your project Integrating the core flying saw functionsSimotion control Hardware element Diagram Order No./MLFB and functionsTechnology objects Technology objects required and synchronous relationshipsPreparations 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 Assigning the synchronous relationships FlyingSawAxisSYNCHRONOUSOPERATION ConfigurationPre-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 Mode changeover sequence Using the FBBGDTEMPLATEFlyingSawGeneral 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 routines Help functions within the core flying saw functionsObjectives Section D Program descriptionBefore carrying-out changes Information and warningsProgram structure Description of important program elementsDeclaration part FSVar Declaration section Instruction sectionFunctions of the FBBGDTemplateFlyingSaw FlyingSaw-FB Static variablesDeclarations Automatic state change sequences Axis monitoring functionsState machine of the FlyingSaw FB Error Æ Disable Step Function Comment Mode ErrorDisable Æ Disable Step Function Comment Mode DisableDisable Æ Error Disable Æ Starting positionStarting position Æ Error Step Function Comment Disable Æ ManualStarting position Æ Disable Mode, starting positionStarting position Æ Manual Step Function CommentMode, automatic Automatic cycleAutomatic Æ Disable Automatic Æ ErrorManual Æ Disable Manual Æ ErrorAutomatic Æ Starting position Mode, manualProperties/features of the IPOFS1IPORoutine Properties/features of startupSAPHelp routines SyncPos bufferFBBGDFSSPBin FBBGDFSSPBresetFBBGDFSSPBout FBBGDFSSPBreadScope of supply General information on the applicationRevisions/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 Applicationcenter Contact partnerEvaluation of the document Please help us to become even better