Studio 5000- Went to edit a rung online . Have 3 rungs with R , r , i

Don't know about CLX, but on Siemens S5 (and probably on S7), the memory is organised like a hard disk i.e. it has a type of File allocation table, when a block is transferred (either in run or stop) the block is transferred to un-occupied memory, on the NON scan cycle the "FAT" table where the block address is allocated is replaced by the location of the new block, this is why Siemens have had the ability to download the whole program while in run mode.
However, Siemens have had OB's, PB's FB's, DB's since the early 80's so the program has never been one compiled block of code, in the early days, the memory on the S5's used to get full as the original blocks were not removed, so after a few modded blocks had been downloaded a compress of the memory had to be done via the programming IDE, later either the firmware and (or) the IDE was changed so that on every download the memory was automatically compressed & the old blocks moved, perhaps this is what Daba is on about.
I know this for a fact as it is possible by using logic to find the address & length of a block.
 
Daba,
You are right about me getting my terminology wrong, regarding copying the whole routine, although not obviously clear, I was refering to Structured text routines, as I stated in my second post, it didn't apply to ladder routines.
 
Daba,
You are right about me getting my terminology wrong, regarding copying the whole routine, although not obviously clear, I was refering to Structured text routines, as I stated in my second post, it didn't apply to ladder routines.

Which is why I surmised the whole Routine is edited as one "rung", or "piece of code"

Next time you edit a ST Routine online, check the memory usage like I did with ladder. I think you will find it "edits" the whole routine, not just a single line or lines...

If I had the licence to, I would check myself ....
 

Similar Topics

Hi Everyone. Not posted on here for a long time, but I am hoping someone can help me. I am doing a differential pressure calculation in a L27ERM...
Replies
2
Views
20
Hi, how do I convert 2x Integer registers to a Real? The two integers are from Modbus registers that contain a floating point value, I need to...
Replies
2
Views
104
What is the best way to extract the hour and minute from the register that comes from Yaskawa VFD. In studio 5000 I have a register saved as INT...
Replies
3
Views
103
I have an Allen Bradley temperature switch that I am trying to use in studio 5000. I am getting the message "Unable to interpret the IODD file"...
Replies
0
Views
64
Hi all. I want to ask what may seem a stupid question, as I have a project to send live data to a Yeacode line printer which will print meterage...
Replies
10
Views
190
Back
Top Bottom