Siemens A4027118-A0414 user manual Automatic Æ Starting position, Mode, manual, Manual Æ Error

Page 97

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

1_stop() is called for the flying saw axis

If the axis is disabled, then advance to step 2

2_disableAxis() is called for the flying saw axis

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

Automatic Æ Starting position

Automa-

 

Startposi-

 

3

2

 

tic

 

tion

 

 

 

 

0Resets the "cut" output bit

If the "KnifeOut" signal is present, then prepare the position command and advance to step 1

1_pos() is called to return the flying saw axis back to its starting position.

Mode, manual (4)

 

4

 

 

Manual

Manual Æ Error

4

0

 

Manual

Error

_disableAxis() is called for the auxiliary axis and the flying saw axis

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

Manual Æ Disable

4

1

 

 

Manual

 

Disable

 

 

 

 

 

 

0 The stop command is prepared

 

 

 

 

2_stop() is called for the flying saw axis

3_disableAxis() is called for the flying saw axis

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

Manual Æ Starting position

4

2

 

 

 

Manual

 

Startposi-

 

 

tion

 

 

 

 

 

 

 

This state change is achieved using an automatic state change sequence where the starting position state is reached via the disable state.

V 1.4

Release 06/06/08

97/107

Image 97
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 discussedPrerequisites Basic informationObjective 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 deathMisuse Responsibilities of the operator Correct useResponsible for monitoring Qualification of personnel Hardware structure and mounting/installationOverview Communications ProcedureHMI 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 overviewPrint Mark Simulation on / OFF Brief instructionsButton 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 IPOInterfaces Call environmentClassifying 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 relationshipsDe-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 Assigning the synchronous relationships FlyingSawAxisSYNCHRONOUSOPERATION ConfigurationPre-assignment gear synchronization 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 Mode changeover sequence Using the FBBGDTEMPLATEFlyingSawGeneral information and instructions 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 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 sectionStatic variables Functions of the FBBGDTemplateFlyingSaw FlyingSaw-FBDeclarations 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 AuthorErrorID Explanation Error code Error messagesUsersInterface.grEndPos Disablegearing EnablegearingGap 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