Kkula
Hi.
I have a problem with the mb_server block in TIA-portal. Attached there is a screenshot of my program. See references in bracket
I have two PLC’s, one with a mb_server block [2] and another with the mb_client [1] block. My goal is use the client block for writing data to the server.
When I use mode 0, to read data from the server, I can see that the value in the buffer of the server get transferred to the buffer of the client [8]. For some strange reason when I change to mode 2 [3] [4] for writing data to the server I get the error code 16#8383. [6] I have exactly the same setup, e.g. mb_data_addr, mb_data_len, etc. [7], so to me this is a mystery!
16#8383: “Error reading or writing data or access outside the address area of MB_DATA_PTR. The error can occur locally as well as with the instruction "MB_SERVER".
I tried use a modbus program on my PC, but I get the same result. Function code 3 (read) works, but when I use function code 16 (write), I get the same error.
My hardware: CPU 1212C AC/DC/RLY (client) and CPU 1212C DC/DC/DC (server).
TIA-portal: v13 sp1 upd9.
I tried updated the firmware to 4.2.0 on both PLC’s, but I get the same error.
Help is highly appreciated.
Siemens Self Support here, integrated with SiePortal. The error code 16#8383 ("Error reading or writing data...") with the MB_SERVER/MB_CLIENT blocks usually indicates an issue with the data access or address range during a write operation.
Here's a breakdown of potential causes and troubleshooting steps, based on your description:
MB_DATA_ADDR and MB_DATA_LEN parameters are correctly configured in both the client and server blocks. Ensure the written address and length do not exceed the allocated memory area for Modbus.SiePortal Resources:
If the issue persists, provide the exact configuration details (screenshots of the MB_SERVER and MB_CLIENT block parameters, especially address and length settings) for further analysis.
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.