Mange
In my project, a Raspberry PI is master and connected to a slave by Modbus RTU, I want intially to write some words to specific holding registers of the slave.
These values shall then never be written to again as they are basic settings of the slave.
I made a LD where I initially activate a swith which after some delays write the values to the registers.
But if I have not the switch closed all the time, in Editor debugger (at least), the values go back to initial values (0) again. Does this means that its writing 0 again to all these registers?
I would like to take away that part of my logic so it later will not be written by mistake etc, but how can I first time make sure that its not rewritten to initial values?
Or is simply nothing happening physically to the modbus interface even if there is showing initial value again?
Reply 0 0
fg71
It doesn't matter if you have contact or not, you couldn't change coils (output).
Reply 0 0
Mange
It doesn't matter if you have contact or not, you couldn't change coils (output).
Yes, but indirect by logic its possible:-)
Reply 0 0
fg71
What trigger logic ?
Reply 0 0
Mange
What trigger logic ?
Messy, but my VPHMI here works for activting all also in running Monitor (not only in debug as here):
Reply 0 0
fg71
Okey, but why all questions about not be able to switch ON/OFF in the monitor.
The reason you ask that question in a couple of message is that you have not understood how Modbus is work.
I think I have read at least 3 message from @thiagoralves telling you that you should use %QX and contact (input).
 
Also I have explain to you at least 2 times.
 
So could we end this... or do you have any more question ?
Reply 0 0
Mange
Okey, but why all questions about not be able to switch ON/OFF in the monitor.
The reason you ask that question in a couple of message is that you have not understood how Modbus is work.
I think I have read at least 3 message from @thiagoralvestelling you that you should use %QX and contact (input).
 
Also I have explain to you at least 2 times.
 
So could we end this... or do you have any more question ?
Im sorry that I disturbed you. Im probably the most stupid person you saw.
Reply 0 0
Reply