SetZero
Set the coordinates of this position to '0.0'.
Syntax
Definition:
METHOD SetZero
Beispiel: PositionXY.SetZero
PLC Deklaration
VAR
position : PositionXY;
END_VAR
PLC Implementierung
position.x := 0.3;
position.y := 0.5;
position.SetZero();
Erwartetes Ergebnis
position.x = 0
position.y = 0