LCon (FB) ¶ FUNCTION_BLOCK LCon EXTENDS BehaviourModelBase IMPLEMENTS ILCon Base implementation of a PLCopen Level Controlled Behavior Model (see: ILCon ) For use, this block should be extended and the specific inputs and outputs must be supplemented. The output eErrorID of the application-specific enum type ERROR must be added. InOut: Scope Name Type Comment Input xEnable BOOL TRUE : Activates the defined operation FALSE : Aborts/resets the defined operation Output xDone BOOL TRUE : Ready condition reached xBusy BOOL TRUE : Operation is running xError BOOL TRUE : Error condition reached Properties: ActionController , inherited from BehaviourModelBase ModelTimeLimit , inherited from BehaviourModelBase ModelTimeOut , inherited from BehaviourModelBase Methods: _Execute AbortModel CleanupAction , inherited from BehaviourModelBase CyclicAction , inherited from BehaviourModelBase ExitAction , inherited from BehaviourModelBase GetConfiguration , inherited from BehaviourModelBase GetConfiguration2 , inherited from BehaviourModelBase GetModelState ResetAction , inherited from BehaviourModelBase ResetModel StartAction , inherited from BehaviourModelBase StartModel Structure: IBehaviourModel AbortModel (Method) GetModelState (Method) ResetModel (Method) StartModel (Method) _Execute (Method)
LConTl (FB) ¶ FUNCTION_BLOCK LConTl EXTENDS TimingControlledBehaviourModelBase IMPLEMENTS ILConTl Base implementation of a PLCopen Level Controlled Behavior Model (see: ILConTl ) For use, this block should be extended and the specific inputs and outputs must be supplemented. The output eErrorID of the application-specific enum type ERROR must be added. InOut: Scope Name Type Comment Input xEnable BOOL TRUE : Activates the defined operation FALSE : Aborts/resets the defined operation udiTimeLimit UDINT Max. operating time per invocation [µs], 0: No operating time limit Output xDone BOOL TRUE : Ready condition reached xBusy BOOL TRUE : Operation is running xError BOOL TRUE : Error condition reached Properties: ActionController , inherited from TimingControlledBehaviourModelBase ModelTimeLimit ModelTimeOut , inherited from TimingControlledBehaviourModelBase Methods: _Execute AbortModel CleanupAction , inherited from TimingControlledBehaviourModelBase CyclicAction , inherited from TimingControlledBehaviourModelBase ExitAction , inherited from TimingControlledBehaviourModelBase GetConfiguration , inherited from TimingControlledBehaviourModelBase GetConfiguration2 , inherited from TimingControlledBehaviourModelBase GetModelState ResetAction , inherited from TimingControlledBehaviourModelBase ResetModel StartAction , inherited from TimingControlledBehaviourModelBase StartModel Structure: IBehaviourModel AbortModel (Method) GetModelState (Method) ModelTimeLimit (Property) ResetModel (Method) StartModel (Method) _Execute (Method)
ETrigTlTo._Execute (METH) ¶ METHOD PROTECTED _Execute InOut: Scope Name Type Output eErrorID ERROR
IETrigATl (ITF) ¶ INTERFACE IETrigATl EXTENDS IETrigA , ITimeLimited , ITimingControlled In order to build a function block with an ETrigATl behaviour, its action provider has to be decorated with this interface. This will determine the state machine which then forces the function block to the appropriate ETrigATl behaviour. See Decorators for more information about the concept. A state chart for function blocks with ETrigATl behaviour Starting : ⇒ StartAction is running, until xComplete is TRUE , xBusy ⇒ TRUE At its beginning the SampleAction is probably executed one time. Executing : ⇒ CyclicAction is running until xComplete is TRUE Cleaning : ⇒ CleanupAction is running. At its end the ExitAction is probably executed one time. After a Ready Condition as input, only the output states Done ( xComplete is TRUE ) or Error ( eErrorID ≠ ERROR.NO_ERROR ) are possible. After a Error Condition as input, only the output state Error ( eErrorID ≠ ERROR.NO_ERROR ) is possible. After a Abort Condition as Input, only the output states Aborted ( xAbort is TRUE ) or Error ( eErrorID ≠ ERROR.NO_ERROR ) are possible. ( xBusy is still TRUE !) Done : xDone ⇒ TRUE , xBusy ⇒ FALSE Error : xError ⇒ TRUE , eErrorID ≠ ERROR.NO_ERROR , xBusy ⇒ FALSE Aborted : xAborted ⇒ TRUE , xBusy ⇒ FALSE Resetting : ⇒ ResetAction is running, until xComplete is TRUE . After that: - the outputs xDone , xError and xAborted will be set to FALSE . - The output eErrorID will be set to ERROR.NO_ERROR . Methods: StartAction , inherited from IStartActionProvider
IBehaviourModel ¶ AbortModel (Method) GetModelState (Method) ModelTimeOut (Property) ResetModel (Method) StartModel (Method)
ETrigATo._Execute (METH) ¶ METHOD PROTECTED _Execute InOut: Scope Name Type Output eErrorID ERROR
ETrigTl (FB) ¶ FUNCTION_BLOCK ETrigTl EXTENDS EdgeTriggeredTimingControlledBehaviourModelBase IMPLEMENTS IETrigTl Base implementation of a PLCopen Edge Triggered Behavior Model (see: IETrigTl ) For use, this block should be extended and the specific inputs and outputs must be supplemented. The output eErrorID of the application-specific enum type ERROR must be added. InOut: Scope Name Type Comment Input xExecute BOOL Rising edge: Starts defined operation FALSE : Resets the defined operation after ready condition was reached udiTimeLimit UDINT Max. operating time per invocation [µs], 0: No operating time limit Output xDone BOOL TRUE : Ready condition reached xBusy BOOL TRUE : Operation is running xError BOOL TRUE : Error condition reached Properties: ActionController , inherited from TimingControlledBehaviourModelBase ModelTimeLimit ModelTimeOut , inherited from TimingControlledBehaviourModelBase Methods: _Execute AbortModel , inherited from TimingControlledBehaviourModelBase CleanupAction , inherited from TimingControlledBehaviourModelBase CyclicAction , inherited from TimingControlledBehaviourModelBase ExitAction , inherited from TimingControlledBehaviourModelBase GetConfiguration , inherited from TimingControlledBehaviourModelBase GetConfiguration2 , inherited from TimingControlledBehaviourModelBase GetModelState ResetAction , inherited from TimingControlledBehaviourModelBase ResetModel SampleAction , inherited from EdgeTriggeredTimingControlledBehaviourModelBase StartAction , inherited from TimingControlledBehaviourModelBase StartModel Structure: IBehaviourModel GetModelState (Method) ModelTimeLimit (Property) ResetModel (Method) StartModel (Method) _Execute (Method)
ETrigTlTo (FB) ¶ FUNCTION_BLOCK ETrigTlTo EXTENDS ETrigTl IMPLEMENTS IETrigTlTo Base implementation of a PLCopen Edge Triggered Behavior Model (see: IETrigTlTo ) For use, this block should be extended and the specific inputs and outputs must be supplemented. The output eErrorID of the application-specific enum type ERROR must be added. InOut: Scope Name Type Comment Inherited from Input xExecute BOOL Rising edge: Starts defined operation FALSE : Resets the defined operation after ready condition was reached ETrigTl udiTimeLimit UDINT Max. operating time per invocation [µs], 0: No operating time limit ETrigTl Output xDone BOOL TRUE : Ready condition reached ETrigTl xBusy BOOL TRUE : Operation is running ETrigTl xError BOOL TRUE : Error condition reached ETrigTl Input udiTimeOut UDINT Max. operating time for executing [µs], 0: No operating time limit Properties: ActionController , inherited from TimingControlledBehaviourModelBase ModelTimeLimit , inherited from ETrigTl ModelTimeOut Methods: _Execute AbortModel , inherited from TimingControlledBehaviourModelBase CleanupAction , inherited from TimingControlledBehaviourModelBase CyclicAction , inherited from TimingControlledBehaviourModelBase ExitAction , inherited from TimingControlledBehaviourModelBase GetConfiguration , inherited from TimingControlledBehaviourModelBase GetConfiguration2 , inherited from TimingControlledBehaviourModelBase GetModelState ResetAction , inherited from TimingControlledBehaviourModelBase ResetModel , inherited from ETrigTl SampleAction , inherited from EdgeTriggeredTimingControlledBehaviourModelBase StartAction , inherited from TimingControlledBehaviourModelBase StartModel , inherited from ETrigTl Structure: IBehaviourModel GetModelState (Method) ModelTimeOut (Property) _Execute (Method)
IBehaviourModel ¶ GetModelState (Method) ModelTimeOut (Property)
ETrigATlTo._Execute (METH) ¶ METHOD PROTECTED _Execute InOut: Scope Name Type Output eErrorID ERROR