Hi again!
I've encountered the following problem:
When I try to use a FC with a complex parameter (DATE_AND_TIME, POINTER, ANY...) I'm not able to use it. With simple parameters it's obvious to work with them via the L command, but with these ones greater than the ACU size I don't know how to work with. One way is obvious to work with FB instead of FC but I'd like to know if it's possible to do it with a FC (I think there should be a way to do it, because the FC 6 is a function with a DATE_AND_TIME in parameter).
More graphically what I try to do is:
CALL FC100 (myFunction)
IN := #dtTempDT //Date and Time parameter
Inside FC100:
Input parameter declared as IN0 Date And Time
CALL FC 6
IN := IN0
OUT := DB1.DBW 10
I get an error when I handle IN0 (#IN0 or whatever...)
Regards,
Jorge
I've encountered the following problem:
When I try to use a FC with a complex parameter (DATE_AND_TIME, POINTER, ANY...) I'm not able to use it. With simple parameters it's obvious to work with them via the L command, but with these ones greater than the ACU size I don't know how to work with. One way is obvious to work with FB instead of FC but I'd like to know if it's possible to do it with a FC (I think there should be a way to do it, because the FC 6 is a function with a DATE_AND_TIME in parameter).
More graphically what I try to do is:
CALL FC100 (myFunction)
IN := #dtTempDT //Date and Time parameter
Inside FC100:
Input parameter declared as IN0 Date And Time
CALL FC 6
IN := IN0
OUT := DB1.DBW 10
I get an error when I handle IN0 (#IN0 or whatever...)
Regards,
Jorge