IoDrvPLCNextAxio_Diag.SiblingNodeCount (PROP) ¶ PROPERTY SiblingNodeCount : CAA.COUNT Returns the number of sibling (same level) nodes
IoDrvPfc200 Library Documentation ¶ Company : CODESYS Title : IoDrvPfc200 Version : 4.10.0.0 Categories : Intern|IoDrivers Namespace : IoDrvPfc200Lib Author : CODESYS Development Gm Placeholder : IoDrvPfc200 Description [ 1 ] ¶ Library for internal bus for PFC200 Contents: ¶ IoDrvPfc200 Function Blocks Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Indices and tables ¶ [ 1 ] Based on IoDrvPfc200.library, last modified 25.10.2023, 14:04:04. LibDoc 4.4.0.0-b.37 The content file IoDrvPfc200.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 25.10.2023, 14:04:06.
IoDrvPfc200 ¶ Function Blocks IoDrvPfc200 (FunctionBlock) EnableIoCheck (Property) IoDrvPfc200_Diag (FunctionBlock) CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) SetCommunicationState (Method)
Function Blocks ¶ IoDrvPfc200 (FunctionBlock) EnableIoCheck (Property) IoDrvPfc200_Diag (FunctionBlock) CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) SetCommunicationState (Method)
IoDrvPfc200 (FB) ¶ FUNCTION_BLOCK IoDrvPfc200 EXTENDS IoDrvBase InOut: Scope Name Type Comment Input xRestart BOOL Positve edge will restart the bus Output xConfigFinished BOOL True: if startup phase has been sucessfully finished and process data is exchanged xError BOOL True if an error has ocurred while starting the bus Properties: EnableIoCheck Structure: EnableIoCheck (Property)
IoDrvPfc200.EnableIoCheck (PROP) ¶ PROPERTY EnableIoCheck : BOOL Enables the control mode for Wago I/O check software if set to true. In this case the K-Bus transmission cycle is controlled by the PFC software and not by CODESYS therefore the K-Bus bus cycle time is independent of the CODESYS bus cycle. It should be only enabled if the WAGO I/O Check software is used for the time of setting special parameters in the modules. If the parameters are set then change back to false to set the default bus cycle control by CODESYS. Example This example shows how to set the Wago I/O Check mode. The K-Bus needs to be restarted to enable the new mode. Set variable bEnableIoCheck to true and then xRestart to true. PROGRAM PLC_PRG VAR xEnableIoCheck : BOOL := FALSE ; xRestart : BOOL ; END_VAR Pfc200Bus.EnableIoCheck := xEnableIoCheck ; // set new mode Pfc200bus.xRestart := xRestart ; // positive edge will trigger restart Pfc200bus (); // call the function block to read the xRestart input
IoDrvPfc200_Diag (FB) ¶ FUNCTION_BLOCK IoDrvPfc200_Diag EXTENDS IoDrvPfc200 IMPLEMENTS IDevice2 InOut: Scope Name Type Comment Inherited from Input xRestart BOOL Positve edge will restart the bus IoDrvPfc200 Output xConfigFinished BOOL True: if startup phase has been sucessfully finished and process data is exchanged IoDrvPfc200 xError BOOL True if an error has ocurred while starting the bus IoDrvPfc200 Properties: ChildNodeCount Connector Enable EnableIoCheck , inherited from IoDrvPfc200 FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetSpecificDeviceErrorAsync GetSpecificDeviceState SetCommunicationState Structure: CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) SetCommunicationState (Method)
IoDrvPfc200_Diag.CheckCurrentSupportedCommunicationState (METH) ¶ METHOD CheckCurrentSupportedCommunicationState : BOOL InOut: Scope Name Type Return CheckCurrentSupportedCommunicationState BOOL Input eRequestedState DEVICE_TRANSITION_STATE
IoDrvPfc200_Diag.CheckSupportedCommunicationState (METH) ¶ METHOD CheckSupportedCommunicationState : BOOL InOut: Scope Name Type Return CheckSupportedCommunicationState BOOL Input eRequestedState DEVICE_TRANSITION_STATE
IoDrvPfc200_Diag.GetDeviceDiagnosisInfo (METH) ¶ METHOD GetDeviceDiagnosisInfo : DED.ERROR InOut: Scope Name Type Return GetDeviceDiagnosisInfo DED.ERROR Input pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE