electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Read Write Data from Siemens PLC S7-200 on Serial Port


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> Read Write Data from Siemens PLC S7-200 on Serial Port
Author Message
GetMayurVBS



Joined: 23 Apr 2008
Posts: 1


Post23 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


Post22 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
Google Adsense




Post22 May 2008 17:37   

Ads




Back to top
tvthang



Joined: 17 May 2008
Posts: 46
Helped: 5
Location: Ho Chi Minh city, VietNam


Post23 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


Post01 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
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> Read Write Data from Siemens PLC S7-200 on Serial Port
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
help in c-read & write from serial port (1)
Is it possible to read and write data from/to parallel port (4)
Program in C to read data from a serial port. (9)
how to read data from serial port of PC by using labview? (3)
3 wire - Serial data transfer (Read/Write) (9)
read/write from dual port ram? (4)
i want step7 for programming siemens s7-200 plc (6)
How can read/write data from/to SD Card? (7)
Sample Code for Siemens S7-200 PLC ||| Needed Urgently! (4)
How to read/write data from/to Multi-Media Card?? (11)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS