IoDrvCIFXProfibusDiag.UpdateConfiguredStationAddress (METH) ¶ METHOD UpdateConfiguredStationAddress : UDINT Change the configured station address of the master configuration. Only possible if the profibus master is disabled (see DED.Reconfigure function block). InOut: Scope Name Type Comment Return UpdateConfiguredStationAddress UDINT Input StationAddress BYTE new Station Address (0- 126)
PBSlaveDiag (FB) ¶ FUNCTION_BLOCK PBSlaveDiag EXTENDS PBSlave IMPLEMENTS DED.IDevice, IPBSlaveDiag Properties: ChildNodeCount Connector Enable FirstChildNode ID , inherited from PBSlave Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetSpecificDeviceErrorAsync UpdateConfiguredStationAddress GetDiag , inherited from PBSlave GetExtDiag , inherited from PBSlave Structure: 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)
PBSlaveDiag.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
PBSlaveDiag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
PBSlaveDiag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE InOut: Scope Name Type Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL eError DED.ERROR
PBSlaveDiag.GetSpecificDeviceErrorAsync (METH) ¶ METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE Returns the device error of the current node InOut: Scope Name Type Comment Return GetSpecificDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE eError DED.ERROR
EventIDs (GVL) ¶ InOut: Name Type Initial CMPID_CmpIoDrvCifXProfiNetDevice UDINT 16#1005
Constants ¶ EventIDs (GVL) InfoIds (GVL) IoConfigParameterIDs (GVL)
InfoIds (GVL) ¶ InOut: Scope Name Type Initial Constant INFOID_SETBUSSTATEOFFFAILED UDINT 10000 INFOID_CONFIGSTILLLOCKED UDINT 10001 INFOID_SETHOSTSTATENOTREADYFAILED UDINT 10002 INFOID_SENDPKTFAILED UDINT 10003 INFOID_SETBUSONFLAGFAILED UDINT 10004 INFOID_RECVPKTFAILED UDINT 10005 INFOID_CONFIG_INVALID UDINT 10006 INFOID_DUMPCONFIG UDINT 10007 INFOID_RESPONSE_PARAM_END UDINT 10008 INFOID_STOREPARAMNOTSET UDINT 10009 INFOID_FAILED_SAVE_IP UDINT 10010 INFOID_DUMPREGISTERINFO UDINT 10011 INFOID_DUMPCONFIGENDBAD UDINT 10012 INFOID_INFO UDINT 10013
IoConfigParameterIDs (GVL) ¶ InOut: Scope Name Type Initial Comment Constant PNS_CFG_DEV_PARAM UDINT 16#1 PNS_CFG_DEV_IDENT UDINT 16#2 PNS_CFG_MODULE UDINT 16#201 PNS_CFG_SUBMODULE UDINT 16#11000 PNS_CFG_SUBMODULE_I UDINT 16#13000 PNS_CFG_SUBMODULE_O UDINT 16#14000 PNS_DIAG_PARAM UDINT 300 Driver Specific data PNS_STORE_IDENT_DATA UDINT 301