Is it possible to read the status of a PLC inputs and also to activate the PLC outputs using VB? The protocol is modbus. I went to http://www.tractrola.com but the given example is in C language because I am a visual basic programmer.
Hi
You can download Modbus VB project with source code from http://www.modbus.pl
Regards
Andrzej
You can download Modbus VB project with source code from http://www.modbus.pl
Regards
Andrzej
The easiest way to connect through an OPC server and use the API specified by the OPC foundation. They have sample VB code on their website. You could also use a program like FactorySQL to abstract that out to an SQL database, then all you would need to do is interact with the SQL database.
----
Nathan Boeger naboeger@inductiveautomation.com
Integrator, Microsoft Certifed Systems Engineer
http://www.inductiveautomation.com
"Design simplicity cures engineered complexity"
----
Nathan Boeger naboeger@inductiveautomation.com
Integrator, Microsoft Certifed Systems Engineer
http://www.inductiveautomation.com
"Design simplicity cures engineered complexity"
You can download a Modbus master or slave ActiveX Control from http://www.automatedsolutions.com. The control will allow you to communicate directly with your controller from your VB application.
All Modbus master and slave derivatives are supported: Modbus RTU, ASCII, TCP, PLUS.
A ready-to-run HMI application and associated VB6 source code are included.
All Modbus master and slave derivatives are supported: Modbus RTU, ASCII, TCP, PLUS.
A ready-to-run HMI application and associated VB6 source code are included.
Try JagusDataLogger ( http://jagusits.netfirms.com ). You can use VB6 or .NET with it.
Martin
Martin
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2010 Nerds in Control, LLC. All rights reserved.
Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.
Fortune
Mistakes are often the stepping stones to utter failure.



