Click here to Skip to main content
15,902,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i am using C#.net and my question is about Passing data through PLC via Ethernet Connection.

i have connected PLC with c#.Net TCPClient methods.

i have written below code :

tcpclient.connect(ipadress,portNum)
i.e tcpclient.connect(192.168.1.5,502);

The connection is established. But now problem comes in passing data to PLC.
How to read/write data to Delta DVP PLC?
i have done RS232 connection with same PLC before and it worked Properly.
code for that RS232 connection was:

serialport.writeline("010105100001E8");
and it worked Properly. so how to write same line in Ethernet connection ?

the String will be same for Ethernet? i.e. "010105100001E8" will be same for Ethernet ?


Please help me in this problem as i am new to PlC world.
Posted

I'd strongly suggest that you start with the manufacturers: http://www.deltaww.com/Products/CategoryListT1.aspx?CID=060301&PID=ALL&hl=en-US[^] and see if there are any sample applications on their support pages - they would appear to have a "downloads" section, so I'd start there.

They really should be your first point of contact - if they can't help you (and they should be able to) then they need to know so they can help others in your position later!

This is not a Delta PLC specific site, so you would have to hope that someone with specific experience of the exact model you are using is reading and can respond in a timely manner. Going to the manufacturers is almost certainly quicker and more accurate!
 
Share this answer
 
Did you find a solution eventually?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900