Pruthviraj Posted August 5 Report Posted August 5 why do all my word & double word global label go to zero when i download my R32SFCPU plc?
Crossbow Posted August 5 Report Posted August 5 Are you downloading device memory? Are they set up in parameters to be latched? Several reasons possible...
Parky Posted August 5 Report Posted August 5 you should not download the data memory unless you have uploaded a copy previously as the data stored on disk may not be the same as in the PLC. For example assume you have uploaded to your PC the Data Memory (Normally called MAIN) but you have changed things like stored data in a recipe etc. downloading from your PC to PLC will overwrite it to a previous data. Normally if making changes to a program only download the plc logic & perhaps the PLC Parameters etc. when you have set any data via an HMI or within the program in D words for example take an upload of that data as a start point if you need to replace the plc or it loses it's memory. also some data areas are non retentive so you need to check the PLC Parameters & if required set the latch ranges & download the parameters. ensure retentive (Latched) data is in the range set in those parameters.
Pruthviraj Posted August 5 Author Report Posted August 5 when I download even though I have not selected the device memory it goes back to 0 & for the parameter please check below image and let me know if any corrections are required.
Crossbow Posted August 5 Report Posted August 5 Your photo does not show the Detailed Settings for latched memory areas, so we cannot tell what you have configured to be battery backed. Also keep in mind any changes to parameters typically require a power cycle to take effect, and that will zero out all non retentive addresses.
Parky Posted August 5 Report Posted August 5 Double clock on Device/label setting area & there is the latch ranges
Parky Posted August 7 Report Posted August 7 Yes sort of you need to assign latch areas for retention of data or when the PLC is powered down ones that are not latched will reset to zero & to get stored values off line you have to give the global label an actual address & compile & download, read the data main to your project & you will have a copy of the data in those registers as the symbols without an actual address when compiled these are allocated special addresses at compile time so you do not know which ones are which.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now