6/1/2010 1:34 PM | |
Joined: 12/9/2009 Last visit: 4/5/2022 Posts: 156 Rating:
|
Hello, under the following link you can find the S7-1200 manual. http://support.automation.siemens.com/WW/view/en/36932465 In chapter 6.3 you can find some information about modbus. Maybe it helps you. Best regards Little Holmes |
6/4/2010 10:04 AM | |
Posts: 45 Rating:
|
Hello, If you are not inclined to by additional active components (active RS485 repeaters), you have to make love with cables, topology and terminating resistors. Practically it's a hard task sometimes. Look here for SIMATIC NET PROFIBUS Networks manual, where you can find cable impedance on your data transfer speed to select terminators correctly. Be sure you are using the same cable through all the network. I would no recommend star topology in this case. Here is the last thread you also would like to observe: PROFIBus End of Line Resistor Value Hope this will help |
6/4/2010 12:58 PM | |
Joined: 1/17/2007 Last visit: 7/28/2023 Posts: 1525 Rating:
|
Terminating resistors are not *strictly* necessary. They are fitted to increase electrical noise tolerance and reduce refections on the bus. They are important if:- i) The transmission speed is high. ii) Poor standard cable is used. iii) The environment is electrically noisy. iv) The cable run is long. v) All/Any of the above. We are very lucky that the RS485 designers made the standard very noise tolerant and it is testiment to their skills that it works as well as it does without line terminators.
Not sure what the exact cause of the "slave is not recognized" error is. What / where is this error being reported? Is it the master of the slave device that is reporting this error? It looks to me like something is corrupting the request. A possible cause of why it only fails on the third cycle might be that a buffer overrun is occuring and the slaves receive buffer is getting swamped. Remember, RS485 has no flow control, so the slave has no way of holding off the master when the buffer becomes full. You could try slowing down the masters poll rate (how often the request telegrams are sent). The fact that it works at 150m but not 250m might suggest that there is a noise issue. As a test, you could try slowing down the baud rate to see if that improves things. At that sort of distance, you certainly ought to be fitting terminating resistors. Pull-up / pull-down resistors might also help by returning the line to a known state before / after transmission. Here is a RS485 spec for information. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
Follow us on