NetXErrorCodes (GVL) ¶ InOut: Scope Name Type Initial Constant TLR_E_PROFIBUS_DL_COMMAND_INVALID UDINT 16#C0060001 TLR_E_PROFIBUS_DL_XC_INVALID UDINT 16#C0060040 TLR_E_PROFIBUS_DL_BAUDRATE_INVALID UDINT 16#C0060041 TLR_E_PROFIBUS_DL_GAP_UPDATE_INVALID UDINT 16#C0060042 TLR_E_PROFIBUS_DL_DL_ADDR_INVALID UDINT 16#C0060043 TLR_E_PROFIBUS_DL_RETRY_LIMIT UDINT 16#C0060044 TLR_E_PROFIBUS_DL_HSA_INVALID UDINT 16#C0060045 TLR_E_PROFIBUS_DL_NO_BUS_PARAMETER_SET UDINT 16#C0060046 TLR_E_PROFIBUS_DL_DLE_NOT_RESPONDING UDINT 16#C0060047 TLR_E_PROFIBUS_DL_NO_DL_RESOURCE UDINT 16#C0060048 TLR_E_PROFIBUS_DL_FATAL_DL_RESOURCE UDINT 16#C0060049 TLR_E_PROFIBUS_DL_ACK_UE UDINT 16#C0060080 TLR_E_PROFIBUS_DL_ACK_RR UDINT 16#C0060081 TLR_E_PROFIBUS_DL_ACK_RS UDINT 16#C0060082 TLR_E_PROFIBUS_DL_ACK_NR UDINT 16#C0060083 TLR_E_PROFIBUS_DL_ACK_RDH UDINT 16#C0060084 TLR_E_PROFIBUS_DL_ACK_RDL UDINT 16#C0060085 TLR_E_PROFIBUS_DL_ACK_DH UDINT 16#C0060086 TLR_E_PROFIBUS_DL_ACK_DL UDINT 16#C0060087 TLR_E_PROFIBUS_DL_ACK_NA UDINT 16#C0060088 TLR_E_PROFIBUS_DL_ACK_UNKNOWN UDINT 16#C0060089 TLR_E_PROFIBUS_DL_ACK_LS UDINT 16#C006008A TLR_E_PROFIBUS_DL_ACK_LR UDINT 16#C006008B TLR_E_PROFIBUS_DL_ACK_DS UDINT 16#C006008C TLR_E_PROFIBUS_DL_ACK_IV UDINT 16#C006008D TLR_E_PROFIBUS_DL_ACK_NO UDINT 16#C006008E TLR_E_PROFIBUS_DL_ACK_NO_SET UDINT 16#C006008F TLR_E_PROFIBUS_DL_ACK_RE UDINT 16#C0060090 TLR_E_PROFIBUS_FSPMM_COMMAND_INVALID UDINT 16#C0380001 TLR_E_PROFIBUS_FSPMM_INV_BUSMODE UDINT 16#C0380002 TLR_E_PROFIBUS_FSPMM_RESET UDINT 16#C0380003 TLR_E_PROFIBUS_FSPMM_ACLR UDINT 16#C0380004 TLR_E_PROFIBUS_FSPMM_CONTROL_TIMER_EXPIRED UDINT 16#C0380005 TLR_E_PROFIBUS_FSPMM_ALARM_OVERFLOW UDINT 16#C0380006 TLR_E_PROFIBUS_FSPMM_ALARM_NOT_INIT UDINT 16#C0380007 TLR_E_PROFIBUS_FSPMM_ALARM_NOT_STARTED UDINT 16#C0380008 TLR_E_PROFIBUS_FSPMM_ALARM_NOT_ENABLED UDINT 16#C0380009 TLR_E_PROFIBUS_FSPMM_ALARM_NOT_PENDING UDINT 16#C038000A TLR_E_PROFIBUS_FSPMM_ALARM_STATE_ERROR UDINT 16#C038000B TLR_E_PROFIBUS_FSPMM_ALARM_SEQ_ERROR UDINT 16#C038000C TLR_E_PROFIBUS_FSPMM_MSAC1_STATE_ERROR UDINT 16#C038000D TLR_E_PROFIBUS_FSPMM_MSAC1_FAULT UDINT 16#C038000E TLR_E_PROFIBUS_FSPMM_INVALID_AREA_CODE UDINT 16#C038000F TLR_E_PROFIBUS_FSPMM_IV_DL_DATA_LEN UDINT 16#C0380011 TLR_E_PROFIBUS_FSPMM_IV_BUS_PRM UDINT 16#C0380012 TLR_E_PROFIBUS_FSPMM_IV_SLAVE_PRM UDINT 16#C0380013 TLR_E_PROFIBUS_FSPMM_ACK_NO UDINT 16#C0380014 TLR_E_PROFIBUS_FSPMM_ACK_GE UDINT 16#C0380015 TLR_E_PROFIBUS_FSPMM_MSAL1_FAULT UDINT 16#C0380016 TLR_E_PROFIBUS_FSPMM_MSAC2_FAULT UDINT 16#C0380017 TLR_E_PROFIBUS_FSPMM_REJ_SE UDINT 16#C0380018 TLR_E_PROFIBUS_FSPMM_REJ_PS UDINT 16#C0380019 TLR_E_PROFIBUS_FSPMM_REJ_LE UDINT 16#C038001A TLR_E_PROFIBUS_FSPMM_REJ_IV UDINT 16#C038001B TLR_E_PROFIBUS_FSPMM_REJ_ABORT UDINT 16#C038001C TLR_E_PROFIBUS_FSPMM_INVALID_SLAVE_ADDRESS UDINT 16#C038001D TLR_E_PROFIBUS_FSPMM_ALREADY_INITIALZED UDINT 16#C038001E TLR_E_PROFIBUS_FSPMM_INVALID_APPLICATION UDINT 16#C038001F TLR_E_PROFIBUS_FSPMM_DMPMM_IV_STATE UDINT 16#C0380020 TLR_E_PROFIBUS_FSPMM_PB_FLAG_ERROR_ACTION_FLAG UDINT 16#C0380021 TLR_E_PROFIBUS_FSPMM_PB_FLAG_ISO_MODE_MSK UDINT 16#C0380022 TLR_E_PROFIBUS_FSPMM_DL_PB_FLAG_ISOM_SYNC UDINT 16#C0380023 TLR_E_PROFIBUS_FSPMM_DL_PB_FLAG_ISOM_FREEZE UDINT 16#C0380024 TLR_E_PROFIBUS_FSPMM_MSAC1_NRS UDINT 16#C0380025 TLR_E_PROFIBUS_APM_COMMAND_INVALID UDINT 16#C0390001 TLR_E_PROFIBUS_APM_COMMAND_ALREADY_IN_RQUEST UDINT 16#C0390002 TLR_E_PROFIBUS_APM_TIO_RESET_W_MODE_STOP UDINT 16#C0390003 TLR_E_PROFIBUS_APM_TIO_RESET_W_INIT_FSPMM UDINT 16#C0390004 TLR_E_PROFIBUS_APM_NON_EXCHANGE_SLAVE UDINT 16#C0390005 TLR_E_PROFIBUS_APM_NON_EXCHANGE_ALL UDINT 16#C0390006 TLR_E_PROFIBUS_APM_CONFIG_LOCK UDINT 16#C0390007 TLR_E_PROFIBUS_APM_CONFIG_VIA_DBM UDINT 16#C0390008 TLR_E_PROFIBUS_APM_ALREADY_CONFIGURED UDINT 16#C0390009 TLR_E_PROFIBUS_FSPMM2_COMMAND_INVALID UDINT 16#C0690000 TLR_E_PROFIBUS_FSPMM2_LENGTH_INVALID UDINT 16#C0690001 TLR_E_PROFIBUS_FSPMM2_NOT_IMPLEMENTED UDINT 16#C0690002 TLR_E_PROFIBUS_FSPMM2_ADD_INVALID UDINT 16#C0690003 TLR_E_PROFIBUS_FSPMM2_SERVICE_IN_REQUEST UDINT 16#C0690004 TLR_E_PROFIBUS_FSPMM2_NOT_IN_OPEN_STATE UDINT 16#C0690005 TLR_E_PROFIBUS_FSPMM2_OUT_OF_RESOURCES UDINT 16#C0690006 TLR_E_PROFIBUS_FSPMM2_IN_USE UDINT 16#C0690007 TLR_E_PROFIBUS_FSPMM2_ALREADY_INIT UDINT 16#C0690008 TLR_E_PROFIBUS_FSPMM2_COM_REFERENCE_INVALID UDINT 16#C0690009 TLR_E_PROFIBUS_FSPMM2_TIMEOUT UDINT 16#C069000A TLR_E_PROFIBUS_FSPMM2_INITIATE_ABT_STO UDINT 16#C069000B TLR_E_PROFIBUS_FSPMM2_INITIATE_ABT_FE UDINT 16#C069000C TLR_E_PROFIBUS_FSPMM2_NRS UDINT 16#C069000D TLR_E_PROFIBUS_FSPMM2_ABORT UDINT 16#C069000E TLR_E_PROFIBUS_FSPMM2_CON_XX UDINT 16#C069000F
Diag ¶ IoDrvCIFXProfibusDiag (FunctionBlock) IBus GetBusErrorAsync (Method) GetBusInfo (Method) GetBusState (Method) IDevice2 GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) IStack GetBusScanAsync (Method) GetLogger (Method) UpdateConfiguredBaudrate (Method) UpdateConfiguredStationAddress (Method) PBSlaveDiag (FunctionBlock) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) UpdateConfiguredStationAddress (Method) ProfibusBaudrate (Enum)
IoDrvCIFXProfibusDiag (FB) ¶ FUNCTION_BLOCK IoDrvCIFXProfibusDiag EXTENDS IoDrvCIFXProfibus IMPLEMENTS DED.IBus, DED.IStack, DED.IReconfigureProvider An Instance of this function block is created for each profibus master in the device tree. InOut: Scope Name Type Comment Inherited from Output xConfigured BOOL configuration ok IoDrvCIFXProfibus xBusOn BOOL profibus is online IoDrvCIFXProfibus xBusy BOOL driver is busy IoDrvCIFXProfibus xError BOOL an error occured, see ErrorCode IoDrvCIFXProfibus ErrorCode UDINT internal CIFX error, e.g during firmware configuration or bus startup. IoDrvCIFXProfibus CommunicationError CommunicationErrorCIFX CommunicationError, e.g. NETWORK_FAULT if Profibus cable is disconnected IoDrvCIFXProfibus Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode MasterID , inherited from IoDrvCIFXProfibus NextSiblingNode ParentNode SiblingNodeCount Methods: UpdateConfiguredBaudrate UpdateConfiguredStationAddress ClearData , inherited from IoDrvCIFXProfibus Freeze , inherited from IoDrvCIFXProfibus GetBusErrorAsync GetBusInfo GetBusScanAsync GetBusState GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetLiveList , inherited from IoDrvCIFXProfibus GetLogger GetSlaveActivation , inherited from IoDrvCIFXProfibus GetSlaveConfiguration , inherited from IoDrvCIFXProfibus GetSpecificDeviceErrorAsync SetSlaveActivation , inherited from IoDrvCIFXProfibus Sync , inherited from IoDrvCIFXProfibus Unfreeze , inherited from IoDrvCIFXProfibus Unsync , inherited from IoDrvCIFXProfibus Structure: IBus GetBusErrorAsync (Method) GetBusInfo (Method) GetBusState (Method) IDevice2 GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) IStack GetBusScanAsync (Method) GetLogger (Method) UpdateConfiguredBaudrate (Method) UpdateConfiguredStationAddress (Method)
IBus ¶ GetBusErrorAsync (Method) GetBusInfo (Method) GetBusState (Method)
IoDrvCIFXProfibusDiag.GetBusErrorAsync (METH) ¶ METHOD GetBusErrorAsync : DED.PROC_STATE Returns the bus error of the current node; you can also use functionblock GetBusError. InOut: Scope Name Type Comment Return GetBusErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Inout eriBusError DED.ERROR_INFO error struct Output eError DED.ERROR
IoDrvCIFXProfibusDiag.GetBusInfo (METH) ¶ METHOD GetBusInfo : DED.ERROR Returns the bus information of the current node InOut: Scope Name Type Comment Return GetBusInfo DED.ERROR Inout buiInfo DED.BUS_INFO Bus information struct
IoDrvCIFXProfibusDiag.GetBusState (METH) ¶ METHOD GetBusState : DED.BUS_STATE Returns the bus state of the current node; if device state is ERROR further information can be read by GetBusError InOut: Scope Name Type Comment Return GetBusState DED.BUS_STATE Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling GetBusDiagnosisInfo eError DED.ERROR
IDevice2 ¶ GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method)
IoDrvCIFXProfibusDiag.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : DED.PROC_STATE InOut: Scope Name Type Comment Return GetDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Inout eriDeviceError DED.ERROR_INFO error struct Output eError DED.ERROR
IoDrvCIFXProfibusDiag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct