TcRelease

The TcRelease() method decrements the reference counter and returns the new value. If the reference counter is 0, the object deletes itself.
Return value
VAR_OUTPUT
TcRelease : UDINT;
END_VARName | Type | Description |
|---|---|---|
TcRelease | UDINT | The resulting reference count value is returned. |
Inputs
VAR_INPUT
(*none*)
END_VARRequirements
TwinCAT Version | Hardware | Libraries to be integrated |
|---|---|---|
TwinCAT 3.1, Build 4020 | x86, x64, ARM | Tc3_Module |