|
125 | 125 | 5) Power cycle and the Galil should be available on the network.
|
126 | 126 | 6) Please note : do not overwrite the permanent program resident in the Galil. It can be overwritten as long as it is not made permanent. Other programs, such as homing routines can be downloaded into the device but should not be burnt in.
|
127 | 127 |
|
| 128 | +{#galil_mot_enc_sync} |
128 | 129 | ## Syncing encoder and motor steps
|
129 | 130 |
|
130 | 131 | The Galil keeps two counters: a motor step counter, and an encoder readback. The motor step counter corresponds to
|
@@ -156,15 +157,20 @@ broken encoder.
|
156 | 157 | Even without the resync logic, the open-loop axis may have lost its absolute position, for example due to
|
157 | 158 | motor record retries.
|
158 | 159 |
|
159 |
| -On axes where the resync logic has been disabled, by setting `MTR0101_MOT_ENC_SYNC_TOL_SP` to a large value, you may |
160 |
| -see errors of the form: |
| 160 | +### Limits |
161 | 161 |
|
| 162 | +If the motor is on limits and a move is attempted, you will see a message in the log like: |
162 | 163 | ```
|
163 | 164 | move begin failure axis X after XXX seconds: ... [Decelerating or stopped by FWD limit switch or soft limit FL]"
|
164 | 165 | ```
|
165 | 166 |
|
166 |
| -Even when the encoder readback is not close to a limit. This is because the IBEX Galil driver sets limits in the |
167 |
| -Galil based on the motor position - this means that if the motor and encoder are out of sync with each other. |
| 167 | +This means that the axis is on a limit, which can be either a hard limit or a soft limit.If it is a hard limit, the |
| 168 | +hard limit indicators in IBEX (`.LLS` and `.HLS` PVs will be active) - this means that a mechanical limit switch is |
| 169 | +engaged, or that an external system has disabled motion (safety systems commonly cause both limits to show engaged). |
| 170 | + |
| 171 | +If it is a soft limit, these are set in IBEX. For axes where the {ref:galil_mot_enc_sync}`motor and encoder resync`, |
| 172 | +the internal limits in the galil should match closely with the limits set in IBEX. However, if the motor-encoder resync |
| 173 | +tolerance is set very high, it is possible for the internal galil limits to differ from those configured in IBEX. |
168 | 174 |
|
169 | 175 | ## Further Information
|
170 | 176 |
|
|
0 commit comments