Skip to main content
ManualsDex
Danfoss Original PDF 51 Pages690 KB Troubleshooting & Error Codes ↓

Danfoss AQ152886480347 Create Compiled Code Packages User Guide

Models:AQ152886480347en-000601AQ152886480347
Category:AQ152886480347 Create Compiled Code Packages
Download PDF (690 KB)

Document viewer

51 Pages · 690 KB · Danfoss official PDF

Troubleshooting & error codes

Extracted diagnostic sections from the manufacturer manual

Diagnostic guide
Error codes mentioned in this manual
U8U16U32U64F32F64

This section lists solutions to common problems that might occur.

C Compile error when compiling in GUIDE

C header files that contain definitions conflicting with the GUIDE definitions are included in the CCP zip file.

Avoid adding C header files in the CCP zip file.

If you absolutely need to add a header file, try to make it as small and unique as possible.

C Compile error when compiling in GUIDE, but only when another CCP is also included in the project.

C header files that contain definitions conflicting with the other CCP's definitions are included in the CCP zip file.

Avoid adding C header files in the CCP zip file. If you absolutely need to add a header file, try to make it as small and unique as possible.

C Link error when compiling in GUIDE.

The name of the shared data structure is part of the error message.

The idl file was modified after it was used to generate code. The generated error is an intentional safety feature. The reason is to avoid accidental interface/implementation mismatches.

Regenerate and recompile code from idl.

This will overwrite the interface c-file.

C Link error when compiling in GUIDE

The name of a method or XClass is part of the error message.

The name was changed in the C source.

Never change names that have been generated from idl.

Functionality has been changed, and the

GUIDE compilation works, but it seems like the functionality is the same as before the functionality change.

The lib file might have been created in the append more, and therefore contains both the old and the new functionality. Since the old functionality exists closer to the beginning of the lib file, that is the version that will be linked into the application.

Always delete the old lib file before creating a new one.

GUIDE compile error saying that <Some name> "IS UNKNOWN" Wrong spelling or case. All names are case sensitive.

Use the same spelling and case as in the project manager tree.

AQ152886480347en-000601 — Quick Facts

A Compiled Code Package (CCP) provides one or more "external class" (XClass) types that can be used within a GUIDE application.

CCPs can be imported into the GUIDE environment, for use in a GUIDE application, as shown in the example below: Multiple CCPs, each containing multiple XClasses can be used in a GUIDE application project. The condition is that all the used CCP's have a type that is allowed by the used HWD.

Manual overview & contents

Danfoss · 51 Pages

Official 51-page Danfoss documentation (690 KB PDF) covering models AQ152886480347en-000601, AQ152886480347. Key sections include CCP Risk Reduction, About the CCP, CCP Creator Expectations, CCP Implementation Illustration, Learning to use the CCP.

It is the responsibility of the Compiled Code Package creator to ensure that the Compiled Code Package is safe to use. RatatoskT3 helps to ensure that inputs and outputs are buffered, but the ultimate responsibility is on the developer of each Compiled Code Package. Using an untested compiled code package (CCP) in an application can produce an application that is unstable and unpredictable. An unstable application can cause unexpected machine movements, resulting in injury and equipment damage.

Sections inside this manual

Page numbers for quick lookup in the PDF
  1. CCP Risk Reductionp. 4
  2. About the CCPp. 5
  3. CCP Creator Expectationsp. 5
  4. CCP Implementation Illustrationp. 6
  5. Learning to use the CCPp. 7
  6. Navigating the CCP Interfacep. 8
  7. Compile with RatatoskT3p. 8
  8. C-Code Modification Processp. 9
  9. Compile with C-Compilerp. 9
  10. Archive with your C-Compilerp. 10
  11. Packaging the CCPp. 10
  12. Lesson 2: Create a GUIDE Projectp. 11
  13. Download the GUIDE projectp. 13
  14. HWD Interface Typesp. 14

Extracted manual text

About the CCP

Lesson 1: Creating an Interface Between CCP and GUIDE

All rules and guidelines for creating Compiled Code Packages have been followed Code is written in a way such that it does not interfere with the PLUS+1 GUIDE data flow. functions will return in a timely manner and potentially blocking calls and loops that do not have a fixed maximum number of iterations are not used.

The code is designed in a way such that it uses as little stack memory as possible.

The stack usage is also predictable. For example; recursion is not used. Kernel functions or other resources in the kernel are not used, unless the corresponding HWD documentation explicitly allows it by providing a well defined API intended for this specific purpose.

The code in the Compiled Code Packages does not in any way assume to know how PLUS+1 GUIDE code generation works, and/or relies on this never changing (Exception: Any part of the code generation that might be described in this document).

A User Manual is provided for the CCP describing the API interface and functionality of the CCP. Integration tests that are required to be performed by the graphical developer are defined. For example how to use maximum stack space in the CCP so stack overflow for the complete application can be tested.

Data passed between application and CCP use only the interface defined by the IDL file.

Frequently asked questions

Which models are covered by this Danfoss manual?

This manual applies to: AQ152886480347en-000601, AQ152886480347.

What topics are covered in the Danfoss AQ152886480347 Create Compiled Code Packages User Guide?

This 51-page manual covers: CCP Risk Reduction, About the CCP, CCP Creator Expectations, CCP Implementation Illustration, Learning to use the CCP, Lesson 1: Creating an Interface Between CCP and GUIDE, Navigating the CCP Interface, Compile with RatatoskT3.

Does this manual include troubleshooting or error codes?

Yes, troubleshooting and fault information (Troubleshooting) is included inside the manual. Includes diagnostic codes such as U8, U16, U32, U64, F32, F64.

More manuals from Danfoss

View all →
Danfoss
34p 1.3 MB

Danfoss Code B Variable Displacement Piston Pump User Guide

View or download the Danfoss Code B Variable Displacement Piston Pump User Guide (34-page PDF). Covers Introduction, Model Code Selection.

Danfoss
Troubleshooting 240p 4.5 MB

Danfoss MCT 10 VLT Motion Control Tool User Guide

View or download the Danfoss MCT 10 VLT Motion Control Tool User Guide (240-page PDF). Covers 1 Introduction, 1.1 Purpose of the Operating Guide.

MCT 10
Danfoss
Troubleshooting 231p 3.2 MB

Danfoss AQ295075513101 Function Block Library Autonomous Control Function Blocks User Guide

View or download the Danfoss AQ295075513101 Function Block Library Autonomous Control Function Blocks User Guide (231-page PDF). Covers Library Introduction.

AQ295075513101
Danfoss
Troubleshooting 216p 2.5 MB

Danfoss OPTBL VACON NXP Air Cooled Installation Guide

View or download the Danfoss OPTBL VACON NXP Air Cooled Installation Guide (216-page PDF). Covers VACON® NXP Advanced Safety Options, Index.

Danfoss
Troubleshooting 189p 6.8 MB

Danfoss FC 100 Series Soft Start Controller Installation Guide

View or download the Danfoss FC 100 Series Soft Start Controller Installation Guide (189-page PDF). Covers 1 How to Read this Design Guide, VLT HVAC Drive.

FC 100 Series
Danfoss
Troubleshooting 186p 38.9 MB

Danfoss 206-385-1710 A iC7-Automation Air Cooled Enclosed Drives User Guide

View or download the Danfoss 206-385-1710 A iC7-Automation Air Cooled Enclosed Drives User Guide (186-page PDF). Covers 1 Introduction.

206-385 1710 A
Download (690 KB)