Important advisory...........................................................................................................................................................................7
Creating a script................................................................................................................................................................................7
Registration of JavaScript functions in the P1J file...............................................................................................................8
Hyperlink to a script in Advanced Pages..................................................................................................................................9
Adding resource files to a P1D file...........................................................................................................................................10
Accessing P1D resource files in scripts...................................................................................................................................10
Creating Service Tool signals for use in scripts................................................................................................................... 12
General API Information
Supported Internet media types (MIME) in HTML dialogs..............................................................................................15
Index Parameter............................................................................................................................................................................. 15
Use the Scripting Toolbox to develop script sequences written in JavaScript/HTML. Scripts are started
using Advanced Page hyperlinks or triggered on a range of service tool events.
This is a PLUS+1® Service Tool upgrade feature. A Service Tool Professional Add-on License (Danfoss part
11179527) enables the design functionality of this feature. Using service application files containing
scripts does not require any additional license and can be used with the built-in license supplied with the
PLUS+1® Service Tool installation.
Features and benefits:
Develop calibration sequences and troubleshooting wizards
•
Read and write access to tuning parameters
•
Download of application files to microcontrollers
•
Access to any ECU supported by PLUS+1® Service Tool
It is not possible to cancel execution of a service tool script function.
It is recommended to save your service application file before running scripts.
Creating a script
A Service Tool script contain of Script Interface file and a Script file. The Script Interface File is stored in
a .P1U file and uses HTML format and the Script file is stored in a .P1J file and uses JavaScript format.
1. Right-click on the Scripts node under Design in the System Navigator and select New Script to
create template script files.
This will create a ScriptInterface and ScriptFunctions node under Scripts.
2. Double-click on ScriptFunctions to open file ScriptFunctions.P1J in the associated editor.
There is no file association for P1U and P1J files by default when installing the PLUS+1 Service Tool.
Use the select default program dialog that appears to associate the text files with your favorite text
editor.
3. Save the changes in the editor and select Reload after right-clicking on the ScriptFunctions node to
reload the file with the changes.
Changes in the P1U and P1J file will be automatically saved when saving the P1D file.
Before you release your service application, you must test the service application file following your
usual test procedures to verify that it works as intended.
Managing script files
The menu items Add Script Interface file and Add Script file accessible by right-clicking on the Scripts
node can be used to add P1U and P1J files from disk.
It is only possible to add a single P1U and P1J file.
It is also possible to save or delete exiting script files from the Scripts popup menu.
Registration of JavaScript functions in the P1J file
The JavaScript functions in the P1J file that shall be accessible in the Service Tool needs to be registered
in the top of the P1J file.
Add a line with the text //PLUS+1-reg: followed by the name of the JavaScript function.
//PLUS+1-reg: MyFunction
function MyFunction()
{
//JavaScript code
}
JavaScript is case sensitive. Watch your capitalization closely when you write JavaScript statements.
It is possible to include resource files and access these files from scripts, i.e. PLUS+ 1 downloadable file
(.hex/.lhx), images and JavaScript libraries.
1. Select in the System Navigator > Resources > Add Resource File.
2. Browse to the file.
Accessing P1D resource files in scripts
The example how to include a JavaScript library in a script: P1D Design
The Service Signal protocol included the Service Tool can be used to create Service Tool defined signals.
These signals can be read and written from scripts and Service pages and can be used to save
configuration and states in different pages or scripts in the P1D file.
Changed signal values will be restored to default values if the P1D file is closed or if the DLL protocols are
reloaded (occurs during Reset Gateway, Manage Protocols menu and when changing Online/Offline
mode).
The Service Tool signals are defined in a XML file with the following format:
MIME type text/plain will be used for unlisted file types.
PLUS+1 return codes
ECU Address Parameter
Index Parameter
Functions that return a PLUS+ 1 result code returns the value –1 on success and a positive number on
error; see Appendix A: Return codes on page 47.
Parameters named ‘Address’ refers to a node (ECU) address. This information is returned by the
St_GetNodeAddress function but is also available in the:
System Navigator > ECU list > Application > Diagnostic ID.
Parameters named Index refers to a zero-based index of the data to target.
The value of 0 identifies the first item in the list.
A range is a set of accessible indexes in an array. Indices in a range are specified either as a comma
separated list containing single values or a range separated by a dash ‘-‘.
Example – given an array: int test[30]; //(c-syntax)
The following examples are valid:
[1,2,3,23]
•
[3-17]
•
[0-5,9,11,12-22]
•
[29]
•
The following examples are not allowed:
[-1]
•
[30]
•
Access rights
In order to control the level of information shown to the user in the service tool, some API functions
provide Access Level information. If the access level in the service tool is equal or higher than the level
reported by the protocol, the information should be shown in the service tool. Access Level is provided as
information by the protocol DLL and is never enforced. The Service tool is responsible for interpreting
and enforcing access levels reported by the protocol.
Read and Write access rights are defined as a single character in the range of [D0-9]. 0-9 indicates the
access level and D signifies that the functionality is not supported or not used.
PLUS+ 1 parameter Ranges
Numerical value strings should be presented in decimal form unless stated otherwise and the protocol is
responsible for removing leading and trailing white space when converting value strings.
Some function calls use only the protocol ID part of the supplied Address. Function calls use the entire
Address unless stated otherwise in the documentation for the Address parameter.
The following API functions require online mode:
All API functions in the chapters:
•
ECU API functions on page 23
‒
Read Parameter API functions on page 27
‒
Write Parameter API functions on page 29
‒
CAN message API functions on page 32
‒
File download API functions on page 33
‒
and these API functions in the chapter Hyperlink API functions on page 40:
•
Hyp_UnitHistory
‒
Hyp_StartLog
‒
Hyp_StopLog
‒
Hyp_ParamUpload
‒
Hyp_ParamDownload
‒
Functions that require online mode will fail with undefined JavaScript return value and the following text
in the log file if called in offline mode: Only supported in Online mode
The following error dialog is displayed when an error is detected by the script engine either when the
script file is loaded or when running the script:
When the Service Tool load a script file the P1J file is checked for duplicated JavaScript functions.
The following error dialog will be displayed if duplicated JavaScript functions are found:
MessageThe message to display.
DlgTypeThe type of message box to display. (optional) Supported values: Warning, Error and
Result
The function returns true when the user's response is any of the following: Yes, OK, Close.
Confirmation. Default value: Information.
St_Delay
St_CurrentErrorCode
St_CurrentErrorString
This function pause the script for the amount of time (in milliseconds).
St_Delay is only intended to be used in synchronous calls in JavaScript functions.
It is recommended to use JavaScript timers to achieve functionality like continuous logging of signal
values.
Syntax
St_Delay(Duration:Number):Void
Input parameter
DurationThe number of milliseconds to pause.
This function returns the PLUS+1 return code for the last called API function.
Syntax
St_CurrentErrorCode():Number
This function returns the PLUS+1 return code for the last called API function.
This function allows the designer to signal errors to the calling application/batch file.
Exit code 0 by default if the script function is started without errors.
Only applicable when using CLI parameter -run-script and -headless.
St_FileDialog
Syntax
St_SetExitCode(ExitCode:Number):Void
Input parameter
ExitCodeThe exit code to set.
This function displays a modal Windows open or save dialog box for selecting files. Returns the filename
of the select file or empty string if no file was selected.
GatewayIndexThe index of the gateway.
ItemThe information item to request, see the following table:
Item numberItem nameDescription
0IDID of the gateway
1NameName of the gateway
2CapabilitiesIf the gateway supports change of baud rate, recover ECU, etc.
3Errors
4Warnings
5Detailed name
St_GetGatewayDeviceCount
This function returns the number of available gateway devices for a gateway.
This function scans the CAN bus and returns the number of found nodes. Any previously loaded node
data, parameter lists and opened applications are cleared. Returns a PLUS+1 return code.
Syntax
St_ScanSystem():Number
St_GetNodeCount
This function returns the number of nodes in the connected system.
Syntax
St_GetNodeCount():Number
St_GetNodeAddress
This function returns the full node address for a node.
Syntax
St_GetNodeAddress(Index:Number):Number
Input parameter
St_LoadNodeData
IndexThe index of the node.
This function loads the diagnostic data from a node. Returns a PLUS+1 return code.
AddressAddress of the targeted node.
ItemThe data item to request, see the table below:
Item No.Item nameDescription
0Application IDName of application, does not have to be unique.
1Application TypeProtocol specific
2Application Version
3Node Type
4Tool VersionVersion of tool used to make the application
5OS stringName of operating system used by the application
6Compile date/timeFormat: YYYY-MM-DD hh:mm:ss
7Boot loader version
8EANHardware
9Serial numberHardware
10Manufacturing dateFormat: YYYY-MM-DD
11Part number 0Hardware
12Part number 1Hardware
13Part number revision 0Hardware
14Part number revision 1Hardware
15Programmable status
16Part number 2Hardware
17Application release status
18SIL2 certified
19Diagnostic Data filename
20Global Read Access Right
22Tool NameName of tool used to make the application
23Software Mode
24ECU History Supported
25System IDOnly supported by the PLUS+1 protocol
26Application release status
info
St_GetParameterCount
Retrieves the number of parameters defined for a node.
Syntax
St_GetParameterCount(Address:Number):Number
Input parameter
D = Not used in this ECU
0-9 = Write Access Right to replace the one in the license file for this ECU.
-1 = Undefined
0 = In application
1 = In boot loader
0 = Not supported
1 = Supported
A comma separated list of supported valid values:
TRIAL: Application created using a trial license.
HWD: Unreleased HWD file.
TOOL: Unreleased version of PLUS+1 GUIDE.
St_GetParameterData
AddressAddress of the targeted node.
This function retrieves information about a parameter from the diagnostic data.
A comma separated list of supported options for the
parameter. When filtering what’s shown when designing
pages, these valid options are used:
APP: Parameter defined in application.
SYS: System Parameter defined by HWD.
ALIAS: ALIAS Parameter. {Deprecated]
CHECKPOINT: Parameter is a checkpoint.
SETVALUE: Set Value Parameter.
SETPULSE: Set Pulse Parameter.
1 = if the parameter is present
0 = if the parameter is not present
St_RecoverEcu
AddressAddress of the targeted node.
ControlCodeCommand to send to the node, see the table below:
Item No. Item nameDescription
0Enter Boot loader ModeECU goes into boot loader mode.
1Reset ECUResets the ECU.
Recovers a node that is in a faulty state where normal program download is no longer possible. If the
application on the ECU fails to load recovery has to be performed by catching an ECU in boot mode
before it enters application mode, and then keep the ECU in boot mode. Returns true if the recover ECU is
successful.
AddressAddress of the targeted node.
NameThe name of the parameter to read.
Result
The return value is the parameter value as a string if the parameter is read successfully. If an error occurs
while reading the parameter the function will return the text error= following by the PLUS+1 return code.
St_ClearReadParameterList
This function removes all parameters from the list used by St_ReadParameterList.
Syntax
St_ClearReadParameterList():Void
St_AddReadParameterList
This function adds a parameter to the parameter list used by St_ReadParameterList.
The function returns true when all signals in the list has the expected value.
St_ClearCanXplorerSignalError
This function sets the result code for a CAN Xplorer signal to the initial value, which can be used to
determine if a CAN message for the CAN Xplorer signal has appeared on the CAN bus.
The signal result code is set to 204 (No answer from node).
This function retrieves ECU information from the opened parameter transfer file.
Syntax
St_GetP1tFileEcuData(Item:Number):String
Input parameters
ItemThe type of data to retrieve, see the table below:
Item no.Description
0File Application Node Number
1File Application TimeKey
2File Application OS family
3File Application ID
4File Application Tool version
5File Hardware Manufacture date
6File Hardware Bootloader version
St_GetP1tFileParameterCount
St_GetP1tFileParameterData
This function retrieves the number of parameters in the opened parameter transfer file.
Syntax
St_GetP1tFileParameterCount():Number
This function retrieves parameter information from the opened parameter transfer file.
ItemThe type of data to retrieve, see the table below:
Item No.Item nameDescription
0Parameter name
1Parameter typeSee Data and Data Types.
2Parameter value
3Parameter Read access levelSee Access rights on page 16.
4Parameter Write access level
CanIdThe identifier of the CAN message to send
Ext
LenThe length of the message
Data0(optional) Byte 0 in the CAN Frame.
Data1(optional) Byte 1 in the CAN Frame.
Data2(optional) Byte 2 in the CAN Frame.
Data3(optional) Byte 3 in the CAN Frame.
Data4(optional) Byte 4 in the CAN Frame.
Data5(optional) Byte 5 in the CAN Frame.
Data6(optional) Byte 6 in the CAN Frame.
Data7(optional) Byte 7 in the CAN Frame.
•
If the parameter value is true, a Extended identifier CAN Frame will be sent.
•
If the parameter value is false, a Standard identifier CAN Frame will be sent.
This function opens a PLUS+1 downloadable application file for download. The file is checksum verified
and matched with the supplied node. Returns a PLUS+1 return code.
AddressAddress of the targeted node
FileNameThe name of the file to download. It is only possible to download files that have been added to the
St_GetDownloadData
This function retrieves information about the opened download file.
Syntax
St_GetDownloadData(Item:Number):String
Input parameter
Design/Script/Resources tree item in the P1D file.
ItemThe type of data to retrieve, see the table below:
Item No. Description
0Filename opened for download
1Application Size number of bytes in hexadecimal notation.
2Highest used Address in hexadecimal
3File OS family
4File OS identity
5File Application Type
6File Application TimeKey
7Node OS family
8Node OS identity
9Node Application Type
10Node Application TimeKey
11LHX Readme File Size
12LHX Readme File Binary Data
13File Application Version
14Node Application Version
15File Application ID
16Node Application ID
17Disabled Parameter Count
18Restricted Parameter Count
19ECU Dynamic Parameters
20File Dynamic Parameters
21Read-Only parameter file type
22File System ID
23Node System ID
24Application release status info. A comma separated list of supported valid values:
St_SetDownloadParameterValue
This function sets a parameter value in non-volatile memory for the currently opened application. The
application remains open until downloaded with St_DownloadFile.
Returns a PLUS+1 return code. Depends on St_OpenApplication.
NameThe name of the parameter
ValueThe value to write when downloading the application.
TRIAL: Application created using a trial license.
HWD: Unreleased HWD file.
TOOL: Unreleased version of PLUS+1 GUIDE.
St_DownloadFile
St_DownloadPackage
This function downloads the file loaded with the function St_OpenApplication to the node. Returns a
PLUS+1 return code.
Parameter Settings will be performed in the same way as if the user clicked OK in the Parameter Settings
dialog.
Syntax
St_DownloadFile():Number
This function downloads the applications in the System Download Package.
The ECU mapping is done automatically, no attempt to download any file is done if the mapping is
unclear, and returns a PLUS+1® return code.
Syntax
St_DownloadPackage(FileName:String):Number
Input parameter
FileNameThe full path and file name of the download package file.
IndexThe index of the targeted parameter.
ItemThe data item to request.
Item No.Item NameDescription
0AddressAddress of the node
1Parameter nameName of the parameter
2ValueEdit value of the parameter
3Return codeThe PLUS+1® return code for the parameter
4Error messageThe PLUS+1® error message for the parameter
5CommentThe comment text for the parameter
6Download‘1’ if download checkbox if checked, otherwise ‘0’
7Locked‘1’ if changing edit value is locked, otherwise ‘0’
8minThe minimum value
9maxThe maximum value
10DefaultThe default value
IndexThe index of the resource file.
ItemThe data item to request.
Item No. Description
0File name of the resource file.
St_SelectResourceFileDialog
This function displays a modal Windows dialog box for selecting resource files. Returns the filename of
the select file or empty string if no was selected.
CaptionSpecifies the text in the dialog's title bar.
FilterDescription The description to the display in the file filter selection.
FileFilterDetermines the file mask (filter) available in the dialog.
St_GetGenericEcuDefinitionCount
This function returns the number of generic ECU definitions available in the service application.
Syntax
St_GetGenericEcuDefinitionCount():Number
St_GetGenericEcuDefinitionData
This function returns data for a generic ECU definition.
CaptionThe caption of the modal progress dialog.
ProgressMaxThe maximum position of the progress bar.
NativeProgressIf the parameter value is true, the progress dialog will be updated with native progress with
ShowListIf the parameter value is true, the item list box will be displayed in the modal progress dialog.
calling API functions that support this. This can for example be used to update the progress bar
during a file download. The ProgressMax parameter needs to be increased by 100 for each API
supporting native progress.
ShowReportIf the parameter value is true, the Show Report button will be displayed.
AutoCloseIf the parameter value is true, the modal progress dialog will be automatically closed.
This function displays the HTML content of the P1U file in a modal dialog. The dialog will be displayed
centered on the Service Tool main window if both Left and Top is set to zero.
CaptionThe caption of the dialog.
LeftThe left position of the dialog.
TopThe top position of the dialog.
WidthThe width of the dialog.
HeightThe height of the dialog.
-1SuccessFunction returned without any error or warnings
48FileFile Not Found in Packed FileThe file was unpacked successfully but did not contain the expected file.
53FileCan Not Recognize File Format.The service tool was unable to determine file format.
54FileChecksum Error in System File Head
55FileChecksum error in fileThe file is corrupt and may not be used in the current function call.
62UserFile not foundSupplied file could not be found. Verify that a full path and extension is
70FileInvalid format in fileFile may be generated with a new software version that is unsupported.
90FileDirectory not FoundThe path supplied in the function call does not exist.
105FileFile Access DeniedRead or write access required for the file.
116UserFile Access DeniedRead access required for the file..
126FileUnable to openThe file cannot be opened. Make sure that the file is not opened by
138UserUnsupported parameter typeSelect parameter name is not supported by the API.
151UserValue out of rangeSee PLUS+ 1 parameter type table under GetParameterData for parameter
166ECUUnknown key valueECU application is invalid and needs to be updated to allow diagnostics.
200Unable to open gateway
201UserAPI function already runningCall to a function has not finished. Wait until previous call finishes.
202Invalid node number
203ECUInvalid answerECU application answered with an invalid response.
204UserNo answer from nodeCheck cabling and make sure that ECU is powered.
205UserInvalid baudrateSelected baudrate is not supported. See Open for a list of valid baudrates.
211ECUUnsupported infoblockUnsupported ECU application.
212ECUUnable to load diagnostic dataError occurred while loading the diagnostic data.
213ECUUnable to restore diagnostic dataError occurred while decoding the diagnostic data.
214ECUUnable to read diagnostic dataError occurred while uploading the diagnostic data from the ECU.
215Warning No valid diagnostic data availableECU application does not contain any diagnostic data. May be caused by
216UserNo node data retrieved with LoadNodeDataLoadNodeData must be successfully executed for the ECU.
218UserParameter list emptyNo parameters added with AddReadParameterList or
221UserParameterName not foundSupplied parameter name was not found in the diagnostic data. Use
222Parameter list not loaded
223ECUUnable to write parametersError occurred while writing the parameters to the ECU.
230Unable to restore parameter list setup
231UserFile does not match this nodeDownload file does not match the ECU. Ensure that the correct FullAddress
232UserDownload to node aborted
236UserNo file openedOpen the file to download before calling the download file function.
238ECUInfoblock checksum errorECU application is invalid and needs to be updated to allow diagnostics.
239Invalid File Entry
241ECUUnable to read node dataECU application is invalid and needs to be updated to allow diagnostics.
242UserIncorrect toolkeyAccess restricted to ECU because the supplied toolkey is incorrect.
supplied to the file.
another application.
See PLUS+ 1 parameter type table under GetParameterData for valid
parameter types.
value ranges.
ECU running in boot mode. ECU will start in boot mode if DownloadCancel
is used. File Download is still possible.
AddWriteParameterList.
GetParameterData to verify that the parameter name is valid.
is used and read ECU application information with GetNodeInfo.
243LicenseInvalid LicenseFileSupplied LicenseFile is invalid.
244FileInvalid download fileSupplied download file is invalid.
245ECUVerify failedWrite parameter failed because the verify value was different from the
246Function not started
247UserFile not authorized to be downloaded to this nodeFile does not match ECU partnumber or serialnumber
248ECUSecurity access denied
249ECUUnable to start diagnostic session
250ECUInvalid diagnostic data lengthECU answered with a invalid diagnostic data length.
251ECUNode reset failed
252ECUUnit history update failed
253ECURequest of download checksum failed
254ECUCalculation of download checksum failed
255ECUTransfer exit failed
256ECUErase flash request failed
257ECUErase flash failed
258ECUDownload request okay size missing
259ECUDownload request failed
260ECUUnable to write unit history
261ECUUnable to start download session
262FileInvalid diagnostic dataThis error may be returned if a Read Only Parameter download file is
264FileApplication ID missing in file
265UserSecurity access timeout
266ECUDownload transfer timeout
267ECUDownload transfer failed
268Warning Access denied to application without toolkey
269OS family keyword missing in file
270UserInvalid data in file
271ECUDiagnostic Data Error: Index out of range
272ECUDiagnostic Data Error: Invalid address vector length
273ECUDiagnostic Data Error: No end tag
274ECUDiagnostic Data Error: Signal outside struct group
275ECUDiagnostic Data Error: Invalid data type
276ECUDiagnostic Data Error: Invalid flag
277ECUDiagnostic Data Error: Invalid struct format
278ECUDiagnostic Data Error: Invalid struct group format
279ECUDiagnostic Data Error: Invalid array range
280ECUDiagnostic Data Error: Invalid end of data
282ECUDiagnostic Data Error: Invalid INF tag
283ECUDiagnostic Data Error: Missing APP log parameters
284ECUDiagnostic Data Error: Missing ROP file parameters
written value. May indicate a faulty ECU or may occur if the ECU
application sets the parameter value.
Error occurred while communicating with the ECU.
File Download failed because of incorrect answer from ECU.
opened with OpenApplication.
Last call to LoadNodeData failed because of incorrect toolkey.
Wait 10 seconds before calling LoadNodeData with a different toolkey.
File Download failed because of incorrect answer from ECU.
Toolkey is required for ECU applications developed in GUIDE.
File Download is still possible.
Parsing of the file failed since it contains unexpected or invalid data.
302Unexpected Error with MessageAn unexpected error occurred. The error text contains additional
316ECUUnable to read application logMake sure that a system scan is performed after an ECU has been power
319ECUApplication log file empty
321ECUDownload disabled by node application
322UserAccess denied to parameter
323ECUUnable to initialize parameter read
329UserNode application requires SIL2 certified tool
353Unsupported File FormatThe file format or file format version is not supported.
401Loading DLL FailedThe DLL failed to load.
444Loading Function From DLL FailedThe DLL is missing a mandatory function.
500UserAPI already startedRun Close before running Open.
UserAPI not startedOpen must be successfully executed.
502UserDiagnostic data not loadedLoadNodeData must be successfully executed for the ECU.
503LicenseIncorrect LicenseFile versionUnsupported LicenseFile.
504UserIncorrect API DLL filenameAPI DLL filename needs to be Plus1Diag.dll
505UserIncorrect license keySupplied license key is incorrect.
507UserInvalid gateway selectionSee Open for a list of valid gateways.
508UserGateway drivers not foundDrivers for the selected gateway was not found. Check that the drivers are
509UserDiagnosticFilePath not foundCheck that a full path is supplied.
510UserLicense does not support Customer ID
511UserInvalid Customer ID valueSee SetCustomerID for valid Customer ID ranges.
512UserNo nodes foundCheck cabling and make sure that ECU is powered.
513UserInvalid node indexThe node index supplied in the function call is out of range. Valid range is
514UserInvalid Item valueThe item value supplied in the function call is not supported. See the
515UserInvalid Index valueThe index supplied in the function call does not exist. See the count
516UserBuffer too smallBuffer is too small to contain the result string.
517ECUUnable to read node typeUnsupported ECU application.
518UserAccess to node deniedSee ECU Application Support section for supported ECU applications.
519ECUUnable to read unit historyError occurred while communicating with the ECU.
520UserInvalid parameter valueSupplied parameter value is not a valid number value.
521UserNo download startedA file download must be started with DownloadApplication before using
522UserGateway ErrorUnable to connect to selected gateway. Check driver installation and make
523UserLicenseFile has expired
524UserThe parameter has already been added to the listSame parameter cannot be added to the list more than once.
525Invalid range
526Access restricted by nodeThe ECU application has denied access to the function.
527No read only parameter file info available
528UserParameter Access DeniedAccess restricted by ECU application
529Write access level not availableWrite access level information is not available for non-volatile parameters.
information about the error.
cycled before reading application log data.
properly installed.
from 0 to GetNodeCount -1.
specified function for supported items.
function the function call depends on for valid index range.
531Invalid parameter format
532Parameter not assigned
533Invalid option valueInvalid option value in P1_Open options parameter.
534No data available
535Unable to read parameter data
536File does not match targetThe selected download file does not match the target ECU.
537Warning Parameter setup changed
538Unable to find node after downloadThis error can be returned when a ECU application with a different baud
539Download CRC not calculated
540Download CRC failed
541Download CRC algorithm failed
542Download CRC calculation ongoing
543Download CRC value missing
544Unable to verify download CRC
545No application log data available
546Read only parameter data structure not matching
547Read only parameter type not matching
548Invalid read only parameter checksum
549Read only parameter size not matching
550Invalid Option Name
551Parameter not in Read Parameter List
552Parameter not in Write Parameter List
558ECUECU is in boot loader modeDownload a valid ECU application.
567Value not received within expected rateReported on CAN Xplorer signals with expected rate attribute defined
600This protocol does not support Recover ECUReturned if ECU recover is not supported by the protocol when calling
601This protocol does not support Diagnostic Data Files Returned if installing diagnostic data is not supported by the protocol
602This protocol does not support Application
Download Files
603This protocol does not support Parameter Download
Files
605This protocol does not require a specific Service Tool
Version
606Invalid Control CodeReturned by the protocol if an invalid control code is supplied when calling
607Invalid Protocol IdThe supplied protocol ID is not supported by the DLL
611Protocol DLL No Result SetThe function call did not garner a result.
612Invalid Protocol DLLThe Service tool failed to activate the DLL.
613INTERNAL: Unable to enter boot loader modeThe DLL failed to automatically enter boot loader mode which is required
614ECU application is disabled. Power cycle the system
657UserFunction requires Online mode
658UserFunction not allowedCalls to API functions are currently restricted.
660UserBase parameter written, bit value skippedThe parameter list contains both the base parameter and bit values.
rate is downloaded.
The file download could not be verified because an error during the CRC
calculation.
The Read Only Parameter file does not match the selected ECU.
GetProtocolInfo(HasRecoverEcuSupport).
when calling GetProtocolInfo(DiagnosticDataFileFilter).
Returned if downloading application files is not supported by the protocol
when calling GetProtocolInfo(DownloadApplicationFileFilter).
Returned by the protocol if downloading parameter files is not supported
when calling GetProtocolInfo(DownloadParameterFileFilter).
Returned by the protocol if minimum API level is not specified when
678UserUnable to verify file download and transfer
parameter values because the correct Tool Key has
not been supplied.
1006UserSD API already startedThe protocol is already initialized. Call close before reinitializing the
1007UserSD API not started
1008UserUnknown ProtocolThe supplied full node address contains an unsupported protocol ID
1012String Parameter too long
1013Unhandled exception
1014ProgressProc exceptionAn error occurred when updating a progress bar.
1099Invalid handle
1100Unable to write to VAR-declared parameter
1500This function is not supported by the specified node.
1501File has expired
2000Function not supported by API
2001Gateway does not support offline device information
2002Gateway not on CAN Bus YetThe CAN API has not been activated by the protocol
It is recommended to supply the correct Tool Key and verify parameter
values.
2800 East 13th Street
Ames, IA 50010, USA
Phone: +1 515 239 6000
Danfoss
Power Solutions Trading
(Shanghai) Co., Ltd.
Building #22, No. 1000 Jin Hai Rd
Jin Qiao, Pudong New District
Shanghai, China 201206
Phone: +86 21 2080 6201
Products we offer:
Hydro-Gear
www.hydro-gear.com
Daikin-Sauer-Danfoss
www.daikin-sauer-danfoss.com
DCV directional control
•
valves
Electric converters
•
Electric machines
•
Electric motors
•
Gear motors
•
Gear pumps
•
Hydrostatic motors
•
Hydrostatic pumps
•
Orbital motors
•
PLUS+1® controllers
•
PLUS+1® displays
•
PLUS+1® joysticks and
•
pedals
PLUS+1® operator
•
interfaces
PLUS+1® sensors
•
PLUS+1® software
•
PLUS+1® software services,
•
support and training
Position controls and
•
sensors
PVG proportional valves
•
Steering components and
•
systems
Telematics
•
Danfoss Power Solutions is a global manufacturer and supplier of high-quality hydraulic and
electric components. We specialize in providing state-of-the-art technology and solutions
that excel in the harsh operating conditions of the mobile off-highway market as well as the
marine sector. Building on our extensive applications expertise, we work closely with you to
ensure exceptional performance for a broad range of applications. We help you and other
customers around the world speed up system development, reduce costs and bring vehicles
and vessels to market faster.
Danfoss Power Solutions – your strongest partner in mobile hydraulics and mobile
electrification.
Go to www.danfoss.com for further product information.
We offer you expert worldwide support for ensuring the best possible solutions for
outstanding performance. And with an extensive network of Global Service Partners, we also
provide you with comprehensive global service for all of our components.
Local address:
Danfoss can accept no responsibility for possible errors in catalogues, brochures and other printed material. Danfoss reserves the right to alter its products without notice. This also applies to products
already on order provided that such alterations can be made without subsequent changes being necessary in specifications already agreed.
All trademarks in this material are property of the respective companies. Danfoss and the Danfoss logotype are trademarks of Danfoss A/S. All rights reserved.