| Author |
Message |
GetMayurVBS
Joined: 23 Apr 2008 Posts: 1
|
23 Apr 2008 12:00 xmt s7-200 |
|
|
|
|
How to connect Siemens PLC S7-200 on Serial Port without any third party Drivers or APIs?
Please tell me About Modbus Protocol or Profibus Protocol for S7-200.
Regards
Mayur
|
|
| Back to top |
|
 |
micropar
Joined: 03 May 2005 Posts: 23
|
22 May 2008 17:37 s7-200 xmt |
|
|
|
|
Hi mayur,
You can use Open Serial Protocol features of S7-200 PLC. I don't remember now exactly, but it works with XMRT and RXT mnemonics of Statement List language.
Go through its System Manual and you will find examples there.
Regards,
--micropar--
|
|
| Back to top |
|
 |
Google AdSense

|
22 May 2008 17:37 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
tvthang
Joined: 17 May 2008 Posts: 46 Helped: 5 Location: Ho Chi Minh city, VietNam
|
23 May 2008 1:54 how to read data siemens from plc using .net |
|
|
|
|
HI,
If you want to transmit/receive data to or from another equipment you should have a cable (PPI cable, RS232-RS485 cable).
In PLC lader, you init SMB30 cell with rev./trans configure, for example: value 16#09 in SMB30: baud rate: 9600bps, 8 bit data, 1 stop bit, no parity
after that, you using XMT for transmit (using help on program) or interrupt 8 to receive data
It is easy for you to do this, good luck!
|
|
| Back to top |
|
 |
auto_mitch
Joined: 14 Oct 2004 Posts: 212 Helped: 20
|
01 Jun 2008 10:19 plc s7-200 |
|
|
|
|
| Check at S7-200 documentation for freeport configuration. Take a look at special memory bytes SMB30 for Port 0 and SMB130 for Port 1. After port configuration you can use the XMT and RCV function to send and receive a number of data bytes. Check these functions how they work, in help.
|
|
| Back to top |
|
 |