Siemens A4027118-A0414 user manual Call environment, Interfaces, Classifying the interfaces

Page 65

Section C: Integrating the core “flying saw” functions

Program environment and interfaces

Flying Saw with SIMOTION

A4027118-A0414

6.2Call environment

The function block FB_BGD_TEMPLATE_FlyingSaw() of the “flying saw” core function must be cyclically called in the user program. This is the reason that the call can only be made from a program that is incorporated in the background task.

Fig. 6-1 Call environment of the FB_BGD_TEMPLATE_FlyingSaw()

All rights reserved

Saw V1.4.doc

Copyright Siemens AG 2008

Manual SIMOTION Flying

B a c k g r o u n d

T a s k

U s e r s

P r o g r a m

SIMOTION

TO specific commands

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unit „FS_Var“

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

„FB_BGD_

 

 

TO

specific

 

 

 

 

 

 

TEMPLATE_

 

 

commands

 

 

 

 

FlyingSaw()“

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Central Function Flying Saw

 

 

 

 

 

 

 

 

 

 

 

 

 

TO

other Axes

in mode (4) Manual only

TO

Flying Saw Axis

The technology object “FlyingSawAxis”, influenced by the function block FB_BGD_TEMPLATE_FlyingSaw(), may only be addressed by the user program if, beforehand, the user switched the core “flying saw” function into Mode 4 “Manual”. In all of the other modes, it is not permissible that the user program influences the technology object “FlyingSawAxis”.

6.3Interfaces

6.3.1Classifying the interfaces

The function block FB_BGD_TEMPLATE_FlyingSaw() can be influenced using several parameters and interfaces that are classified/sub-divided into the following areas:

V 1.4

Release 06/06/08

65/107

Image 65
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