T_HFoe

“File access over EtherCAT” handle. Before the handle can be used, it must be initialized once with the function block FB_EcFoeOpen. The variables of this structured type must not be written directly.

TYPE T_HFoe :
STRUCT
    sNetID  : T_AmsNetId  := '';
    nPort   : T_AmsPort   := 0;
    handle  : UDINT       := 0;
    eMode   : E_EcFoeMode := eFoeMode_Write;
END_STRUCT
END_TYPE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_EtherCAT