Matchu04
Lifetime Supporting Member
I have been trying to get a better understanding of interface parameters. What I understand is;
- In;
A Input from a calling block
- Out;
A Output from the calling block
- In_Out;
A Parameter that is from the calling block which is processed by the called block and then returned to the calling FB.
- Temp;
A local stack that is used as temperary storage while a the block is being processed. This is then cleared once the block call has finished.
-Stat;
A perminate place to store data that can be asscess globally.
Could someone see if my understanding is correct, or has a better was to explain it, maybe some examples. Im really strugging with the in_out parameter.
I have attached a doc from a seimens manual showing and example project. The motor has been defined as a in_out when I would thought it would be an out.
- In;
A Input from a calling block
- Out;
A Output from the calling block
- In_Out;
A Parameter that is from the calling block which is processed by the called block and then returned to the calling FB.
- Temp;
A local stack that is used as temperary storage while a the block is being processed. This is then cleared once the block call has finished.
-Stat;
A perminate place to store data that can be asscess globally.
Could someone see if my understanding is correct, or has a better was to explain it, maybe some examples. Im really strugging with the in_out parameter.
I have attached a doc from a seimens manual showing and example project. The motor has been defined as a in_out when I would thought it would be an out.