CANRemoteModule_Diag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns device information about the CANopen Remote module. Interpretation of DED.DEVICE_INFO is as follows: Component Interpretation eType DED.DEVICE_TYPE.SPEC_IO_MODULE idSystem CAA.gc_idMAX_IDENT idInstance Instance number in I/O configuration (starting by 0) InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR DED.ERROR.NO_ERROR if no error occurred while getting information. Inout deiInfo DED.DEVICE_INFO device information
CANRemoteModule_Diag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the associated CANopen Remote device. See CANRemoteDevice_Diag.GetDeviceState for further information. InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL TRUE , if red exclamation mark in device tree eError DED.ERROR
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
NMT ¶ NMTInhibitTime (Property)
CANopenManager.NMTInhibitTime (PROP) ¶ PROPERTY FINAL NMTInhibitTime : WORD Gets or sets the NMT Inhibit Time (unit: multiple of 100us).
CANopenManager.OptionalSlavesBooted (PROP) ¶ PROPERTY FINAL OptionalSlavesBooted : BOOL Returns TRUE if all optional slaves are booted.
Debugging ¶ CANDiagnosis (FunctionBlock)
CANDiagnosis (FB) ¶ FUNCTION_BLOCK CANDiagnosis This functionblock can be used for debugging purposes. It can be used for getting internal diagnostic information from a given CANopenManager instance. See CANOpenDiagnosisInfo for further information. InOut: Scope Name Type Comment Inout Manager CANopenManager CANopenManager instance DiagnosisInfo CANOpenDiagnosisInfo Diagnostic information for CANopenManager
Device Diagnosis ¶ This folder contains all functionblocks implementing Device Diagnosis functionality. The function blocks will be implicitly instantiated by CODESYS. CANRemoteDevice_Diag (FunctionBlock) IDevice CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) CANRemoteModule_Diag (FunctionBlock) IDevice CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) CANopenManager_Diag (FunctionBlock) IBus GetBusInfo (Method) GetBusState (Method) GetQoS (Method) IDevice CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CANRemoteDevice_Diag (FB) ¶ FUNCTION_BLOCK CANRemoteDevice_Diag EXTENDS CANRemoteDevice IMPLEMENTS DED.IDevice2 CANRemoteDevice function block for Device Diagnosis. Note Do not instantiate this function block. It will be instantiated implicitly. Properties: BootupTimeout , inherited from CANRemoteDevice CANopenState , inherited from CANRemoteDevice ChildNodeCount ConfigurationErrors , inherited from CANRemoteDevice Connector Enable ErrorControlActivated , inherited from CANRemoteDevice FirstChildNode GuardTime , inherited from CANRemoteDevice GuardWatchdogTime , inherited from CANRemoteDevice GuardingType , inherited from CANRemoteDevice Index IsRootNode NMTErrorBehaviour , inherited from CANRemoteDevice NextSiblingNode NodeID , inherited from CANRemoteDevice ParentNode SiblingNodeCount pCANopenManager , inherited from CANRemoteDevice Methods: CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState GetDeviceInfo GetDeviceState SetCommunicationState Structure: IDevice CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)