D300529 0115 - BL67 I/O modules
12-43
BL67-1SSI
12.3.8 Status messages of the SSI encoder
Some SSI encoders not only transfer the position value in the data frame that they transfer to the mod-
ule but also supply additional status messages. I
t is useful to include these status messages in the appli-
cation in order to analy
ze the measured value.
Writing the REG_SSI_MASK register allows up to four
individual bits to be taken from the data frame of
the SSI encoder and transferred to the SSI_STSx bits of the process input data.
It is also possible to output the "
SSI encoder group diagnostics message" with an acyclic diagnostics
operation when a status message is initiated.
Process input
da
ta
REG_SSI_MASK
Byte Bit 7 Bit 6 B 5 B 4 B 3 B 2 B 1
Designation Value Description
The following applies to bit 0 (SSI group diagnostics) of the diagnostics interface and SSI_DIAG of the
process input data:
(SSI_STS0 & EN_D0_DS) || (SSI_STS1 & EN_D1_DS) || (SSI_STS2 & EN_D2_DS) || (SSI_STS3 & EN_D3_DS)
Table 12-8:
Masking with
REG_SSI_
MASK
SSI_STS0 0 EN_ D0_RMS0 EN_D0_DS X SSI_FRAME_BIT_SEL0
SSI_STS1 1
EN_ D1_RMS1 EN_D1_DS X SSI_FRAME_BIT_SEL1
SSI_STS2 2
EN_ D2_RMS2 EN_D2_DS X SSI_FRAME_BIT_SEL2
SSI_STS3 3
EN_ D3_RMS3 EN_D3_DS X SSI_FRAME_BIT_SEL3
Table 12-9:
Description of
d
iagnostic data
A Default
EN_Dx_RMSx 0 A The transfer of the SSI status messages to the process input
data is not activated
1 The transfer of the SSI status messages to the process input
data is activated
EN_ Dx_DS
0A The evaluation of the SSI status messages for bit 0 of the
diagnostics is not activated
1 The evaluation of the SSI status messages for bit 0 of the
diagnostics is activated.
SSI_FRAME_BIT_SEL
0-31 Definition of the selected bits in the frame of the SSI encoder
to be evaluated or copied.
default 0