S7 diff. bet FB & FC & all data in FB need to be available to any block or only STAT
I am newbie in S7. I want to know difference between FB & FC. I know that FB & FC can be parameterized with IN, OUT, IN-OUT and TEMP. and only FB has STAT. My question is value of these parameter (IN,OUT,IN-OUT , TEMP and STAT) for FB to be available at any time to any block during the execution of PLC program or only ‘STAT’ parameter to be available to any block during the execution of PLC program.
And Only FC has RETURN/RET_VAL . what is that mean and what is it returning?
I am newbie in S7. I want to know difference between FB & FC. I know that FB & FC can be parameterized with IN, OUT, IN-OUT and TEMP. and only FB has STAT. My question is value of these parameter (IN,OUT,IN-OUT , TEMP and STAT) for FB to be available at any time to any block during the execution of PLC program or only ‘STAT’ parameter to be available to any block during the execution of PLC program.
And Only FC has RETURN/RET_VAL . what is that mean and what is it returning?