ProfibusBaudrate (ENUM) ¶ TYPE ProfibusBaudrate : InOut: Name Initial Comment KBit_96 0 9,6 kBit/s KBit_19_2 1 19,2 kBit/s KBit_93_75 2 93,75 kBit/s 2 KBit_187_5 3 187,5 kBit/s 3 KBit_500 4 500 kBit/s 4 KBit_1500 6 1500 kBit/s 6 KBit_3000 7 3000 kBit/s 7 KBit_6000 8 6000 kBit/s 8 KBit_12000 9 12000kBits/s 9 KBit_31_25 10 31.25kBits/s 10 KBit_45_45 11 45.45 kBits/s 11 AUTO 15 Auto-detection mode. This option is currently not supported.
FunctionBlocks ¶ CommunicationErrorCIFX (Enum) IoDrvCIFXProfibus (FunctionBlock) ICmpIoDrvLiveList GetLiveList (Method) ICmpIoDrvPbSlaveActivation GetSlaveActivation (Method) SetSlaveActivation (Method) ICmpIoDrvProfibus ClearData (Method) Freeze (Method) Sync (Method) Unfreeze (Method) Unsync (Method) ICmpIoDrvProfibusConfig GetSlaveConfiguration (Method) Profibus CommFB MasterID (Property) PBSlave (FunctionBlock) GetDiag (Method) GetExtDiag (Method) ID (Property) RedundancyStatus (FunctionBlock)
CommunicationErrorCIFX (ENUM) ¶ TYPE CommunicationErrorCIFX : InOut: Name Initial Comment OK 0 CONFIGURATION_FAULT 16#C0000120 General configuration fault. INSUFFICIENT_LICENSE 16#C0000123 Insufficient license. INVALID_NETWORK_ADDRESS 16#C0000125 Network address invalid. NETWORK_FAULT 16#C0000140 General communication fault CONNECTION_CLOSED 16#C0000141 Connection closed. CONNECTION_TIMEOUT 16#C0000142 Connection timeout. LONELY_NETWORK 16#C0000143 Lonely network. DUPLICATE_NODE 16#C0000144 Duplicate network address. CABLE_DISCONNECT 16#C0000145 Cable disconnected. PROFIBUS_NON_EXCHANGE_SLAVE 16#C0390005 No data exchange with at least one slave. PROFIBUS_NON_EXCHANGE_ALL 16#C0390006 No slave in data exchange. PROFIBUS_CHANNEL_INIT_FAILED 16#C039000B Channel initialization failed. PROFIBUS_ADR_DOUBLE 16#C039003A Double station address detected. PROFIBUS_WATCHDOG_ERROR 16#C03900DC Watchdog Error. PROFIBUS_AUTOCLEAR_ERROR 16#C03900DE Auto-clear activated.
IoDrvCIFXProfibus (FB) ¶ FUNCTION_BLOCK IoDrvCIFXProfibus EXTENDS IoDrvCIFX IMPLEMENTS ICmpIoDrvDPV1C1Master, ICmpIoDrvDPV1C2Master, ICmpIoDrvProfibus, ICmpIoDrvLiveList, ICmpIoDrvPbSlaveActivation, ICmpEventCallback, ICmpIoDrvProfibusConfig, CommFB.ICommFBFactory, CommFB.ICommFBDiagProvider, CommFB.ICommFBFactoryExt An Instance of this function block is created for each profibus master in the device tree. InOut: Scope Name Type Comment Output xConfigured BOOL configuration ok xBusOn BOOL profibus is online xBusy BOOL driver is busy xError BOOL an error occured, see ErrorCode ErrorCode UDINT internal CIFX error, e.g during firmware configuration or bus startup. CommunicationError CommunicationErrorCIFX CommunicationError, e.g. NETWORK_FAULT if Profibus cable is disconnected Properties: MasterID Methods: ClearData Freeze GetLiveList GetSlaveActivation GetSlaveConfiguration SetSlaveActivation Sync Unfreeze Unsync Structure: ICmpIoDrvLiveList GetLiveList (Method) ICmpIoDrvPbSlaveActivation GetSlaveActivation (Method) SetSlaveActivation (Method) ICmpIoDrvProfibus ClearData (Method) Freeze (Method) Sync (Method) Unfreeze (Method) Unsync (Method) ICmpIoDrvProfibusConfig GetSlaveConfiguration (Method) Profibus CommFB MasterID (Property)
ICmpIoDrvLiveList ¶ GetLiveList (Method)
IoDrvCIFXProfibus.GetLiveList (METH) ¶ METHOD GetLiveList : UDINT This method returns the latest live list in the DUT PB_LiveList InOut: Scope Name Type Comment Return GetLiveList UDINT Inout tLiveList HIL_LiveList Return parameter for the live list, operation state and error code
ICmpIoDrvPbSlaveActivation ¶ GetSlaveActivation (Method) SetSlaveActivation (Method)
IoDrvCIFXProfibus.GetSlaveActivation (METH) ¶ METHOD GetSlaveActivation : UDINT Method GetSlaveActivation is part of the interface ICmpIoDrvPbSlaveActivation. It is can be used in the application to get information on the current state of slave activation. See documentation of PB_SlaveActivation in IoDriver Profibus2 Interface Library for further information. InOut: Scope Name Type Return GetSlaveActivation UDINT Inout tSlaveActivation PB_SlaveActivation
IoDrvCIFXProfibus.SetSlaveActivation (METH) ¶ METHOD SetSlaveActivation : UDINT Method SetSlaveActivation is part of the interface ICmpIoDrvPbSlaveActivation. It can be used in the application to get a slave set activated. Set slave activation of a certain slave. See documentation of PB_SlaveActivation in IoDriver Profibus2 Interface Library for further information. InOut: Scope Name Type Return SetSlaveActivation UDINT Inout tSlaveActivation PB_SlaveActivation
ICmpIoDrvProfibus ¶ ClearData (Method) Freeze (Method) Sync (Method) Unfreeze (Method) Unsync (Method)