Blank visualisation page in the online mode

Which products are affected?
ESP-DDS2-P (Global Drive PLC Developer Studio Professional V2.x)

EVS93xx-EI (Servo PLC)
EVS93xx-ET (Servo PLC Technology)
EPL-10200 (Drive PLC)
ECSxA (ECS axis module)

What happens?
In the online mode, no elements are displayed (the page remains blank) on the visualisation page or question marks (???) are indicated instead of a variable value, although the variable of the visualisation element exists in the DDS project.

When does the problem occur?
If an array element which is indexed (e. g. abArray[C_nVar]) by means of an enumeration value (Enum data type) or by a variable constant (e. g. VAR CONSTANT)) is displayed on the visualisation page, question marks (???) are indicated instead of the value of the array element in the online mode.

If only array elements which have been indexed as described before are indicated on the visualisation page, this page remains blank in the online mode.

Possible diagnostics?
Select the corresponding visualisation element in the offline mode. Open the 'Configure element' dialog box via the menu item Extras>Configure. This dialogue allows to check in the 'Text output' field of the category 'Variable' whether an array element was indexed in the way described above.

Short-term measures/recommendations?
Do not use an enumeration value or a variable constant (e. g. abArray[1]) as an index for an array element on the visualisation page. Use a literal (number) instead.

or

Activate the button 'Replace constants' in the 'Options' dialog (menu item Project>Options) in the category 'Compilation options'.

Evaluation:
Using enumeration values/variable constants increases the legibility of DDS projects. However, if enumeration values/variable constants are used as an index of an array element in the visualisation, the value of this array element cannot be displayed in the online mode. This function restriction can easily be avoided by taking the measures described above (see short-term measures/recommendations).

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