Invert

Invert 1:

Invert this position.

Syntax

Definition:

METHOD Invert

Beispiel: PositionXY.Invert

PLC Deklaration

VAR
   position : PositionXY;
END_VAR

PLC Implementierung

position.SetValuesXY(1, 3);
position.Invert();

Erwartetes Ergebnis

position.x = -1
position.y = -3