40
© Siemens AG 2010. All Rights Reserved. SIMOTION Converting Library V1.2.1

Slides Simotion Converting Library v1 2 1

Embed Size (px)

Citation preview

Page 1: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.

SIMOTION Converting Library V1.2.1

Page 2: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxIntroduction

Objectives of the Converting Library:Provides SIMOTION users support when engineering and programmingconverting machines like

Foil machinesPrinting machinesCoating machinesPaper finishing machinesWire drawing machinesTextile machinesPost printing machines

Open standard that can be adapted depending on the specific machine and applicationAdditional functionality to the standard applications e.g.:

Rotary KnifeWinderTraversing drive etc.

Page 3: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxBenefits when using the Application

Shorter engineering and service times (same look & feel)

Can be used in all programming languages

Industry standards are used

Supported by the various PM Application Centers

Continuously updated in the Intranet

Essentially open source code so that you can adapt the functions to your requirements

User Manuals in English and German

Simple to learn & get to know using application examples

Free of Charge

Page 4: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxContents of the Application

PowerPoint presentation (English / German)

Units / libraries (programming in either ST or MCC)

User Manuals (English / German)

Feedback sheets (English / German)

Change log (change history)

Page 5: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxScope of Functionality

Available functionsUniversal tools e.g.:

Determining the cycle time (FCTaskIdentification)Scaling functions (FCScalingDWRL, FCScalingRLDW etc.)Limit value monitor (FBLevelControl)Ramp function generator (with or without jerk limitation) (FBRFG, FBRFGJerkLimit)Non-linear characteristic (FBPolygonA, FBPolygonB)Linear interpolation (FCLinear)Breaking distance and time calculation (FCCalculateDistance)Modulo Evaluation (FCEvaluateModule)

Drive functions:Measure friction characteristic (FBFrictionMeasurement)Enable interfaces (FBEnableInterface)

Page 6: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxScope of Functionality

Closed-loop control functions:PT1 element (FBPT1)Differentiating element (FBDiff)Integrator (FBINT)DT1-Filter (FBDT1)Dead band element (FCDeadBand)Dead zone element (FCDeadZone)Limiter with feedback signal (FBLIM)Average value generator (FBAverageValue)PID-controller (FBPIDController)Technology controller (FBTechnologyController)

Page 7: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxScope of Functionality

Winder blocks:Diameter calculation (FBDiameterCalculation)Torque pre-control (FBTorquePrecontrol)Tension taper characteristic (FBTaperCharacteristic)Residual length calculation (FCRLC)Target diameter calculation (FCRDC)High resolution material thickness calculation (FBThicknessAverage)

Page 8: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

These function blocks are included in the convertinglibrary LConLib.

The library consists of 3 Units:ToolConv:General purpose tools and drive functionlityWI_Tools:Winder related function blocks (diameter calculation, technology controller)WI_Template:Winder function block

Page 9: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Determining the cycle time- FCTaskIdentificationIdentification of the task and the associated cycle time

Page 10: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Scaling functionality – Skalierung Word <-> Real, DWord <-> Real

FCScalingDWDRL

xDWORD FCScalingDWDRL REAL

REAL maxValue

REAL base

FCScalingRLDWD

xREAL FCScalingRLDWD DWORD

REAL maxValue

REAL base

FCScalingRLWD

xREAL FCScalingRLWD WORD

REAL maxValue

REAL base

Page 11: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Limit value monitor – FBLevelControlMonitoring of an input value to identify whether it violates (exceeds, falls below) the parameterized limit valuesDifferentiation between warning and alarm

FBLevelControl

runBOOL

xREAL

alarmHighREAL

warningHighREAL

busy BOOL

alarmUpperLimit BOOL

warningUpperLimit BOOL

warningLowerLimit BOOL

warningLowREAL alarmLowerLimit BOOL

alarmLowREAL

hyst

delayTimeTIME

REAL

Page 12: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Basic ramp-function generator - FBRFGLimits the rate of change of input quantity xRamp-up and ramp-down times can be independently set and changed during operationOutput limitingSetting value and setpoint tracking

Page 13: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Ramp-function generator with rounding-off - FBRFGJerkLimitRamp-function generator with adjustable ramp-up and ramp-down times and rounding-offIndependent setting of the ramp-up and ramp-down timeOutput limitationSetting value and setpoint trackingSpecial input for fast stop

rampupTime rampdownTimet

y

FBRFGJerkLimit

