Technical FAQs

Ask a Question

How to update maintain the value of %SW94 and %SW95 in case of “Update Init Values with Current Values”

Question:
In Unity, %SW94 and %SW95 is used to identify the application modification.
However this signature changes when you “Update Init Values with Current Values” and followed by “Update Local Init Values with PLC Init Values” and  do the corresponding build.
How to update maintain the value of %SW94 and %SW95 in case of “Update Init Values with Current Values”?
 
 
Answer:
Every build operation will change the application signature even there is no logic modification because the build operation regenerate the codes by which new ram allocation might occur.
However, there is the alternative way to meet the customer’s requirement. Instead of click "Update Local Init Values with PLC Init Values", customer could directly upload the application from PLC following "Update Init Value with Current Value"
Afterwards, implement the "save" for the uploaded application. 
By this operation, the %SW94 and %SW95 will retain.
Was this helpful?
What can we do to improve the information ?