4/13/2023 7:03 PM | |
Joined: 10/9/2020 Last visit: 4/28/2023 Posts: 5 Rating: (2) |
Hello I know that there are many topics related to Modbus/TCP, but i read the manual twice, folowed some tips from here, and had not succeeded. I got succesful connection through Modbus Poll, i´m using a S7-1215C CPU to connect to 3 types of dataloggers. I set CONNECT parameters like on Modbus Poll. Checked "InterfaceId" on hardware configuration. Set "MB_Unit_ID" to 1. Created a routine for error treatment. When REG is 1, block status keeps busy, and then generates and 16#80c8 error status kindly ask the most experienced if they could see what i missed. Best regards Follows an attachment with screen prints. AttachmentPrints.pdf (614 Downloads) |
4/18/2023 1:42 PM | |
Joined: 10/9/2020 Last visit: 4/28/2023 Posts: 5 Rating: (2) |
Hello, As wished, screen prints attached. Tested on MB_MODE = 0 and 104. Best Regards AttachmentPrints2.pdf (742 Downloads) |
4/25/2023 7:03 PM | |
Joined: 10/9/2020 Last visit: 4/28/2023 Posts: 5 Rating: (2) |
Hello Mr. Duris The problem on first post was solved, the address/mode was wrong, and i thank you for showing me that. On this device the connection is working But I couldn't have the same success with another device on same network that need to be acessed the input registers (Modbus FC04) by s7-1200. i´m using only 1 MB_CLIENT block and a 127 word array as incoming data storage. For knowing when a erro occurs, i move the status word when ERROr = true Screen prints attached. Feel free to advise me the way to make easier to help me. Best Regards AttachmentPrints3.pdf (589 Downloads) |
Follow us on