{}

我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
搜尋常見問題
OFS : Pack (Unity) vs OFS Consistency Level (Strict, Debug) ? Does XVM change ?

There is no link between the 'Pack' and OFS.
When a 'Pack' is recommended, 'MEM' is displayed in red in the status bar of Unity Pro. (Indeed, the memory becomes fragmented after Unity modifications and sometimes a Pack is required).
The 'Pack' needs to be done in connected (Run or Stop)
The 'Pack' doesn't modify the XVM file.
Indeed, the 'Pack' is done on the Physical Memory, not on the Logical Memory ; so all variables (located and unlocated) keep their addresses.
On 'Pack' the Physical Memory is changed and OFS is not impacted (whatever the Consistency configured : Strict or Debug) because the Logical Memory (e.g. unlocated data) is not changed.

E.g.
In Unity, add / delete unlocated DFB instances (which are included in the User Data / Declared Data as seen in the Memory Usage screen).
In OFS (Server and Client), there is no Bad Quality on these unlocated data during and after the Pack.

Copy/Paste of the Unity Output window :
"Packing PLC Memory...
Downloading and Executing On Line Changes...
Process succeeded  : 0 Error(s) , 0 Warning(s)"

施耐德電機Taiwan

探索更多
系列:
可能有幫助的文章
探索更多
系列: