kivafishy Posted August 24, 2021 Report Posted August 24, 2021 Hi Folks, CPU: Q03UDVCPU, Modbus Module: QJ71MB91 Anyone knows what have I done wrong with my setup? Parameters, wiring connection or I need to write special instructions? Theoretically, it shouldn't be so difficult to get the readings. Now, I can't monitor any values from data register D0 ~ D199.
kivafishy Posted August 24, 2021 Author Report Posted August 24, 2021 I'm using 2 wire connection for RS485.
Gambit Posted August 24, 2021 Report Posted August 24, 2021 You got an exception message so the slave is responding. You should check which one it is. I see you are reading 120 holding registers. I suggest you reduce the amount first to 1 or 2 until it is working or at least to 50 like you did in your test tool.
kivafishy Posted August 24, 2021 Author Report Posted August 24, 2021 Thanks Mr.Gambit, I had reduced the number of access points to 10 and I was able to read the data. I had done a few tests. It seems the Mitsubishi PLC only can see the data when access points were fixed at 30 or below. If I set more than that, the PLC will show 7360H error and no readings. I'm not sure is it slave problem or master configuration problem.
Gambit Posted August 24, 2021 Report Posted August 24, 2021 It's not the master it can handle more but the slave is the issue in this case as it is replying an exception error. If you look in the slave manual than probably Holding register 30 does not exist.
pturmel Posted August 24, 2021 Report Posted August 24, 2021 The ability to read up to 125 holding registers in a single command is the maximum the Modbus protocol allows. Devices are not required to support that many in one command. Try using multiple commands, each reading 30 of the desired registers.
kivafishy Posted August 26, 2021 Author Report Posted August 26, 2021 Problem has been solved. Modsim simulator has to set correctly before master plc modbus module interface with the simulator. Thanks all.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now