Hi'
Can anyone tell me why this works.
And This don't
Thanks, Brian
Can anyone tell me why this works.
Code:
FUNCTION_BLOCK FB10
VAR_INPUT
// Imput Variables
Prg_No : INT;
SRC : ANY;
DST : ANY;
END_VAR
VAR_OUTPUT
// Imput Variables
SFCError : int;
END_VAR
// Statement Section
SFCError:=SFC20(SRCBLK:=db101,DSTBLK:=db100);
;
END_FUNCTION_BLOCK
And This don't
Code:
FUNCTION_BLOCK FB10
VAR_INPUT
// Imput Variables
Prg_No : INT;
SRC : ANY;
DST : ANY;
END_VAR
VAR_OUTPUT
// Imput Variables
SFCError : int;
END_VAR
// Statement Section
SFCError:=SFC20(SRCBLK:=SRC,DSTBLK:=DST);
;
END_FUNCTION_BLOCK
Thanks, Brian