FB_XmlSrvIsObfuscationEnabled

The FB_XmlSrvIsObfuscationEnabled function block queries whether the obfuscation mode is enabled or disabled.
Inputs
VAR_INPUT
sNetId : T_AmsNetId;
bExecute : BOOL;
tTimeout : TIME := T#1m0s0ms;
END_VARName | Type | Description |
|---|---|---|
sNetId | 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. |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
nErrId : UDINT;
bEnabled : BOOL;
END_VARName | 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. |
bEnabled | BOOL | This output indicates with TRUE that the obfuscation mode is enabled. FALSE indicates disabled. |
Requirements
Development Environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT v3.1 Build 4024.55 | PC or CX (x86, x64, Arm®) | Tc2_XmlDataSrv |