Siemens A4027118-A0414 user manual Structure of the global data area of the data unit FSVar

Page 68

All rights reserved

Saw V1.4.doc

Copyright Siemens AG 2008

Manual SIMOTION Flying

Section C: Integrating the core “flying saw” functions

Program environment and interfaces

Flying Saw with SIMOTION

 

 

A4027118-A0414

 

 

 

 

 

 

Parameter

Data type

Initial value

Description

 

Input/output parameter (IN/OUT)

 

 

UsersInterface

STRUCT

 

User interface

 

ErrorInterface

STRUCT

 

ErrorID of the technology

 

 

 

 

functions

 

InternalData

STRUCT

 

Internal data of the sequence

 

 

 

 

control

 

SyncPos

STRUCT

 

Data of the synchronous

 

Management

 

 

position management

 

TimeCalc

STRUCT

 

Time calculation data

 

Output parameter (OUT)

 

 

 

Done

BOOL

False

Selected mode has been

 

 

 

 

activated.

 

Busy

BOOL

False

Mode changeover is active.

 

 

 

 

 

 

Error

BOOL

False

Indicates faults/errors within

 

 

 

 

the FBs and at the cross-cutter

 

 

 

 

axes.

 

Cut

BOOL

False

The flying saw moves in

 

 

 

 

synchronism with the material

 

 

 

 

web – cutting can start.

 

EndSyncPos

BOOL

False

Alarm, if the flying saw

 

Reached

 

 

passes/exceeds the upper limit

 

 

 

 

value of the synchronous range

 

 

 

 

when in the automatic mode

 

OnTheSpotCut

BOOL

False

The flying saw is in its starting

 

Possible

 

 

position and an immediate cut

 

 

 

 

is possible

 

OnTheSpotCut

BOOL

False

The immediate cut was carried-

 

Done

 

 

out

 

SyncNotPossible

BOOL

False

The last synchronization

 

 

 

 

operation could not be

 

 

 

 

executed with the secondary

 

 

 

 

conditions/constraints present.

 

ErrorID

WORD

0

Fault code

 

State

INT

0

Actual operating mode

 

 

 

 

 

6.3.3Structure of the global data area of the data unit FS_Var

The interconnection and links with the technology objects required and the physical reference quantities and control information are saved in the user interface of the instance data area.

The parameters saved here are generally not changed during fault-free operation of the “flying saw”.

V 1.4

Release 06/06/08

68/107

Image 68
Contents Simotion Flying Saw Application number A4027118 -A0414General Notes CopyrightWarranty, liability and support General NotesQualified personnel Reference regarding export codesForeword Standard Simotion applicationDocument structure Sec Description TionList of contents Integrating the core flying saw functions Error messages 101 Description of important program elementsContent Chap Title ContentsObjective Subjects discussedObjective and purpose of this standard application Basic informationPrerequisites Solution using the standard flying saw application Principle design of a flying sawComponents included in the standard application Release 06/06/08 14/107 Tasks that can be implemented using the core functions UsesApplications Controls that are permittedProperties and features of the core flying saw functions Precisely synchronizing at a specific positionFlying axis Starting position of the flying axis can be setApplication environment SensorStructure and function Design of the flying sawGeneral design Physical quantities that can be parameterizedSynchronous range Physical quantity DescriptionError DisableOperating states of the FlyingSaw-FB Starting positionAutomatic ManualContents Section B The application example as demonstration SystemPictograms, signal words and text ClassificationSevere 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 Installing the standard Siemens software InstallationResetting 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 PG/PC Interface YesPG/PC1 Setting the Ethernet address of the PG/PC Ethernet address Action Comment Page Downloading the Simotion project of the standard application Page Page Operator control of the application example Brief instructions to demonstrateDemonstrate Detailed operating instructionStructure overview Structure overview to demonstrate the applicationButton Flying Saw Startpos Brief instructionsPrint Mark Simulation on / OFF Material END button Process screen Material Start button and continue with StepPage Detailed operating instructions SimodriveStart General screen areas Welcome screenButton Function Machine parameter settings Machine geometry Distance to sensorStartPosition StartSyncPositionSystem Operator control functions in the setting-mode Operator functions of the process in the automatic mode Standard operator control Page Expanded operator control Gap LengthFlying saw mode Display areasTechnology view 10 Technology view of the flying sawOperator control functions in the status display 11 StatusSection C Integrating the core flying saw functions Program environment and interfaces Function and identification of the program groupsProgram structure Pro Program Data Gram Unit Module SectionIPO FBBGDTEMPLATEFlyingSawClassifying the interfaces Call environmentInterfaces False Queued mode changeover is Activated using this input Block interface of the FBBGDTEMPLATEFlyingSawParameter Data type Initial value Description INTStructure of the global data area of the data unit FSVar Output parameter OUTPhysical quantities Parameter Data type Initial Description Value Restart Integrating the core flying saw functions This is how you integrate core functions into your projectHardware element Diagram Order No./MLFB and functions Simotion controlTechnology objects required and synchronous relationships Technology objectsDownloading 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 FlyingSawAxisSYNCHRONOUSOPERATION Configuration Assigning the synchronous relationshipsPre-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 Using the FBBGDTEMPLATEFlyingSaw Mode changeover sequenceGeneral 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 functions within the core flying saw functions Help routinesSection D Program description ObjectivesInformation and warnings Before carrying-out changesDescription of important program elements Program structureDeclaration part FSVar Declaration section Instruction sectionDeclarations Functions of the FBBGDTemplateFlyingSaw FlyingSaw-FBStatic variables Axis monitoring functions Automatic state change sequencesState machine of the FlyingSaw FB Step Function Comment Mode Error Error Æ DisableStep Function Comment Mode Disable Disable Æ DisableDisable Æ Error Disable Æ Starting positionStep Function Comment Disable Æ Manual Starting position Æ ErrorStarting position Æ Disable Mode, starting positionStep Function Comment Starting position Æ ManualMode, automatic Automatic cycleAutomatic Æ Error Automatic Æ DisableManual Æ Error Manual Æ DisableAutomatic Æ Starting position Mode, manualProperties/features of startupSAP Properties/features of the IPOFS1IPORoutineHelp routines SyncPos bufferFBBGDFSSPBreset FBBGDFSSPBinFBBGDFSSPBout FBBGDFSSPBreadGeneral information on the application Scope of supplyRevisions/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 Contact partner ApplicationcenterPlease help us to become even better Evaluation of the document