SNK
Member
I recently ran into a problem with a line that was using a Siemens S7-200 Processor, no expansion modules. I am very familliar with AB products, and am aware that all Timer Data files are stored in the processor and are stored in the offline image as well when uploaded.
My problem is this, someone deleted all of the recipes in the program...and I needed to get everything back to a default settings condition.
In the S7-200 program that was shipped with the project, the data-block included in the offline image is full of 0's, so the data was not stored in the offline image.
Once the operators set the machine back up to original settings (ie-timers and counters), I uploaded the file and saved it as a different name, in order to preserve the original. I made sure that the data blocks check box was checked, and uploaded. I also uploaded the DATA BLOCK from RAM as indicated. I can now see in the data in the data block that was uploaded. The problem is, the values seem to be in VB1002 format, with a HEX value attached.
In the program, I need access to word VW1002 (for example)which should represent a timer preset in the program.
How in God's name am I supposed to read the values in those particular locations?
I have pasted the list in the DB below...
My problem is this, someone deleted all of the recipes in the program...and I needed to get everything back to a default settings condition.
In the S7-200 program that was shipped with the project, the data-block included in the offline image is full of 0's, so the data was not stored in the offline image.
Once the operators set the machine back up to original settings (ie-timers and counters), I uploaded the file and saved it as a different name, in order to preserve the original. I made sure that the data blocks check box was checked, and uploaded. I also uploaded the DATA BLOCK from RAM as indicated. I can now see in the data in the data block that was uploaded. The problem is, the values seem to be in VB1002 format, with a HEX value attached.
In the program, I need access to word VW1002 (for example)which should represent a timer preset in the program.
How in God's name am I supposed to read the values in those particular locations?
I have pasted the list in the DB below...