runBOOL

enableBOOL

modeBOOL

enableRoundingBOOL

busy BOOL

error BOOL

errorID DWORD

setpointReached BOOL

holdBOOL setpointZero BOOL

xREAL accelerating BOOL

nominalValueREAL decelerating BOOL

rampupTimeREAL y REAL

rampdownTimeREAL ya REAL

fastRampdownTimeREAL

roundingTimeREAL

taskModeeTaskNameType

Page 14: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Non linear characteristic – FBPolygonA / BThis block determines a value from a non-linear characteristic that is enteredLinear interpolation between two table values entered using the input quantities

modeePolygonModeType

entryNumUINT

xREAL

ARRAYOF REAL

error BOOL

errorID DWORD

y REAL

ARRAY OF REAL ARRAY OF REAL

ARRAY OF REAL ARRAY OF REAL

FBPolygonA, FBPolygonB

ARRAYOF REALabscissaValue

ordinateValue

ordinateFactor

Page 15: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Linear interpolation - FCLinearThis function interpolates a point from a specified straight line

Page 16: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Calculation of Breaking distance and time - FCCalculateDistance

Page 17: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Calculation of the position difference between two cycle times -FCEvaluateModulo

Page 18: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Friction characteristic - FBFrictionMeasurementThe function block runs up to the speeds, stored in the input array, and stores the corresponding average of the actual moments in the output array E.g. utilization in the winder function block

FBFrictionMeasurement

executeBOOL

abortBOOL

axisDRIVEAXIS

measurementsUINT

done BOOL

busy BOOL

commandAborted BOOL

error BOOL

errorID DWORD

UINT UINT

ARRAY of REAL ARRAY of REAL

ARRAY of REAL ARRAY of REAL

frictionCurveAbcissa

frictionCurveOrdinate

frictionCurveEntryNum

Page 19: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Enable interfaces - FBEnableInterfaceSelective switching-on of the cyclic axis speed or the torque interfaceNecessary e.g. for the controlling of an axis winder

FBEnableInterface

executeBOOL

abortBOOL

axisANYOBJECT

movingModeEnumMovingMode

done BOOL

commandAborted BOOL

busy BOOL

active BOOL

motioninVelocityBOOL error BOOL

additiveTorqueBOOL errorID DWORD

torqueLimitNegativeBOOL

torqueLimitPositiveBOOL

initialModeeInitializationModeType

Page 20: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

PT1 element – FBPT1This function block has the functionality of a PT1 filter

setBOOL

xREAL

setValueREAL

smoothingTimeREAL

error BOOL

errorID DWORD

y REAL

taskModeeTaskNameType

FBPT1

Page 21: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Differentiating element - FBDIFFunction block with differentiating behavior

Page 22: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Integrator - FBINTFunction block with integrating behavior, setting value functionand limiting

Page 23: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

DT1 Filter - FBDT1Function block with DT1 behavior and smoothing

x

smoothingTime

diffTime

Y

setYPT

setValue

Page 24: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Limiter with feedback signal – FBLIMLimiter with settable upper and lower limitsReached limit is being displayed

FBLIM

xREAL

upperLimitREAL

lowerLimitREAL

y REAL

upperLimitReached BOOL

lowerLimitReached BOOL

Page 25: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Dead band element - FCDeadBandSettable dead band that sets the value range – symmetrical around the zero point – to zero

Page 26: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Dead zone element - FCDeadZoneSettable dead zone that sets the value range – symmetrical around the zero point – to zero

Page 27: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Average value generator - FBAverageValueThe function calculates the floating average value of the valuesentered at the input

FBAverageValue

runBOOL

resetBOOL

xREAL

sizeOfArrayINT

busy BOOL

averageValue REAL

maxValueReached BOOL

Page 28: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

PID-controller with actual value smoothing and optional D-portion in the actual value channel - FBPidControllerPID-controllerActual value filter with (PT1)Scaling functionality in the actual value channelD-portion in the actual value channel„Anti-windup“ funtionalityPrecontrol signalDeadband filter in the controller deviation channelOutput scaling functionalityOutput limitation

Page 29: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

FBPidController

enableBOOL

resetBOOL

setpointValueREAL

actualValueREAL

busy BOOL

error BOOL

errorID DWORD

upperLimitReached BOOL

eTaskNameType

preControlREAL lowerLimitReached BOOL

propGainREAL deviationValue REAL

integTimeREAL pOutValue REAL

