Hello, Is it possible to simulate, for example a Matlab Simulink Program, directly on the PLCnext? So that I’m able to use the IO’s? Or what is the best way to do this? Arne
Hi Arne, Do you mean: a) you do not have a PLC, and you would like to simulate the operation of a Matlab Simulink program that will (eventually) run on a PLC? or b) you have a PLC, but not the I/O modules that you will use with the final project, and you would like to simulate the I/O modules and the I/O data? or c) you have the PLC and I/O modules, but the I/O is not connected to real I/O devices, and you would like to simulate I/O devices? or d) Something else?
I have the PLC. If the I/o’s are connected, I actually want to debug/simulate the code I made. I’m not sure if everything works as it should. I can replace all the inputs in the program to a stepfunction or a function generator etc. and replace the outputs so I can check them. I wondered if I can also simulate/debug the program using the I/O’s of the PLCnext and how it should be done.
Hi Arne, I have discussed with my colleagues here and we are unclear on what the question is … I guess the application you have developed reads inputs from I/O modules, does some processing, and performs actions, including (possibly) writing outputs to I/O modules. It looks like you are able to manipulate the inputs to the I/O modules to simulate the “real” process, and the program is able to run on the PLC and react to those inputs as if they were coming from the real process … so what else do you need to simulate? Sorry if we are missing something obvious. Martin.
I’ve send an email to Phoenix in the Netherlands. I’m not sure how to explain it better in english, but they will help me out next week! They allready told me it is possible (in Matlab Simulink) to change some values (temporary) to debug the code/test some new adjustments, in my case changing a PID controller. Thanks. Arne