Static Variables

Top  Previous  Next

 

Saving results which keep their value within a FB (not OB or FC) from one scan to the next one you can declare static variables.

 

The static variables are saved like the In-, Out- and In-Out-parameter in the instance data block of the FB.

 

Temporary variables

 

Functions

Function Block

Organization Block

Data Type