SetTimeZoneInformation (FB) ¶ FUNCTION_BLOCK SetTimeZoneInformation With this function block the specific information of the time zone can be modified. The time zone setting will be kept even after a Reset-Origin of the controller and can only be modified by being overwritten again. If no automatic switch is desired, all elements of tziInfo.stStandardDate and tziInfo.stDaylightDate must be set to 0. (for further information see library CAA_RealTimeClock ) InOut: Scope Name Type Comment Input xExecute BOOL Rising edge: Action start Falling edge: Resets outputs. If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values (xDone, xError, iError) are present at the outputs for exactly one cycle. tziInfo RTCLK.TIME_ZONE_INFO Information on the time zone Output xDone BOOL Action successfully completed xBusy BOOL Function block active xError BOOL TRUE : error occurred, function block aborts action FALSE : no error eError ERROR Error description for diagnosis
IReconfigureProvider (ITF) ¶ INTERFACE IReconfigureProvider EXTENDS __SYSTEM.IQueryInterface Interface for reconfiguring Properties: ReconfigureActive SiblingIRP Methods: ReconfigureAsync RegisterIRPChild Structure: ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property)
IReconfigureProvider.ReconfigureActive (PROP) ¶ PROPERTY ReconfigureActive : BOOL This property is TRUE if reconfiguration is currently active.
IReconfigureProvider.ReconfigureAsync (METH) ¶ METHOD ReconfigureAsync : PROC_STATE Reconfigure reads the configuration of the corresponding node and applies it. Afterwards it calls ReconfigureAsync for all child IReconfigureProvider . After Reconfiguring, all changed configuration values (Enable flag, Parameter changes,…) take effect. If the node doesn’t support reconfiguring, method returns PROC_STATE.ERROR and eError contains ERROR.NOT_SUPPORTED . InOut: Scope Name Type Comment Return ReconfigureAsync PROC_STATE Input eCmd PROC_CMD EXECUTE to start operation. itfSender INode Originator of reconfiguration. 0 or current node if this is the first reconfiguration call. Output eError ERROR Error code
IReconfigureProvider.RegisterIRPChild (METH) ¶ METHOD RegisterIRPChild : ERROR This method is used by IReconfigureProvider children to register at their parent. InOut: Scope Name Type Comment Return RegisterIRPChild ERROR Input itfChild IReconfigureProvider child to be registered
IReconfigureProvider.SiblingIRP (PROP) ¶ PROPERTY SiblingIRP : IReconfigureProvider Gets and sets the next sibling IReconfigureProvider .
IStack (ITF) ¶ INTERFACE IStack EXTENDS IDevice Interface for a communicaton stack. Properties: ChildNodeCount , inherited from INode Enable , inherited from INode FirstChildNode , inherited from INode IsRootNode , inherited from INode NextSiblingNode , inherited from INode ParentNode , inherited from INode SiblingNodeCount , inherited from INode Methods: GetBusScanAsync GetLogger GetDeviceDiagnosisInfo , inherited from IDevice GetDeviceErrorAsync , inherited from IDevice GetDeviceInfo , inherited from IDevice GetDeviceState , inherited from IDevice GetSpecificDeviceErrorAsync , inherited from IDevice GetSpecificDeviceState , inherited from IDevice SetCommunicationState , inherited from IDevice Structure: GetBusScanAsync (Method) GetLogger (Method)
IStack.GetBusScanAsync (METH) ¶ METHOD GetBusScanAsync : PROC_STATE Returns the bus scan of the current node InOut: Scope Name Type Comment Return GetBusScanAsync PROC_STATE Input eCmd PROC_CMD Output itfFirstDevice INode First node of scanned device list eError ERROR
IStack.GetLogger (METH) ¶ METHOD GetLogger : ILogger Returns a logger instance (if supported). InOut: Scope Name Type Return GetLogger ILogger Output eError ERROR
Internal ¶ Internal functions and function blocks used by the I/O driver implementations. Diag Base CAADiagDeviceDefault (FunctionBlock) GetDeviceInfo (Method) GetDeviceState (Method) CAADiagTreeBase (FunctionBlock) INode ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) CAAReconfigureBase (FunctionBlock) BeginReconfigure (Method) EndReconfigure (Method) IReconfigureProvider ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property) Initialize_Diag (Method) Reconfigure-Implementations ReconfigureChildrenAsync (Method) ReconfigureIoDriverAsync (Method)