CODESYS Development System
块的两个实例 POU_ex 在主程序中创建 PLC_PRG . PROGRAM PLC_PRG VAR POU1 [...] 2 : POU_ex; END_VAR POU1
CODESYS Development System
: PLC_PRG() erg := PLC_PRG.out2; 分配参数: PLC_PRG(in1:=2, out1
CODESYS Development System
PLC_PRG VAR fb_Something_1 [...] _TYPE PROGRAM PLC_PRG VAR a [...] _VAR ... ; PROGRAM PLC_PRG VAR a
CODESYS Development System
以用枚举组件初始化。 PROGRAM PLC_PRG VAR [...] 。 PROGRAM PLC_PRG VAR cb [...] _TYPE PROGRAM PLC_PRG VAR e
CODESYS Development System
PROGRAM PLC_PRG VAR r [...] 值数 记忆 REAL 1.0E-44 3 [...] .94065645841247E-324 1
CODESYS Development System
. 有效声明 PROGRAM PLC_PRG [...] 就是 FALSE . PROGRAM PLC_PRG [...] := Ref^ Ref1 := Ref
CODESYS Development System
PLC_PRG VAR frame [...] := -1; END_TYPE 例 213
CODESYS Development System
. 错误示例: PROGRAM PLC_PRG_1 [...] := 0; PROGRAM PLC_PRG [...] := 1; 信息: C0165:映射
; PROGRAM PLC_PRG_1 [...] _GLOBAL g_iTemp1: INT; END_VAR PROGRAM PLC_PRG
CODESYS Development System
> INT#10; PROGRAM PLC_PRG_1 [...] > INT#10; PROGRAM PLC_PRG_1 [...] ; PROGRAM PLC_PRG