Data Dictionary Support
- Last UpdatedSep 28, 2021
- 1 minute read
To support OFS Data Dictionary, OFS version 3.6 (or later) needs to be installed.
OFS version 3.6 introduced a new specific item, #PLCDataDicReady, which provides the status of Data Dictionary in OFS for each device alias.
The #PLCDataDicReady item can be equal to the following values:
-
0: indicates that the PLC Data Dictionary is not configured for this alias (in the OFS configuration tool).
-
1: indicates that the PLC Data Dictionary is not available. This may occur if OFS is still in the process of loading the Data Dictionary, or the Data Dictionary is not set in the UnityPro application (which means it is not embedded in the PLC).
-
2: indicates that the PLC Data Dictionary is available.
The driver checks the status of the #PLCDataDicReady item. If the value of the item is equal to 0 (data dictionary is not enabled in OFS configuration tool), or 2 (data dictionary is loaded), it adds the OPC items and sets the I/O device online.
Note: Data Dictionary must be either enabled or disabled in both the OFS configuration tool and the UnityPro application, otherwise the value of #PLCDataDicReady will be equal to 1 and the driver will not put the I/O device online.