1/3/2022 10:50 AM | |
Joined: 11/4/2011 Last visit: 12/19/2022 Posts: 157 Rating:
|
Hi there, How to set the frame length, as well as LSB and MSB is defined by the encoder you have, so this is nothing that can be varied. The frame length is the length of bits the encoder provides via the SSI telegram. This has to be set correctly at the module, so that it can read out the encoder correctly. If this is not set correctly, you will have issues redaing the encoder, as after each frame length a pause is made on the clock signal, which would be done at the wrong place when setting a wrong frame length. I would usually then expect a diagnostic message from the module (if diagnostics are enabled) that states an issue with the SSI telegram, but some encoders are also very tolerant about this, so this depends. Perhaps the explanation and examples here make this more clear: https://support.industry.siemens.com/cs/de/de/view/59709820/108269126667?dl=en So what you need to do is to set the correct frame length (as defined by your encoder), then with LSB and MSB define where in this frame length the position value is. Some encoders provide additional bits, and with setting LSB and MSB you define where in the SSI frame the position value is, so that the module can then only look at this and not look at the additional status bits (e.g. parity bit). Regards, |
Follow us on