ST_IEC870_5_101AOCfg

ASDU object configuration parameters. These parameters are set during configuration of the data points ( F_iecInitAOEntry or F_iecAddTableEntry ) and should not be written directly from the PLC application.

Syntax

TYPE ST_IEC870_5_101AOCfg:
STRUCT
    group       : DWORD := IEC870_GRP_INROGEN;
    multiplier  : BYTE := 0;
    ioMapType   : E_IEC870_5_101IOMappingType := MAP_AREA_NONE;
    byteOffs    : UXINT := 0;
    bitOffs     : UDINT := 0;
    hUser       : UXINT := 0;
END_STRUCT
END_TYPE

group: Object group configuration flags. A description of all group flags can be found here. The flags can be combined with an OR operation. Not all combinations are meaningful!

multiplier: Basic cycle time multiplier for cyclic/periodic data transfer. 0 = deactivated. The basic cycle time can be configured via the tPerCyclicBase parameter in the system parameters.

ioMapType: TwinCAT PLC process data area. This parameter defines the mapping for the TwinCAT PLC and IEC application object process data.

byteOffs: TwinCAT PLC process data byte offset (x86 platform => max. 32 bit, x64 platform => max. 64 bit).

bitOffs: TwinCAT PLC process data bit offset.

hUser: Optional user handle. Freely definable value, also pointer (x86 platform => 32 bit, x64 platform => 64 bit).

Requirements

Development environment

Target system type

PLC libraries to be linked (category group)

TwinCAT v3.1.4012.0

PC oder CX (x86, x64, Arm®)

Tc2_IEC60870_5_10x (Communication->IEC60870)
Tc2_SerialCom (Communication->Serial)
Tc2_TcpIp (Communication->TcpIp)
Tc2_Utilities (System)