Now we have both State tags and the hal_port pin type in master branch, it occurred to me that it might be possible to publish the state tags structure to a hal_port pin and a component could check motion.motion_type or the tag type to determine the data contained in hal_port.
A cursory read indicated that different classes of tags had different structures. I'm particularly interested in being able to retrieve the arc radius when the current segment is an arc. Is this feasible? Could somebody explain how to go about doing something like this? If we could pull this off, it would allow easy access to the state tags from a custom component instead of letting state tags sulk in the EMC folder. Any help and advice would be appreciated. Rod Webster *1300 896 832* +61 435 765 611 VMN® www.vmn.com.au _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
