Read/Write register between TWIDO PLC and VB 6.0

A

Thread Starter

ariez

Hi all,

how to read/write register between TWIDO PLC & VB 6.0 directly???? without OPC server. can anyone give me the source code please??

is each PLC have different code for read/write from VB 6.0??

thanks,

regards,

ariez
 
If I remember well, the Twido PLC is modbus enabled...
So if I'm right, you'll find a lot of stuff in VB and modbus protocol... Good luck!
 
TWIDO controllers support Modbus Master and Slave.

Check out http://www.automatedsolutions.com for a line of Modbus ActiveX Controls. Master and slave are available.

Fully functioning evaluation versions are available for download. VB6 example source code is included.
 
Look this website: http://www.modbus.pl
In the Twido you can read the %MW and the %M area.
If you use the programming cable You must set 19200, 8,1,None and slave address :1 .

Best regards!
Lothar
 
Use SIMATIC S7-200 it has some thing called PC access which will help you to connect to VB..

I am sure it will help you too
 
If I'm not wrong, twido modbus addrees = VB modbus address + 1. So if you want to read 4002 at twido, you must read 4003 at VB.

Rgds,
CH
 
hi,

I am working on a student project. I wish to know which cable would you use to connect a twido plc to pc. for modbus protocol is it the programming cable. have few more questions regarding scada for twido. will ask when i get a reply for these questions.
 
D

Daniel Spiteri

If you want to talk directly PC to twido, you have to use a cross over cable ethernet cable. If you are going through a LAN system then all cable must be straight.

it pretty easy, Let me know if you still have trouble.

Dan
 
Top