Added motor attachment query

General command query 124 checks the attachment state of each of the
motors.