4/1/2025 10:17 AM | |
Joined: 1/17/2007 Last visit: 7/10/2025 Posts: 1561 Rating:
|
The following post might be of use. This error code indicates that the server returned the exception code 03. An exception code is something that the server will return if it cannot handle the action / data the master has requested or sent. Here is the official text from the Modbus specification. As mentioned in the linked post, it could be that you are trying to write floating point values and your number of registers is not a multiple of 2 or the start address is offset incorrectly. Floating point numbers are contained in 2 16-bit registers (as they are 32-bit data types). You must write each register pair to the first address that holds the floating point value. You could be trying to write the register pair starting at the second address of the floating point value. It is difficult to say without a bit more information on the server device. Smiffy. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
4/2/2025 2:14 AM | |
Joined: 4/19/2021 Last visit: 4/3/2025 Posts: 8 Rating:
|
I am trying to read the serial number on Modbus address 30005. The Modbus address, data type, and data format are shown in the attached file. AttachmentSMA_Modbus-TI-en-14.pdf (234 Downloads) |
4/2/2025 2:14 AM | |
Joined: 4/19/2021 Last visit: 4/3/2025 Posts: 8 Rating:
|
Here is my PLC project |
4/2/2025 3:37 AM | |
Joined: 10/7/2005 Last visit: 9/3/2025 Posts: 3049 Rating:
|
Based on your logic screendump, you are attempting to read Holding register address 430005. What you want to read is Input address register 30005 so change MB_DATA_ADDR to a simple 30005 value and you may be in businesses. |
Cheers |
|
This contribution was helpful to
1 thankful Users |
4/2/2025 6:12 AM | |
Joined: 4/19/2021 Last visit: 4/3/2025 Posts: 8 Rating:
|
Yes, I have already been put 430005 into MB_DATA_ADDR, but nothing worked at all. |
4/2/2025 6:41 AM | |
Joined: 10/7/2005 Last visit: 9/3/2025 Posts: 3049 Rating:
|
Change 430005 to 30005 please as per my previous post |
Cheers |
|
This contribution was helpful to
1 thankful Users |
4/2/2025 6:53 AM | |
Joined: 4/19/2021 Last visit: 4/3/2025 Posts: 8 Rating:
|
Yes, I also tried with 30005, but nothing. I have tried so many times in so many ways, but still zero result. |
9/2/2025 12:21 PM | |
Joined: 8/21/2014 Last visit: 9/2/2025 Posts: 1088 Rating:
|
New question published by U_10dcc3b0-14c1-4ee9-9c4b-ff40edaf6c80 is split to a separate thread with the subject Connecting and reading text 30775 from SMA does not work. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on