FW 250 in S5?

uptown47

Lifetime Supporting Member
Join Date
Feb 2008
Location
Over there, next to those boxes
Posts
1,146
Hi all

I'm busy converting an S5 program to S7.

I've come across FW 250 which I changed to MW 250 in my S7 program but something is niggling at me regarding Flag Words 250 and above... I'm not sure what it is?

Is it that these are retentive or something... somewhere in the darkest parts of my alcohol soaked skull I seem to recall that these flag words are special somehow..

Does anyone know whether this is the case or did I simply dream it?

:)
 
In S5, FB200 to FB255 are the so-called 'scratchpad flags' and were often used for temporary storage inside reusable FB's.
Check within the particular program before using any flags in this range.
 
Thanks for the information

I'm not using any flags within the area, just converting to S7. I'm just going to convert FW 250 - MW 250, FW 252 - MW 252 etc

Can you see any potential problems with that?

(Its a 314C so MW 252 isn't out of its range)

Thanks for your help

:)
 
The reason FW250 and above were used as scratch pad flags was because Siemens used these in their standard blocks as scratch flags.

If you are converting to S7, you would not need to do the same as S7 has built in scratch flags in the temp area.

It would be good practice to use the temp area instead, as these can be given a name appropriate to its use in the block, whereas using a scratch marker area, you could not give a meaningful name.
 
PeterW

Sorry for my ignorance but am I right in thinking that you are referring to the Variable Declaration Table.?

So, I would just declare some TEMPs in the VDT and use these in place of FW (MW) 200 and above...

Again, sorry if that's a daft question, thanks for your patience and clarification.

Cheers

:)
 
Yes declare the temp/scratch bit/word, etc, in the temp declaration area at the top of the block.

Scratch flags are always contained in the block and must be conditioned before use and thrown away when the block is exited.

This is exactly what the temp flags are, with the added advantage that you can give them a meaningful name, so anyone can understand what they are.
 

Similar Topics

Hey guys, I'm at a bit of a loss with a problem I'm having with some PVP 1250s and hoping for some advice. In firmware and application version...
Replies
0
Views
302
Does anyone have the installation files only (not the license) for the Allen-Bradley 6200 software for the PLC 5/250 (also known as Pyramid...
Replies
3
Views
1,225
Hello, I want to make touchscreen push buttons invisible based on certain conditions. When these conditions are true, these buttons will become...
Replies
1
Views
999
I am working on a project where i need to modify screens on an old PV+1250 with V5.0 firmware. I can import the application fine into FTME Studio...
Replies
7
Views
2,139
Hello team I have any issue with the AB PanelView 6 1250 with 11 firmware install We have 8 in total and about 6 of them if you reboot them or...
Replies
4
Views
1,483
Back
Top Bottom