An example and explanation is provided in the latest Sample Models.
And of coure, like pretty well everything in ControlDraw (and unlike say Visio) the data becomes available for use in Queries and even calculations.
Tips, Tricks and Release information about ControlDraw Automation Modelling Software
So, to help PLC/DCS programmers with this, the latest version of ControlDraw has added a function to generate the data table in a form that is compact and can be easily entered into a PLC or similar. It compacts all the values in the rows into as small a memory block as possible.
(Note - if PCS's had a language that supported such multi-dimensional arrays this would not be needed, however that is not something that I have in practise seen.)
View > Matrix Data Table >Matrix as Boolean for example generates the following text that you can copy to the clipboard:
Row Bool Name
0 00100 'Shutdown
1 00001 'Ready
2 01100 'Fast Fill
3 10100 'Slow Fill
4 00000 'Mix
5 00110 'Transfer
---- Mapping:
Bits required = 5
Bits 0 to 1 set EM02
Bit 2 sets em Fixed Speed Agitator
Bits 3 to 4 set em Feed
You can also generate the table as integers, hex or octal
Note - this is now part of the standard S88 Reference model library that comes with ControlDraw
This shows how to build the object and instance tables from a model.
Note - it is only the first time you do this or after you change the data design that you have to build the tables in the Data Designer.
Note also how inherited fields may require that you run Update Derived fields more than once, as the values cascade down the levels of the hierarchy
Next , Diagram Review Status
Each diagram in a model has a review status, which you set from the diagram details or the list of diagrams in >Database >Views
You can use these to establish the progress on each diagram.
It is also good practise to lock diagram once they have been approved, issued for implementation and so on. As well as preventing accidental change to a diagram, locking them enables the finest level of version control whereby you can unlock a diagram, edit it, and then record the changes along with the reason for them.