Sign in to follow this  
Followers 0
Guest Guest_oronzo_canà

Beckhoff Twincat OPC server

2 posts in this topic

Hi all , i'm a newbie here , but i'm not new in PLC stuff. I'm developing a human-machine interface in Visual Basic for monitoring some variables in a Twincat applications , but i can't read exact value of some boolean variables : when i log in TwinCat PLC control they seems true , but when i try to read them in VB panel they look false. If i post Twincat PLC source code + Twincat OPC server settings + Visual Basic source code , is there anyone that can help me to find the bug? Sorry for my bad english , i'm italian.

Share this post


Link to post
Share on other sites
First, just program a bit to toggle on & off in the PLC every 2-3 sec. Then start up the opc server and verify the bit using an opc monitoring program. I've never used Twincat but all OPC servers are usually the same or similar. With Kepware OPC Server they provide a quick client so that you can monitor your values. Once you have that working then post your VB code, and I'll give it a try. What version of vb are you using?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0