NevisGroup
Member
Hello all:
I am in the process of writing some drivers on a PC that will communicate with a Beckhoff PLC via AMS/ADS .
I can request a handle to a tag and read and write via that handle. No probs....
What I need now is how to get info about a given tag.
ie, is it a bool,int,float, etc.
if it is a struct, what is the make up of the struct?
if is is an array, how big is it?
etc...
I have done a lot of digging through the Beckhoff website.
I have found a few documents that allude to being able to do this and a few examples that use a Bechhoff library to do it.
It kind of looks like I want to use idxgrp 0xf000,0xf001,and 0xf002. But I can not find documentation on these.
If I call them I get responses.
Any pointers?
I am in the process of writing some drivers on a PC that will communicate with a Beckhoff PLC via AMS/ADS .
I can request a handle to a tag and read and write via that handle. No probs....
What I need now is how to get info about a given tag.
ie, is it a bool,int,float, etc.
if it is a struct, what is the make up of the struct?
if is is an array, how big is it?
etc...
I have done a lot of digging through the Beckhoff website.
I have found a few documents that allude to being able to do this and a few examples that use a Bechhoff library to do it.
It kind of looks like I want to use idxgrp 0xf000,0xf001,and 0xf002. But I can not find documentation on these.
If I call them I get responses.
Any pointers?