Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

GetMayurVBS

Newbie level 1
Newbie level 1
Joined
Apr 23, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
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
 

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--
 

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!
 

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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top