Hello,
I am currently building an FC which calls SFC21 "BLKMOV" from inside it :
CALL "BLKMOV"
SRCBLK :=#PriSec_AnyPointer
RET_VAL:=#Retun_Value
DSTBLK :=#Jokan_PriSec_AnyPointer
I would like to have the source and destination blocks dynamic, in the sense that the can be entered as inputs to my FC. I've tried declaring inputs of type "Any" and passing them into my FC. I've then tried plugging them directly into "SRCBLK" and "DSTBLK" but Step7 will not except them. I keep getting the error : "Declaration range of the actual side VAR_INPUT does not fit the formal declaration range VAR_OUTPUT of the formal parameter DSTBLK"
Any ideas on what I'm doing wrong?
Any help would be greatly appreciated...thank you kindly for your time
Cheers,
R.K.
I am currently building an FC which calls SFC21 "BLKMOV" from inside it :
CALL "BLKMOV"
SRCBLK :=#PriSec_AnyPointer
RET_VAL:=#Retun_Value
DSTBLK :=#Jokan_PriSec_AnyPointer
I would like to have the source and destination blocks dynamic, in the sense that the can be entered as inputs to my FC. I've tried declaring inputs of type "Any" and passing them into my FC. I've then tried plugging them directly into "SRCBLK" and "DSTBLK" but Step7 will not except them. I keep getting the error : "Declaration range of the actual side VAR_INPUT does not fit the formal declaration range VAR_OUTPUT of the formal parameter DSTBLK"
Any ideas on what I'm doing wrong?
Any help would be greatly appreciated...thank you kindly for your time
Cheers,
R.K.