Siemens A4027118-A0414 Using the restart bit, Error messages, Restart after a new start

Page 83

All rights reserved

Saw V1.4.doc

Copyright Siemens AG 2008

Manual SIMOTION Flying

Section C: Integrating the core “flying saw” functions

Using the "FB_BGD_TEMPLATE_FlyingSaw()"

Flying Saw with SIMOTION

A4027118-A0414

carried-out and the new state has been reached, this is flagged by a high signal at the done block output. The number of the new state can be read- off at the state output.

The sequences and actions that are executed during the changeover are described in detail in Chapter 10.3.4 of this document.

8.4Using the restart bit

Restart after a new start

The restart bit must be set at each new start of the SIMOTION D435 or when changing the parameterization. This is the reason that an initialization routine is run in the “FB_BGD_TEMPLATE_FlyingSaw()” and a parameter check is made and the block is brought into a defined state.

Note In the startup task, we recommend that the program startup_SAP() of the unit SAP_FS is used in order to initialize the "FB_BGD_TEMPLATE_FlyingSaw()" block.

The restart bit should also be set there in order to bring the block into a defined state!

Note At restart, the block checks essential technology parameters as well as the existence of saved technology objects

After the block has been successfully initialized, the restart bit is automatically reset.

8.5Error messages

If faults occur in the block itself or in technology objects and technology functions involved while FB_BGD_TEMPLATE_FlyingSaw() is operational, then these are signaled using the block outputs error and ErrorID.

V 1.4

Release 06/06/08

83/107

Image 83
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 101Subjects discussed ContentChap Title Contents ObjectiveObjective 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 Controls that are permitted Tasks that can be implemented using the core functionsUses ApplicationsStarting position of the flying axis can be set Properties and features of the core flying saw functionsPrecisely synchronizing at a specific position Flying axisSensor Application environmentPhysical quantities that can be parameterized Structure and functionDesign of the flying saw General designPhysical quantity Description Synchronous rangeStarting position ErrorDisable Operating states of the FlyingSaw-FBManual AutomaticSection B The application example as demonstration System ContentsSevere bodily injury or even death Pictograms, signal words and textClassification 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 Minimum required releases Installing the standard Siemens softwareInstallation Resetting Simotion D435 to the factory settingsRelease 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 Detailed operating instruction Operator control of the application exampleBrief instructions to demonstrate DemonstrateStructure 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 StartSyncPosition Machine parameter settingsMachine geometry Distance to sensor StartPositionSystem 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 Pre-assignment dynamic FlyingSawAxisSYNCHRONOUSOPERATION ConfigurationAssigning the synchronous relationships Pre-assignment gear synchronizationCalling 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 Initial state of the FBBGDTEMPLATEFlyingSaw Using the FBBGDTEMPLATEFlyingSawMode changeover sequence General information and instructionsTic 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 warningsDeclaration section Instruction section Description of important program elementsProgram structure Declaration part FSVarDeclarations 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 Æ Starting position Step Function Comment Mode DisableDisable Æ Disable Disable Æ ErrorMode, starting position Step Function Comment Disable Æ ManualStarting position Æ Error Starting position Æ DisableAutomatic cycle Step Function CommentStarting position Æ Manual Mode, automaticAutomatic Æ Disable Automatic Æ ErrorMode, manual Manual Æ ErrorManual Æ Disable Automatic Æ Starting positionSyncPos buffer Properties/features of startupSAPProperties/features of the IPOFS1IPORoutine Help routinesFBBGDFSSPBread FBBGDFSSPBresetFBBGDFSSPBin FBBGDFSSPBoutVersion Date/Revision Author General information on the applicationScope of supply Revisions/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