1/11/2018 1:26 PM | |
Joined: 6/24/2011 Last visit: 1/19/2023 Posts: 4 Rating:
|
Hello, I have a problem with periodical occurrence of errors in the Modbus RTU communication using the CP processor for ET200SP. Sometimes (eg after switching off a slave device or, if it was incorrectly connected - RX / TX transmission lines were crossed), the MB_MASTER function stops in the "BUSY" state and can be reset only by switching off the communication module (power module). It seems to me a known problem that sometimes occurred in the past in the WR_REC function for S7300 (?). It does not look like an error in the program, simply the MB_MASTER function returns the "BUSY" bit without the "REQ" set. Even if I had an error in the program, this situation should not happen. Is it possible to program the actual request clearance or function reset (applying TRUE on REQ input of MB_COMM_LOAD does not have any effect)? If this error occurs, the entire communication bus is down. Has anyone encountered this problem and knows how to solve it? In the attachment, I send printscreen of data blocks online when an error occurs. I found similar problem here: https://support.industry.siemens.com/tf/ww/en/posts/cm1241-modbus-rs-485-crash/141922/?page=0&pageSize=10 not solved Attachmentmodbus_rtu_err.zip (107 Downloads) |
Last edited by: emka_78 at: 1/11/2018 2:09:52 PM |
|
1/11/2018 5:28 PM | |
Posts: 3093 Rating:
|
Hello Emka, Regards, |
1/12/2018 9:45 AM | |
Joined: 4/28/2015 Last visit: 3/26/2025 Posts: 10837 Rating:
|
Dziekujeme |
Last edited by: Duris_I at: 1/12/2018 9:46:43 AMWith best regards... |
|
1/16/2018 1:22 PM | |
Posts: 3093 Rating:
|
Hello Emka_78, Regards, |
Follow us on