How to read the data from the B&R plc to computer through TCP/IP i

I want to read the data from the B&R plc using TCP/IP or ethernet

Page 1 of 1

4 Replies - 4280 Views - Last Post: 06 January 2010 - 10:21 PM Rate Topic: -----

#1 Shrenikec  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 06-January 10

How to read the data from the B&R plc to computer through TCP/IP i

Post icon  Posted 06 January 2010 - 08:07 AM

I want to read the data from the B&R plc using TCP/IP or ethernet to a desktop pc and code must be in C language because in B&R C language is support?
Please help me!

From,
Shrenik
Is This A Good Question/Topic? 0
  • +

Replies To: How to read the data from the B&R plc to computer through TCP/IP i

#2 tommynator128  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 8
  • View blog
  • Posts: 127
  • Joined: 05-January 10

Re: How to read the data from the B&R plc to computer through TCP/IP i

Posted 06 January 2010 - 08:14 AM

you have to create a "server socket" and a "client socket" then you can tell the client to connect to the server, wich is sending the data.
you can make this with the socket library from C. Little Tutorial
Was This Post Helpful? 1
  • +
  • -

#3 jjl  Icon User is offline

  • Engineer
  • member icon

Reputation: 1072
  • View blog
  • Posts: 4,532
  • Joined: 09-June 09

Re: How to read the data from the B&R plc to computer through TCP/IP i

Posted 06 January 2010 - 08:52 PM

not exactly true tommy. Your server listens for incoming clients and when a client is accepted it created a new socket to connect to the client so the server keeps listening
Was This Post Helpful? 0
  • +
  • -

#4 Shrenikec  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 06-January 10

Re: How to read the data from the B&R plc to computer through TCP/IP i

Posted 06 January 2010 - 10:16 PM

View Posttommynator128, on 6 Jan, 2010 - 07:14 AM, said:

you have to create a "server socket" and a "client socket" then you can tell the client to connect to the server, wich is sending the data.
you can make this with the socket library from C. Little Tutorial


Thanks a lot but I need the code for the work out. If it is possible then send me link from where I can download the code & try to implement it.
Please help me :)
Was This Post Helpful? 0
  • +
  • -

#5 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,070
  • Joined: 10-May 07

Re: How to read the data from the B&R plc to computer through TCP/IP i

Posted 06 January 2010 - 10:21 PM

View PostShrenikec, on 6 Jan, 2010 - 11:16 PM, said:

Thanks a lot but I need the code for the work out.


We'll gladly help you out best we can.

But no one is going to code this for you. You have to at least give an effort 1st.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1