Relative Content

Tag Archive for plctwincatstructured-text

Are there any cons to using VAR_INST

Ever since I started working with TcUnit I have been, in many cases, working with a lot of VAR_INST declarations for a whole bunch of tests. This is due to the nature of how PLC world works, where you need to keep calling the body to do something, the tests are running in “parallel”, which could mean tests that share the same function block must be sure what state it is in – if another test would be changing any property it would fail every other test.