FB_XmlSrvDisableObfuscation

FB_XmlSrvDisableObfuscation 1:

The FB_XmlSrvDisableObfuscation function block disables the obfuscation mode.

FB_XmlSrvDisableObfuscation 2: Inputs

VAR_INPUT
    sNetId      : T_AmsNetId;
    bExecute    : BOOL;
    tTimeout    : TIME := T#1m0s0ms;
END_VAR

Name

Type

Description

sNetId

T_AmsNetId

String containing the network address of the TwinCAT 3 XML Server. For the local computer (default) an empty string may be specified.

bExecute

BOOL

The function block is activated by a positive edge at this input.

tTimeout

TIME

Maximum time allowed for the execution of the function block.

FB_XmlSrvDisableObfuscation 3: Outputs

VAR_OUTPUT
    bBusy   : BOOL;
    bError  : BOOL;
    nErrId  : UDINT;
END_VAR

Name

Type

Description

bBusy

BOOL

This output is set when the function block is activated and remains set until feedback is received.

bError

BOOL

This output is set up after the bBusy output has been reset if there has been an error in transmission of the command.

nErrId

UDINT

If the bError output is set, this parameter returns the TwinCAT 3 XML Server error number.

Requirements

Development Environment

Target platform

PLC libraries to include

TwinCAT v3.1 Build 4024.55

PC or CX (x86, x64, Arm®)

Tc2_XmlDataSrv