Micah_68
Member
I will be using a MSG instruction in my program to write to a Modbus slave device. I want to write different values to consecutive registers in the slave. I have designated N7:0-N7:8 for this. The target addresses are 40011-40019.
My question is can I use the write multiple registers function for this? Will the MSG instruction map N7:0>40011, N7:1>40012, etc. Or will it write the value of N7:0 to all of the target addresses?
I haven't done this before with a Micrologix, and I don't have the PLC or slave device on hand to test this. Any insight is greatly appreciated.
My question is can I use the write multiple registers function for this? Will the MSG instruction map N7:0>40011, N7:1>40012, etc. Or will it write the value of N7:0 to all of the target addresses?
I haven't done this before with a Micrologix, and I don't have the PLC or slave device on hand to test this. Any insight is greatly appreciated.