CODESYS Development System
_PRG VAR fbVar : MyFB; END_VAR Message: C0225: 'fb
CODESYS Development System
_Controller; END_VAR fb [...] LocalVariable : INT; END_VAR // [...] ; END
CODESYS Development System
_namespace'} myStr: STRING; END_VAR An instance fb [...] _PRG: PROGRAM PLC_PRG VAR fb
CODESYS Development System
inst : FB; i : INT; END_VAR i := inst.in_out; FUNCTION_BLOCK FB VAR
CODESYS Development System
: FUNCTION_BLOCK MyFB VAR_IN_OUT inOut : INT; END [...] Value : INT; fb : MyFB
(for example, ptrFb_A: POINTER TO Fb_A; or ptrFb_B: REFERENCE TO Fb_B; ).
CODESYS Development System
variable END_VAR fb [...] _SetStatus; END_VAR fb [...] type>; END
CODESYS Application Composer
END_SEC SEC Create [...] > //optional: yes; type: FB type END_SEC SEC
CODESYS Development System
_BLOCK FB_A VAR_INPUT END [...] variable> END_VAR Syntax [...] )? : Optional END
CODESYS Development System
_Controller; END_VAR fb [...] with initialization> )+ END_STRUCT END_TYPE <structure