Hi everyone. First post here so apologies if my terminology is a bit off, I'm from a web software background.
If I want to write behavior tests for a PLC project that already exists, is PLC4x the right tool for that job or would there be something better? Ideally I would be able to export a whole PLC project from a machine. Start that exported project in a soft/simulated PLC environment and run a suite of tests against the PLC logic. Ideally at no point would I be reliant on having the correct hardware. Reading through the PLC4x pages I found the section on "Testing (or using PLC4X without a PLC)". As I understand this this is for testing software outside the PLC but simulating a PLC. I would like to go the other way round and test a PLC project by simulating the outside world. I also looked at the section on the simulated protocol, but again I think this is for simulating values for a plc4x client. Essentially we'd like to write a test saying "when input 1 & 2 are on the output A is live", and check that the PLC code was going to do this. I'm interested in testing against Siemens PLC projects, however for getting started I would happily run a proof of concept on something like OpenPLC if that was easier without hardware. Cheers, Peter