I have been tasked to develop a test engine that will be run on a completed product. This test engine will mimic commands that set, force, and read specific values in the PLC (Lenze). The functionally I need is available when the programming software is online with the PLC, within the 'Debug' menu.
Does anyone know if the communication protocol is published anywhere? I would really like to do this without having to reverse engineer the the communications with a packet sniffer.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
tstevic hat geschrieben:
I have been tasked to develop a test engine that will be run on a completed product. This test engine will mimic commands that set, force, and read specific values in the PLC (Lenze). The functionally I need is available when the programming software is online with the PLC, within the 'Debug' menu.
An other possibility would be to use Scripting to create your tests and run them through the CODESYS IDE.
Thank you for the answers. I attempted to install and try the Test Manager, however, it appears that Lenze version of the programming software does not coexist with Test Manager on the same computer. I will most definitely review the scripting option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been tasked to develop a test engine that will be run on a completed product. This test engine will mimic commands that set, force, and read specific values in the PLC (Lenze). The functionally I need is available when the programming software is online with the PLC, within the 'Debug' menu.
Does anyone know if the communication protocol is published anywhere? I would really like to do this without having to reverse engineer the the communications with a packet sniffer.
Hello Thomas,
you may want to take a look at the Test-Manager (https://store.codesys.com/codesys-test-manager.html), which should do the trick for you!
Best regards,
Marcel
Hi Thomas.
An other possibility would be to use Scripting to create your tests and run them through the CODESYS IDE.
Look at the example "Reading of variable" at Scripts to Access CODESYS Functionalities. There is also an sub-forum where you can find examples and ask questions.
BR
Martin
Thank you for the answers. I attempted to install and try the Test Manager, however, it appears that Lenze version of the programming software does not coexist with Test Manager on the same computer. I will most definitely review the scripting option.