Cause of the error indication: 'Impermissible address: '%...' in DDS V2.x

Question:

Why does DDS V2.x display the error indication Impermissible address: '%...' while compiling a project, although the identical DDS project could be generated and compiled faultless?

Answer:

From DDS version 2.0 on the project compiling of DDS includes an address checking. This means DDS will display an error indication, if in the DDS project absolute addresses of system blocks are applied, which are not entered in the control configuration. If this error indication is displayed, a download to the target system will be impossible.

In DDS version 1.4 the address version was not checked.

Example:
In a project following Boolean variable of the system block CAN2_IO is absolutely declared:

bCan2OutW4Bit0 AT %QX32.3.0: BOOL; (*SB CAN2_IO Wort 4 Bit 0*)

In this way the address of this variable is, however, not indicated in the control configuration - the Word 4 CAN2 OUT is not listed in the control configuration bit per bit, but as a whole word. This is the cause for the error indication when compiling with DDS V2.x.

Remedy:
In register Resources select the entry Target settings. In the dialog box Target settings, register General the address checking can be deactivated with the control box no address checking. Then the project generated with DDS V1.4 can be compiled faultless. According to the default setting the address checking in DDS V2.x is activated.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200400823/1/
Contact form