Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
QuestionControl from scratch ? Pin
_Q12_16-Oct-13 21:16
_Q12_16-Oct-13 21:16 
AnswerRe: Control from scratch ? Pin
Chris Quinn16-Oct-13 21:37
Chris Quinn16-Oct-13 21:37 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 21:43
_Q12_16-Oct-13 21:43 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 22:04
_Q12_16-Oct-13 22:04 
AnswerRe: Control from scratch ? Pin
Mycroft Holmes16-Oct-13 22:07
professionalMycroft Holmes16-Oct-13 22:07 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 22:10
_Q12_16-Oct-13 22:10 
AnswerRe: Control from scratch ? Pin
Pete O'Hanlon16-Oct-13 22:42
mvePete O'Hanlon16-Oct-13 22:42 
GeneralRe: Control from scratch ? Pin
_Q12_16-Oct-13 23:07
_Q12_16-Oct-13 23:07 
GeneralRe: Control from scratch ? Pin
Pete O'Hanlon16-Oct-13 23:13
mvePete O'Hanlon16-Oct-13 23:13 
GeneralRe: Control from scratch ? Pin
_Q12_17-Oct-13 5:30
_Q12_17-Oct-13 5:30 
AnswerRe: Control from scratch ? Pin
Richard MacCutchan16-Oct-13 23:13
mveRichard MacCutchan16-Oct-13 23:13 
AnswerRe: Control from scratch ? PinPopular
Eddy Vluggen17-Oct-13 0:28
professionalEddy Vluggen17-Oct-13 0:28 
GeneralRe: Control from scratch ? Pin
_Q12_17-Oct-13 5:30
_Q12_17-Oct-13 5:30 
AnswerRe: Control from scratch ? Pin
Eddy Vluggen17-Oct-13 6:45
professionalEddy Vluggen17-Oct-13 6:45 
GeneralRe: Control from scratch ? Pin
_Q12_17-Oct-13 7:01
_Q12_17-Oct-13 7:01 
GeneralRe: Control from scratch ? Pin
Eddy Vluggen17-Oct-13 9:27
professionalEddy Vluggen17-Oct-13 9:27 
AnswerRe: Control from scratch ? Pin
Dave Kreskowiak17-Oct-13 1:15
mveDave Kreskowiak17-Oct-13 1:15 
AnswerRe: Control from scratch ? Pin
_Q12_17-Oct-13 9:25
_Q12_17-Oct-13 9:25 
QuestionHow To Read And Write OMRON PLC? Pin
Member 820069316-Oct-13 15:41
Member 820069316-Oct-13 15:41 
AnswerRe: How To Read And Write OMRON PLC? Pin
Richard Andrew x6416-Oct-13 16:37
professionalRichard Andrew x6416-Oct-13 16:37 
AnswerRe: How To Read And Write OMRON PLC? Pin
tiliga16-Oct-13 17:00
tiliga16-Oct-13 17:00 
GeneralRe: How To Read And Write OMRON PLC? Pin
Member 820069316-Oct-13 22:16
Member 820069316-Oct-13 22:16 
AnswerRe: How To Read And Write OMRON PLC? Pin
tiliga16-Oct-13 17:00
tiliga16-Oct-13 17:00 
GeneralRe: How To Read And Write OMRON PLC? Pin
Dave Kreskowiak17-Oct-13 1:17
mveDave Kreskowiak17-Oct-13 1:17 
AnswerRe: How To Read And Write OMRON PLC? Pin
w1dge2-Nov-13 11:46
w1dge2-Nov-13 11:46 
I would look to a solution that uses OPC technology to achieve what you want. There are plenty of vendors that supply OPC Servers for Omron products - Look at KepWare and Matrikon as 2 of the bigger vendors. Omron may even supply there own OPC Server that you can use. The OPC Server talks to the PLC hardware through communication drivers and you then write a client application in C# to read and write to the PLC via the OPC Server.

There are a few examples on Code Project and as OPC is designed to remove the vendor specific quirks of hardware communication, what works for one PLC vendor will usually work for another with minimal changes. It may seem daunting at first, but there is a .NET wrapper around the OPC Core. Have a look at the OPC Foundation website for further details.

I've been working on a C# client that talks to Siemens hardware via an OPC Server recently and once you get a grip of how the OPC Server organises and presents the individual IO tags of the PLC hardware its an elegant system to use. It also scales very well with my C# client detecting changes in the PLC within 15ms even though its monitoring over 6000 tags!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.