Communicate with Fieldbus devices

K

Kapt. Boogschutter

Hi,

I need to communicate with several Fieldbus devices.
Although we currently working with ProfiBusDP is can change in the future so
my code should be flexible with this.
I have no experience with programming C++ for fieldbus.
Does anyone know a good (MFC) class I can use of know of another solution???

ThanX
 
D

Duane

Kapt. Boogschutter said:
Hi,

I need to communicate with several Fieldbus devices.
Although we currently working with ProfiBusDP is can change in the future so
my code should be flexible with this.
I have no experience with programming C++ for fieldbus.
Does anyone know a good (MFC) class I can use of know of another solution???

Depending on which CP you're using (Simatic, Hilscher etc.) you're going
to get a lib of functions to init/rest/poll etc. This will be similar but different
for each CP. As for the devices, those conforming to the Profibus standard
will work with the CP's drivers, you just need the proper GSD files.
As for other fieldbus devices, it's much the same though the standards are
a bit less stringent.

One way to handle it is to write a wrapper that includes the public functionality
and implementing whichever lib functions you need. As for MFC, I have no
idea but I would be surprised if there was a ready made class to handle this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top