Inclination sensor JN
12
8.4 MEMS self-test (system command 0xB2 and ISDU index 4114)
To check the function of the measurement axes a self-test of the measuring cell
can be carried out.
►
Activate the MEMS self-test per IO-Link system command 0xB2 (ISDU index 2
= 0xB2).
The self-test takes about 2 s. During the self-test both in the ISDU index 4113 and
in the process data (ISDU index 40) the status flag is set to "1".
After the end of the self-test these flags are again set to the value "0". During the
self-test no process data can be measured.
The test result of the individual axes is coded in a byte and can be read from the
self-test register (ISDU index 4114):
00000xxxb
The 3 least significant bits code the internal x, y, z measurement axes
Bit 0: axis faulty
Bit 1: axis functional
9 Parameter setting of the inclination sensor
If the measuring method is set to inclination measurement (ISDU index 4106 = 0),
it can be adapted via the following parameters:
Index Sub-
index
Type
Value
Content
Read /
Write
Length
byte
4100
0
UINT8
Angle calculation
0
→
Perpendicular
1
→
Euler
2
→
Gimbal 1X
3
→
Gimbal 1Y
R/W
4101
0
UINT8
FIR filter step angle
0
→
FIR deactivated
1
→
FIR 10 Hz
2
→
FIR 5 Hz
3
→
FIR 1 Hz
4
→
FIR 0.5 Hz
R/W
4103
0
UINT8
Quadrant
correction
0
→
off
1
→
on (± 180°)
R/W
1
4104
0
UINT8
Teach x / y / z axis
status
1
→
Teach active
(relative measurement)
2
→
Teach inactive
(absolute measurement)
R
1