7/14/2014 3:51 PM | |
Posts: 3609 Rating:
|
Import of a technical question from user Palanivel
|
This contribution was helpful to
1 thankful Users |
7/14/2014 5:19 PM | |
Joined: 1/17/2007 Last visit: 3/10/2025 Posts: 1557 Rating:
|
You will require some additional trace program to snoop the bus. The best thing for this is a PC (preferably a laptop). You then run some software on the PC to capture the serial data. There are special dedicated analyser programs to do this (COMWatch etc.), but these are usually quite expensive. You might be able to get away with a generic serial port monitor program. There are a few freeware / shareware ones available such as Free Serial Port Monitor (available here http://www.serial-port-monitor.com/). This will not have the sophistication of a dedicated data analyser (e.g. it will not timestamp the data bytes or allow you to set data triggers), but it will capture the data and allow you to analyse it off line, which for the most part may be all that you need. You will need to break into the link hardware at some point and get the PC to snoop the data signals. For RS232 the interface is easy as most PC's have a RS232 serial port of some kind (whether intergrated or a USB adapter). However for RS232, to break into the data line is quite tricky. You will need a breakout box or a special cable. The cable / breakout box will have a way of exposing the wires such that you can attach a 9 way D type plug onto the TXD and RXD wires and then connect this to your PC. I have made up my own lead to do this and it wasn't too difficult. Detailsof how to make your own are available here: http://www.aggsoft.com/rs232-pinout-cable/serial-port-monitor-cable.htm For RS485, the interface is slightly harder as PC's do not have a RS485 interface as standard. For this I normally use a port powered RS232 to RS485 convertor. B+B electronics do a very nice one called 485SD9TB (available here http://www.bb-elec.com/Products/Serial-Connectivity/Serial-Converters/Port-Powered-RS-232-to-RS-422-485-Converters/485SD9TB.aspx). For RS485, to break into the data line is very easy. Simply connect 2 wires from the A/B wires from any point on the bus to the RS485 side of the convertor. Then connect the 9 way D type side of the convertor to your PC running the data snooping software. If the data looks odd and contains lots of values in the F0+ range, then it is most likely that the wires are the wrong way round on the RS485 side, so try swapping them over. Good luck. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
This contribution was helpful to
1 thankful Users |
7/21/2014 11:29 AM | |
Joined: 6/25/2014 Last visit: 2/20/2025 Posts: 23 Rating:
|
HI Thank you very much for the solution..
|
7/28/2014 8:00 AM | |
Joined: 6/25/2014 Last visit: 2/20/2025 Posts: 23 Rating:
|
Hi Is this any way to monitor the send receive blocks of siemens using step 7. |
7/28/2014 8:27 AM | |
Joined: 6/25/2014 Last visit: 2/20/2025 Posts: 23 Rating:
|
HI Please giude me I need a data sheet about errors,process and status of send/receive blocks
|
7/28/2014 12:36 PM | |
Posts: 3093 Rating:
|
Hello Paslanivel, just use the online help (F1) or the CP manual. Regards, Kaulquappe |
10/20/2014 3:47 AM | |
Joined: 6/25/2014 Last visit: 2/20/2025 Posts: 23 Rating:
|
Hi Regarding RS 422 Which Software is best and Monitotring devics |
10/20/2014 12:38 PM | |
Joined: 1/17/2007 Last visit: 3/10/2025 Posts: 1557 Rating:
|
I use a rather old package called ComWatch2000. It works OK but better solutions are available these days. Google is your friend here, try searching for serial data analysers. This is one that looks to be good:- http://www.fte.com/products/SerialAnalyzers.aspx There are a few free ones about, but you will have to make your own cables and source some convertors (422->232 485->232 etc.). The free ones are not that sophisticated either. |
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