Você está na página 1de 40

SIMOTION Converting Library V1.2.

Siemens AG 2010. All Rights Reserved.

Converting Toolbox
Introduction

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Objectives of the Converting Library: Provides SIMOTION users support when engineering and programming converting machines like Foil machines Printing machines Coating machines Paper finishing machines Wire drawing machines Textile machines Post printing machines Open standard that can be adapted depending on the specific machine and application Additional functionality to the standard applications e.g.: Rotary Knife Winder Traversing drive etc.
Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Benefits when using the Application

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

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
Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Contents of the Application

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

PowerPoint presentation (English / German) Units / libraries (programming in either ST or MCC) User Manuals (English / German) Feedback sheets (English / German) Change log (change history)

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Scope of Functionality

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Available functions Universal 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)
Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Scope of Functionality

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

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)

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Scope of Functionality

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

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)

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

These function blocks are included in the converting library LConLib. The library consists of 3 Units: ToolConv: General purpose tools and drive functionlity WI_Tools: Winder related function blocks (diameter calculation, technology controller) WI_Template: Winder function block

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Determining the cycle time- FCTaskIdentification Identification of the task and the associated cycle time

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

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


FCScalingDWDRL
DWORD REAL x maxValue FCScalingDWDRL REAL REAL
REAL x maxValue

FCScalingRLWD
FCScalingRLWD WORD

REAL

base

REAL

base

FCScalingRLDWD
REAL REAL x maxValue FCScalingRLDWD DWORD

REAL

base

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Limit value monitor FBLevelControl Monitoring of an input value to identify whether it violates (exceeds, falls below) the parameterized limit values Differentiation between warning and alarm
FBLevelControl
BOOL run busy BOOL

REAL

alarmUpperLimit

BOOL BOOL

REAL

alarmHigh

warningUpperLimit

REAL

warningHigh

warningLowerLimit

BOOL

REAL REAL REAL

warningLow alarmLow

alarmLowerLimit

BOOL

hyst

TIME

delayTime

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Basic ramp-function generator - FBRFG Limits the rate of change of input quantity x Ramp-up and ramp-down times can be independently set and changed during operation Output limiting Setting value and setpoint tracking

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Ramp-function generator with rounding-off - FBRFGJerkLimit Ramp-function generator with adjustable ramp-up and rampdown times and rounding-off Independent setting of the ramp-up and ramp-down time Output limitation
BOOL run

FBRFGJerkLimit
busy BOOL

Setting value and setpoint tracking Special input for fast stop

BOOL

enable

error

BOOL

BOOL

mode

errorID

DWORD

BOOL

enableRounding

setpointReached

BOOL

BOOL REAL

hold x

setpointZero accelerating

BOOL BOOL

y
REAL nominalValue decelerating BOOL

REAL REAL

rampupTime rampdownTime

y ya

REAL REAL

REAL

fastRampdownTime

REAL

roundingTime

rampupTime

rampdownTime

t
eTaskNameType taskMode

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Non linear characteristic FBPolygonA / B This block determines a value from a non-linear characteristic that is entered Linear interpolation between two table values entered using the input quantities FBPolygonA, FBPolygonB
ePolygonMode Type UINT entryNum errorID DWORD mode error BOOL

REAL

x abscissaValue

REAL ARRAYOF REAL

ARRAYOF REAL

ARRAY OF REAL ARRAY OF REAL

ordinateValue

ARRAY OF REAL ARRAY OF REAL

ordinateFactor

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Linear interpolation - FCLinear This function interpolates a point from a specified straight line

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Calculation of Breaking distance and time - FCCalculateDistance

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Calculation of the position difference between two cycle times FCEvaluateModulo

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality

Friction characteristic - FBFrictionMeasurement The 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
BOOL execute done BOOL

Function Block Overview

BOOL

abort

busy

BOOL

DRIVEAXIS

axis

commandAborted

BOOL

UINT

measurements

error

BOOL

errorID UINT frictionCurveEntryNum

DWORD UINT

ARRAY of REAL

frictionCurveAbcissa frictionCurveOrdinate

ARRAY of REAL

ARRAY of REAL

ARRAY of REAL

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Enable interfaces - FBEnableInterface Selective switching-on of the cyclic axis speed or the torque interface Necessary e.g. for the controlling of an axis winder
FBEnableInterface
BOOL execute done BOOL

BOOL

abort

commandAborted

BOOL

ANYOBJECT

axis

busy

BOOL

EnumMovingMode

movingMode

active

BOOL

BOOL BOOL

motioninVelocity additiveTorque

error errorID

BOOL DWORD

BOOL

torqueLimitNegative

BOOL eInitializationMode Type

torqueLimitPositive

initialMode

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

PT1 element FBPT1 This function block has the functionality of a PT1 filter
FBPT1
BOOL set error BOOL

REAL

errorID

DWORD

REAL

setValue

REAL

REAL

smoothingTime

eTaskNameType

taskMode

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Differentiating element - FBDIF Function block with differentiating behavior

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Integrator - FBINT Function block with integrating behavior, setting value function and limiting

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

DT1 Filter - FBDT1 Function block with DT1 behavior and smoothing

smoothing Time

diff Time

setValue

set YPT

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Limiter with feedback signal FBLIM Limiter with settable upper and lower limits Reached limit is being displayed
FBLIM
REAL x y REAL BOOL

REAL

