Closed plagalPatent closed 1 year ago
The example in "Simple Example Code for an Allen-Bradley CompactLogix/ControlLogix PLC" doesn't contain Initialize but it still works. Is Initialize necessary then?
If a tag hasn't been initialized, it will get called internally on the first read or write.
In some cases you will want to call initialize separately so your read/write is (more) deterministic.
The example in "Simple Example Code for an Allen-Bradley CompactLogix/ControlLogix PLC" doesn't contain Initialize but it still works. Is Initialize necessary then?