Siemens A4027118-A0414 Functions of the FBBGDTemplateFlyingSaw FlyingSaw-FB, Static variables

Page 89

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

Sequence phases when changing from the “disable” to “manual”

Sequence phases when changing from the “starting position” to “disable”

Sequence phases when changing from the “starting position” to “error”

Sequence phases when changing from the “starting position” to “automatic”

Sequence phases when changing from the “automatic” to “disable”

Sequence phases when changing from the “automatic” to “starting position”

Sequence phases when changing from the “manual” to “disable”

Sequence phases in "automatic" operation.

Maximum length of the SyncPos buffer

Static variables

Description of the data structure of the TO parameters

Description of the data structure of the user interface with the geometry, machine data and control bits

Description of the data structure of the error interface with the error IDs of the state change and the RetDINT and FR values of the system commands.

Description of the data structure of the internal data area of the FlyingSaw FBs. Under no circumstances may users change these values.

Description of the data structure to manage synchronous positions.

Description of the data structure for time calculations within the FlyingSaw FBs

Description of the data structure of the synchronous position detection using measuring function.

10.3Functions of the FB_BGD_Template_FlyingSaw() ("FlyingSaw-FB")

10.3.1Declarations

Input interface

Input/output interface

Output interface

Internal program data

V 1.4

Release 06/06/08

89/107

Image 89
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 discussedObjective and purpose of this standard application Basic informationPrerequisites 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 deathResponsible for monitoring Responsibilities of the operator Correct useMisuse Overview Hardware structure and mounting/installationQualification of personnel HMI system ProcedureCommunications 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 overviewButton Flying Saw Startpos Brief instructionsPrint Mark Simulation on / OFF 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 IPOClassifying the interfaces Call environmentInterfaces 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 relationshipsDownloading the core functions into your Scout project PreparationsDe-archiving the standard flying saw application Setting-up the required technology objects Pre-assignment limits Axis, material web ConfigurationMonitoring functions closed-loop control Assigning the synchronous relationships FlyingSawAxisSYNCHRONOUSOPERATION ConfigurationPre-assignment gear synchronization Pre-assignment dynamicCalling the FBBGDTEMPLATEFlyingSaw in ST and FBD Integrating into your applicationCalling the FlyingSaw FB in the user program Instance Assigning the instanceIntegrating the template block in the processing sequence Mode changeover sequence Using the FBBGDTEMPLATEFlyingSawGeneral information and instructions Initial state of the FBBGDTEMPLATEFlyingSawTic Changing-over the modeAutoma Restart after a new start Using the restart bitError messages 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 sectionDeclarations Functions of the FBBGDTemplateFlyingSaw FlyingSaw-FBStatic variables 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 AuthorUsersInterface.grEndPos Error messagesErrorID Explanation Error code Gap pos EnablegearingDisablegearing 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