ST_MMS_ApplicationAssociation

TYPE ST_MMS_ApplicationAssociation :
STRUCT
    aaIdentifier    : UDINT := 0;
    authentPassword : STRING(MAX_MMS_PASSWORD_LENGTH) := '';

    services        : ST_MMS_ServiceSupportOptions;
    parameters      : ST_MMS_ParameterSupportOptions;
    nestingLevel    : SINT := 0;


    bAuthentUser    : BOOL := FALSE;(* TRUE = User with authentication, FALSE = User without authentication *)
    eEnvironment    : E_MMS_Environment := eMMS_Environment_None;
END_STRUCT
END_TYPE

aaIdentifier: Application-Association-Identifier.

authentPassword: Authentication-password.

services: Supported MMS-services.

parameters: Supported MMS-CBB-parameters.

nestingLevel: max. interlacing-depth of the MMS-data structure.

bAuthentUser: This variable is set TRUE if you used an authentication-password at the buildup of the application-association

eEnvironment: Status of the MMS- runtime environment.

Requirements

Deveopment environment

Target system

PLC libraries to include

TwinCAT v2.10.0 Build >= 1340

PC or CX (x86, ARM)

TcMMS.Lib