For the information of limit switch, we could check the input_pin_states. The code is 0x219A. The key is to check the pins "6, 7, 8" and "16, 17, 18).
PS. The pin state here also contains the information of interlock. The details can follow: DM-28434.
For the implementation of low-level controller, the code is:
1. https://github.com/lsst-ts/ts_hexapod_controller/blob/develop/src/utility.c#L42-L44
2. https://github.com/lsst-ts/ts_hexapod_controller/blob/develop/src/drives/drive.c#L459-L464
It looks like the copley_fault_status_register (or 0x1002) gives more information (page 61 in All-CANopen_Programmers_Manual-Manual.pdf
). The bit value in use in EUI now is:
List the interested bit value of 0x1002 in the following:
Bit 9: Positive limit switch active
Bit 10: Negative limit switch active
Bit 27: In motion (I guess this can be seen as the "Actuator moving")
I do not find something called the "kill switch".
This was first seen for the M2 Hexapod. Today I confirmed for the Camera Hexapod.