{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
How to replace the initial values with the current values in the PLC and in the Unity Pro project

Reminder :
During the development of the project you may define some intial values for the located variables (with addresses) and the unlocated variables.
After a download ,these initial values are in a specific zone within the PLC memory in order that after the cold start the initial values will replace the current values.

Based on process needs, sometimes the initial values in the PLC need to be replaced by the current values during PLC runtime. With a few steps, these current values can be made the initial values in the Unity Pro project. Below are details for setting the current values to initial values for both the project and CPU.


Data Editor :

To enable the mechanism for updating initial values with current values, the variable must have the "Save" attribute checked.
In the Data editor you can display the "Save" column by right clicking on the column and selecting 'Customize Columns' which launches the "Column Configuration" tool.




Replacing the INIT values with current values in the PLC (Run time) :

1) Method using logic.
Setting system bit %S94 will move the current value to the INIT value column for all variables which have the SAVE attribute checked.
Once this is complete, %S94 will reset itself, do not hold it on.

2) Method using Unity Pro.
The Unity Pro project must be online and equal to the PLC .
Use the command "Update Init values with Current values" from the PLC menu.

Replacing the INIT values with current values in the Unity-Pro project :

-Using  Unity Pro Version V6.0 (and greater)
1) Replace the init values with current values in the PLC (Run time) using one of the two methods describe above.
2) Update the project using the command "Update Local Init Values with PLC Init Values " from the PLC menu.
3) Save the project.
Looking at the data editor will show that the variables with the "Save" attribute were updated to the new INIT values.

-Using Unity Pro Version V5.0 (and lower)
In these versions the command "Update Local Init Values with PLC Init Values " was not available.
1) Replace the init values with the current values in the PLC (Run time) by using one of the two methods describe above.
2) Upload the project using the command "Transfer project from PLC" in the PLC menu.
3) Save the project.
Looking at the data editor will show that the variables with the "Save" attribute were updated to the new INIT values.

If using Memory Cards: This only functions using memory cards without memory Flash: this means that if "TSXMCP or TSXMFP " memory cards are being used,  Initial values will not be replaced by current values. There is no warning message informing the user that the action is not done.

Schneider Electric Saudi Arabia

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: