Sorry, I missed this post and replies.
___________________________________________________________
kamenges : I think you missed the point, its the documentation (comment fields) I was referring to.
___________________________________________________________
venkat2k : I understand your 'solution' OK.
However, consider the following :
Creat a UDT = "RECIPE" of, say, 50 elements (mixture of REALs, DINTs, TIMERS, etc., etc., then add comments to all the UDT elements, describing the 'ingredients' of the recipe, eg. units of quantity, supplier perhaps etc......
Now create the useful TAG = "RECIPE[100]"
Now tell me how the 5,000 UDT element descrptions get documented in the array.....
___________________________________________________________
Anyway, guys, the solution is 'just around the corner'.
Version 13 of RSLogix5000 will have 'Pass-thru' documentation. This will allow a tag element to appear to have the same documentation as the UDT, but what is happening is that the UDT comments are passed forwards to the TAG elements for ladder and monitor display (and presumably for printing).
This will have the added advantage of not bloating the documentation database with identical entries for all the 'typed' tags, while still allowing for the individual tag element descriptions to be edited.
All that remains now is to get the opportunity to use Version 13 !!
regards,
dave b