3/18/2009 12:51 AM | |
Joined: 10/7/2005 Last visit: 9/29/2023 Posts: 2989 Rating:
|
Dear FatRich Assuming anFC/FB isbeing called, its online LAD/FBD status (dashed orsolid) depends on the status of the Blocks "ENO". The "ENO" in turn reflects the status of the "BR" bit (bit8 of the status word) which itself is manipulated by a number of instructions. Nothing to get to confused or worried about though, if you want to ensure that the Block is always "solid" (and having the ENO "switched on") when monitoring it all you have to do is the following: If you program in LAD/FBD use a bit that is always "1" to drive a"SAVE" coil (to be found in the Bit logic elements container) as the last network in your FC/FB (and make sure you always execute the last network). If you program in STLuse"SET""SAVE"as the last two lines before you exit the block. Have a look at the online help of the "SAVE" instruction, thelinks to the "BR" bit and search the inbuilt S7 help for "Program Status Display" to get some more detail/info on this. Note too that a conditonal FC/FB block end via the "RET" instruction (to be found in the program controlelements container) will also set the BR bit (and as such "switch on"the ENO). I hope this helps Cheers Fritz |
Cheers |
|
This contribution was helpful to
6 thankful Users |
3/25/2009 10:58 AM | |
Posts: 24 Rating:
|
Thank youFritz. |
Follow us on