Upload
cmelodefreitas
View
171
Download
7
Embed Size (px)
Citation preview
© Siemens AG 2010. All Rights Reserved.
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.
© 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
© 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)
© 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)
© 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)
© 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)
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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
© 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!