CANbus.BusState (PROP) ¶ PROPERTY BusState : CL2.BUSSTATE Returns the current CANbus state. Only valid if at least one enabled CAN based stack is attached to this CANbus.
CANbus.NetId (PROP) ¶ PROPERTY FINAL NetId : USINT Returns the currently used Network ID. Network ID can be changed with CANbus_Diag.SetNetId if device diagnosis is activated (needs Reconfigure !).
CANbus.ResetBusAlarm (METH) ¶ METHOD ResetBusAlarm : BOOL Resets a bus alarm and returns TRUE in case of success. Note: Method is only working if there is at least one active CAN based stack below this CANbus. Resetting bus alarm will be done asynchronously in the attached CAN based stack. InOut: Scope Name Type Return ResetBusAlarm BOOL
CANbus_Diag (FB) ¶ FUNCTION_BLOCK CANbus_Diag EXTENDS CANbus IMPLEMENTS DED.IBus, DED.IReconfigureProvider Note Do not instantiate this function block! An implicit instance will be created for each CANbus in the device tree. Properties: AutoRecovery , inherited from CANbus Baudrate , inherited from CANbus BusAlarm , inherited from CANbus BusState , inherited from CANbus ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NetId , inherited from CANbus NextSiblingNode ParentNode SiblingNodeCount Methods: SetBaudrate SetNetId GetBusInfo GetBusState GetQoS ResetBusAlarm , inherited from CANbus Structure: IBus GetBusInfo (Method) GetBusState (Method) GetQoS (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) SetBaudrate (Method) SetNetId (Method)
IBus ¶ Functions for getting bus information. GetBusInfo (Method) GetBusState (Method) GetQoS (Method)
INode ¶ Methods for traversing the device tree. ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CANbus_Diag.SetBaudrate (METH) ¶ METHOD FINAL SetBaudrate Sets the Baudrate used by underlying communication stacks. Note Baudrate change takes effect after executing a Reconfigure on CANbus node(see CAA Device Diagnosis Reconfigure function block). InOut: Scope Name Type Input wBaudrate WORD
CANbus_Diag.SetNetId (METH) ¶ METHOD FINAL SetNetId Sets the NetID used by underlying communication stacks. Note NetID change takes effect after executing a Reconfigure on CANbus node(see CAA Device Diagnosis Reconfigure function block). InOut: Scope Name Type Input dwNetID DWORD
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
CANRemoteDevice.NMTErrorBehaviour (PROP) ¶ PROPERTY FINAL NMTErrorBehaviour : NMT_ERROR_BEHAVIOUR Gets or sets the NMT error behaviour algorithm. For further information see NMT_ERROR_BEHAVIOUR .