IoDrvHilscherProfibus.UnSync (METH) ¶ METHOD UnSync : UDINT InOut: Scope Name Type Return UnSync UDINT Input udiRemAdr UDINT udiGroupSelect UDINT
IoDrvHilscherProfibus.Unfreeze (METH) ¶ METHOD Unfreeze : UDINT InOut: Scope Name Type Return Unfreeze UDINT Input udiRemAdr UDINT udiGroupSelect UDINT
Profibus ¶ CIF_GetDiagnosis (Method) CIF_PBM_ConfigureAllSlaves (Method) CIF_PBM_ConfigureOneSlave (Method) CIF_PBM_SetMasterParameters (Method) CIF_PB_RDCY_ChangeDiagnosisState (Method) CIF_PB_RDCY_ChangeToActive (Method) CIF_PB_RDCY_ChangeToPassive (Method) CIF_PB_RDCY_PollState (Method) CIF_PB_RDCY_SetDiagnosisState (Method) CIF_PB_RDCY_SetNotReadyIfPassive (Method) CIF_PB_RDCY_SetParam (Method) CIF_PB_RDCY_SetRedundant (Method) CIF_PB_SetInitParams (Method) CIF_PB_SetProtocolParameters (Method) ConvertDeviceInfo (Method) IsSupportedCard (Method) SwapConfig (Method)
IoDrvHilscherProfibus.CIF_GetDiagnosis (METH) ¶ METHOD CIF_GetDiagnosis : UDINT InOut: Scope Name Type Return CIF_GetDiagnosis UDINT Input byNodeId BYTE pDiag POINTER TO BYTE byDiagLen BYTE
IoDrvHilscherProfibus.CIF_PBM_ConfigureAllSlaves (METH) ¶ METHOD CIF_PBM_ConfigureAllSlaves : BOOL InOut: Scope Name Type Comment Return CIF_PBM_ConfigureAllSlaves BOOL Input pConnector POINTER TO IoConfigConnector pnCount POINTER TO DINT bCount BOOL if set count the number of slaves in m_nSlaves
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.07.2024, 08:54:17 companyName string 3S-Smart Software Solutions GmbH libraryFile IoDrvJ1939.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile IoDrvJ1939.clean.json version version 2.0.0.0 ProjectInformation OnlineHelp bool True Released True SIL2 False ShowSmartCodingInfo True LastModificationDateTime date 25.07.2024, 08:54:14 LibraryCategories library-category-list Intern|CANbus Author string CODESYS Development GmbH Company CODESYS CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 Patch 3 DefaultNamespace J1939 Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder IoDrvJ1939 Project IoDrvJ1939 Title IoDrvJ1939 RequiredConfigVersion version 3.5.15.10 Version 4.2.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 3SLicense ¶ Library Identification ¶ Placeholder: 3SLicense Default Resolution: 3SLicense, * (3S - Smart Software Solutions GmbH) Namespace: _3S_LICENSE Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: 3SLicense Base Interfaces ¶ Library Identification ¶ Name: Base Interfaces Version: newest Company: System Namespace: IBaseLibrary Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Base Interfaces, * (System) CAA Behaviour Model ¶ Library Identification ¶ Placeholder: CAA Behaviour Model Default Resolution: CAA Behaviour Model, * (CAA Technical Workgroup) Namespace: CBM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Behaviour Model CAA Can Low Level Extern ¶ Library Identification ¶ Placeholder: CAA CanL2 Default Resolution: CAA Can Low Level Extern, * (CAA Technical Workgroup) Namespace: CL2 Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA CanL2 CAA Can Low Level Imp Extern ¶ Library Identification ¶ Placeholder: CAA CanL2I Default Resolution: CAA Can Low Level Imp Extern, * (CAA Technical Workgroup) Namespace: CL2I Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA CanL2I CAA Device Diagnosis ¶ Library Identification ¶ Placeholder: CAA Device Diagnosis Default Resolution: CAA Device Diagnosis, * (CAA Technical Workgroup) Namespace: DED Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CAA Device Diagnosis CAA Memory Block Manager Extern ¶ Library Identification ¶ Placeholder: CAA MemBlockMan Default Resolution: CAA Memory Block Manager Extern, * (CAA Technical Workgroup) Namespace: MBM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA MemBlockMan CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CANbusDevice ¶ Library Identification ¶ Placeholder: CANbusDevice Default Resolution: CANbusDevice, * (3S - Smart Software Solutions GmbH) Namespace: CANbusDevice Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CANbusDevice CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager IoDriver Interfaces ¶ Library Identification ¶ Name: IoDriver Interfaces Version: newest Company: System Namespace: IoDriver_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Interfaces, * (System) IoDriver Parameter Interfaces ¶ Library Identification ¶ Name: IoDriver Parameter Interfaces Version: newest Company: System Namespace: IIoDrvParameter Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDriver Parameter Interfaces, * (System) IoDrvBase ¶ Library Identification ¶ Placeholder: IoDrvBase Default Resolution: IoDrvBase, * (System) Namespace: IoDrvBase Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDrvBase IoDrvUtility ¶ Library Identification ¶ Placeholder: IoDriver Utility Default Resolution: IoDrvUtility, * (3S - Smart Software Solutions GmbH) Namespace: IoDrvUtility Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: IoDriver Utility IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysCpuHandling ¶ Library Identification ¶ Placeholder: SysCpuHandling Default Resolution: SysCpuHandling, * (System) Namespace: SysCpuHandling Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCpuHandling SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTarget ¶ Library Identification ¶ Placeholder: SysTarget Default Resolution: SysTarget, * (System) Namespace: SysTarget Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTarget SysTimeCore ¶ Library Identification ¶ Placeholder: SysTimeCore Default Resolution: SysTimeCore, * (System) Namespace: SysTimeCore Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTimeCore SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
DTC (STRUCT) ¶ TYPE DTC : STRUCT Diagnostic Trouble Code as defined by SAE. InOut: Name Type Comment dwSPN DWORD Suspect Parameter Number; Always converted with Version 4. Note: If byConversionMethod is 1 (old devices) dwSPN contains wrong value and must been converted by application. eFMI FMI Failure Mode Identifier byOC BYTE Occurence Count: 0..126; 127: not available byConversionMethod BYTE 0: SPN conversion method version 4; 1: conversion method is not version 4
FMI (ENUM) ¶ TYPE FMI : Failure Mode Identifier as defined by SAE. Attributes: qualified_only InOut: Name Initial Comment DATA_ABOVE_NORMAL_MOST_SEVERE_LEVEL 0 Data Valid But Above Normal Operational Range (Most Severe Level): The signal communicating information is within a defined acceptable and valid range, but the real world condition is above what would be considered normal as determined by the predefined most severe level limits for that particular measure of the real world condition (Region e of the signal range definition). Broadcast of data values is continued as normal. DATA_BELOW_NORMAL_MOST_SEVERE_LEVEL 1 Data Valid But Below Normal Operational Range (Most Severe Level): The signal communicating information is within a defined acceptable and valid range, but the real world condition is below what would be considered normal as determined by the predefined least severe level limits for that particular measure of the real world condition (Region d of signal range definition). Broadcast of data values is continued as normal. DATA_ERRATIC 2 Data Erratic, Intermittent Or Incorrect: Erratic or intermittent data includes all measurements that change at a rate that is not considered possible in the real world condition and must be caused by improper operation of the measuring device or its connection to the module. Broadcast of data value is substituted with the “error indicator” value. VOLTAGE_ABOVE_NORMAL 3 Voltage Above Normal, Or Shorted To High Source: a) A voltage signal, data or otherwise, is above the predefined limits that bound the range (Region g of the signal range definition). Broadcast of data value is substituted with the “error indicator” value. b) Any signal external to an electronic control module whose voltage remains at a high level when the ECM commands it to low. Broadcast of data value is substituted with the “error indicator” value. VOLTAGE_BELOW_NORMAL 4 Voltage Below Normal, Or Shorted To Low Source: a) A voltage signal, data or otherwise, is below the predefined limits that bound the range (Region f of the signal range definition). Broadcast of data value is substituted with the “error indicator” value. b) Any signal external to an electronic control module whose voltage remains at a low level when the ECM commands it to high. Broadcast of data value is substituted with the “error indicator” value. CURRENT_BELOW_NORMAL 5 Current Below Normal Or Open Circuit: a) A current signal, data or otherwise, is below the predefined limits that bound the range (Region f of the signal range definition). Broadcast of data value is substituted with the “error indicator” value. b) Any signal external to an electronic control module whose current remains off when the ECM commands it on. Broadcast of data value is substituted with the “error indicator” value. CURRENT_ABOVE_NORMAL 6 Current Above Normal Or Grounded Circuit: a) A current signal, data or otherwise, is above the predefined limits that bound the range (Region f of the signal range definition). Broadcast of data value is substituted with the “error indicator” value. b) Any signal external to an electronic control module whose current remains on when the ECM commands it off. Broadcast of data value is substituted with the “error indicator” value. MECHANICAL_SYSTEM_NOT_RESPONDING 7 Mechanical System Not Responding Or Out Of Adjustment: Any fault detected as the result of an improper mechanical adjustment or an improper response or action of a mechanical system that, with a reasonable confidence level, is not caused by an electronic or electrical system failure. This type of fault may or may not be directly associated with the value of general broadcast information. ABNORMAL_FREQUENCY 8 Abnormal Frequency Or Pulse Width Or Period: To be considered in cases of FMI 4 and 5. Any frequency or PWM signal that is outside the predefined limits which bound the signal range for frequency or duty cycle (outside Region b of the signal definition). Also if the signal is an ECM output, any signal whose frequency or duty cycle is not consistent with the signal which is emitted. Broadcast of data value is substituted with the “error indicator” value. ABNORMAL_UPDATE_RATE 9 Abnormal Update Rate: Any failure detected when receipt of data via the data link or as input from a smart actuator or smart sensor is not at the update rate expected or required by the ECM (outside Region c of the signal range definition). Also any error detected causing the ECM not to send information at the rate required by the system. This type of fault may or may not be directly associated with the value of general broadcast information. ABNORMAL_RATE_OF_CHANGE 10 Abnormal Rate Of Change: Any data, exclusive of the abnormalities covered by FMI 2, that is considered valid but whose data is changing at a rate that is outside the predefined limits that bound the rate of change for a properly functioning system (outside Region c of the signal range definition). Broadcast of data values is continued as normal. ROOT_CAUSE_NOT_KNOWN 11 Root Cause Not Known: It has been detected that a failure has occurred in a particular subsystem but the exact nature of the fault is not known. Broadcast of data value is substituted with the “error indicator” value. BAD_INTELLIGENT_DEVICE 12 Bad Intelligent Device Or Component: Internal diagnostic procedures have determined that the failure is one which requires the replacement of the ECU, used here to mean the packaged unit that includes some microprocessor and its associated components and circuits. It can be assumed that the communications subsystem is not the part that has failed, and that the manufacturer has determined that there is no serviceable component smaller than the ECU involved in the failure. Broadcast of data value is substituted with the “error indicator” value if appropriate, as there may or may not be any broadcast data involved. This error is to include all internal controller trouble codes that can not be caused by connections or systems external to the controller. OUT_OF_CALIBRATION 13 Out Of Calibration: A failure detected that can be identified to be the result of not being properly calibrated. This may be the case for a subsystem which can identify that the calibration attempting to be used by the controller is out of date. Or it may be the case that the mechanical subsystem is determined to be out of calibration. This failure mode does not relate to the signal range definition as do many of the FMIs. SPECIAL_INSTRUCTIONS 14 Special Instructions: “Special Instructions” is the FMI to be used when the on-board system can isolate the failure to a small number of choices but not to a single point of failure. When this FMI is used, there is a clear necessity for the service technician to take some action to complete the specific diagnosis, and the Manufacturer has provided instructions for the completion of that diagnosis. There are two cases where this will be used: 1. for emission-related diagnostics where the particular failure cannot be separated between a sensor out of range and the case where the actual value is at the edge of a diagnostic region, and 2. for the older SPN 611 to 615 where the problem is in determining which of two or more circuits (which may interact) is the one that needs repair. DATA_ABOVE_NORMAL_LEAST_SEVERE_LEVEL 15 Data Valid But Above Normal Operating Range - Least Severe Level: The signal communicating information is within a defined acceptable and valid range, but the real world condition is above what would be considered normal as determined by the predefined least severe level limits for that particular measure of the real world condition (Region i of signal range definition). Broadcast of data values is continued as normal. DATA_ABOVE_NORMAL_MODERATELY_SEVERE_LEVEL 16 Data Valid But Above Normal Operating Range - Moderately Severe Level: The signal communicating information is within a defined acceptable and valid range, but the real world condition is above what would be considered normal as determined by the predefined moderately severe level limits for that particular measure of the real world condition (Region k of signal range definition). Broadcast of data values is continued as normal. DATA_BELOW_NORMAL_LEAST_SEVERE_LEVEL 17 Data Valid But Below Normal Operating Range - Least Severe Level: The signal communicating information is within a defined acceptable and valid range, but the real world condition is below what would be considered normal as determined by the predefined least severe level limits for that particular measure of the real world condition (Region h of signal range definition). Broadcast of data values is continued as normal. DATA_BELOW_NORMAL_MODERATELY_SEVERE_LEVEL 18 Data Valid But Below Normal Operating Range - Moderately Severe Level: The signal communicating information is within a defined acceptable and valid range, but the real world condition is below what would be considered normal as determined by the predefined moderately severe level limits for that particular measure of the real world condition (Region j of signal range definition). Broadcast of data values is continued as normal. RECEIVED_NETWORK_DATA_IN_ERROR 19 Received Network Data In Error: Any failure that is detected when the data received via the network is found substituted with the “error indicator” value (i.e. FE16, see J1939-71). This type of failure is associated with received network data. The component used to measure the real world signal is wired directly to the module sourcing the data to the network and not to the module receiving the data via the network. This FMI is applicable to Regions f and g of the signal range definition. This type of fault may or may not be directly associated with the value of general broadcast information. DATA_DRIFTED_HIGH 20 Data Drifted High: Systems which use one DTC to report, data drifted high and data drifted low, rationality failures for a component shall use FMI 2. When a product has separate DTCs for a rationality check for data drifted high and another DTC for a rationality check for data drifted low for the same component it shall then use FMI 20 and FMI 21 accordingly. The signal communicating information is within a defined acceptable and valid range, but the real world condition is above what would be considered normal when compared to other measurements. This may include sensor drifts, measurements that do not seem possible when compared with other data, measurements that change at a rate that is not considered possible in the real world or whose values themselves do not seem possible in the real world. It is understood that it is not feasible to always differentiate the cause of the data drifted low (e.g. Is the INTAKE MANIFOLD PRESSURE low because the sensor has drifted or is there a mechanical problem with either the turbocharger or the hose connections?) This FMI is applicable to Region b of the signal range definition. Broadcast of data value is substituted with the “error indicator” value. DATA_DRIFTED_LOW 21 Data Drifted Low: Systems which use one DTC to report, data drifted high and data drifted low, rationality failures for a component shall use FMI 2. When a product has separate DTCs for a rationality check for data drifted high and another DTC for a rationality check for data drifted low for the same component it shall then use FMI 20 and FMI 21 accordingly. The signal communicating information is within a defined acceptable and valid range, but the real world condition is below what would be considered normal when compared to other measurements. This may include sensor drifts, measurements that do not seem possible when compared with other data, measurements that change at a rate that is not considered possible in the real world or whose values themselves do not seem possible in the real world. It is understood that it is not feasible to always differentiate the cause of the data drifted low (e.g. Is the INTAKE MANIFOLD PRESSURE low because the sensor has drifted or is there a mechanical problem with either the turbocharger or the hose connections?) This FMI is applicable to Region b of the signal range definition. Broadcast of data value is substituted with the “error indicator” value. CONDITION_EXISTS 31 Condition Exists: This FMI is used to indicate that the condition identified by the SPN exists when no other applicable FMI exists or in cases when the reported SPN name spells out the component and a non-standard failure mode. This type of fault may or may not be directly associated with the value of general broadcast information. This FMI will mean “not available” when the associated SPN is also “not available” as when the remainder of a packet is filled with binary ones after all data has been transmitted.
Lamps ¶ LAMP_FLASH (Enum) LAMP_INFO (Struct) LAMP_STATUS (Enum)