Home
User Manual Flying Saw - Service, Support
Contents
1. V 2 1 Release 11 05 14 63 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 TRUE The flying saw has not reached the start position in time for the next cut The saw will cut automatical the next reachable integer multiple of cutlength boForSyncToLate Actual mode OMFS_ERROR ERROR mode OMFS_DISABLE DISABLE mode OUT setie eOperationModes OMFS_START_POSITIONC STARTPOSITION mode FlyingSawType OMFS AUTOMATIC AUTOMATIC mode OMFS_MANUAL MANUAL mode OMFS_NOTHING_SELECTED No mode change OMFS_CHANGING Mode change active boFlyingSawAxisActive BOOL TRUE flying saw axis enabled sTOsType This structure contains the definition of all of the axes external encoders and measuring probes used the user must parameterize these Reference to the technology object of the leading value Possible technology objects posAxis real or virtual externalEncoderType IN toFlyingSawAxis followingAxis Refer to the technology object of the Flying Saw axis Only one real axis is permissible measuringInput Reference to the technology object of the measuring probe IN toPrintmark used for print mark detection The measuring probe must be Type assigned to the leading value sUsersInterfaceType toLeadingValue _AXIS_REF This structure includes the interface for the user
2. 2 3 1 Real Machine sUsersInterface boRealMachine TRUE Fig 2 3 Application environment of the standard application SIMOTION Flying Saw Real Machine w_V2 1 doc ying_Sa gt SIMOTION D 2 Encoder Motor Sensor C Material web Motor Encoder A SIMOTION system can be used to control the material feed and the drive of the flying saw As an alternative it is also possible to couple the flying saw via a machine encoder In this environment modulo parameters of the flying saw axis will be deactivated V 2 1 Release 11 05 14 21 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S Prerequisites and objectives Areas of use SIMOTION Flying Saw SIROT ID 37841424 2 3 2 Demo application sUsersInterface boRealMachine FALSE Fig 2 4 Application environment of the standard application SIMOTION Flying Saw Demo application SIMOTION D Encoder Material web Motor Sensor Motor PEE Encoder In this environment the FlyingSaw axis will be configured as a modulo axis with e modulo length EndPos 500 0 e startposition distance to sensor 50 0 Thereby at the demo environment no homing of the FlyingSaw axis is required V 2 1 Release 11 05 14 22 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_ SIMOTION_ FI SIEMENS Tore
3. Legend Flying Saw Position _ _ Flying Saw Velocity EON a SIROT ID 37841424 Flying Saw Producing Gap ON OFF on the spot CUT wo oO 5 uid Cutlength Sync Position EJ measured ba Material calculated STOP a og E selected selected Material 905 i ES om 100 END STATUS in te co calculated TM ndiul ha we ao TECHNO LOGY Flying Saw mode Automatic Producing Position mm a Jooo 3 59 28 PM 3 59 33 PM 2 ra g 3 59 38 PM 21012010 aaa m Material Position Material Velocity SETTINGS MANUAL fi SIMATIC WinCE flexible Runtime Distance ToSensor 200 mm StartPos 0 mm SyncPos 100 mm Flying Saw Axis Acceleration Cut STATUS Gap Velocity 50 mm s Gap Velocity EndPos 0 mm EndSyncPos mm Back 100 mm s Gap mm s MANUAL V2 1 Release 11 05 14 TECHNO LOGY STATUS 39 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S The application example as demonstration system Operator control of the application example SIMOTION Flying Saw SIROT ID 37841424 13 The actual state of the function block of FO SIMATIC NRC Hewe Revere the application is displayed in the status WUT coke display You can read the ErrorlD numbers which are displayed under ErrorlD under QUITT Restart Chapter 8
4. conceptual phase E l m o J E engineering writing code E al m o Qd Ll commissioning E l m o J E How is this application from the didactic perspective Verv hiah Verv poor scope E l E o J Lal layout design E l m o J E clarity E bl m o QJ E Can the application be transferred to your own application Verv easilv Not easilv AJA aning u Do you require support for this application lyes Lad No Other comments __ anu tnua ea vasaaeauaneeeeeaeaeeaeaeaeeeeeeeeeeeeneeesneneanans V 2 1 Release 11 05 14 94 94
5. Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si M z N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 7 3 Integrating the core functions of the application SIMOTION Flying Saw The SIMOTION Flying Saw application comprises several functional units that are saved in the program unit FS_ Prog 7 3 1 Parameterizing in the startup task It is useful to combine configuration data assignments which won t be changed during operation in one program startupFlyingSaw When starting the control in the startup Task these data need to be executed once and the values will be assigned to the variables e Assignment of the actual TO instances e Assignment of machine specific parameters e Setting the restart bits The program is already prepared in the execution system as a program instance and is included in the UNIT FS_Progs The user only has to adapt the parameters to the real machine If several instances of the flying saw are used in the user program then the parameter assignments must be correspondingly supplemented 7 3 2 Calling FBFlyingSaw in the user program The function block of the flying saw core functions can be called after the integration in the user program The call is already prepared in the program unit FS_Progs in the mainFlyingSaw program The user only has to integrate this program into one of the cycle tasks prefe
6. Reversal point End point of the traversing range of the flying saw e g software limit switch sUsers nterface r64EndPos Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI 3 2 mm Synchronous range The synchronous range and therefore the cutting range are located between the synchronous position sUsersinterface r64SyncPos and synchronous range end sUsersinterface r64EndSyncPos Operating modes of the application SIMOTION Flying Saw The application automatically controls the flying saw axis to implement the required level of functionality This functionality is sub divided into five operating states so that the sequences at the flying saw are implemented as a result of the modes or also as a result of the transitions between the states This means the user only influences the flying saw by specifying the required operating mode with the required parameters V 2 1 Release 11 05 14 24 94 SIEMENS Tore tructure and function SIMOTION Flying Saw SIROT ID 37841424 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Fig 3 2 Operating modes A Manual Ao 1 Disable Table 3 2 Operating modes of the Application SIMOTION Flying Saw ERROR 0 An error was detected and the flying saw was brought into a safe state The error is still present and can be evaluated by the user
7. Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M z N S General Notes SIMOTION Flying Saw SIROT ID 37841424 We reserve the right to make technical changes to this product Copyright Reproduction transmission or use of this document or its contents is not permitted without express written authority Offenders will be liable for damages All rights including rights created by patent grant or registration or a utility model or design are reserved V 2 1 Release 11 05 14 2 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M z N S General Notes SIMOTION Flying Saw SIROT ID 37841424 General Notes Note The standard applications are not binding and do not claim to be complete regarding the circuits shown equipping and any eventuality The standard applications do not represent customer specific solutions They are only intended to provide support for typical applications You are responsible in ensuring that the described products are correctly used These standard applications do not relieve you of the responsibility in safely and professionally using installing operating and servicing equipment When using these standard applications you recognize that we cannot be made liable for any damage claims beyond the liability clause described We reserve the right to make changes to these standard applic
8. ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M E N S Description of the E FAN SIMOTION Flying Saw SIROT ID 37841424 _pos is called for the flying saw axis with the direction of rotation for the shortest path If the starting position is reached then the starting position mode is activated V 2 1 Release 11 05 14 91 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M E N S General information on Saa A A SIMOTION Flying Saw SIROT ID 37841424 10 10 1 10 2 V 2 1 General information on the application Scope of supply The flying saw package comprises e Program S Scout project as ZIP file SIMOTION_FlyingSaw _V2 1 zip e TestFB Program S Scout Projekt as ZIP File SIMOTION_FlyingSaw _ TestFB_V2 1 zip e Library HTML Export as ZIP File SIMOTION_FlyingSaw _LFSLib_V2 1 zip e Documentation Implementation Operating Instructions as PDF file Manual_SIMOTION_FlyingSaw_V2 1 pdf Revisions Author Table 10 1 Revisions Author Change over Ethernet H E Bohm V 1 2 Protool templates trilingual Ch Pabst H E Bohm Changes General Notes A Hagelauer 13 04 06 Scout V4 0 H E Bohm 04 04 07 Functional Changes synchronization according to leading axis values asymptotic synchronization Ratio between measured and effective velocity of material web 06 06 08 Re
9. 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S The application example as demonstration system Installing the hardware and software SIMOTION Flying Saw SIROT ID 37841424 4 3 Installing the standard SIEMENS software If the application is only to be used to demonstrate and present then it is only Note necessary to install WinCC Flexible 2008 Runtime with 256 power tags Minimum required releases Table 4 3 Versions STEP 7 V5 5 03 42 SIMOTION SCOUT V4 3 1 17 WinCC Flexible 2008 SP3 HF3 WinCC Flexible Runtime 2008 SP3 HF3 4 4 Downloading the user program and parameterizing the drive in the SIMOTION D demonstration case 4 4 1 De archiving the SIMOTION project e Open SIMOTION SCOUT e De archive the SIMOTION project and open it using SIMOTION SCOUT 4 4 2 Resetting SIMOTION D435 to the factory settings In order to obtain a fixed starting point for the description on how to download the user program into the demonstration case restore the factory setting at the demonstration case as described below e Power down the demonstration case e Set the mode switch SIMOTION D435 to setting 3 MRES e Power up the demonstration case e When RDY lights green and STOP lights orange set the SIMOTION D435 mode switch to the 0 position RUN e RDY and RUN are green If the factory setting has been established restored the SIMOTION D435 has the standard IP address 169 254 11 22 at the Ethernet interface IE2 X130 4 4 3 Setting t
10. Cutting to length The cut position is determined by comparing the length of material that has been transported since the last cut with the selected cut length e Immediate cut A cut is initiated using an operator function independent of the material length that has been passed since the last cut e Creating a gap After a cut has been made the cutted material will be moved with the cutting equipment saw in the same direction of the material flow until a parameterizable distance gap to the non cutted material has been achieved After this step the cutting unit Saw returns to its start position e Gear factor A gear factor can be set between the measurable material web velocity and the material web velocity effective when cutting E g this feature is required when cutting wound paper cores formers The wound material is skewed and therefore the measured material web velocity with a measuring wheel does not match to the resulting core former velocity V 2 1 Release 11 05 14 16 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si a M z N S Prerequisites w e SIMOTION Flying Saw SIROT ID 37841424 2 2 Principle of operation 2 2 1 Possibilities for determination the cutposition To determine the cutting postion the block has two different techniques CP_CALCULATED Free cutting Cut position is calculated by breaking material web down by cutlength CP_MEASURE
11. LREAL mm Half the tolerance bandwidth Range i1 tPositionE SIPC UTE OSMOnE MOF INT Cut position fault counter Counter r64CutLengthMeasured LREAL mm Actually measured cut length mm Actual measured material position if the cutting Teo easel PRERE position is at the measuring point r64CutPosAtSensor Number modulo cycles at actual measured material OUT NumberNosalo DINT position if the cutting position is at the measuring point I O I O I O I O IN OUT OUT OUT OUT OUT OUT IN OUT OUT UT O V 2 1 Release 11 05 14 68 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 OUT 64CutPosAtSvncPos LREAL mm Interpolated material position if the cutting position y coincides with the synchronous point Number modulo cycles at interpolated material position if the cutting position coincides with the synchronous point r64CutPosAtSyncPos OUT NumberModulo 8 3 FBFlyingSaw Control block of the SIMOTION Flying Saw application 8 3 1 Block name FBFlyingSaw 8 3 2 Task Control block of the SIMOTION Flying Saw application The block includes the following functions e Mode manager of the application including the following modes ERROR DISABLE MANUAL STARTPOSITION AUTOMATIC e Determining the cutting position either using a print mark and measuring sensor or a parameteri
12. This value will be written as the new measured value into the ring buffer After the next measured value has successfully been detected the error counter will be set to zero The counter overflow is monitored CPM_ SIMULATED No measuring sensor is necessary With the activation of the automatic mode the position of the master value will be set to position O and automatically the first measured value will be extrapolated to the synchronizing position and written into the ring buffer All further measured values will be determined by adding cutlength and extrapolation to the synchronizing position The resulting value will be written into the ring buffer OnTheSpotCuts to this effect are not possible As all cuts have to be written into the ring buffer these values can only be executed after a certain material run time which is determined by the synchronizing length and the distance between the sensor and the Flying Saw V 2 1 Release 11 05 14 18 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si E M E N S Prerequisites and objectives Areas of use SIMOTION Flying Saw SIROT ID 37841424 2 2 2 Synchronizing The user can select one of three synchronization types e Time related BY_TIME e Position related BY LEADING AXIS VALUE SYMMETRIC Time related synchronization Synchronization motion is obtained from the dynamic value
13. ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 7 2 2 Interconnection of technology objects Description All of the other parameters should be set corresponding to the drive and encoder data Mechanical For the parameter distance per spindle revolution system enter that distance the Flying Saw cutting equipment is travelling along the web within one motor revolution Complete other parameters corresponding to the geometry and the machine design Pre assignment Please set this parameter corresponding to the drive dynamics Limits Please set this parameter corresponding to the system specifications Referencing Please set this parameter corresponding to the encoder The template assumes a referenced axis If an incremental encoder is to be used then the axis must be referenced in the MANUAL mode before additional operating modes are selected Monitoring Please set this parameter corresponding to the functions closed system specifications loop control synchronism interconnections of the SIMOTION Flying Saw application Figure 7 1 Synchronism interconnections required for the FBFlying Saw Material Axis Exte mal Encoder or Positioning Gearing axis axis The material axis MaterialAxis is the reference value for the flying saw This re
14. 11 05 Manual_SIMOTION_ FI Si E M E N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 7 1 3 Linking the flying saw functionality The LFSLib library comprises several program units whereby the unit FS_Template contains the functionality of the application in the form of function blocks as well as data type definitions The reference to the library is established in the unit FS_Progs as well as the instances of the function blocks and the data structures will be created In addition the unit includes the calls of the instances in those programs which must be integrated in the task system of the user project The programs are not able to run in the library and may have to be adapted to the particular application startupFlyingSaw Table 7 3 Programs of the RK_Progs unit startupFlyingSaw Initialization and parameterization StartupTask After the library has been copied imported in the library folder the program unit FS Progs must be copied from the library folder into the program folder of the application and modified at four positions Table 7 4 Copying and modifying the UNIT FS_Progs The unit is downloaded into the buffer memory by right clicking on the program unit FS_Progs in the library LFSLib followed by Copy LIBRARIES MP asert library TM asert DCC library E LFSLib e Insert ST source file e Insert MEC unit se Insert LAD FBD unit i FS_ e Hi
15. 3 7 Error messages Busy i Faults that are present can be acknowledged by pressing the QUITT button ErroriD If the function block is in the error state automatic then press the Quitt button until it goes into the disable state Using the Restart button you can reset the flying saw into the initial state after a restart Rotary Knife Modul Material Axis Error TECHNO MANUAL LOGY ESIMATIC WinCE flexible Runtime O Z OZ OoOo 14 The material can be removed Standard Application Higham Sew by pressing the SIMOTION i Material END button Flying Saw Mode Selected automatic p Actual automatic ON OFF Print Ma Actual Velocity Position Cutting Time Velocity on the spot ON OFF sv BED MD 01 2000 ms to starposition 100 mms eet 028 act oj ms Backto Start 150 mm s e Material Velocity Cutlength Sync Position measured 392 Flying Saw i een Material STARTPOS calculated 7 calculated calculated STOP n Te 95 905 Flying Saw selected sae o selected P Material END mms TECHNO SETTINGS MANUAL LOGY STATUS i Ey SIMATIC WinCE fesible Runtime 15 After the last cut the flying saw Standard Application automatically moves to its starting SIMOTION position and waits for new material E Flying Saw Mode Flying Saw i Gap Selected start rest position ON OFF Actual changing y Print Mark x Actual Velocity Position Cutting Time Velocity
16. 33 5 Operator control of the application example cccccceeeeeeeeeeeeeees 34 5 1 Structure OVEPVICW ccccccceececescecaeeceseecceeecaeecaueecaeeseaeeeeeeesaueesaueenaees 35 5 2 Briel VS UC UO INS anden a a eee 36 6 Operatoration of the TestFB application cccccecccseceeeeeeeeeeeeees 42 6 1 Structure OVEFVICW ccccccceecccesceceeecceecceuceceueeceueeseeseueeceueessueesueenaaes 43 6 2 BRET SIPUCHIONS sscuc tecosseccssunclsareedncsons p a R e pR 44 V 2 1 Release 11 05 14 7 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Index of contents SIMOTION Flying Saw SIROT ID 37841424 Integration of the Core functionS sssssnsssnunnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn 47 T Integration in the user program cccececeeeceeeeceeeseeeseeeeeeeeeeseeseeeees 48 7 1 Importing the source COUC x ascii oieas das eand cece cd dase chad sdenens Apeebe nuance 48 7 1 1 Copying from the application example cccccccceeeeeaeeeeeeeeseeeeseees 48 7 1 2 Intergration Via XML import ccccecceeeceeeceeeceeeceeeseeeseseeseeeseeeeas 49 7 1 3 Linking the flying Saw functionality cece eececeeeeeeeeeeeeeeeeeeeaeeeeaes 50 7 2 EECANOIOGY ODIGCIS rnio a itt doe tiem nenen done vane Nee ees 53 7 2 1 Necessary technology objects and synchronism INGE COMING CLIONS asara a e E 53 7 2 2 Interconnec
17. MONITOR Project Command libra Mark the Program folder in the user ay AXES project Insert the program unit E EXTERNAL ENCODERS FS _Progs by right clicking Paste 2 PATH OBJECTS 2 CAMS TECHNOLOGY SBF Insert Insert Insert insert i a MH SINAMICS pan LIBRARIES gt Insert librar Import object n Import external sources Project Command fibraty Configure execution system Insert new object Eaj Then in the program unit FS Progs within the program container not in the library four program lines must UNIT FS_Progs be deleted INTERFACE 7399 Please delete this line in copied unit within program container 9439 Marked with V 2 1 Release 11 05 14 50 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 END_V R VAR GLOBAL RETAIN END VAR PROGRAM StartupFlyingSaw PROGRAM MainFlyingSaw Please DELETE this line in copied unit within PROGRAM container 59395s END_ INTERFACE END INTERFACE IMPLEMENTATION Please delete this line in copied unit within program container VAR_GLOBAL CONSTANT END VAR TYPE ENN TYPR gasFlyingsSaw il6J boForSyncToLate gaFBFlyingSaw ilil6d forSyncToLate Now the program unit can be 6 gasFlyingSaw
18. ON OFF Flying Saw Ea j s sel 2000 ms to Startposition 100 mms Material 79 i 16467 act ms Back to Start 150 mm s Flying Saw START Material Velocity Cutlength Sync Position measured 1699 392 mm 1449 calculated 92 calculated E mrs j 2 Ee calculated M N w o QO TT Mu Tu sea mM 170 Flying Saw selected al selected END 4 mm s ES mm TECHNO LOGY selected BD m bug i gi SETTINGS MANUAL STATUS V 2 1 Release 11 05 14 40 94 The application example as demonstration system Operator control of the application example SIEMENS SIMOTION Flying Saw SIROT ID 37841424 Sti SIMATIC WinCE flexible Runtime 16 Once the material has been completely removed from the screen area then you can either allow new material to enter by pressing the Material START_button and continue with Step 8 or end the flying saw by pressing the Flying Saw END button Flying Saw Flying Saw Mode Selected startirest position Actual start rest position Print Mark Actual Velocity Position Cut ime Velocity ON OFF Feirosan BE MD 521 200 ms Material Velocity calculated Ew Cutlength measured 905 act J ms calculated Eh 7 TerStayposition 100 mms Back to Start mm Sync Position 392 min 1 10 So TECHNO SETTINGS MANUAL aay STATUS fl SIMATIC WinCE flexible Runtime n After the flying saw has bee
19. Saw e FS Datai UI _FS Data2 CPB MI FST j E SIMATIC WinCE flexible Runtime FB FlyingSaw EndSyncPos reached InStartPas On the Spot Gut Possible POO OO0 OO0 flyingSawAyisActive Flying Saw Axis ES Eto Bel Pasition Velocity Acceleration nanan 00000000 CutLength activated Delta AUTO Type of Synchronisation Cuttingtime sel 2000 ms at EER os CulPositionErrerCounter o Sync Pos CutLength measured PM Generation Mode PM calculated Number of visualized Flying Saw m FS Datai UI _FS Data2 CPB MI FSI Release 11 05 14 45 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw V 2 1 Switchover from the indication of the application state to the indication of the movement curves Switching over will be done with the button Mode Graphic Have fun with trying out the application The application example as demonstration system Operatoration of the TestFB application SIROT ID 37841424 z ER SIMATIC WinCC flexible Runtime FB FlyingSaw EndSyncPos reached InStartPos Spot Cut Possible Gn the Spot Gut On the Spot Cut done Sync not possible for Sync to late ErrorID State flyingSawAxisActive Flying Saw Axis GearingRatio Pasition Velocity Acceleration
20. Table 8 1 List of the possible error priorities ErrorlD Priority Description 16 xxxx_Oxxxx Lowest priority Warning 16 XXXX_4XXX Low priority Warning execution possible with error 16 XXXX_8XXX High priority Error no execution possible 16 xxxx_Cxxx Highest priority Critical error Warnings Warnings are indicated by the status of the outputs error and errorlD error FALSE and errorlD lt gt 16 0000_0000 Table 8 2 Warnings ErrorlD Description 16 0000 0000 No warning 16 060C_ 4002 FlyingSawAxis changed over to modulo axis 16 060C_4003 Modulo length of the FlyingSawAxis is adapted to r64EndPos 500 0 Only valid when using test environment e g demo case 16 060C_ 4004 StartValue of the FlyingSawAxis is adapted to r64DistanceToSensor 50 0 Only valid when using test environment e g demo case 16 060C 4005 The axis as master value was switched to linear without modulo 16 060C_ 4006 The axis as master value was switched to linear with modulo 16 060C 4007 The external encoder as master value was switched to linear without modulo V 2 1 Release 11 05 14 76 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw Errors V 2 1 Program Description Program Description SIROT ID 37841424 16 060C_4008 The external encoder as master value was switched to linea
21. c00e 11 1 2 1 ASIC OESCIONOMN secede divias arsed td aii Sova EE ulsnumiade 11 1 2 2 Solution using the standard application SIMOTION Flying Saw 12 1 2 3 Advantages of the standard application SIMOTION Flying Saw 13 1 3 Components included in the standard application ccccceee 14 2 Arcas OT USC reaceusdse arid cele enearstsieieen deca selada gta iaebeaani sentation suse 15 2 1 A DDIICALIOIS sik sisthsacnt ta uaimesied aap nia ho een ce ulimeiet aie see erat ccae ae een 15 2 1 1 AVallADIC CONTOS sacsete tant platen cie a a toca late wiser hccuel ae nets 15 2 1 2 Tasks that can be implemented using the core functions 15 2 1 3 Properties and features of the core flying saw functions 16 2 2 Principle OF OPC aAtlON srira cide tapbynde cael oie r Saasinca cae eed ie ee 17 2 2 1 Possibilities for determination the cutposition cccceceeeeeeeeeeeeees 17 CP CALC ULATED etch ieee lend Rive ees cats a vie tees 17 CP MEASURED roen scat lh coe a ate 18 2 2 2 SV MGMEOMIZING oerke ia a a a haceuietcadbc cu ckugecke ad 19 2 3 Application environment ccccccsecceseceecceeceeeeeeeeceeeseeeseeeseeeseeeeas 21 2 3 1 Real Machine sUsersInterface boRealMachine TRUE 21 2 3 2 Demo application sUsersInterface boRealMachine FALSE 22 3 SELIG TUE ANG TUACUOMN srami ison a daca Guta tain iecdse nar nl 23 3 1 Design ofthe Tying SAW ised asco de
22. changeover with the operating mode specified in eMode Using eMode the operating mode is preselected that is then activated with the next positive edge at input boExecute OMFS_ERROR Preselects the ERROR mode IN eMode eOperationModes OMFS_DISABLE Preselects the DISABLE mode FlyingSawType OMFS_ START POSITION Preselects the STARTPOSITION mode OMFS _ AUTOMATIC Preselects the AUTOMATIC mode OMFS_MANUAL Preselects the MANUAL mode Feedback signal from the cutting device IN boStopCuttin BOOL IN estencutng Boot TRUE Cutting has been completed Feedback signal from the cutting device IN boKnifeOut BOOL IN oeneo O feoot TRUE Cutting device withdrawn from the material web TRUE Start Immediate cut OUT boError BOOL Indicates errors in the FBFlyingSaw and at the FlyingSawAxis Signal to the cutting device OUT boCut BOOL TRUE Flying saw is in synchronism to the material web the cutting device can cut boFlyingSawInStartPos BOOL TRUE Flying saw is in initial position Startposition OUT boEndSyncPosReached BOOL TRUE The end of the synchronous range has been reached or exceeded OUT boOnTheSpotCutPossible BOOL TRUE An Immediate cut is possible m boOnTheSpotCutDone BOOL TRUE An Immediate cut was executed An Immediate TRUE An Immediate cut was executed was executed boSyncNotPossible BOOL TRUE The last synchronization operation was not successful IO sFlyingSawlnfo sFlyingSawlnfo
23. continuous acceleration Geschwindigkeit FS_Progs gasflyingsaw 0 sflyingsawinfo f64maposfortechnologie 210 Geschwindigkeit 160 VE 97 2 pa pe Se eo Se ee Se ee Se Se Se a a Se Se ee Se Se a ee 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 6500 7000 7500 8000 8500 9000 9500 10000 10500 11000 11500 12000 ms If the SyncLength is selected too short the saw will not be able to start and the error message Sync not possible appears If the SyncLength is selected too long or the saw doesn t reach startposition in time the saw will not be able to start and the error message for Sync to late appears In this case the saw will cut automatical the next reachable integer multiple of cutlength e g cutlength 400mm the next possible cutlength will be 800mm 1200mm If the operator doesn t agree with these lengths he can use the on the spot cut function Release 11 05 14 20 94 Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si E M E N S Prerequisites and objectives Areas of use SIMOTION Flying Saw SIROT ID 37841424 2 3 Application environment The standard application SIMOTION Flying Saw can be used at Real machine Demo application e g demo case or drives motors without mechanical coupling to a real machine in test environment CAUTION The User has to select the real application environment by using the bit sUsersInterface boRealMachine
24. demonstration machine on a SIMOTION D demonstration case and on a PC with WinCC Flexible 2008 for visualization The demonstration program fulfills the following tasks e Operating mode manager for the complete demonstration machine e The control of the demonstration machine e The core functions of the flying saw functionality with absolute gearing e All of the machine functions that are relevant for the demonstration case environment can be simulated e The demonstration machine is displayed on the WinCCflex screen The second project TestFB enables the user to get quick access to the standard application Flying Saw FB FlyingSaw as well as obtaining know how for commissioning and diagnosting the SIMOTION Flying Saw application The TestFB program is limited to the following tasks e Presentation of FB FlyingSaw from a user s point of view e Controlling of all interfaces of the standard application e Visualization of all relevant data of standard application e Graphical display of synchronous operations In this way the core functions of the standard SIMOTION Flying Saw application can quickly and simply be integrated into user projects V 2 1 Release 11 05 14 14 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si a M z N S Prerequisites w e SIMOTION Flying Saw SIROT ID 37841424 2 Areas of use 2 1 Applications 2 1 1 Available controls The standa
25. e Indicate the performance limits of this standard application Subjects discussed Basic information The necessary prerequisites to use the standard flying saw application The use of this application Software components and code blocks of the standard flying saw application Tasks and properties of the core functions of the standard flying saw application Exclusions and restrictions Hardware components required Structure and function Type of design and physical quantities for which the flying saw core function can be used Type of cams that the flying saw core functions calculate and used Operating states at the FlyingSaw FB V 2 1 Release 11 05 14 10 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS sone Basic information SIMOTION Flying Saw SIROT ID 37841424 1 1 1 1 2 1 2 1 V 2 1 Basic information Prerequisites Target group The Converting Toolbox standard application Flying Saw is intended to provide SIMOTION programmers and users with help when engineering and programming flying saw machinery Knowledge base To use this standard application please make yourself familiar with SCOUT technology objects and technology function calls in SIMOTION This document does not discuss these a m topics and limits itself to provide information and data how to use this standard application T
26. il6dJ i32ErrorIbD gaFBFlyingSaw il6d errorID gasFlyingsaw il6J eState gaFBFlyingsaw il6J state COI Y pl led gasFlyingsSaw i16J boFlyingsawhxisdictive gaFBFlyingsaw il6J tlyingsawixisictive END_FOR END_PROGRAM 3939 Please DELETE this line in copied unit within PROGRAM container 499995 END_IMPLEMENTATION When using the program unit FS_Progs the user must not link the library by himself The library is linked using the FS_Progs unit User program units requiring access to library functions library types library function blocks and to data of the standard application must be linked with the program unit FS_Progs in the interface section INTERFACE USES FS_Progs Linking the standard application END_INTERFACE V 2 1 Release 11 05 14 51 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 Variable access To access variables of the SIMOTION Flying Saw application the following instances are set up in the global data area in the FS_Progs program unit Table 7 5 Data interface o Element f Deseription gasFlyingSaw Block interfaces and parameters gaFBFlyingSaw Instance s of the FBFlyingSaw NUMBER_OF_FLYING_ SAWS Number of FB instances VAR_GLOBAL CONST NUMBER_OR_FLYING_SAWS INT 1 number of f
27. is part of the LFSLib library The library is available within the SIMOTION project SIMOTION Flying Saw as well as XML export In order to be able to use the functionality of the library this library must be integrated into the corresponding user project 7 1 1 Copying from the application example Two instances of SIMOTION SCOUT are opened in order to copy the LFSLib library The application example is opened or dearchived in the first window and a new user project is created in the second window which already includes the global library folder Table 7 1 Copying the library from the application example The library is downloaded to the buffer memory by 5 Ap FlingSaw 20 right clicking on the library in the standard al Chedle nemvatendie application following by Copy Insert single drive unit D435 c LIBRARIES Insert library ee Insert DEC library A D BE Insert new object aE MONITE Renie The library LFSLib can be inserted if in the user BB UsevApplication FS project the Library folder is selected and is then TEF e R run by clicking on it with the righthand mouse key Ho Insert single drive unit H Hl D435 Ae My nse iit ed lise ee Sat The lower level objects are also copied Userdpplication_ FS Insert new abject F Create new device oA insert single drive uhit H E C435 EP LIBRARIES ly Insert library 1 Insert DEC library i FSLib lt M Insert ST source file H rgert MOC unit My nsert
28. occur ae a a ie ieaie as 23 3 1 1 General desig sieis ceca atari eid cies a a 23 3 2 Operating modes of the application SIMOTION Flying Saw 24 The application example as demonstration system cc sccesseeeeeeeeeeneeeesenenees 26 4 Installing the hardware and software ccccecccseeeeseeeeeeeeeaeeeeaeeees 2T 4 1 Regarding your safety cccccccsscccsseccececesceceueeceeecueeseueesueeseeenaes 27 4 1 1 Safety information and instructions ccceeccceececeeeeceeeeseeeeseeeesaees 27 4 1 2 Responsibilities of the OPerator cece cecccsseeceeeseeeeaeeesseeeeaeeeseees 28 4 2 Hardware structure and mounting installation ccccceeeeeeeeeeees 29 4 3 Installing the standard SIEMENS software ccccecccseeeseeeeeeeees 31 4 4 Downloading the user program and parameterizing the drive in the SIMOTION D demonstration case ccccccccecceseeeeeeeeeeeeeeneeeeaes 31 4 4 1 De archiving the SIMOTION project ccccccceeccseeeeaeeeeeeeeseeeeseees 31 4 4 2 Resetting SIMOTION D435 to the factory settings eee 31 4 4 3 setting the PG PC interface cccccccsceceseeceeeeceeeeceeeceeeecsueesseeenaees 31 4 4 4 Setting the Ethernet address of the PG PC ec ecccccseeeeeeeeeeees 32 4 4 5 Loading the hardware configuration after the factory setting 32 4 4 6 Loading the SIMOTION project of the standard application
29. of Synchronous Operation Either e Select the TO Axis MaterialAxis as master leading axis e Select setpoint as coupling type Figure 7 2 Configuration of the synchronous interconnections between the master axis material web and flying saw as setpoint coupling Following axis Flying ames Linear axis standard pressure Interconmechons to the master value interlace J onm O Coupling type Material amp xis Setpoint i eee FlypingS aws GLEICHLAUF or e Select the TO ExternalEncoder MaterialEncoder as master leading axis e Select actual value with extrapolation as coupling type The time constant required for extrapolation is determined by using the calculation tool on the Utility amp Applications CD Scout CD14 SRC 4_ TOOLS ExtrapolationT imeCalculation Figure 7 3 Configuration of the synchronous interconnection between the master value machining encoder and the flying saw as actual value coupling Following asiz Firings awesie Linear axis standard Interconnections to the master value interhace T omme Coupling type MaterialEncoder Actual value with extrapolation fae FluingSaw sis_GLEICHLSUF Table 7 7 Dynamic parameters During synchonizing and desynchronizing the dynamic parameters of the time related synchronization should be selected subject to the condition that the axis must not reach its dynamic limits Release 11 05 14 56 94 Saw_V2 1 doc ying_
30. tructure and function SIMOTION Flying Saw SIROT ID 37841424 3 Structure and function 3 1 Design of the flying saw 3 1 1 General design The bases of the flying saw application for example consists of a spindle axis on which the cutting unit is mounted The following physical variables of the flying saw are in use see white boxes Fig 3 1 Physical variables of the application Flying Saw Startposition Synchronous position Synchronous range Synchronous range end Sensor Distance to sensor Axis Zero Reversal point position V 2 1 Release 11 05 14 23 94 Prerequisites and objectives Structure and function SIEMENS SIMOTION Flying Saw SIROT ID 37841424 Table 3 1 Explanation of the parameterizable physical quantities Distance to Sensor Distance between the axis zero point of the flying saw and the sensor to detect sUsers nterface the material and print mark r64Distance ToSensor mm Startposition Start position of the cutting unit referred to the axis zero point of the flying saw sUsers nterface r64StartPos mm Synchronous position sUsers nterface r64SyncPos mm Position at which the cutting unit reaches the specified material position and material velocity Starting point of the synchronous range Synchronous range end sUsers nterface r64EndSyncPos mm End of the synchronous range If cutting has still not been completed at this position then the cutting is interrupted
31. value memory and releases the memory for memory management Integration in run time system The block can be called in any task The block is used by the SIMOTION Rotary Knife or SIMOTION Flying Saw application and does not have to be linked in by the user Graphic representation of the block FBCutPositionBufferOut sCutPositionBuffer cutPositionBufferManagement sCutPositionBuffer ManagementType ManagementType Block parameters Input output parameter cutPositionBuffer sCutPositionBuffer Structure of the CutPositionBuffer with all of the M t M tT required control signals and pointers refer to the anagemen anagementType chapter data types Functionality When the block is called the actual measured value position measured value and position deviation are deleted from the measured value memory Error messages No messages are generated V 2 1 Release 11 05 14 87 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M E N S Description of the Ea FI SIMOTION Flying Saw SIROT ID 37841424 Attachment 9 Description of the State Changes The following table describes the function sequences that are hidden behind the modes and the mode changes Table 9 1 Description of the sequences at the state change state transition in the FBFlyingSaw so oO O OO o Disable o All ErroriD memories are reset 1 Calls the _resetAx
32. 3 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 Mode changeover sequence The mode manager of the function block is shown in the following diagram It includes the possible operating states that can be activated and clearly shows the possible transitions that the user may initiate Figure 8 1 Possible state transitions at FBFlyingSaw RESTART A Manual lt Standard Zustandstibergang g Fehlerzustandsiibergang lt q Automatische Zustandswechselkette The actual block state is displayed at the state output Figure 8 2 Inputs and outputs of the mode changeover IN OUT cutLength Done gt gt execute Busy d Error GEE mode ae stopCutting endSyncPosReached knifeOut OnTheSpotCutPossible OnTheSpotCutDone gapLength syncNotPossible gap ErrorlD onTheSpotCut State gt In order to transition the block into a new state the number of the required target state must be specified at the mode input The changeover is activated by a rising edge on the execute input The active changeover is signaled in the new block state with a high signal at the busy output If all of the actions associated with the changeover have been successfully 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 rea
33. 4 Block parameters Output parameters flyingSawStart BOOL FALSE Start condition of the flying saw positionMeasured LREAL 00 mm next sync position ANa i DINT fo Number modulo cycle of next sync position onTheSpotCut BOOL FALSE TRUE On the spot cut active Input output Parameters sCutPosition Structure of the measured value memory with all of the required control signals and pointers refer to the chapter data types cutPositionBuffer Buffer Management Management Type Functionality Depending on the calling application the block executes the following activity The block checks as to whether a new position measured value cutPosition was entered If yes the flag flyingSawStarf is set and the measured position is transferred as synchronous position for the next processing cycle Error messages No errors are generated V 2 1 Release 11 05 14 86 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 8 5 4 Exporting from the measured value memory FBCutPositionBufferOut A measured value position measured value and position deviation is exported from the measured value memory Block name FBCutPositionBufferOut Task After the processing operation the function block deletes the last measured value position measured value and position deviation from the measured
34. 5 Manual_SIMOTION_FI Si 3 M z N S Index of contents SIMOTION Flying Saw SIROT ID 37841424 8 5 4 Exporting from the measured value memory FBCUPoOsSitNONBUMSrOUT siari i a 87 Attacnment nsin a E 88 9 Description of the State Changes ccccceccseccceeeeseeeeaeeeeeeeeeeeeesaees 88 10 General information on the application ccccccceeecseeeeeeeeeeeeeeeeees 92 10 1 SCODE OF SUDDIY Ant ean ene een eee eee ee eee Tene ae nein ernie 92 10 2 FROVISIONNS UIT OR vores alpcossrecueadssasaeeteeecune 92 11 Contact panne 256 os recaps e et icaes danse R 93 12 Please help us to become even better cc cccccsccccseeeseeeeseeeeaeeeeaes 94 V 2 1 Release 11 05 14 9 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI SIEMENS sone Basic information SIMOTION Flying Saw SIROT ID 37841424 Prerequisites and objectives Content section A will gives a detailed overview about each implemented function or function block which is ready to apply The application presented in this manual provides some use cases Further some applications will be listed for which this standard application cannot be used In addition the performance limits of this standard application will be shown Objective The part of this document should provide the user with the following information e The objective and purpose of this standard application e List several applications
35. BOOL Continued operation again r64UpperLimitToLate LREAL mm Maximum material position to start FlyingSaw i32UpperLimitToLate DINT Number of modulo cycles at maximum material NumberModulo position to start FlyingSaw ee LREAL mm Material position for abort synchronization Saline DINT A Number of modulo cycles at material position to Modulo abort synchronization Method to determine the cut position eCutPosition CP_CALCULATED Cut position is calculated by cutting GenerationMode to length of material position Type CP_MEASUERED Cut position is detected using the measuring probe eCutPosition GenerationMode Method to measure cut position only valid when CP_MEASURED activ CPM_DETECTED Cut position is detected using the eCutPosition sensor and the print mark and MeasureMode p Type eCutPosition entered in CutPositionBuffer CPM_SIMULATED Cut position is culculated by cutlength and entered in CutPositionBuffer MeasureMode V 2 1 Release 11 05 14 67 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 sMeasuringValueType This structure contains the internal data area of the measured value detection this is not relevant for the user element Type of Data Description Flag Start measured value generation mm Measured value actual i32MeasuredValueNew DIN
36. D Detection of cutpositions at a measuring point including storage of the measured values in a buffer CAUTION The selection can be changed only when the application is switched off and the material axis or leading value is switched off CP_CALCULATED As a matter of principle the material is allways cut at position cutlength Precondition The material axis is generated as a linear axis without modulo length First cut at standstill The material position is set to cutlength After the cut carried out the cutlength will be subtracted from the actual material position gt The result is position 0 when material keeps at standstill First cut out of the motion The material position is set to a position lt cutlength according to the synchronization requirements so that the cutting equipment is synchronized when the material position has reached the cutLength After cut and positioning back to startpos is completed the cutlength will be subtracted from the actual material position All further cuts After the cut and positioning back to startpos has been completed the Cutlength will be subtracted from the actual material position OnTheSpotCut is possible at any time when the Flying Saw cutting equipment is at standstill V 2 1 Release 11 05 14 17 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_
37. Errori scription SSS 16 0621_8001 STARTPOSITION to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32RetDINTStopFSA STARTPOSITION to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32FRStopFSA STARTPOSITION to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in i832RetDINTPosFSA STARTPOSITION to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in i32FRPosFSA AUTOMATIC RUN Error when activating gearing of the FlyingSawAxis _enablegearing Details in i32RetDINTEnableGearingFSA AUTOMATIC RUN Error when deactivating gearing of the FlyingSawAxis Details in i832RetDINTDisableGearingFSA AUTOMATIC RUN Error when deactivating gearing of the FlyingSawAxis Details in i32FRDisableGearingFSA AUTOMATIC RUN _disablegearing _disablegearing Error when superimposed positioning the FlyingSawAxis for Gap _pos Details in i32RetDINTPosSuperimposedFSA AUTOMATIC RUN Error when superimposed positioning the FlyingSawAxis for Gap _pos Details in i32FRPosSuperimposedFSA AUTOMATIC RUN Error when positioning the FlyingSawAxis back to start position _pos Details in i32RetDINTPosFSA AUTOMATIC RUN Error when positioning the FlyingSawAxis back to start position _pos Details in i32FRPOsSFSA AUTOMATIC to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32RetDINTStopFSA AUTOMATIC to DISABLE E
38. FI Si f M z N S Prerequisites and objectives Areas of use SIMOTION Flying Saw SIROT ID 37841424 CP_MEASURED The positions onwhich the material shall be cut are detected with a measuring sensor in front of the Flying Saw then extrapolated to the synchronizing position and memorized in a ring buffer The Flying Saw application will read these position values from the buffer starts the synchronizing procedure and deletes the postion values when the cut has been completed at that position Precondition The material axis is generated as a linear axis with modulo length A measuring sensor is mandatory when CPM_ DETECTED is activated A ring buffer system is activated CPM_ DETECTED A measuring sensor is mandatory With the activation of the automatic mode the position of the master value is set to position 0 The application is waiting for the first measuring value extrapolates this value to the synchronizing position and writes it into the ring buffer Next the measuring system will be prepared for the next measuring value by extrapolation with the cutlength and activated with a sensivity range Once a measuring value is detected this value will be extrapolated to the synchronizing position and written into the ring buffer In case a measured value was not detected an error counter will be incremented The last measured value will be increased by the cutlength and extrapolated to the synchronizing position
39. Flying Saw SIROT ID 37841424 8 3 5 Block parameters Input parameters cutLength LREAL 800 0 Cut material element length in mm BOOL FALSE A pending mode changeover is activated via this input With mode the mode is pre selected which is activated with the next positive signal edge at the execute input l OMFS_ERROR Pre selection ERROR mode k a F OMFS DISABLE Pre selection DISABLE mode SawT OMFS_AUTOMATIC Pre selection STARTPOSITION ype mode OMFS AUTOMATIC Pre selection AUTOMATIC mode OMFS_MANUAL Pre selection MANUAL mode By setting this signal the block is signaled that the cutting operation has been completed and a gap can stopOuttig be created or the cutting equipment knife can be withdrawn from the material Saw_V2 1 doc ying_ By setting this bit the block is signaled that the cutting knifeOut equipment is no longer connected to the material and the cutting device knife can be withdrawn to the start position Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI gapLength LREAL 10 0 mm Length of the gap to be created mm Length mm Length of the gap to be created the gap to be created TRUE A gap with length gapLength is created PAE eo FALSE No gap is created By setting this signal a synchronous position is onTheSpotCut BOOL FALSE immediately generated on the material web at the sensor position for the next cutting operation Input output paramete
40. G 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si E M E N S The application example as demonstration system Installing the hardware and software SIMOTION Flying Saw SIROT ID 37841424 Table 4 1 Hardware components Hardware element Order No MLFB and functions Training case SIMOTION D435 with SINAMICS 120 SIMOTION D 6ZB2 470 OAE00 demonstration and training Mae By The SIMOTION D training case comprises case ee eiS Standard components SIMOTION D435 two ee OS SINAMICS axes with motors and has two axes These are used to demonstrate the application The case is already pre configured and connected up It only has to be connected to the HMI system via PROFIBUS Communications Ethernet Cross Link Cable id The cable is used to establish a connection between the HMI system PG PC and the SIMOTION D435 training case HMI system PG PC with MPI interface The PG PC is used as the HMI display screen Procedure Please proceed as follows to configure and install the hardware components for the application example Table 4 2 Hardware configuration and mounting Alon ome 1 Connect the Ethernet interface of your PG PC with the lower Ethernet interface IE2 contact X130 of SIMOTION D435 with an Ethernet Cross Link cable 2 Connect the SIMOTION D training case to the power supply V 2 1 Release 11 05 14 30 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved
41. G 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw indicates how far th flying saw must travel with the materi web with the current setting for one cut Activate the technology screen by pressing the TECHNOLOGY button The following contents are displayed in the technology screen The actual material velocity The actual velocity of the flying saw The actual position of the flying saw The position of the material referred to the actual cut You can return to the automatic screen by pressing the AUTO button Machine parameter settings Machine geometry Distance to Sensor StartPosition StartSyncPosition EndSyncPosition EndPosition Acceleration e Cut e Back e Gap Create a gap e GapVelocity The application example as demonstration system Operator control of the application example Ri SIMATIC WinCE Rexibie Runtyio Standard Application SIMOTION Flying Saw Mode Selected automatic Mal automatic E E Y A Print Mark T i Actual Velocity Position Cutting Time Velocity ON OFF Flying Saw zx j ol sel 2000 ms to Startposition 100 mms Material 79 l 5025 act o ms Backto Start 150 mm s Material Velocity 225z Flying Saw 1812 51 E calculated STARTPOS mmis Flying Saw elected END SETTINGS MANUAL SIMATIC WinCE flexible Runtime Standard Application SIMOTION Velocity mmis 3 59 18 PM 3 59 23 PM
42. IMOTION Flying Saw as demonstration system are explained in Section B Preparations and parameterizing operations are also explained Further you are told how you can use the WinCCflex man machine interface screen of the application example step by step section B of this document provides the reader with the following e The prerequisites to use this standard SIMOTION application as a demonstration system e Preparations and parameterizing operations are explained e Describes the steps necessary when presenting this standard application e Provides tips for using this standard application Subjects discussed Safety information and instructions Components and their interconnections required for the presentation Installing the hardware and software Installation of standard SIEMENS software Downloading the user program in SIMOTION D435 Downloading drive parameters in SINAMICS 5 Operator control of the Brief instructions on how to use the demonstration system application example Detailed operating instructions V 2 1 Release 11 05 14 26 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S The application example as demonstration system Installing the hardware and software SIMOTION Flying Saw SIROT ID 37841424 4 Installing the hardware and software 4 1 Regarding your safety 4 1 1 Safety information and instructions Pictograms
43. INAMICS and get to know and test the functions of the CPU D435 Prerequisites The following prerequisites must be fulfilled to use the application example Note V 2 1 The SIMOTION project is provided online in SIMOTION D435 The parameterization for the applications has been downloaded into SINAMICS also included in the SIMOTION project All of the devices are powered up The SIMOTION D435 has been switched into the Run state using the online function of SIMOTION SCOUT At least WinCC Flexible 2008 SP3 Upd2 is installed on the PC PG WinCCflex requires the appropriate authorization Authorization for at least 256 power tags is required Release 11 05 14 34 94 The application example as demonstration system Operator control of the application example SIEMENS SIMOTION Flying Saw SIROT ID 37841424 5 1 Structure overview Please refer to the following diagram for the basic operator control structure with all of the operator areas of the application Fig 5 1 Structure overview to demonstrate the application SSS e Mi lel HOME SETTINGS lL ae TECHNO ue TR Leer Eal w_V2 1 doc ying_Sa Automatic Mode i aea STATUS a fae m Ea AAN eS oe ic Frying Saw ao ved Ee oo Material poe ell toasa wori cimma 329 cae so SSS ye d ood
44. ION_ MERGE in order to create a gap with the superimposed motion When completed then continue with step 6 If the knifeOut signal appears then _pos is called for the flying saw axis to return to the starting position When completed then continue with step 1 AUTOMATIC gt ERROR _disableAxis is called for the flying saw axis If the axis is disabled then the ERROR mode is activated AUTOMATIC gt DISABLE aa The stop command is prepared _move with velocity 0 0 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 gt STARTPOSITION ae artposi tion Resets the cut output bit If the knifeOut signal is present then prepare the position command and advance to step 1 _pos is called to return the flying saw axis back to its starting position Mode MANUAL 4 MANUAL gt ERROR _disableAxis is called for the auxiliary axis and the flying saw axis Lie N If the axes are disabled then the ERROR mode is activated MANUAL gt DISABLE Disable 1 _move with velocity 0 0 is called for the flying saw axis 2 _disableAxis is called for the flying saw axis ie If the axes are disabled then the DISABLE mode is activated MANUAL gt STARTPOSITION anon artposi V 2 1 Release 11 05 14 90 94 N pan 0 Saw_V2 1 doc
45. LAD FED unit H B FS Prags es S FS_ Template FJ MONITOR V 2 1 Release 11 05 14 48 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI SIEMENS SIMOTION Flying Saw 7 1 2 V 2 1 Integration of the core functions Integration in the user program SIROT ID 37841424 Intergration via XML import Using XML import the LFSLib library and the FS_Progs program unit will be linked to the existing user project Table 7 2 Importing the XML file For the XML import the LIBRARIES folder must be selected in the user project and then executed by right clicking Using the Import object menu item a window opens in which the path of the XML file must be specified Using the Browse button the XML file path is specified and therefore the LFSLib library is imported into the user project E ay Hzer pplicaton FS Create new device Insert single drive unit F E D435 SREI j lI i PD i m MON insert new object Em Faste Reference data mh Source path and source name of the import D Fyinas SAFS Libel Target path and name of the project file D Projekte Doku Usendppl OF Cancel Help Suchen in FiyingSaw WE im Ez MML LFSLib Datemane LFS Lib rl Dateityp ML files ral Release 11 05 14 Siia bbrecheri m 49 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014
46. Lib FS_ Template Generally applicable for labeling structural elements IN Values that should be provided by the user OUT Results or feedback signals lO Values depending on the block connection must be supplied by the user or will be supplied by the function V 2 1 Release 11 05 14 62 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 sFlyingSawType This structure contains the complete global data of the application SIMOTION Flying Saw IN sAxisTOs sTOsType Object references of all technology objects axes external encoders and measuring probes Interface for the user to enter geometry and motion sUsersInterface i 2 IN eicersintaitace data of the shears mechanical system as well as to Type enter sequence options such as a restart in ongoing operation sCutPositionBuffer sCutPosition Internal data area to enter the cut position as a precise I O Management BufferManageme_ position and cut position deviation for the print mark ntType correction Data area to display the actual leading value T interconnection as well as the actual leading value yPe position M ingVal M ingVal Internal data area to detect the cutting position Type IN r64FormatLength LREAL mm r64formatLength is the length of the cut material element IN boExecute BOOL Activates the mode
47. N project e Before you load the project in the offline mode under Target system Target device select whether both SIMOTION D435 as well as also SINAMICS_ Integrated are selected Please acknowledge any changes with OK e After starting the download you will be prompted whether you wish to Copy RAM to ROM after you have successfully loaded the project You must always answer with Yes as otherwise your program must be reloaded again after power ON OFF This copying only refers to the SIMOTION part of the project e Please acknowledge with OK when the loading and copy operations have been completed e Acknowledge copy RAM to ROM in SINAMICS_Integrated with Yes and acknowledge with OK once this has been completed e Finally switch SIMOTION D435 into the RUN operating state To do this click on the SIMOTION CPU and using the righthand mouse key and target device operating state go to the operating state display e Here click on the RUN button SIMOTION D435 is then in RUN and the demonstration case is ready for the presentation demonstration V 2 1 Release 11 05 14 33 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S The application example as demonstration system Operator control of the application example SIMOTION Flying Saw SIROT ID 37841424 5 Operator control of the application example The application can be used to present SIMOTION D with S
48. O Mei LREAL mm Actual material position at start of FlyingSaw activity OUT i32MaterialPosActual DINT Number of modulo cycles at actual material position StartNumberModulo at start of FlyingSaw activity r64MaterialPosActual LREAL mm Actual material position OUT eee eee DINT Number of modulo cycles at actual material position NumberModulo OUT boOnThespotCut BOOL TRUE On the spot cut selected Selected r64MASyncPos LREAL mm peg synchronous position referred to the material i832MASyncPos Number of modulo cycles at actual synchronous OUT DINT ms l NumberModulo position referred to the material axis OUT r64MASyncOffset LREAL mm Actual shift between the reference systems material axis and axis of the flying saw OUT r64MAPosF or LREAL mm Actual position of the material axis in the reference Technologie system of the flying saw axis our M4CutLength LREAL Imm aktivated cutlength in mode CP_CALCULATED Activated OUT r64MaterialPosition LREAL mm maximum material position before Redefine Maximum Position mm Knife positions error caused by following error at OUT r64Delta LREAL start cut accuracy Vimat ax Backgroundcycle our BolnterruptProduction Boor TRUE interrupt active Activated boConiinueProduction BOOL TRUE continue active Activated boProduction TRUE FlyingSaw is deactivated in automatic mode and BOOL Interrupted ready for STO boProduction TRUE FlyingSaw is reactivated and ready for start
49. Referred to time Synchronisation BY LEADING_VALUE Referred to distance Type SYMMETRIC Referred to distance without overshoot in velocity r64SyncLength LREAL mm length of the synchronization distance at distance related synchronization TRUE drives connected with real machine boRealMachine BOOL FALSE drives connected with test arrangement e g demo case sCutPositionBufferType eTypeOf Synchronisation This structure contains the cut position memory this is not relevant for the user y ARRAY ar64CutPosition 0 CPB_MAX 1 Measured mm Buffer of the measured cut position OF LREAL ar64CutPosition MeasuredNumber Modulo ARRAY Buffer of the measured cut position number of 0 CPB_MAX 1 modulo cycles V 2 1 Release 11 05 14 65 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 INT ARRAY aboCutPositionRead 0 CPB_MAX 1 Buffer of the flag cut position read OF BOOL ARRAY aboCutPositionEntered 0 CPB_MAX 1 Puffer of the flag cut position entered OF BOOL ARRAY aboOnTheSpotCut 0 CPB_MAX 1 bee Buffer of the flag OnTheSpotCut Position entered PositionEntered OF BOOL sCutPositionBufferManagementType This structure contains the internal data area to enter the cutting position and to control the cutting position cor
50. Release 11 05 14 When CP Generation Mode CP_CALCULATED Set the axis type as linear without modulo length When CP Generation Mode CP_MEASURED For accuracy reasons we recommend that the axis type is parameterized as modulo linear axis with a modulo length greater than three times the maximum product length All of the other parameters should be set corresponding to the drive and encoder data For the parameter distance per spindle revolution enter the distance as that value the material web travels within one revolution of the drive roll Complete other parameters accordingly to the geometry and machine design For this parameter enter values that correspond to the system drive specifications Parameterize not required Please set this parameter corresponding to the system specifications If the application is used in a Real Machine sUsersInterface boRealMachine TRUE Parameterize the axis as a synchronous axis Set the axis type as linear without modulo If the application is used in a test arrangement e g demo case sUsersInterface boRealMachine FALSE Parameterize the axis as a synchronous axis Set the axis type as linear with modulo Using modulo length value sUsersInterface r64EndPos 500 0 Using startvalue value sUsersInterface r64DistanceToSensor 50 0 Thus the axis always is in the actual operating range and must not be referenced at test mode 93 94 w_V2 1 doc
51. T Number of modulo cycles at actual measured value NumberModulo r64MeasuredValueOld LREAL mm Measured value old l AMEA UPAYA VENE DINT Number of modulo cycles at old measured value NumberModulo r64MV Delta LREAL mm a between the new and old measured Enum Selects the measurement initiating edge at the sensor eMeasuringEdge Measured RISING EDGE Rising edge at the sensor Edge FALLING EDGE Falling edge at the sensor WaitForFirstCut hes el ae BOOL Flag Wait for the first measured value Position boWaitForCyciCut BOOL Flag Wait for the next measured value Position boCutPositi oCu osi on BOOL Flag Wait for measured value MeasuringActive boStartPosAtS SRNR RS BOOL Flag Start position measured Detected I O I O OUT OUT OUT OUT OUT UT O POAPPICANONIN BOOL Flag Application in the AUTOMATIC mode Automatic boNewCutPosition BOOL Flag New value entered in the CutPositionBuffer Entered TOA PANO VAUE MOGUO REAL mm Modulo length of the leading value Length r64SetPosNextCut j iti A eaecae LREAL mm Interpolated next cutting position at the sensor i32SetPosNextCutPosAt Number modulo cycles at interpolated next cutting DINT oe SensorNumberModulo position at the sensor r64SetPosTolerance LREAL mm Tolerance bandwidth of the next cutting position RangeStart start r64SetPosTolerance LREAL mm Tolerance bandwidth of the next cutting position RangeEnd end 4DeltaTol
52. The axis of the flying saw is stopped and deactivated DISABLE 1 The flying saw is ready for use but is in the safe operating state All errors that are available have been successfully acknowledged The axis of the flying saw is in the state after being reset deactivated and stopped disabled STARTPOSITION 2 The flying saw is located at the start position and is ready for synchronization to the material web The axis of the flying saw is activated The axis waits in the START POSITION operating mode AUTOMATIC 3 The flying saw has been synchronized to the material web and is cutting the material as specified MANUAL 4 The flying saw is in the manual mode the user can manually move the axis The axis of the flying saw is activated The axis waits in the MANUAL operating mode These operating modes are available in the user program to implement machine functions and can be transferred to the FBFlyingSaw function block via input parameters The function block displays the currently reached state using output parameters Release 11 05 14 25 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI SIEMENS SIMOTION Flying Saw The application example as demonstration system Structure and function SIROT ID 37841424 The application example as demonstration system Contents Objective All of the necessary steps to commission the standard application S
53. ations at any time without prior notice If there are any deviations between the recommendations provided in these standard applications and other Siemens publications e g catalogs then the contents of the other documents have priority Warranty liability and support If the application is provided free of charge the following shall apply We shall not be liable for the information contained in this document Any and all further rights and remedies against Siemens AG for whatsoever legal reason shall be excluded this shall refer in particular to claims for loss of production loss of use loss of orders or profit and other direct indirect or consequential damage The aforesaid shall not apply if liability is mandatory e g in accordance with the Product Liability Act in cases of intent gross negligence by directors and officers of Siemens AG or in the case of willful hiding of a defect These limitations of liability shall also apply for the benefit of the Siemens AG s subcontractors suppliers agents directors officers and employees This Contract shall be subject to German law if customer s place of business is in Germany If customer s place of business is outside of Germany the Contract shall be subject to Swiss law The application of the UN Convention on Contracts for the International Sale of Goods CISG shall be excluded If the application is provided in return for payment the alternative shall apply which fits the res
54. ave been made to the code then support can no longer be provided for core functions This also applies for the revision and adaptation recommendations listed in this Chapter 8 2 Type of Data 8 2 1 Overview Enumeration types Enumeration type declarations are provided for a part of the input and output parameters of the function blocks Various modes and properties can be pre set using these parameters Data structures The function blocks of the SIMOTION Flying Saw application are in some cases parameterized via data structures that should be set up for the particular block Structures with the corresponding parameters are provided for each block V 2 1 Release 11 05 14 60 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 8 2 2 Enumeration types eOperationModesFlyingSawT ype Program Description Program Description SIROT ID 37841424 This enumerator type contains enumerators to select and display the operating state of the FBFlyingSaw function block Declared in LFSLib FS_ Template Defines the method to determine the cutting position Declared in LFSLib FS_ Template Defines the method to detect the measured values Declared in LFSLib FS_ Template Defines the synchronizing behavior of the knife slide on the motion of the material web Declared in LFSLib FS_ Template eCutPositionGenerationModesType eCutPosit
55. aw SIROT ID 37841424 4 1 2 Responsibilities of the operator Correct use The correct use of the application components exclusively relates to the open loop and closed loop control of test set ups that were adapted to the power performance of the application components In order that the application functions perfectly the required standard SIMATIC components as well as also the necessary hardware and software components must be installed The company person operating the system may only make changes to the application components after having received written authorization from the suppliers Misuse The following are considered to be misuse e nadmissible loads applied to the application components e Any application deviating from the use specified above or applications that go beyond the specified use e Non observance of the safety information and instructions e If faults that could have a negative impact on the safety are not immediately resolved removed e Any changes modifications to equipment devices that are used to ensure perfect function and operation unrestricted use as well as active or passive safety e f recommended hardware and software components are not used e If the application components are not in a perfect technical condition are not operated conscious of safety and hazards and not taking into account all of the instructions provided in the documentation The manufacturer assumes no liability for
56. c ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 4 First activate the print mark simulation by Rf SIMATIC WinCE Resibie Rune Ss pressing the Flying Saw Print Mark Simulation ON OFF button Flying Saw Mode Selected error Actual disable When cutting to print mark you can only set an integer multiple of 200 mm as cut length this is inherent to the system Material Velocity Cutlength 1699 measured g Bee mm Flying Saw 4 14494 STARTPOS calculated i calculated Te mm Flying Saw laa selected eis selected Adult END TECHNO SETTINGS MANUAL LOGY 5 Next activate the travel to the starting fF SIMATIC MDE Hesiie Runne ___ V 2 1 position using the button Flying Saw STARTPOS Flying Saw Mode Selected error Actual disable r7 Actual Velocity Position Cutting Time Velocity Flying Saw lin 9 l sel 2000 ms to Startposition 100 mm s Material 79 l 3400 act ms Backto Start 150 mm s Material Velocity Cutlength 1699 x measured Z 550 mm Flying Saw 14492 Ea calculated STARTPOS 3 ate 1299 calculated minis 11493 A 7 9992 Flying Saw selected selected END mm s 699 Ea mm un TECHNO LOGY STATUS SETTINGS MANUAL Sf SIMATIC WinCE flexible Runtime Once the flying saw has reached its starting position the Flying Saw START button is displa
57. cessful e CPM SIMULATED With the activation the cutting position determination function immediately keeps one of the measured values referred to a fictitious sensor Activating an immediate cut OnTheSpotCut initiates the same procedure as when activating the cutting position determination function a measured value referred to the fictitious sensor is immediately kept Its position measuring Value r64CutPosAtSensor is using the geometrical data users nterface r64Distance ToSensor and users nterface r64StartSyncPos interpolated to the cutting position measuring Value r64CutPosAtSyncPos and is entered as the first cutting position into the cutting position buffer For all additional cutting positions the position value that was last saved is subtracted from the actual position value of the material web If this difference is greater than the actual cut length the new cutting position is determined from the sum of the position value saved and the actual cut length and saved as position value CP CALCULATED In this operation mode there is no activity necessary 8 4 7 Error messages No errors are generated V 2 1 Release 11 05 14 82 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 8 5 Measured value memory system blocks used in the flying saw applicatio
58. d off V 2 1 Release 11 05 14 74 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 at the state output Checking the input parameters and parameterization of the technology settings that are absolutely required mandatory This program function is only executed after a Restart or if it was activated by the user using the restart bit of the Users nterface The following are monitored e The existance and the type of specified TOs e Deviations with respect to what has been specified are displayed as error messages e Parameter assignments of the technology objects that are absolutely required are executed in an additional program section Axis monitoring The function block is switched into the error state ERROR operating mode if there is an error at the technology object axis of the flying saw However the monitoring function is only active if the parameterization check of the technology objects was successfully completed Using the restart bit sUsersinterface boRestart The restart bit must be set at each new start of the SIMOTION or when changing the parameterization This is the reason that an initialization routine is run in the FBFlyingSaw and a parameter check is made and the block is brought into a defined state We recommend that the program startupF
59. echnical environment This Flying Saw application can be used unmodified only at a SIMOTION D and SINAMICS demonstration case Objective and purpose of this standard application Task description A continuous web fed with an infeed unit shall be cut into identical parts and sections Preventing any impacts on the cut the cutting equipment must be synchronized on the line speed of the web This allows the web to be cut on the fly Release 11 05 14 11 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si E M E N S Prerequisites and objectives Basic information SIMOTION Flying Saw SIROT ID 37841424 Why processing machining on the fly On the fly processing machining Is required if e Stopping the material web due to sub processes which would lead to quality loss increased waste or lower productivity e g extrusion line e Itis impossible to stop the material web because associated deceleration or acceleration forces cannot be controlled e The individual processing machining steps are too different so that a common processing step would take too much time and therefore would make the process ineffective Principle design of a flying saw The material is fed in through a draw unit with a constant velocity The position of the cut on the material web is either detected with a print mark sensor or an adjustable length setpoint is given by
60. erequisites must be fulfilled to use the application example e The SIMOTION project is provided online in SIMOTION D435 e The parameterization for the applications has been downloaded into SINAMICS also included in the SIMOTION project e All of the devices are powered up e The SIMOTION D435 has been switched into the Run state using the online function of SIMOTION SCOUT e Atleast WinCC Flexible 2008 SP3 Upd2 is installed on the PC PG Note WinCCflex requires the appropriate authorization Authorization for at least 256 power tags is required V 2 1 Release 11 05 14 42 94 Copyright Siemens AG 2014 All rights reserved w_V2 1 doc ying_Sa 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 6 1 V 2 1 The application example as demonstration system Operatoration of the TestFB application Structure overview SIROT ID 37841424 Please refer to the following diagram for the basic operator control structure with all of the operator areas of the application Fig 6 1 Structure overview to demonstrate the application fi SIMATIC WinCC flexible Runtime sie FB FlyingSaw 600 A x Cm Y h 400 A Bi Em O To jaro enor O a a lo aN 2 aO PR if f EndSyncPos reached G pay cy oa i 1 A Ce a 11 16 53 11 16 59 11 17 06 11 17 13 Go Sri tes Spot ERORE an 19 08 2014 19 08 2014 19 08 2014 19 08 2014 ammos C r ic O e i ne Resta
61. ference value can be detected in two different ways 1 The material path is controlled by the SIMOTION drive system which also controls the flying saw In this case a TO axis is provided The synchronous connection with the axis of the flying saw FlyingSawAxis should have access to the setpoints of the material path which are existing in the system setpoint coupling 2 The speed of the material is measured with a machine encoder In this case there are no additional setpoints available The synchronous connection with V 2 1 Release 11 05 14 54 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si M z N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 the flying saw FlyingSawAxis can only access the actual values of the machine encoder actual value coupling The FlyingSawAxis as synchronous axis is connected to the MaterialAxis in a 1 n gearing synchronous interconnections The technology objects and synchronous interconnections shown in the diagram above must be set up and configured by the user in SIMOTION SCOUT V 2 1 Release 11 05 14 55 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si E M E N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 V 2 1 Configuration
62. he PG PC interface Please proceed as follows to set the PG PC interface e In SIMOTION SCOUT open the interface configuration using EXTRAS gt SET PG PC INTERFACE V 2 1 Release 11 05 14 31 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S The application example as demonstration system Installing the hardware and software SIMOTION Flying Saw SIROT ID 37841424 e Inthe area Interface Parameter Assignment select your Ethernet card interface of the PG PC with TCP IP gt A e Acknowledge any possible alarm with Yes e Acknowledge your changes with OK e Return to SIMOTION SCOUT and open the network configuration NETPRO using the button or the menu PROJECT gt OPEN NETPRO e Open the properties by double clicking on PG PC 1 e The ETHERNET interface being used must be able to be found under the Assignment tab this is already automatically selected If this is already the case select this and set the checkmark for S7ONLINE access active e Please select Compile and check evrything e Close any messages that may be displayed regarding alarms e Before you load the project please close NETPRO and set the Ethernet address of your PG PC 4 4 4 Setting the Ethernet address of the PG PC Proceed as follows to set the Ethernet address of the PG PC e Open the network connection window of your PG PC and select the net
63. he application example as demonstration system Operator control of the application example SIMOTION Flying Saw SIROT ID 37841424 F SIMATIC WinCE flexible Runtime lox iStandard Application Flying Saw Select the Material Velocity SIMOTION mod tic Standby Flying Saw Mode using the Material Velocity slider Eines aiddi Eee You can start the Actual startrest position material feed by pressing the Material START button Print Ma Actual Velocity Position Flying Saw i 3 t o a e Mgerial Velocity Velocity ul ime sel 2000 ms act M ms Material Cutlength Sync Position START measured ON OFF to Startposition mom Z 1699 Z Flying Saw 1812 z a mm Material 184 2 calculated z calculated calculated STARTPOS at er 2304 STOP s og E Flying Saw 34 2 selected selected 2 selected Material 79 END ee END TECHNO SETTINGS MANUAL LOGY STATUS HOME Bi SIMATIC WinCE flexible Huse Standard Application Flying Saw Automatic SIMOTION mode Auto c Producing Flying Saw Mode Gap ON OFF After the material web starts the material enters the unit and the print mark simulation generates after the length set using the Cutlength slider_switch a print mark The flying saw then mat Selected automatic Actual automatic Ea Pod Print Mark al Velocity Position Fly
64. he block and the operating mode changeover must be parameterized in the user program in order that the FBFlyingSaw executes the required functions The FBFlyingSaw is parameterized as explained in Chapter 8 Program Description When parameterizing basic values of the application are defined which generally do not change such as e g specifying the name of the axis or all geometrical data such as r64Distance ToSensor r64StartPos r64StartSyncPos etc It is only permissible to change these values at standstill Zero speed and they require a re initialization restart of the FBFlyingSaw The individual operating modes of the FBFlyingSaw are described in Chapter 3 2 Operating modes of the application SIMOTION Flying Saw The procedure to change over the operating mode is described in more detail here in the following sections Basic state of the FBFlyingSaw After being initialized FBFlyingSaw is in the DISABLE operating mode Initialization must be executed each time after the control has booted by setting the restart bit gasFlyingSaw 0 sUsersinterface boRestart in the startup task This is realized automatically when using the startupFlyingSaw program in the UNIT FS _Progs As a consequence the block is brought into its initial state important parameters are checked for plausibility if possible adapted and if not possible parameterizing errors are displayed for user information at the error output V 2 1 Release 11 05 14 7
65. his function can be activated by setting parameters in the core function 1 2 3 Advantages of the standard application SIMOTION Flying Saw The SIMOTION Flying Saw application offers the following advantages Quick programming The standard application SIMOTION Flying Saw enables simple and quick implementation of flying saw functionalities The core functions provided in the standard application can be copied into the users application Addional and necessary engineering steps will be explained in this maual Automatic motion control Using the technology functions of SIMOTION the core motion control functions of the standard application can be realized The user only programs an execution sequence which corresponds to required machine function Possibility of adaptation The standard application contains all source codes and comments Thus existing core functions can quickly and simply be extended with customized functions V 2 1 Release 11 05 14 13 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Prerequisites and objectives Basic information SIMOTION Flying Saw SIROT ID 37841424 1 3 Components included in the standard application The standard SIMOTION Flying Saw application is implemented as a library This library is part of the two projects which will be delivered with the standard application software package The first project can be used for a
66. ies yen ccs daa ibe seelane isan ates 73 Checking the input parameters and parameterization of the technology settings that are absolutely required mandatory 5 AXIS MONTONG egira leds Sassen send tu yuo tun a ised Ar one anaes 15 8 3 7 Error IMESSAGES aiana a et nod a EED 76 8 4 FBCUIPOSIHONDETEC UOM rices a a cetera ceases 79 8 4 1 BIOCK MAIC Aana a eee ads ad ace a tee Adie ladea seebec avalos 79 8 4 2 MASKo a a a Gedaestacusesmetstansei ele negceecasiace 79 8 4 3 Integration in the run time system n nnannnennnnnnennnnnnnennnnnnennnennnnne 79 8 4 4 Graphic representation of the block ccccecccseceseeeeceeeeaeeeeseeeeeaees 80 8 4 5 BIOGK parameters oriasi a cdamindda a aie wet A 80 8 4 6 FUNCUONAIY cerien ari a E a 81 CEP MEASURE D ein a N 81 CPGCALCULA TED pira vain Noe ds cot e n A N 82 8 4 7 Erno messages menia E 82 8 5 Measured value memory system blocks used in the flying saw AID DIIC ALON IE EEI A EE T E E E TE E EE ot anata anced 83 8 5 1 Deleting and resetting the measured value memory FBCutPositionBufferReset ccccscccsseeceseeceeecceseceueeseeecseeesseesees 83 8 5 2 Entries in the measured value memory FBCutPositionBufferlIn 84 8 5 3 Reading out the measured value memory FBCutPositionBufferRead sista sec teiedcecwareisen doer tesinacieedsbetastencaerisendaeuntee 85 V 2 1 Release 11 05 14 8 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 0
67. inCCflex screen for demonstration Demonstration project e Adocument to describe the functionality background information and handling of the standard application Further its use as demonstration model is explained Description Document structure The documentation of this application is sub divided into the following main section E Prerequisites and objectives The application example as demosystem Integrating the core functions Program description of the technology template V 2 1 In the first section you can obtain an overview of this standard application This Section explains the prerequisites and the objective when using this application Some of the uses of this standard application are explained as well as situations where this application cannot be used Section Application example as demosystem is interesting if you wish to use this standard application for demonstration purposes Here you are provided with information about how you can download this application from your PC PG to the demonstration case step by step and how it then used Section Integrating the core function provides you with all of the necessary steps to integrate the core functions of the standard application into your user project Preparations and parameterizing operations are explained Further you are also told how to integrate the core functions into your application step by step In addition tips are p
68. incorrect use misuse Responsible for monitoring The company or person operating the system is responsible in continually monitoring the overall technical status of the application components defects and damage that can be externally identified as well as changes in the operating behavior The company person operating the system is responsible in ensuring that the application is only operated in a perfect state He must check the state of the application components before they are used and must ensure that any defect is removed before commissioning Qualification of personnel The operating company person may only deploy trained authorized and reliable personnel In so doing all safety regulations must be carefully observed Personnel must receive special instructions regarding the hazards dangers that can occur V 2 1 Release 11 05 14 28 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S The application example as demonstration system Installing the hardware and software SIMOTION Flying Saw SIROT ID 37841424 4 2 Hardware structure and mounting installation Overview Fig 4 1 Hardware components without power cable se Ethernet The demonstration project can be commissioned using a standard SIMOTION D435 demonstration case and a PC connected via Ethernet V 2 1 Release 11 05 14 29 94 w_V2 1 doc ying_Sa Copyright Siemens A
69. ing Saw T ON OFF Material Cutting Time Velocity sel 2000 ms to Startposition 100 mmis act ol ms Backto Start 150 mm s Material Velocity Cutlength Sync Position 25y 1699 measured 302 Flying Saw TE a E d Material 191 d calculated E calculated 29 Z calculated STARTPOS 1245 ee 2304 STOP me mm s 9E og 999 170 Ei Flying Saw selected nen selected 14107 selected Material 312 Ez 8492 W 2 79 ae 699 5 END 1 mms Bar gt j mm 50 mm END TECHNO SETTINGS MANUAL LOGY STATUS HOME P R SIMATIC WinCE flexible Runtime O O O OoOO ioj x You can immediately generate a print Standard Application races cH mark USING the on the spot CUT but SIMOTION ying mode Automatic Producing Flying Saw Mode 7 ap Selected automatic Actual automatic ON OFF Actual Velocity Position Cutting Time Velocity on the spot ON OFF FlingSaw BB BB ser 2000 ms tostantposition 100 mms Suu Material 79 i 5028 act ms Back to Start 150 mm s Material Velocity Cutlength Sync Position EA 25 1699 measured z z Flying Saw 3 2 14494 Material STARTPOS 4 se 4299 calculated 73205 calculated STOP A EE mmis ee J Saal mm 170 4 Ets m Flying Saw 3 selected 5 5 selected selected Material END mm s 6992 Es mm END SETTINGS MANUAL WO STATUS HOME Release 11 05 14 38 94 w_V2 1 doc ying_Sa Copyright Siemens A
70. ion by using the technology templates Objective This part of the documentation should e Explain to readers the special features issues when generating a program e Describe in detail the program structure of the flying saw FB e llustrate and describe important program elements e Provide information and instructions on how this template can be adapted Prerequisite Before possibly expanding this template it is helpful to read the chapters in Section 1 to 3 and 7 in order to learn the basic functions and applications of the template Before you make changes to the template please observe the information and Note warnings listed in the following Chapter as well as the associated restrictions regarding support V 2 1 Release 11 05 14 59 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 8 Program Description 8 1 Information and warnings Before making changes Before you start modifying components included in the core functions please inform yourself about the component features in the ST MMC documentation Uncontrolled incorrect changes and modifications to core functions may result in death and severe bodily injury Restrictions regarding support when changing components of the core functions The Application Center can only provide support for core functions that have not been changed If changes h
71. ionMeasureModesType eTypeOfSynchronizationType eOperationModesFlyingSawT ype This enumeration type contains enumerators to select and display the operating state of the FBFlyingSaw function block Element Description O S eCutPositionGenerationModesType This enumerator type defines how the cutting position is determined plement scription O S CP_MEASURED The cutting position is determined using sensor and print mark or is calculated and stored into the CutPositionBuffer CP_CALCULATED The cutting position keeps constant the material position is reduced by cutlength after each cut This method doesn t need any stored position data eCutPositionMeasureModesType This enumerator type defines how the measured value is detected Element Description O S CPM DETECTED The cutting position is detected using a sensor and a print mark CPM_SIMULATED The cutting position is calculated from the given cut length V 2 1 Release 11 05 14 61 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 eTypeOfSynchronizationType This enumerator type defines the synchronizing characteristics of the cutting equipment to the material web motion Emet Description S BY_TIME Synchronization by dynamic values BY_LEADING_AXIS_VALUE Synchronization through distance The dista
72. isError for the flying saw axis Calls the _resetFollowingObject for the flying saw axis If the axis and the synchronous object have no error condition then the DISABLE mode is activated Mode DISABLE 1 DISABLE gt DISABLE _disableAxis is called for the flying saw axis If the axis is disabled then the ERROR mode is activated _enableAxis is called for the flying saw axis If the axis is enabled then advance to step 2 _resetAxisError is called for the flying saw axis If the axis is OK advance to step 3 _pos is called for the flying saw axis with the direction of rotation for the shortest path If the starting position is reached then the starting position mode is activated V 2 1 Release 11 05 14 88 94 ying_Saw_V2 1 doc Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M E N S Description of the Ea FI SIMOTION Flying Saw SIROT ID 37841424 DISABLE gt MANUAL mz The enable command is prepared 1 _enableAxis is called for the flying saw axis If the axis is enabled then the MANUAL mode is activated Mode STARTPOSITION 2 STARTPOSITION gt ERROR Preparation HE I _disableAxis is called for the flying saw axis If the axes are disabled then the ERROR mode is activated STARTPOSITION gt DISABLE Disable The stop command is prepared 1 _move with velocity 0 0 is called for the flying saw axis _disableAxi
73. ition startposition FlyingSaw is out of initial position Warning if the flying saw passes the upper limit value of the synchronous range in the automatic mode FALSE No On the spot cut possible TRUE The flying saw is in its start position an On the spot cut is possible The On the spot cut was executed FALSE The last synchronizing operation was successful TRUE The last synchronizing operation was not able to be executed under the specified conditions FALSE The last synchronizing operation was successful TRUE The flying saw did not reach the start position in time for the next cut Error identification refer to error messages errorlID lt 16 000_ 8000 warning errorlID gt 16 0000 8000 error Actual mode OMFS_ERROR ERROR mode OMFS_DISABLE DISABLE mode OMFS AUTOMATIC STARTPOSITION mode OMFS AUTOMATIC AUTOMATIC mode OMFS MANUAL MANUAL mode OMFS _ NOTHING SELECTED No mode change OMFS_CHANGING Mode change active flyingSawAxisActive BOOL FALSE The FlyingSaw axis is active V 2 1 Release 11 05 14 72 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 8 3 6 Functionality The FBFlyingSaw function block is the most important element of the application The connected flying saw is parameterized and controlled using this block T
74. ly waits for the first sensor signal Its position measuring Value r64CutPosAtSensor is interpolated using the geometrical data users nterface r64Distance ToSensor and users nterface r64StartSyncPos to the cutting position measuring Value r64CutPosAtSyncPos and is entered in the cutting position buffer as the first cutting position For all additional cutting positions a sensitivity range is now placed around the possible cutting position To do this the next cutting position expected is interpolated using the actual cut length to measuring Value r64NextCutPosAtSensor and a tolerance bandwidth of users Interface r64CPDelta ToleranceRange is applied If a measured value is determined then this is interpolated as new cutting position and entered in the cutting position buffer If a cutting position was not able to be measured within the range that had been selected then the interpolated cutting position measuring Value r64NextCutPosAtSensor is interpolated as new cutting position and entered in the cutting position buffer At the same time measuring Value 116CutPositionError is incremented by 1 Users can utilize this V 2 1 Release 11 05 14 81 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 variable for diagnostics error monitoring This counter is reset to 0 if the measurement was suc
75. lying saws END VAR VAR_GLOBAL gasFlyingSaw ARRAY 0 NUMBER_OR_FLYING_SAWS 1 OF sFlyingSawT ype gaFBFlyingSaw ARRAY 0 NUMBER_OR_FLYING_ SAWS 1 OF FBFlyingSaw END VAR V 2 1 Release 11 05 14 52 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 7 2 Technology objects Integration of the core functions Integration in the user program SIROT ID 37841424 7 2 1 Necessary technology objects and synchronism interconnections To use the SIMOTION Flying Saw application the following technology objects must be set up and interconnected as described Please take into account the way the cutposition CP has to be detected and the way the actual application is used to control a real machine or for test pruposes at a demo case Table 7 6 Technology objects required beet eseription OO Web Axis To determine the position and velocity of the material web as leading value of the MaterialAxis SIMOTION Flying Saw application and to coordinate the motion of the material web axis MaterialEncoder from the same control TO Real positioning or following axis Machine encoder external encoder Configuration Configuration Mechanical system Limits Referencing Monitoring closed loop control Flying Saw Axis Drive for the flying saw motion FlyingSawAxis Real following axis Configuration Configuration V 2 1
76. lyingSaw of the unit FS_Progs is used in the startup task in order to initialize the block FBFlyingSaw Note The restart bit should also be set there in order to bring the block into a defined state Not At restart the block checks essential technology parameters as well as the ote existence of saved technology objects After the block has been successfully initialized the restart bit is automatically reset Error handling If faults occur in the block itself or in technology objects and technology functions involved while FB FlyingSaw is operational then these are signaled using the block V 2 1 Release 11 05 14 75 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si E M E N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 outputs error and errorlD Figure 8 3 Block outputs for fault messages IN OUT cutLength Done Busy execute Eror GEED mode Cut stopCutting endSyncPosReached knifeOut OnTheSpotCutPossible OnTheSpotCutDone gapLength syncNotPossible gap Errori GEED onTheSpotCut State The error bit signals an error while an error code is output at output errorlD this can be analyzed using the error analysis function The error output is only set if the execute input is set The errorlD and state 0 Note ERROR are still output even after execute has been reset p 8 3 7 Error messages
77. n The flying saw system uses these blocks As standard the user does not have to access them 8 5 1 Deleting and resetting the measured value memory FBCutPositionBufferReset Deleting and resetting the measured value memory Block name FBCutPositionBufferReset Task Deleting and resetting the measured value memory Integration in run time system The block can be called in any task The block is used by the SIMOTION Rotary Knife or SIMOTION Flying Saw application and does not have to be linked in by the user Graphic representation of the block FBCutPositionBufferReset sCutPositionBuffer cutPositionBufferManagement sCutPositionBuffer ManagementType ManagementType Block parameters Input output parameters cutPocitionBuitar sCutPositionBuffer Structure of the measured value memory with all of the required control signals and pointers refer Management Management yee to the chapter data types Functionality e Deletes all of the memory contents by overwriting memory elements with 0 0 or FALSE e Resets all pointers to 0 e Resets all status signals to FALSE Error Messages No errors are generated V 2 1 Release 11 05 14 83 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Description SIMOTION Flying Saw SIROT ID 37841424 8 5 2 Entries in the measured value memory FBCutPositionBufferln Enters a measu
78. n ended you Standard Application Flying Saw Boi ISIMOTION mode Aut opper w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI return to the welcome screen by pressing the HOME button Print Mark ON OFF Flying Saw STARTPOS Flying Saw Mode Selected disable Actual disable Actual Velocity Position Fynsw Mail 0 Material Velocity calculated Cutting Time Gap ON OFF Velocity sel 2000 ms to Stanposition i T mms act MBB ms eatosian 50 mws Cutlength measured 905 Riis calculated Sync Position 392 i calculated 230 ce E mms 4107 STATUS selected mm Flying Saw as mode Idle Automation and Drives Application Center DT MC PM APC Nje AN ALIT TECHNO e E a V 2 1 Release 11 05 14 41 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S The application example as demonstration system Operatoration of the TestFB application SIMOTION Flying Saw SIROT ID 37841424 6 Operatoration of the TestFB application The pupose of this application is to learn the functionality of the FB FlyingSaw as it should be installed in any user application and how to run the FB This application also is prepared for the demo suitcase and can be adapted also directly to the user hardware Prerequisites The following pr
79. n is culculated by cutlength and entered in CutPositionBuffer 80 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 Input output Parameters sTOsType i Definition of the axes external encoders and measuring probes usersInterface aia Interface to input dynamic and geometrical parameters InterfaceType Boe J P sCutPosition cutPositionBuffer Buffer Internal data area to enter precise cutting position and cutting position deviation for the cutting position Management Management determination Type M A measuringValue R Internal data area to determine the cutting position ValueType 8 4 6 Functionality To determine the cutting position the block has two different techniques e CP MEASURED The presetting of cut position setpoints is done via CutPositionBuffer e CP CALCULATED The cut position of material web remains constant The presetting of cut position setpoint is done by breaking material web position down by actual cutlength CP MEASURED To determine the cutting position put in the CutPositionBuffer the block has two different techniques e CPM DETECTED The cutting position is detected using the measuring function with an activated sensitivity range at the distance of the cut length from the last measured position After being activated the cutting position determination function initial
80. nce used will be stored in the variable usersinterface r64SyncLength SYMMETRIC The distance is dimensioned so that symmetrical synchronization is achieved without any overshoot 8 2 3 Data Structures sFlyingSawType This structure contains the complete global data of the SIMOTION Flying Saw application Declared in LFSLib FS_ Template sTOsType This structure contains the definition of all technology objects used axes machine encoders and measuring probes Declared in LFSLib FS_ Template sUsersInterfaceT ype This structure contains the interface for the user to enter geometry and motion data of the shears mechanical system as well as to enter operating versions Declared in LFSLib FS_ Template sCutPositionBufferT ype This structure contains the memory in which the cutting positions are saved with associated position deviations Declared in LFSLib FS_ Template sCutPositionBufferManagement This structure contains the internal data area to precisely enter Type the cutting position and cutting position deviation for print mark correction Declared in LFSLib FS_ Template sFlyingSawlInfoType This structure contains data about the actual leading value the actual position of the leading value as well as its position from the perspective of the flying saw Declared in LFSLib FS_ Template sMeasuringValueType This structure contains the internal data area to determine the cutting position Declared in LFS
81. ngSaw into mode automatic Select mode AUTO Activate button Execute Edge 091 5 Activation of material movement Switch on material axis Select speed value Start movement Stop movement V 2 1 The application example as demonstration system Operatoration of the TestFB application SIROT ID 37841424 z ER SIMATIC WinCC flexible Runtime FB FlyingSaw EndSyncPos reached InStartPos On the Spot Cut Possible On the Spot Cut done O GOGO 0008 Sync not possible Oo for Sync to late flyingSawaxisActive O ErrorID o0000000 State STARTPOS 1 ca CutLength activated Type of Synchronisation MaterialAxis Delta CutPositionErrerCounter Ei Sync Pos CutLength measured PM Generation Mode PM calculated E on Acceleration E m Home 2 Reset FS Datai UI _FS Data2 CPB MI FST 7 E SIMATIC WinCE flexible Runtime FB FlyingSaw Cut EndSyncPos reached InStartPos On the Spot Cut Possible On the Spot Cut done Sync not possible for Sync to late OOO G60 0008 State flyingSawAxisActive Flying Saw Axis GaaringRatio Pasition Velocity Acceleration TN Teese ErrorID 00000000 Type of Synchronisation parme velocity Cuttingtime act Ez ms CulPositionErrarCounter o Sync Pos CutLength measured PM Generation Mode Number of visualized Flying
82. pective business case Alternative 1 internal business If not explicitly stated otherwise below the Terms and Conditions for Deliveries and Services for Siemens Internal Transactions valid at the time of sale are applicable Alternative 2 domestic business of Siemens AG If not explicitly stated otherwise below the General License Conditions for Software Products for Automation and Drives for Customers with a Seat or registered Office in Germany valid at the time of sale are applicable Alternative 3 direct export business of Siemens AG V 2 1 Release 11 05 14 3 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI SI E M E N S General Notes SIMOTION Flying Saw SIROT ID 37841424 If not explicitly stated otherwise below the General License Conditions for Software Products for Automation and Drives for Customers with a Seat or Registered Office outside of Germany valid at the time of sale are applicable It is not permissible to transfer or copy these standard applications or excerpts of them in unmodified form without first having prior explicit authorization from Siemens Industry Sector in writing For questions regarding this application please contact us at the following e mail address mailto tech team motioncontrol siemens com Qualified personnel In the sense of this documentation qualified personnel are those who are knowledgeable and q
83. placing ProTool by P Tabori WinCflex SCOUT V4 1 1 6 H E B hm March 2010 changeover to the StyleGuide Adapt to ongoing projects Essential simplifications 2011 up to September 2014 Extension by break down process Error correction Improvements error detection Adaption to CutToLength Line requirements Release 11 05 14 92 94 SIEMENS soxhitachmen SIMOTION Flying Saw SIROT ID 37841424 11 Contact partner Application Center SIEMENS Siemens AG Industry Sector Drives Technologies Division Motion Control Systems DF FA PMA APC Frauenauracher Str 80 91056 Erlangen Fax 49 0 9131 98 1297 mailto tech team motioncontrol siemens com w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI V 2 1 Release 11 05 14 93 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E Mi E N S Please help us to become A SIMOTION Flying Saw SIROT ID 37841424 12 Please help us to become even better DF FA PMA APC Sender Application Center Name Department D 91056 Erlangen City Fax 49 0 9131 98 1297 Telephone E Mail tech team motioncontrol siemens com E Mail Evaluation of the document Is this subject helpful beneficial for you Ll ves Lalo How high are the benefits of this application for you in the following working phases Verv hiah Verv low own training information E l m o Qd E
84. r with modulo 16 060C_4009 Modulo length of axis as master value was set to 0 0 16 060C_400A Modulo length of axis as master value was set to MAXIMUM_CUTLENGTH 3000 16 060C_400B Modulo length of external encoder as master value was set to 0 0 16 060C_400C Modulo length of external encoder as master value was set to MAXIMUM_CUTLENGTH 3000 Error messages are indicated by the status of the outputs error and error D error TRUE and errorlD lt gt 16 0000 OOOO If the error was caused by a TO specific command called from the FB then its return parameter RetDINT or FR is kept in the internal data area of the FB for further evaluation by the user Table 8 3 Errors Erorib fC escription O O O O O O 16 0611_8001 DISABLE to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32RetDINTStopFSA 16 0611 8002 DISABLE to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32FRStopFSA 16 0612 8001 DISABLE to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in i832RetDINTPosFSA 16 0612 8002 DISABLE to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in iS2FRPOsSFSA Release 11 05 14 17 194 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw V 2 1 Program Description Program Description SIROT ID 37841424
85. rably into the background task V 2 1 Release 11 05 14 57 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si M z N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 7 3 3 Global Variables The FBFlyingSaw function block is influenced by several parameters and interfaces which are subdivided into the following areas e Block interfaces e Block interface in the global data area Changing tasks and modes are communicated to the function block via the block interface The function block also communicates the actual status and errors that have possibly occurred back to the user program via this interface The parameters of the flying saw to be connected are communicated to the function block via the block interface in the global data area In normal flying saw operation these values will not change Further it includes data areas for communication with the user and for communication among the individual sub functions in the overall V 2 1 Release 11 05 14 58 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 Program Description Content The section Program Description is only then of interest if you wish to expand adapt your applicat
86. rd SIMOTION Flying Saw application can be applied on any SIMOTION control system 2 1 2 Tasks that can be implemented using the core functions The core functions provide interfaces for on the fly processes at e Cutters e Perforators e Embossers e Sealers e Saws e Drilling machines e Painting machines e Stamping units Definition In the following text the flying saw term is used to represent all of the other conceivable machine versions The term saw is used for all parts of the machine where direct contact is made to the material when cutting V 2 1 Release 11 05 14 15 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Prerequisites and objectives Areas of use SIMOTION Flying Saw SIROT ID 37841424 2 1 3 Properties and features of the core flying saw functions The following properties and features were implemented and can be used in a user program e Precisely synchronizing at a specific position The flying saw is synchronized with the material so it reaches its velocity ata parameterized position e Flying axis During cutting the flying saw and the material move with the same velocity e Adjustable rest position of the flying saw The rest position of the flying saw can be adjusted between two cuts using a parameter e Cutting at a print mark The cutting position is detected using a probe and print mark e
87. rection as precise position this is not relevant for the user sCutPositionBuffer S UPOS data area of cut position buffer oo a Pointer to next Pointer to next input position of buffer Bees Pointer to next input position of buffer buffer no OO sFlyingSawinfoType This structure contains calculation results and display information relevant for the user that provides information about the state of the flying saw TRUE Leading value is a real or virtual posAxis boAxisAsLeadingValue BOOL a FALSE No posAxis can be entered as leading value If the leading value is a real or virtual posAxis then the OUT toLeadingvaluensis name of the TO is the axis otherwise TO NIL boExternalEncoderAs BOOL TRUE Leading value is an external encoder LeadingValue FALSE No external encoder entered as leading value OUT toLeadingValue externalEncoder If the leading value is an external encoder then the name of ExternalEncoder Type the TO is the external encoder otherwise TO NIL boTOLeadingValue BOOL TRUE TO master value active Active our PoleadingValue BOOL TRUE Master value in standstill Standstill toActiveFollowing followingObject Active following object of the FlyingSaw axis V 2 1 Release 11 05 14 66 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 Object Tye I
88. red value position measured value and or position deviation into the measured value memory Block name FBCutPositionBufferln Task With each call the values present at the block position measured value and position deviation are entered into a free location of the measured value memory Integration in run time system The block can be called in any task The block is used by the SIMOTION Rotary Knife or SIMOTION Flying Saw application and does not have to be linked in by the user Graphic representation of the block FBCutPositionBufferln LREAL actPosition DINT actPositionNumberModulo BOOL onTheSpotCut sCutPositionBuffer cutPositionBufferManagement sCutPositionBuffer ManagementType ManagementType Block parameters Input parameters cutPosition LREAL 00 mm Position measured value cutPositionNumber Number modulo cycles of position measured value Modulo FALSE Immediate cut active on the spot cut onTheSpotCut Input output parameters Structure of the measured value memory with all of the required control signals and pointers refer to the chapter data types cutPositionBuffer sCutPositionBuffer Management ManagementT ype Functionality e The position measured value is entered into the measured value memory V 2 1 Release 11 05 14 84 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M
89. rovided on how to use the core functions Section Program description is interesting if you wish to expand adapt the functionality of the core functions provided for your particular application Release 11 05 14 5 94 Si M z N S Foreword SIMOTION Flying Saw SIROT ID 37841424 Section Appendix provides you with detailed information including a detailed fault error description a description of a test program for the Appendix core standard application functions as well as references A feedback sheet is also provided which you can use to give us your comments and suggestions on this document Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI V 2 1 Release 11 05 14 6 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Index of contents SIMOTION Flying Saw SIROT ID 37841424 Index of contents Prerequisites And objectives ccccceeeceseeeeeeeeeeeeneseneceneseneeeneseneseneseneseneseeneaeneannes 10 1 BASIC TOMA UON axccc iste tia ceicdnccseu soe E lamindnea ie martiace le 11 1 1 FI CLCOQUISIOS oeaan r E tans AEA 11 1 1 1 TARO CU QROUD asna aaa a ied a Datars ema iain 11 1 1 2 KANOWwIEdOGE DASE vacate tate sie sade a tans AE icine 11 1 1 3 T GNANICAl environment serana a teisene oie aes 11 1 2 Objective and purpose of this standard application
90. rror when stopping the FlyingSawAxis _move v 0 Details in i32FRStopFSA AUTOMATIC to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in i832RetDINTPosFSA AUTOMATIC to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in iS2FRPOsFSA MANUAL to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32RetDINTStopFSA MANUAL to DISABLE Error when stopping the FlyingSawAxis _move v 0 Details in i32FRStopFSA Release 11 05 14 78 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 rerio Description O SS 16 0642_8001 MANUAL to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in i32RetDINTPosFSA 16 0642 8002 MANUAL to STARTPOSITION Error when positioning the FlyingSawAxis _pos Details in iS2FRPOosFSA 8 4 FBCutPositionDetection Block to determine the cutting position of the flying saw 8 4 1 Block name FBCutPositionDetection 8 4 2 Task Determining the cutting positions 8 4 3 Integration in the run time system The function block can be called in each cyclic task The block is used by the SIMOTION Flying Saw application and does not have to be linked in by the user V 2 1 Release 11 05 14 79 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reser
91. rs axisTOs sTOsType Defines the axes machine encoder and measuring probe being used usersIinterface aaa Interface to enter dynamic and geometrical parameters faceType FlyingSawinf flyingSawinfo Tyee vate a Internal data area for display sCutPosition cutPositionBuffer Buffer Management Management Type sMeasurin l l tis eatin yy Internal data area to determine the cutting position Output parameters Internal data area to enter precise data for the cutting position and cutting position deviation for the cut position determination BOOL FALSE Selected mode is activated V 2 1 Release 11 05 14 71 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw Program Description Program Description SIROT ID 37841424 BOOL FALSE Mode changeover is active o n o flyingSawlnStartPos BOOL FALSE endSyncPosReached BOOL FALSE onTheSpotCutPossible BOOL FALSE onTheSpotCutDone BOOL FALSE syncNotPossible BOOL FALSE forSyncToLate BOOL FALSE eOperation ModesFlying SawType FALSE No error TRUE There is an error refer to error ID Processing and calculating the process values is not interrupted in the case of an error The flying saw is stationary is synchronizing or is moving back to the start position The flying saw is moving in synchronism with the material web cutting can start FlyingSaw is in initial pos
92. rt Cuttength activated act ms for Sync to late CG g EE CutPositionerrorcounter B P int kx Delta SyncPos CutLenath measured P Cont Type of Synchronisation flyingSawAxisactive PM Generation Mode Flying Saw Axis GearingRisti MaterialAxis Position Velocity Acceleration Position Velocity E H o Reset Velocity ON Home 2 Reset Number of visualized Flying Saw m FS Datai UI _FS Data2 CPB MI FST _ FS Operating EU SIMATIC WinCC flexible Runtime Users Interface Distance To Sensor Restart Startposition Sync Pos End Sync Pos End Pos Gearing Ratio To Start Pos Velocity To Back Pos Velocity Gap Velocity Acceleration Cut Acceleration Back Acceleration Gap CP Delta Tolerance Range Cut Pos Generation Mode Cut Pos Measure Mode Typeorsynchronisation vame SyncLength Number of visualized Flying Saw Pam FS Data2 CPB MI FSI 200 000 0 000 100 000 550 000 600 000 1 000 100 000 150 000 50 000 100 000 100 000 10 000 _TIME a HE 5 ea E Eg 2 EE aa ages 450 000 FS Operating B SIMATIC WinCE flexible Runtime Cutposition Buffer Cut Position Measured 0 000 Cut Position Measured Number Modulo Cut Position Entered Cut Position Read ooo fll On The Spot Cut Position Entered Measuring Interface cutlength activated ee wl seman vi eal ments Leading Value Mod
93. s is called for the flying saw axis If the axis is disabled then the DISABLE mode is activated STARTPOSITION gt AUTOMATIC ce Resetting the CutPosBuffer Activation of the measuring system is required Activation the AUTOMATIC operating mode STARTPOSITION gt MANUAL This state change is achieved using an automatic state change sequence that reaches the manual state through the disable state Mode AUTOMATIC 3 O p i Automatic cycle Wait until a valid synchronous position is available If yes then advance to step 1 _enableGearing is called to synchronize the flying saw axis to the material web at the master and slave positions If synchronization was successful then continue with step 3 if not then continue with step 2 _disableGearing is called to delete clear the command from the command queue If this is successful then continue with step 0 The cut output bit is set The actual synchronous position is deleted cleared from the CutPosBuffer V 2 1 Release 11 05 14 89 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SI E M E N S Description of the a F SIMOTION Flying Saw SIROT ID 37841424 4 Wait until stopCutting signal appears If the gap signal is present then continue with step 5 If not then continue with step 6 5 _pos is called for the flying saw axis using the merge mode SUPERIMPOSED_MOT
94. s parameterized at the axis velocity acceleration and jerk With dynamic values big enough the saw will wait for the start of the synchronization motion and then accelerates to a velocity higher than the material velocity in order to catch up with the synchronous point Fig 2 1 Synchronization with overshooting velocity Position Geschwindigkeit 200 FS_Progs gasflyingsaw 0 sflyingsawinfo 64maposfortechnologie chwindigkeit Geschwindigk 160 7 150 140 130 3500 4000 4500 5000 5500 6000 6500 7000 7500 8000 8500 9000 9500 10000 10500 11000 11500 12000 Ims With dynamic values too small the saw won t be able to start and the error message Sync not possible appears V 2 1 Release 11 05 14 19 94 Si E M E N S Prerequisites and objectives Areas of use SIMOTION Flying Saw SIROT ID 37841424 Position related synchronization w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI The characteristic of the synchronizing movement is dependent on SyncLength entered If SYMMETRIC is selected the distance is dimensioned in that way that symmetrical synchronization will be achieved without any overspeed The cutting equipment starts with the synchronization motion so that the synchronous point only catches up when the material velocity is reached In this case the SyncLength is set set to 2 x SyncPos StartPos Fig 2 2 Synchronization with
95. signal words and text Every piece of safety information instruction in this document is designated by text graphics comprising pictogram and signal word and supplemented by explanatory text A clear classification according to the degree of the potential hazard is provided as a result of the combination of pictogram and signal word Safety information instructions are provided in front of the information regarding activities to be executed Classification There are three different stages regarding safety information instructions These are designated by the same pictogram They differ by the signal word This safety information instruction indicates an immediate hazard If the information instruction is not carefully followed this results in severe Danger bodily injury or even death This safety information instruction indicates a potential hazard If the information instruction is not carefully followed this can result in severe Warning bodily injury or even death This safety information instruction indicates a potentially hazardous situation which can result in slight to average bodily injury This Caution pictogram text word can also warn about potential material damage V 2 1 Release 11 05 14 27 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S The application example as demonstration system Installing the hardware and software SIMOTION Flying S
96. te Fyogsan S scoa fry eda ima seas aeg w B Mle cd Mom Ss Mm ay AUTO TECHNOLOGY Mama Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI V 2 1 Release 11 05 14 35 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 5 2 The application example as demonstration system Operator control of the application example Brief instructions SIROT ID 37841424 Execute the following steps in the sequence as listed in the following table to demonstrate the application example Table 5 1 Brief instructions to demonstrate present the flying saw application example ECA E E a ee V 2 1 Call the following file C Siemens Step7 S7Proj Flyingsaw_V20 HmiEs Project_1 Project_1 WinCCStation fwx If the connection to the CPU was able to be established the screen form appears at the top left mode Idle At the bottom left please click on AUTO 3 button from the left G SIMATIC WinCE flexible Runtime Standard Application ISIMOTION Application Center DT MC PM APC Flying Saw Check that your PG PC is set to correct IP Address 169 254 11 23 with subnet mask 255 255 0 0 G SIMATIC WinCC flexible Runtim Standard Application SIMOTION Application Center DT MC PM APC Release 11 05 14 Flying Saw 36 94 w_V2 1 do
97. test 13 04 39 13 04 45 13 04 52 13 04 59 19 08 2014 19 05 2014 19 08 2014 19 08 2014 E ee 1000 ms m CutLength activated act ms CutPositionErrerCounter Ei Sync Pos CutLength measured Type of Synchronisation PM Generation Mode jxme C MaterialAxis so ae oN Acceleration E n ET EE O o ee Number of visualized Flying Saw E _FS Data2 CPB MI FST FS Datai UI Release 11 05 14 46 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si M z N S Integration of the core functions Operatoration of the TestFB application SIMOTION Flying Saw SIROT ID 37841424 Integration of the core functions Content The section Intergration of core functions gives an overview of all necessary steps for implementing the SIMOTION Flying Saw applications into the user s program Preparatory activities and parameterizing works will be defined Moreover this section also explains step by step how to integrate the application library into the users application V 2 1 Release 11 05 14 47 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI Si E M E N S Integration of the core functions Integration in the user program SIMOTION Flying Saw SIROT ID 37841424 T Integration in the user program 7 1 Importing the source code The SIMOTION Flying Saw application
98. the application This function is activated via the button Auto Cutting EndSyncPos reached InStartPos Or the Spot Cut Possible On the Spot Cut dane Graphic Auto Cutting CutLength activated O om CutPositionErrorCounter o Delta Sync Pos CutLength measured oe oe Type of Synchronisation PM Generation Mode PM Generation Mode MaterialAxis E om RR on Velocity Acceleration ij m Home FS Datai UI _FS Data2 CPB MI FST On the Spot Cut Sync not possible 0000000000 for Sync to late 5 E SIMATIC WinCE flexible Runtime FB FlyingSaw InStartPos Gn the Spat cut On the SpotCutdone Graphic Sync not possible for Sync to late cy ErrorID Delta Sync Pos CutLength measured Type of Synchronisation CutLength activated CutPositionErrarCounter Ei PM Generation Mode PM Generation Mode flyingSawAxisActive Flying Saw Axis MaterialAxis Position Velocity Acceleration Position Velocity Acceleration za m Home a L e a a aa teset Number of visualized Flying Saw Pa FS Datai UI _FS Data2 CPB MI FSI V 2 1 Release 11 05 14 44 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 3 Run FlyingSaw to startposition Select mode STARTPOS Activate button Execute Edge 01 4 Switch Flyi
99. the machine controller At the same time the synchronous position is defined wherefrom the cutting equipment will match with the material speed and the cutting sequence can be started After cutting has been completed the cutting equipment moves back into start position where it is waiting for the next cutting position Fig 1 1 Principle of operation of the flying saw Sensor Starting position Drive of flying saw TE a Pee eee oe ee ee 2 2 Web drive or measuring system 1 2 2 Solution using the standard application SIMOTION Flying Saw The SIMOTION Flying Saw application introduced in this document helps the user to meet the assigned requirements for developing a flying saw solution as quickly as possible V 2 1 Release 11 05 14 12 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S Prerequisites and objectives Basic information SIMOTION Flying Saw SIROT ID 37841424 The standard application includes a function block which controls the flying saw and implements the motion control part via parameters corresponding to the particular application The user program only has to control the material feed and to supply the core function with the correct parameters Additional function of the standard application Furthermore the standard application provides the optional feature to create a gap with the cutting equipment between the cutted pieces T
100. tion of technology objects ccccecccseeeeceeeeeeeeeeeeeeaeeees 54 7 3 Integrating the core functions of the application SIMOTION FIV ING AW reac sind ete teed S a ude aie deed E 57 7 3 1 Parameterizing in the startup taSk cccccceecceeeeeeeeeeeseeeaeeeaeeenees 57 7 3 2 Calling FBFlyingSaw in the user PrOQraM cccceececeeeeaeeeeaeeeeeeees of 7 3 3 GOD Al ANADIOS ocsi i E E E ada cdeethegnt Sas 58 Program DESGCIIPTON sccusti aen iea a a a iaa aaia ra aiaa iE 59 8 Programm DSSCH DOM aaen E EE EE 60 8 1 Information and warnings cccceeccseeeceececeeeeceeeeseeeeaeeeseeeeseueeseeesaes 60 8 2 Type Or Daaa a ane eee eee eA E R EEEE 60 8 2 1 OVE EW i nen eo a a aE E Re en EE 60 8 2 2 Enumeration types aries oxalate eens cine tescnwen ws eaudads wean einaieeeeee 61 8 2 3 Data SUCUS iaa ahs oo ci call ans clans oe ate cence dad 62 SFIYINQSAWINFOT YPe s cei unci EE ae E T E REEN 66 8 3 PAVING SAW ai a e e a a O ene ceee toe 69 8 3 1 DIOCRA aena a a a ES 69 8 3 2 Wi SIG ae aoa ea eee ge dessa eee 69 8 3 3 Integration in the run time system cece ccceeeeeeeeeseeeeseeeeaeeesaeeees 69 8 3 4 Graphic representation of the DIOCK cccccccceeceseeeeeeeeeaeeesaeeesaees 70 8 3 5 BICK Parameter Sadan E a 71 Input output parameters cccceceseseecseeeceeeeceeeceueeceueecaeeeseeeeseeeess 71 Ou tp t parameters ecrane a E EE odateel ces 71 8 3 6 FUNCIONA Y caires slate Mulia Net corte aint
101. to enter physical boundary conditions operating mode versions as well as to enter a restart during operation this function must be parameterized by the user mm Distance between the sensor for the material and print GA Disianeetocensor LREAL mark detection and the axis zero point of the distance reference system of the flying saw distance to the sensor r64StartPos LREAL mm Start position within the distance reference system of the flying saw mm Maximum position within the distance reference r64EndSyncPos LREAL system of the flying saw where synchronous motion must have been completed end of the synchronous range r64EndPos LREAL mm Reversal point in the distance reference position of the flying saw r64ToStartPosVel LREAL mm s Velocity when positioning to the start position mm Position within the distance reference system of the IN r64SyncPos LREAL flying saw where synchronization is completed synchronous position V 2 1 Release 11 05 14 64 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 37841424 IN r64ToBackPosVel LREAL mm s Velocity when positioning back to the start position after a cut IN r64GapVelocit LREAL mm s Velocity after executing the higher level gap p y positioning creating a gap mm s Acceleration when synchronizing for the cut only if ee Uuaceriela
102. tol ee eTypeOfSynchronisation BY_ TIME eA BackAecalaration LREAL mm s Acceleration when positioning back to the start position after a cut BA Gab AGCCIGEaTION LREAL mm s Acceleration when executing the higher level gap p positioning creating a gap IN r64GearingRatio LREAL o Ratio between the measured and real material motion r64CPDeltaTolerance mm Half the tolerance bandwidth for the activation range LREAL ny Range of the cut position detection boRestain BOOL Flag restart the user must set this it is reset by the application bolnterruptProduction BOOL interrupt production of FlyingSaw without leaving automatic mode e g to activate STO b ConinisProducion BOOL continue production of FlyingSaw after interrupt production in automatic mode e g after STO Method to determine the cut position eCutPosition CP_CALCULATED Cut position is calculated by cutting GenerationMode to length of material position Type CP_MEASUERED Cut position is detected using the measuring probe Method to measure cut position only valid when eCutPosition GenerationMode CP_MEASURED active eCutPosition CPM_DETECTED Cut position is detected with sensor eCutPosition and print mark and then entered in MeasureMode MeasureMode CutPositionBuffer 7 ype CPM_SIMULATED Cut position is calculated by cutlength and entered in CutPositionBuffer Synchronizing method to synchronize to the material axis eTypeOf BY_TIME
103. ualified to mount install commission operate and service maintain the products which are to be used He or she must have the appropriate qualifications to carry out these activities e g e Trained and authorized to energize and de energize ground and tag circuits and equipment according to applicable safety standards e Trained or instructed according to the latest safety standards in the care and use of the appropriate safety equipment e Trained in rendering first aid There is no explicit warning information in this documentation However reference is made to warning information and instructions in the Operating Instructions for the particular product Reference regarding export codes AL N ECCN N V 2 1 Release 11 05 14 4 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw Foreword Foreword SIROT ID 37841424 Standard SIMOTION application A standard SIMOTION application comprises the following components e One or several software objects or code blocks with defined interfaces that can be simply integrated into other software projects without requiring any significant programming in order to fulfill a precisely defined technology task there Core functions e A software project based on a demonstration case to show the functionality and possible uses of the standard application including the associated W
104. ulo Length Soll Pos Next Cut Pos At Sensor Soll Pos Tolerance Range Start owo Soll Pos Tolerance Range End ooo Cut Pos At Sensor Cut Pos At Sync Pos EE CutLengthselected CutLengthMeasured CutPositionErrorCounter LE Number of visualized Flying Saw E E 590 301 ooo a a a a O Q O O O Q Q Flying Saw Info Material Pos Actual Material Pos Actual Start MA Syne Pos MA Offset MA Pos For Technologie Material Position Maximum CutLength Activated Delta Upper Limit To Late Delta To Late Upper Limit Not Possible Delta Not Possible FS Datai UI 78640 301 FS Operating FS Data1 Ul Release 11 05 14 FS Data2 CPB MI FSI 43 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI SIEMENS SIMOTION Flying Saw 6 2 Brief instructions The application example as demonstration system Operatoration of the TestFB application SIROT ID 37841424 Execute the following steps in the sequence as listed in the following table to demonstrate the application example Table 6 1 Brief instructions to demonstrate present the TestFB Application SIMOTION Flying Saw Start screen after activation of WinCC RT 2 Activation of Auto Cutting If Auto Cutting is activated all the control signals for the knife will be automatically generated and must not be activated t by the user This simplifies the handling of
105. ved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 8 4 4 Graphic representation of the block FBCutPositionDetection cutLength LREAL BOOL onTheSpotCut eCutPosition GenerationMode Type cutPositionGenerationMode eCutPosition MeasureMode Type cutPositionMeasureMode sTOsType sUserlInterface Type sCutPositionBuffer ManagementType sMeasuringValue Type 8 4 5 Block parameters Input Parameters Program Description Program Description SIROT ID 37841424 sTOsType sUsersInterface Type sCutPositionBuffer ManagementType sMeasuringValue Type cutLength LREAL 800 0 mm Element length of the cut material By setting this signal a synchronous position is onTheSpotCut immediately generated for the next cut on the material web at the sensor position There are two techniques to generate cutting positions CP_CALCULATED CutPositionGeneration eCutPositionG CP Mode enerationMode GalCULATED Type CP_MEASUERED Cut position is calculated by breaking material web down by cutlength Cut position is detected using the measuring probe and stored in the CutPositionBuffer Method to measure cut position only valid when CP_MEASURED activ eCutPosition CPM DETECTED CutPositionMeasure Mescaretilads CPM_ Mode o SIMULATED CPM_SIMULATED V2 1 Release 11 05 14 Cut position is detected using sensor and prink mark and entered in CutPositionBuffer Cut positio
106. work connection that is used to SIMOTION and open its properties righthand mouse click gt PROPERTIES or select the symbol and then FILE gt PROPERTIES e Inthe area This connection uses the following items select the protocol Internet Protocol TCP IP and open its properties e The Ethernet interface IE2 X130 of SIMOTION D435 has as standard the IP address 169 254 11 22 e Select Use the following IP address and enter the IP address 169 254 11 23 e As Subnet mask enter 255 255 0 0 e The address set above must be identical to the address for the PG PC Check this address by selecting the PG PC interface in NetPro and if required adapt this e Confirm your changes by pressing on OK twice 4 4 5 Loading the hardware configuration after the factory setting To load the hardware configuration please proceed as follows e Go into the hardware configuration and press the button Load to target device e Acknowledge with OK e Press on No and do not execute a new start e Close the hardware configuration and change to SIMOTION Scout V 2 1 Release 11 05 14 32 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI Si 3 M z N S The application example as demonstration system Installing the hardware and software SIMOTION Flying Saw SIROT ID 37841424 4 4 6 Loading the SIMOTION project of the standard application Proceed as follows to load the SIMOTIO
107. yed to activate the flying Flying Saw Mode Selected start rest position Saw Actual start rest position Flying Saw Before you activate the flying saw the required cut length should be selected using the Cutlength slider Actual Velocity Position Flying Saw Ee t Diis grial Po t 7585 Cutlength measured mm calculated gz calculated Ez mms Flying Saw selected zrnca selected Hdd END TECHNO SETTINGS MANUAL LOGY Release 11 05 14 Print Mark E i Actual Velocity Position Cutting Time Velocity ON OFF Fling Saw BB BB set 2000 ms tostanposition 100 mms Material 79 l 973 act ms Back to Start 150 mms The application example as demonstration system Operator control of the application example SIROT ID 37841424 Gap ON OFF Sync Position 3923 300 Material START Material PE STOP al selected Material EA END HOME picture Automatic mode Idle Gap ON OFF Sync Position Material START 392 300 Material 2404 calculated STOP 180 m 120 z 60 selected Material 100 i g END HOME sl picture Automatic mode Automatic Ready Gap ON OFF Sync Position Material START Material EE STOP selected Material Te TO END 37 94 w_V2 1 doc ying_Sa Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_ FI 7 Now you can start the material feed Si E M E N S T
108. z N S Program Description Program Description SIMOTION Flying Saw SIROT ID 37841424 e The number of modulo cycles of the actual postion is entered into the measured value memory Error messages No errors are generated 8 5 3 Reading out the measured value memory FBCutPositionBufferRead Reading measured values from the measured value memory Block name FBCutPositionBufferRead Task If the block is being used in the SIMOTION Rotary Knife application then it detects whether a new position deviation was entered and initiates a corresponding position correction If the block is being used in the SIMOTION Flying Saw application then it detects as to whether a new position measured value was entered and initiates an additional processing cycle Integration in run time system The block can be called in any task The block is used by the SIMOTION Rotary Knife or SIMOTION Flying Saw application and does not have to be linked in by the user Graphic representation of the block FBCutPositionBufferRead flyingSawStart BOOL positionMeasured LREAL positionMeasuredNumberModulo DINT onTheSpotCut BOOL sCutPositionBuffer cutPositionBufferManagement sCutPositionBuffer ManagementType ManagementT ype V 2 1 Release 11 05 14 85 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS Program Desorption SIMOTION Flying Saw SIROT ID 3784142
109. zable cut length e Synchronizing to the material web e Controlling the cutting device during synchronous motion e Possibility of creating a gap Referencing the axes and setting up operation jog are not included in the application 8 3 3 Integration in the run time system The function block can be called in each cyclic task The user must link the block V 2 1 Release 11 05 14 69 94 Saw_V2 1 doc ying_ Copyright Siemens AG 2014 All rights reserved 2014 11 05 Manual_SIMOTION_FI SIEMENS SIMOTION Flying Saw 8 3 4 Graphic representation of the block LREAL BOOL eOperationMode FlyingSawType BOOL BOOL LREAL BOOL BOOL sTOsType sUserlInterface Type sFlyingSawlInfo Type sCutPositionBuffer Managementl ype sMeasuringValue Type V 2 1 cutLength execute mode stopCutting knifeOut gapLength gap onTheSpotCut FBFlyingSaw busy error cut flyingSawIinStartPos endSyncPosReached onTheSpotCutPossible onTheSpotCutDone syncNotPossible forSyncToLate errorld status rotaryKnifeAxisActive Release 11 05 14 Program Description Program Description SIROT ID 37841424 BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL BOOL DWORD eOperationModes FlyingSawType BOOL sTOsType sUsersInterface Type sFlyingSawlInfo Type sCutPositionBuffer Management ype sMeasuringValue Type 70 94 Si 3 M z N S Program Description Program Description SIMOTION
Download Pdf Manuals
Related Search
Related Contents
UG-2832HLBEG04 UG ICS通信速度設定マニュアルVer1.1 User manual Smart B65doc Sinewave Inverter HIPHOP pro 1500 HIPHOP pro 2000 User`s manual ステンレスベッセルを 全機種に採用 R407C を 全機種に採用 Belkin KD-03 PAN200 Series Positive and Negative Duct Accreditation CDX-GT270MP KEEX-4030 User`s Manual Copyright © All rights reserved.
Failed to retrieve file