I am having a little bit of trouble getting my serial modbus setup. I am using a GN9373 as the master and a M9273 as the slave connected via RS485. I keep getting an "Illegal Data Address" Error as seen in the screenshots. I'm starting with a simple switch and light program to try and get it going. I have tried programming these variables as bits in holding/input registers as well as Coils/discrete inputs. I have also switched the Master Bus Cycle Task to MainTask and always update slave variables. Hopefully someone can help me see something I'm missing!
Thanks! I'm trying to sort out how to actually map those as under Modbus Slave Init I can only change the Register offset of the write data addresses (function codes 5, 6, 15, 16). I've done this exact setup with other PLC's but this interface is messing with me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am having a little bit of trouble getting my serial modbus setup. I am using a GN9373 as the master and a M9273 as the slave connected via RS485. I keep getting an "Illegal Data Address" Error as seen in the screenshots. I'm starting with a simple switch and light program to try and get it going. I have tried programming these variables as bits in holding/input registers as well as Coils/discrete inputs. I have also switched the Master Bus Cycle Task to MainTask and always update slave variables. Hopefully someone can help me see something I'm missing!
Sorry this attatchment didn't add for some reason
https://www.beijerelectronics.com/en/Products/DistributedIO/MseriesIOs/Networkadaptermodules/Networkadapter___modules/M9273#smartengineeringresources
Check the manual of the M9273.
0x0000 is an illegal data address for 'Write single coil'.
Looks like 0x1000 would be more appropriate.
Thanks! I'm trying to sort out how to actually map those as under Modbus Slave Init I can only change the Register offset of the write data addresses (function codes 5, 6, 15, 16). I've done this exact setup with other PLC's but this interface is messing with me.