E_OpenPath

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

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

Requirements

Development environment

Target system type

PLC libraries to include (Category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_System (System)