I'll apologize up front, I only dabble in MODBUS as a fraction of the monitoring and control I do, I'm not an expert but I often get things done but this time is not one of them.
I'm attempting to comm with a Meanwell DRS-240 power supply using MODBUS over RS-485, I've used several RS-485 RTU - TCP bridges with my scripts with no success. A co-worker picked up a ControlByWeb X404 for a project and I borrowed it and tested . The X404 is able to discover the DRS-240 at it's default address, 131, as it is the only device on the wire, but I cannot poll any holding or input registers with the X404. That it is discovering it tells me that wiring and comms *should* be OK. I increased the timeout on the X404 to 1000ms and I am specifically interested in the input registers and when I try to read the likes of 40050, 40060 I get nothing. I've tried it configured with one or two registers, I've tried offsetting the register by 1. Nothing is yielding any output. I'm not sure where to go for the next step of troubleshooting. Suggestions?
DRS-240 Pages 21-24 of interest:
https://www.meanwell.com/Upload/PDF/DRS-240,480-E.PDF
X404 Pages 81-2 of interest:
https://www.controlbyweb.com/x400/x-400_users_manual.pdf
I'm attempting to comm with a Meanwell DRS-240 power supply using MODBUS over RS-485, I've used several RS-485 RTU - TCP bridges with my scripts with no success. A co-worker picked up a ControlByWeb X404 for a project and I borrowed it and tested . The X404 is able to discover the DRS-240 at it's default address, 131, as it is the only device on the wire, but I cannot poll any holding or input registers with the X404. That it is discovering it tells me that wiring and comms *should* be OK. I increased the timeout on the X404 to 1000ms and I am specifically interested in the input registers and when I try to read the likes of 40050, 40060 I get nothing. I've tried it configured with one or two registers, I've tried offsetting the register by 1. Nothing is yielding any output. I'm not sure where to go for the next step of troubleshooting. Suggestions?
DRS-240 Pages 21-24 of interest:
https://www.meanwell.com/Upload/PDF/DRS-240,480-E.PDF
X404 Pages 81-2 of interest:
https://www.controlbyweb.com/x400/x-400_users_manual.pdf