At the moment I'm trying to program some kind of data acquisition tool, that reads from PLC ( using PLCSIM and nettoplcsim for testing, and S7-400 at a customer installation) and records to a file. I'm wondering what will be the reaction of the PLC, when I try to read a variable that does not exist, e.g. an input or output that is not in HW config or a DB that does not exist. Will PLC go into stop? I wanted to clarify this before using it at a life installation.
Thanks
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have created the abobe mentioned acquisition tool, it is available on https://github.com/franzhefekranz/aqserver . It is only a console app that is writing to csv-file. For (live) visualisation I am using Kst2 from https://kst-plot.kde.org/ . It is possible to start multiple instances of the program to record from multiple PLCs at the same time. Program is open source under LGPL. I have used this on several installations running / recording for several days without problems. But of course use on your own responsibility.
regards
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Davide,
At the moment I'm trying to program some kind of data acquisition tool, that reads from PLC ( using PLCSIM and nettoplcsim for testing, and S7-400 at a customer installation) and records to a file. I'm wondering what will be the reaction of the PLC, when I try to read a variable that does not exist, e.g. an input or output that is not in HW config or a DB that does not exist. Will PLC go into stop? I wanted to clarify this before using it at a life installation.
Thanks
Michael
Hi,
I have created the abobe mentioned acquisition tool, it is available on https://github.com/franzhefekranz/aqserver . It is only a console app that is writing to csv-file. For (live) visualisation I am using Kst2 from https://kst-plot.kde.org/ . It is possible to start multiple instances of the program to record from multiple PLCs at the same time. Program is open source under LGPL. I have used this on several installations running / recording for several days without problems. But of course use on your own responsibility.
regards
Michael