Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accesing data from a PLC using an OPC server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Accesing data from a PLC using an OPC server
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01118524
Message ID:
01118524
Vues:
49
I need to read the values from an OPC server which is reading data from a Siemmens PLC installed on a machine. then set an interval of time to archive this information to a sql server database.

all i know about this topic is:

1.I can access the data at the OPC server using DDE though excel or calc of OOo.
2.Using spreadsheets for colecting the data is not rwally an option.
3.Visual Foxpro has some DDE functions but i honestly don't understand them very well, mostly because they are conecting to an excell spreadsheet and not to the OPC server directly.
4.there are several OPC clients to achive this, but they are quite expensive ($3,000.00) so I am looking for an inexpensive way to do it with VFP9


do you guys know a way to do so using DDE from withing VFP, or maybe an API call?
.......
DO WHILE .T.
      ME.Work()
ENDDO
Répondre
Fil
Voir

Click here to load this message in the networking platform