derivTimeREAL iOutValue REAL

filterTimeREAL dOutValue REAL

upperLimitREAL outValue REAL

lowerLimitREAL

intSetValueREAL

holdIntChannelBOOL

setIntChannelBOOL

sPidDataType sPidDate

taskMode

Page 30: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Diameter calculation - FBDiameterCalculationFunction block to calculate the actual diameter of an axis winderOne of 5 modes can be selected

Integration of the web thicknessDiameter calculation based on the ratio between the web velocity and the winder velocity or speedSensing of the diameter using an external sensorCalculation of the diameter based on the ratio between the web and winder velocity by integrating the two variablesDiameter calculation based on the ratio of winder angle and web length by measuring the position of winder and web

Raw value calculation and post-conditioning (limitation, verifying and smoothing)Setpoint valueSettable velocity limit for calculation

Page 31: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

FBDiameterCalculation

runBOOL

enableBOOL

resetBOOL

SetDiamBOOL

busy BOOL

error BOOL

errorID DWORD

diamModeInUse eDiamMode

LatchDiamCalcREAL REAL

holdDiamBOOL calculatedWebThickness REAL

typeOfWindereWinding Mode diamActVal REAL

selectDiamModeeDiamMode diamIsHold BOOL

taskModeeTaskName diamActUpperLimitReached BOOL

diamSetValREAL diamActLowerLimitReached BOOL

lineSpeedLREAL diamRawUpperLimitReached BOOL

windingShaftSpeedLREAL diamRawLowerLimitReached BOOL

lineFeedbackLREAL diamSetUpperLimitReached BOOL

windingShaftFeedbackLREAL diamSetLowerLimitReached BOOL

diamExtValREAL

sDiamConfigsDiamConfigType sDiamConfigType

Page 32: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Torque pre-control– FBTorquePreControlCalculation of the variable moment of inertiaCalculation of the max. moment of inertiaCalculation of the coil massCalculation of the inertia compensationCompensation of the acceleration and the diameter increase with the torque pre-controlFriction compensation depending on the shaft speed of the winder

Page 33: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

FBTorquePrecontrol

runBOOL

torqueOnBOOL

taskModeeTaskNameType

typeOfWindereWindingModeType

busy BOOL

error BOOL

errorID DWORD

totalInertia REAL

windingShaftSpeedREAL mass REAL

lineSpeedREAL preCtrlMotor REAL

lineAccelerationREAL totalTorquePreCtrl REAL

diamActValREAL variableInertia REAL

maxInertia REAL

tensionTorque REAL

sMomentConfigsMomentConfigType sMomentConfigType

tensionSetpointREAL

Page 34: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Technology controller based on the functionality of a PID-controller for usage e.g. as a dancer or tension controller –FBTechnologyControllerSetpoint ramp function generator with settable inputPID-controllerRFG as controller output for smooth transitionsKp-AdaptionOptional D-portion in the actual value channel

Page 35: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Page 36: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Tension taper characteristic – FBTaperCharacteristicThis function block calculates a reduction factor for the tension setpoint as a function of the diameter (e.g. to wind the inner layers tightly)

Closed-loop tension control: Reducing of the tension setpoint valueClosed-loop dancer roll control: Reducing of the pressure setpoint for the dancer roll support

Different modes:Linear characteristic2 hyperbolical characteristicUser-defined characteristic table

Page 37: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

FBTaperCharacteristic

runBOOL

tensionTaperModeeTaperCharMode

diamActValREAL

busy BOOL

error BOOL

errorID DWORD

tensionTaper REAL

sTensionTaperConfigsTensionTaperConfigType sTensionTaperConfigType

Page 38: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

Residual length calculation – FCRLCThe residual length of a roll can be calculated by entering the following parameters:

Web thicknessActual diameterTarget diameter

Output either the length of the material on the roll or the length of the material still to be wound

Page 39: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.Industry Sector

Function Block Overview

Scope of Functionality

Contents of the Application

Benefits when using the Application

Introduction

Converting ToolboxFunction Block Overview

FCRLC

webThicknessREAL

actualDiameterREAL

targetDiameterREAL

offsetREAL

FCRLC REAL

Page 40: Slides Simotion Converting Library v1 2 1

© Siemens AG 2010. All Rights Reserved.

Application CenterI DT MC PMA APC

Frauenauracher Str. 80D-91056 Erlangen

E-Mail: [email protected]

Thank you for your attention!