SetZero
Set the coordinates of this position to '0.0'.
Syntax
Definition:
METHOD SetZero
Example: PositionXY.SetZero
PLC declaration
VAR
position : PositionXY;
END_VAR
PLC implementation
position.x := 0.3;
position.y := 0.5;
position.SetZero();
Expected result
position.x = 0
position.y = 0