The global constant list (GCL) contains global constants which are used by certain components of this library. The parameters can be edited individually for each application where the library is used. The modification must be done within the
of the project where the library is referenced.
Variable |
Data type |
Value |
Description |
---|---|---|---|
Gc_udi2D |
UDINT |
2 |
Number of dimensions in a 2D space. |
Gc_udi3D |
UDINT |
3 |
Number of dimensions in a 3D space. |
Gc_udi4D |
UDINT |
4 |
Number of dimensions in a 4D space. |
Gc_stMatrix2DNull |
SE_MATH.ST_Matrix2D |
alrElement := [0, 0, 0, 0] |
A 2D matrix which elements are all zero. |
Gc_stMatrix3DNull |
SE_MATH.ST_Matrix3D |
alrElement := [0, 0, 0, 0, 0, 0, 0, 0, 0] |
A 3D matrix which elements are all zero. |
Gc_stMatrix4DNull |
SE_MATH.ST_Matrix4D |
alrElement := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ,0 ,0 , 0 ,0, 0 ,0] |
A 4D matrix which elements are all zero. |
Gc_stVector2DNull |
SE_MATH.ST_Vector2D |
lrX:= 0.0, lrY := 0.0 |
A 2D vector which elements are all zero. |
Gc_stVector3DNull |
SE_MATH.ST_Vector3D |
lrX:= 0.0, lrY := 0.0, lrZ := 0.0 |
A 3D vector which elements are all zero. |
Gc_stMatrix2DIdentity |
SE_MATH.ST_Matrix2D |
alrElement := [1, 0, 0, 1] |
A 2D identity matrix. |
Gc_stMatrix3DIdentity |
SE_MATH.ST_Matrix3D |
alrElement := [1, 0, 0, 0, 1, 0, 0, 0, 1] |
A 3D identity matrix. |
Gc_stMatrix4DIdentity |
SE_MATH.ST_Matrix4D |
alrElement := [1, 0, 0, 0, 0, 1, 0, 0, 0, 0 ,1 ,0 , 0 ,0, 0 ,1] |
A 4D identity matrix. |