GUID_TO_REGSTRING

This function converts a structured GUID variable into a registry GUID string variable (enclosed in curly brackets).
 Return value
Name  | Type  | Description  | 
|---|---|---|
GUID_TO_REGSTRING  | STRING(38)  | 
  | 
 Inputs
VAR_INPUT
    in : GUID;
END_VARName  | Type  | Description  | 
|---|---|---|
in  | GUID  | 
  | 
Return value  | Meaning  | 
|---|---|
'{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'  | No error (‘x’ is a hexadecimal nibble)  | 
'{00000000-0000-0000-0000-000000000000}'  | No error, GUID has the initial value (all bytes are zero)  | 
Requirements
Development environment  | Target platform  | PLC libraries to be integrated (category group)  | 
|---|---|---|
TwinCAT v3.1.0  | PC or CX (x86, x64, Arm®)  | Tc2_Utilities (System)  |