IoDrvCIFXProfibus.Freeze (METH) ¶ METHOD Freeze : UDINT Method Freeze is part of the interface ICmpIoDrvProfibus. By this service a master causes a slave or a group of slaves to freeze the actual state of their inputs. CARE: Use either udiRemAdr, or udiGroupSelect. Do not assign values <> 0 to both inputs at the same time. InOut: Scope Name Type Comment Return Freeze 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.
IoDrvCIFXProfibusDiag.GetBusScanAsync (METH) ¶ METHOD GetBusScanAsync : DED.PROC_STATE Returns the bus scan of the current node InOut: Scope Name Type Comment Return GetBusScanAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Output itfFirstDevice DED.INode First node of scanned device list eError DED.ERROR
IoDrvCIFXProfibusDiag.GetLogger (METH) ¶ METHOD GetLogger : DED.ILogger InOut: Scope Name Type Return GetLogger DED.ILogger Output eError DED.ERROR
IoDrvCIFXProfibusDiag.UpdateConfiguredBaudrate (METH) ¶ METHOD UpdateConfiguredBaudrate : UDINT Change the configured baud rate of the master configuration. Only possible if the profibus master is disabled (see DED.Reconfigure function block). InOut: Scope Name Type Return UpdateConfiguredBaudrate UDINT Input Baudrate ProfibusBaudrate
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