Commissioning and configuration
Example: Inclination around the y-axis, "Pitch"
Y
0°
+
-
g
Formula:
Implementation in TwinCAT:
IF NOT ((ay = 0) AND (az = 0)) THEN
pitch := ATAN(ax / (SQRT(ay * ay + az * az))) * 360/(2*3.14);
END_IF
(Note: the IF statement prevents division by zero)
36
Version: 1.0
EP3751-0160