
Bolt (Customer) asked a question.
I'm trying to import a tag database to a C-more project. My Do-more program uses multiple UDT's, with various discrete and double word fields. I refer to most of these in the program via a FOR/NEXT loop, using relative references, such as Structure[V0].Field. Examining the CSV tag file in a text editor shows that all the fields (32) in my structure are present in the export from DmD 2.8.1. Examining the tag database in CmPS Ver6.61 shows that only 8 are imported, which are all fields that are referenced in the program WITHOUT relative references, such as fields mapped to physical IO. How can I cleanly and accurately import ALL tags into the C-more project?
I believe they'll all import if you assign a nickname to them.
Hi Bolt,
https://www.automationdirect.com/videos/video?videoToPlay=bKfarmcbNXM
The above video may help you out.
I would try selecting all of the options for exporting in the Do-More.
Regards,
Garry
https://accautomation.ca/series/brx-do-more-plc/
https://accautomation.ca/series/c-more-hmi-series-panel/
I got it to work by adding an Element in DmD for the structure, Structure0, Structure1, etc. Gave it a nickname, which then auto-populates the nicknames for the fields in the structure, which with the correct check marks in the File -> Export -> Element Documentation, allows all the fields to be imported into the Cmore project. Thanks!
Thanks for the update Bolt.
Garry