Hello!
I have a problem using FC 5 and FC 6 inside an FB.
I try to use a local IN variable for the send input to FC5, but SIMATIC does not allow me. I try to use datatype ANY, which is the same as used inside FC5 for this variable.
I will write the input to this FB input in this format : P#DB102.DBX0.0 BYTE 20,
this is the same as if you write it directly to FC5.
What kind of variable type can I use to make it work?
When I use ANY, I does not allow it on FC 5, the letters are red, and I can,t save it.
Thanks alot for answers
Andreas
I have a problem using FC 5 and FC 6 inside an FB.
I try to use a local IN variable for the send input to FC5, but SIMATIC does not allow me. I try to use datatype ANY, which is the same as used inside FC5 for this variable.
I will write the input to this FB input in this format : P#DB102.DBX0.0 BYTE 20,
this is the same as if you write it directly to FC5.
What kind of variable type can I use to make it work?
When I use ANY, I does not allow it on FC 5, the letters are red, and I can,t save it.
Thanks alot for answers
Andreas