Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

read data from TWINCAT system

read data from TWINCAT system

read data from TWINCAT system

i am not sure if anybody here can help me with this but I have an injection moulder running proprietary software on a TWINCAT system. I spoke with rep at twincat and he said that I can potential write a program to read the I/O from the twincat and do as I please with it in my program.

i looked at the TWINCAT System Manager and have no idea how to go about reading the IO. Any help is greatly appreciated.

RE: read data from TWINCAT system



write a program to read the I/O from the twincat
Is it the "TwinCat" that you need to interface to or your proprietary program.  Does the TC get the data from this program?

The TC archeticture is fairly roubust and is capable of interfacing to many bus types including the winxx platforms. I am not sure of what data you are attempting to capture.

You can look at this link and maybe find your answer or post back with a bit more detail.

TwinCat I/O

"I know everything..I just can't remember it all"

RE: read data from TWINCAT system

I need to interface with the "TwinCat". The Proprietary program controls the Inj. Moulder through the 'TwinCat' and also displays info (pressure, cycle time, etc...) on an HMI. I want to send data to my server (sql 2000 DB ideal) everytime the inj. mld. cycles. i would like to start of with just counting the cycles and then I will look at the various I/O and see what they represent.

In the end i want to write small apps in VB to display this data on PCs on the network. I don't know how ti interface with 'TwinCat' using VB. I am not sure if this is making sense to anyone. I think i am over my head but I am reluctant to admit defeat.

RE: read data from TWINCAT system


Did you look at the link that I provided?

It really is all there

"TwinCAT I/O - I/O connection to Windows programs"

On their site in the left panel go to twincat and find connectivity.

As I do not have access to the installation that you have I can not determine which bus type that has been used to connect to your twincat. You must first determine how the equip is talking before you can attempt to capture any of the information.

Your molder is probably controlled by some PLC and that is interfaced to the twincat via some bus archeticture, once in the twin cat they provide all the hooks to move it to a Windows PC and application.

From the TwinCat Site


TwinCAT I/O is a real-time driver for Windows programs running under Windows NT/2000/XP. Program variables, the I/O devices present in the system and the connected I/O channels are brought into the proper relationship with one another.

Many of the com protocols are IEEE based and if you find that you are using say IEEE RS-488 or any other you can get the info on decipheiring the bit stream at their site.


"I know everything..I just can't remember it all"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close