E_OpenPath

TYPE E_OpenPath :
(
    PATH_GENERIC    :=1,    (* search/open/create files in selected/generic folder *)
    PATH_BOOTPRJ,       (* search/open/create files in the TwinCAT/Boot directory (adds the extension .wbp) *)
    PATH_BOOTDATA,      (* reserved for future use*)
    PATH_BOOTPATH,      (* refers to the TwinCAT/Boot directory without adding an extension (.wbp) *)
    PATH_USERPATH1  :=11,   (*reserved for future use*)
    PATH_USERPATH2,     (*reserved for future use*)
    PATH_USERPATH3,     (*reserved for future use*)
    PATH_USERPATH4,     (*reserved for future use*)
    PATH_USERPATH5,     (*reserved for future use*)
    PATH_USERPATH6,     (*reserved for future use*)
    PATH_USERPATH7,     (*reserved for future use*)
    PATH_USERPATH8,     (*reserved for future use*)
    PATH_USERPATH9      (*reserved for future use*)
);
END_TYPE

The variable of this type selects generic or one of the TwinCAT system paths on the target device to perform the file open operation.

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v2.8.0

PC or CX (x86)

TcSystem.Lib

TwinCAT v2.10.0 Build >= 1301

CX (ARM)

TcSystem.Lib