Analog outputs are not updated (elimination)

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

EVS93xx-EI (Servo PLC V6.x)
EVS93xx-ET (Servo PLC V6.x)

What happens?
The values of the two analog Servo PLC outputs (ANALOG1_IO: Terminal X6/1,2 and ANALOG2_IO: Terminal X6/3,4) are not updated for one or several PLC cycles.

When does the problem occur?
If the process image of one/both analog outputs is generated in a user task (e. g. in a interval task) and if in the same task one of the two functions L_MemReadDINT or L_MemReadDWORD is called up out of the LenzeMemDrv.lib or LenzeMemDrv0101.lib library the value of the corresponding analog output is not updated for this PLC cycle.

If the process image is generated by one/both analog outputs in the cyclic task and if in the same tasks one of the two functions L_MemReadDINT or L_MemReadDWORD is called up the value of the corresponding analog output is no longer updated.

The PLC target systems Servo PLC V1.x/V2.x and Drive PLC V1.x/V2.x are not affected by this function restriction since they do not support the LenzeMemDrv library.

Possible diagnostics?
Check by means of the DDS cross reference list (menu item: Project>Show Cross Reference) whether one of the functions L_MemReadDINT or L_MemReadDWORD is used in the project. Regarding this, please select the POU category in the Cross Reference dialog.
If one of these functions is used in the project, check in the Process mirror dialog (register card: Resources>Process Mirror) if one of the two analog Servo PLC outputs is updated in the same task in which these functions are called up, too.

Short-term measures/recommendations?
Do not use the L_MemReadDINT or L_MemReadDWORD functions.

The revised LenzeMemDrv0102.lib library, with which this function restriction is eliminated, is installed when saving Service Pack 1 of DDS V2.3. Replace the present LenzeMemDrv.lib or LenzeMemDrv0101.lib library by the new LenzeMemDrv0102.lib library in the Library manager dialog (menu item Window>Library manager).

Evaluation:
If one of the functions L_MemReadDINT or L_MemReadDWORD is executed in the same task in which the process images of the analog outputs are generated, the analog outputs are not updated correctly. The LenzeMemDrv library containing this function is mainly used in combination with the CAM software package.

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