Also if you have a very big FBD/LAD network. Switching it to stl and adding NOP 0 to the bottom will keep it in STL when you switch back to FBD/LAD. This is useful if you have dozons of or/and ports. IE:
Code:
A bla1
O bla2
...
...
O bla99
O bla100
= blop
NOP 0
Also if you have a very big FBD/LAD network. Switching it to stl and adding NOP 0 to the bottom will keep it in STL when you switch back to FBD/LAD. This is useful if you have dozons of or/and ports. IE:
Makes sense. But if was compatible with both and you wanted it to show up default as STL (or LAD) would it be possible to change that?
In block properties there are "Created in Language" but it's read only...
Thats true, The block will display the last language which it was saved in. Networks that are not possible to be displayed in FBD/LAD will default to STL.
Sidenote: Always switch to FBD/LAD when adding variables to the temp area of a FB. When in STL it could cause problems with the local addres the auto generated stuff of the FBD/LAD networks.
Sidenote: Always switch to FBD/LAD when adding variables to the temp area of a FB. When in STL it could cause problems with the local addres the auto generated stuff of the FBD/LAD networks.
I need to remember that link; it probably has a home in about half the "my first Siemens project" threads on this site, and most of the rest as well. Some things are so much better explained with pictures than via text.