upperLimit

upperLimitReached

REAL

lowerLimit

lowerLimitReached

BOOL

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Dead band element - FCDeadBand Settable dead band that sets the value range symmetrical around the zero point to zero

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Dead zone element - FCDeadZone Settable dead zone that sets the value range symmetrical around the zero point to zero

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Average value generator - FBAverageValue The function calculates the floating average value of the values entered at the input
FBAverageValue
BOOL run busy BOOL

BOOL

reset

averageValue

REAL

REAL

maxValueReached

BOOL

INT

sizeOfArray

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

PID-controller with actual value smoothing and optional D-portion in the actual value channel - FBPidController PID-controller Actual value filter with (PT1) Scaling functionality in the actual value channel D-portion in the actual value channel Anti-windup funtionality Precontrol signal Deadband filter in the controller deviation channel Output scaling functionality Output limitation

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview
FBPidController

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

BOOL

enable

busy

BOOL

BOOL

reset

error

BOOL

REAL

setpointValue

errorID

DWORD

REAL

actualValue

upperLimitReached

BOOL

REAL REAL

preControl propGain

lowerLimitReached deviationValue

BOOL REAL

REAL

integTime

pOutValue

REAL

REAL REAL

derivTime filterTime

iOutValue dOutValue

REAL REAL

REAL

upperLimit

outValue

REAL

REAL

lowerLimit

REAL

intSetValue

BOOL

holdIntChannel

BOOL sPidDataType

setIntChannel sPidDate

eTaskName Type

taskMode

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Diameter calculation - FBDiameterCalculation Function block to calculate the actual diameter of an axis winder One of 5 modes can be selected Integration of the web thickness Diameter calculation based on the ratio between the web velocity and the winder velocity or speed Sensing of the diameter using an external sensor Calculation of the diameter based on the ratio between the web and winder velocity by integrating the two variables Diameter 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 value Settable velocity limit for calculation

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview
FBDiameterCalculation

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

BOOL

run

busy

BOOL

BOOL

enable

error

BOOL

BOOL

reset

errorID

DWORD

BOOL

SetDiam

diamModeInUse

eDiamMode

BOOL eWinding Mode

holdDiam typeOfWinder

calculatedWebThickness diamActVal

REAL REAL

eDiamMode

selectDiamMode

diamIsHold

BOOL

eTaskName REAL

taskMode diamSetVal

diamActUpperLimitReached diamActLowerLimitReached

BOOL BOOL

LREAL

lineSpeed

diamRawUpperLimitReached

BOOL

LREAL

windingShaftSpeed

diamRawLowerLimitReached

BOOL

LREAL

lineFeedback

diamSetUpperLimitReached

BOOL

LREAL

windingShaftFeedback

diamSetLowerLimitReached

BOOL

REAL sDiamConfigType

diamExtVal sDiamConfig sDiamConfigType

REAL

LatchDiamCalc

REAL

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Torque pre-control FBTorquePreControl Calculation of the variable moment of inertia Calculation of the max. moment of inertia Calculation of the coil mass Calculation of the inertia compensation Compensation of the acceleration and the diameter increase with the torque pre-control Friction compensation depending on the shaft speed of the winder

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview
FBTorquePrecontrol
BOOL run busy BOOL

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

BOOL

torqueOn

error

BOOL

eTaskNameType

taskMode

errorID

DWORD

eWindingMode Type REAL REAL

typeOfWinder

totalInertia

REAL

windingShaftSpeed lineSpeed

mass preCtrlMotor

REAL REAL

REAL

lineAcceleration

totalTorquePreCtrl

REAL

REAL

diamActVal

variableInertia maxInertia

REAL REAL

REAL

tensionSetpoint

tensionTorque sMomentConfigType sMomentConfig

REAL sMomentConfigType

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Technology controller based on the functionality of a PID-controller for usage e.g. as a dancer or tension controller FBTechnologyController Setpoint ramp function generator with settable input PID-controller RFG as controller output for smooth transitions Kp-Adaption Optional D-portion in the actual value channel

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Tension taper characteristic FBTaperCharacteristic This 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 value Closed-loop dancer roll control: Reducing of the pressure setpoint for the dancer roll support Different modes: Linear characteristic 2 hyperbolical characteristic User-defined characteristic table

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview
sTensionTaperConfigType sTensionTaperConfig

FBTaperCharacteristic
BOOL eTaperCharMode REAL run tensionTaperMode diamActVal busy error errorID tensionTaper
BOOL

BOOL

DWORD

REAL

sTensionTaperConfigType

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

Residual length calculation FCRLC The residual length of a roll can be calculated by entering the following parameters: Web thickness Actual diameter Target diameter Output either the length of the material on the roll or the length of the material still to be wound

Siemens AG 2010. All Rights Reserved. Industry Sector

Converting Toolbox
Function Block Overview
FCRLC
REAL webThickness FCRLC REAL

Introduction Benefits when using the Application Contents of the Application Scope of Functionality Function Block Overview

REAL

actualDiameter

REAL

targetDiameter

REAL

offset

Siemens AG 2010. All Rights Reserved. Industry Sector

Thank you for your attention!

Application Center I DT MC PMA APC Frauenauracher Str. 80 D-91056 Erlangen

E-Mail: applications.erlf.aud@siemens.com

Siemens AG 2010. All Rights Reserved.

Você também pode gostar