I went through the article Modbus TCP On Opta Using PLC IDE but I could not understand how the "Master" mode actually works?
I am using the latest PLC IDE 1.0.8 and the Opta 1.2 firmware on the Opta.
I could get and set coils with QModMaster GUI tool and with the Python command line tool modbus. Also was it possible to get and set registers in the Opta from a Siemens LOGO!.
Up to now I used the Opta as a Slave. But activating the Master mode and setting up some registers on a Slave (the LOGO! or on a simulator like diagslave) did not show any effect.
Does Master mode work in 1.0.8 and Opta 1.2?
How does it get triggered? I was setting up a new Modbus device (below Ethernet) and with that I added some coil write and read items.
I guess I am missing something. How does the Opta know when to start communicating with other Modbus devices? I was just assuming that the Opta would all by herself decide when and how to get or set registers or coils (according to the set up configuration under the Modbus node) from a slave device. But, as nothing happens, I guess it's not working that way.