IoDrvCIFXProfibusDeviceDiag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns the device information of the current node InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
IoDrvCIFXProfibusDeviceDiag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the device; if device state is ERROR further information can be read by GetDeviceError InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling GetDeviceDiagnosisInfo eError DED.ERROR
IoDrvCIFXProfibusDeviceDiag.GetSpecificDeviceErrorAsync (METH) ¶ METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE Returns the specific device error of the current node; interpretation is fieldbus-dependent; you can also use functionblock GetSpecificDeviceError InOut: Scope Name Type Comment Return GetSpecificDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand pData CAA.PVOID Pointer to memory szSize CAA.SIZE Size of memory in bytes where pData is pointing to Output szCount CAA.SIZE Number of Bytes written to pData eError DED.ERROR error code if method fails
IoDrvCIFXProfibusDeviceDiag.GetSpecificDeviceState (METH) ¶ METHOD GetSpecificDeviceState : DED.ERROR Returns the fieldbus specific device state; interpretation is fieldbus dependent InOut: Scope Name Type Comment Return GetSpecificDeviceState DED.ERROR Input pData CAA.PVOID Pointer to memory szSize CAA.SIZE Size of memory in bytes where pData is pointing to Output szCount CAA.SIZE Number of Bytes written to pData
IoDrvCIFXProfibus.Unfreeze (METH) ¶ METHOD Unfreeze : UDINT Method Unfreeze is part of the interface ICmpIoDrvProfibus. This service abolishes the effect of the service Freeze. All slaves concerned will update their entries again. CARE: Use either udiRemAdr, or udiGroupSelect. Do not assign values <> 0 to both inputs at the same time. InOut: Scope Name Type Comment Return Unfreeze UDINT Input udiRemAdr UDINT Remote address OF slave (==127, IF all slaves are concerned). 0 if one ore more groups shall be selected. udiGroupSelect UDINT Number of group. This is a bit-field. Example: Use 1 for first Group, 4 for third Group, or 5 to address group 1 and 3. 0 if no group should be selected.
IoDrvCIFXProfibus.Unsync (METH) ¶ METHOD Unsync : UDINT Method UnSync is part of the interface ICmpIoDrvProfibus. This service abolishes the effect of the service Syncf. All slaves concerned will restart to send the actual output data. CARE: Use either udiRemAdr, or udiGroupSelect. Do not assign values <> 0 to both inputs at the same time. InOut: Scope Name Type Comment Return Unsync UDINT Input udiRemAdr UDINT Remote address OF slave (==127, IF all slaves are concerned). 0 if one ore more groups shall be selected. udiGroupSelect UDINT Number of group. This is a bit-field. Example: Use 1 for first Group, 4 for third Group, or 5 to address group 1 and 3. 0 if no group should be selected.
ICmpIoDrvProfibusConfig ¶ GetSlaveConfiguration (Method)
IoDrvCIFXProfibus.GetSlaveConfiguration (METH) ¶ METHOD GetSlaveConfiguration : UDINT Returns the slave configuration of a certain slave. See documentation of IIoDrvProfibus.PB_SlaveConfigurationData for further information. InOut: Scope Name Type Return GetSlaveConfiguration UDINT Inout tGetSlaveConfig IIoDrvProfibus.PB_SlaveConfigurationData
Profibus ¶ CommFB MasterID (Property)
CommFB ¶ MasterID (Property)