CAA DTUtility: FB 'SetDateAndTime' reports "DTU_ERROR_UNKNOWN" (corrected from V3.21.2)

Corrected from:
Cabinet Controller c300 V3.21.2
Cabinet Controller 3200C V3.21.2
Panel Controller p300 V3.21.2
Panel Controller p500 V3.21.2

Response of the new version:
With an edge at the 'xExecute' input of the 'SetDateAndTime' function block from the 'CAA DTUtility' library, the date and time of the Lenze controller can be set without error.
 
What happens?
The 'SetDateAndTime' function block from the 'CAA DTUtility' library can be used to set the date and time of the Lenze controller. After an edge at the 'xExecute' input, the module outputs the following error message via the 'eError' output:
DTU_ERROR_UNKNOWN

Date and time are set correctly despite error message.
 
When does the behaviour occur?
The behaviour described above occurs on the first edge at the 'xExecute' input of the 'SetDateAndTime' function block after the start of PLC processing.
 
Which products are affected?
Cabinet Controller c300 from V3.20
Cabinet Controller 3200C from V3.20
Panel Controller p300 from V3.20
Panel Controller p500 from V3.20

Short-term measures:
Modify the PLC program of the Lenze controller in such a way that after an error message is output after the first edge at the 'xExecute' input, the function block 'SetDateAndTime' is executed with a further edge at this input.

Evaluation / recommendations:
When setting the date and time from the PLC programme with the help of the 'SetDateAndTime' block, an error message can be output at the block. An application solution is described under 'Short-term measures'.

Automatic Translation

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/202100312/1/
Kontaktformular