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