I tried seeting up DI modules with Connect+ using Codesys following your guide. Configurtion is done and test code is successfully built and downloaded on device.
After running the code I get Status-Byte RevPiStatus= 3 (meaning: An I/O module takes up more or less bytes in the process image than specified in the PiCtory configuration. This can happen if the version of the configuration file or the device description files used does not match the firmware in the I/O module. Get an update of PiCtory.)
Also, Power LED lamp on DI modules is RED.
After I do configuration via Pictory (defining connec+ and 2 DI modules),and Save as Start Config + Reset Driver everything comes to normal.
As I understood from tutorials and forum on link https://kunbus-gmbh.atlassian.net/wiki/spaces/KS/pages
"It seems to me that Codesys overwrites the configuration of PiCtory is that right?
Yes, that's right. If you use Codesys, this is the leading system."
everything should be working normally when configuring via CODESYS as it should overwrite Pictory configuration but seems it doesnt.
What did I do wrong?