33002208.00ConceptIECblocklibraryPart:AKFEFB840USE50400engVersion2.6©2002SchneiderElectricAllRightsReserved23TableofContentsAboutthebook.......................................5PartIGeneralinformationabouttheAKFEFBlibrary.......7Overview........................................................7Chapter1Parameterizingfunctionsandfunctionblocks.............9Parameterizingfunctionsandfunctionblocks............................9PartIIEFBdescriptions...............................13Overview.......................................................13Chapter2AKF_FL:Detectionofanyedge........................15Chapter3AKF_TA:Switchoffdelay.............................17Chapter4AKF_TE:Switch-ondelay.............................21Chapter5AKF_TI:Pulse.......................................25Chapter6AKF_TS:StoringONdelay............................29Chapter7AKF_TV:Extendedpulse..............................33Chapter8AKF_ZR:Decrementalcounter.........................37Chapter9AKF_ZV:Incrementalcounter..........................41Chapter10AKF_ZVR:Incremental/decrementalcounter.............45Glossary..............................................49Index..............................................734840USE50400October20025AboutthebookAtaGlanceDocumentScopeThisdocumentationisdesignedtohelpwiththeconfigurationoffunctionsandfunctionblocks.ValidityNoteThisdocumentationappliestoConcept2.6underMicrosoftWindows98,MicrosoftWindows2000,MicrosoftWindowsXPandMicrosoftWindowsNT4.x.RelatedDocumentsUserCommentsWewelcomeyourcommentsaboutthisdocument.Youcanreachusbye-mailatTECHCOMM@modicon.comNote:ThereisadditionaluptodatetipsintheREADMEdatafileinConcept.TitleofDocumentationReferenceNumberConceptInstallationInstructions840USE50200ConceptUserManual840USE50300ConceptEFBUserManual840USE50500ConceptLL984BlockLibrary840USE50600Aboutthebook6840USE50400October2002840USE50400October20027IGeneralinformationabouttheAKFEFBlibraryOverviewIntroductionThissectioncontainsgeneralinformationontheAKFEFBblocklibrary.What’sinthispart?Thispartcontainsthefollowingchapters:ChapterChapternamePage1Parameterizingfunctionsandfunctionblocks9Generalinformation8840USE50400October2002840USE50400October200291ParameterizingfunctionsandfunctionblocksParameterizingfunctionsandfunctionblocksParameterization10840USE50400October2002GeneralEachFFBconsistsofanoperation,theoperandsneededfortheoperationandaninstancenameorfunctioncounter.OperationTheoperationdetermineswhichfunctionistobeexecutedwiththeFFB,e.g.shiftregister,conversionoperations.OperandTheoperandspecifieswhattheoperationistobeexecutedwith.WithFFBs,thisconsistsofformalandactualparameters.FFB(e.g.ON-delay)Itemname/Functioncounter(e.g.FBI_2_22(18))Operation(e.g.TON)OperandActualparameterVariable,elementofamulti-elementvariable,literal,directaddress(e.g.ENABLE,EXP.1,TIME,ERROR,OUT,%4:0001)Formalparameter(e.g.IN,PT,Q,ET)TONENABLEEXP.1TIMEENINPTENOQETERROROUT%4:00001FBI_2_22(18)Parameterization840USE50400October200211Formal/actualparametersTheformalparameterholdstheplaceforanoperand.Duringparameterization,anactualparameterisassignedtotheformalparameter.Theactualparametercanbeavariable,amulti-elementvariable,anelementofamulti-elementvariable,aliteraloradirectaddress.Conditional/unconditionalcallsUnconditionalorconditionalcallsarepossiblewitheachFFB.Theconditionisrealizedbypre-linkingtheinputEN.lDisplayedENconditionalcalls(theFFBisonlyprocessedifEN=1)lENnotdisplayedunconditionalcalls(FFBisalwaysprocessed)CallingfunctionsandfunctionblocksinILandSTInformationoncallingfunctionsandfunctionblocksinIL(InstructionList)andST(StructuredText)canbefoundintherelevantchaptersoftheusermanual.Note:IftheENinputisnotparameterized,itmustbedisabled.Anyinputpinthatisnotparameterizedisautomaticallyassigneda0value.Therefore,theFFBshouldneverbeprocessed.Parameterization12840USE50400October2002840USE50400October200213IIEFBdescriptionsOverviewIntroductionTheseEFBdescriptionsareinalphabeticalorder.What’sinthispart?Thispartcontainsthefollowingchapters:ChapterChapternamePage2AKF_FL:Detectionofanyedge153AKF_TA:Switchoffdelay174AKF_TE:Switch-ondelay215AKF_TI:Pulse256AKF_TS:StoringONdelay297AKF_TV:Extendedpulse338AKF_ZR:Decrementalcounter379AKF_ZV:Incrementalcounter4110AKF_ZVR:Incremental/decrementalcounter45EFBdescriptions14840USE50400October2002840USE50400October2002152AKF_FL:DetectionofanyedgeOverviewIntroductionThischapterdescribestheAKF_FLblock.What’sinthischapter?Thischaptercontainsthefollowingtopics:TopicPageBriefdescription16Representation16AKF_FL:Detectionofanyedge16840USE50400October2002BriefdescriptionFunctiondescriptionThefunctionblockdetectsanyedge(1-0und0-1)attheCLKinput.TheoutputQisforacycle1,ifthereisatransitionfrom0to1oratransitionfrom1to0atCLK;otherwise,itremainsat0.TheparametersENandENOcanbeprojectedasadditionalparameters.RepresentationSymbolBlockrepresentation:ParameterdescriptionBlockparameterdescription:AKF_FLBOOLQCLKBOOLParameterDatatypeMeaningCLKBOOLClockinputQBOOLDisplayofanyedge840USE50400October2002173AKF_TA:SwitchoffdelayOverviewInt