Skip to content

Commit ad4c777

Browse files
committed
Add more about limits
1 parent 61cded1 commit ad4c777

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

doc/specific_iocs/motors/Galil.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ EN
125125
5) Power cycle and the Galil should be available on the network.
126126
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.
127127

128+
{#galil_mot_enc_sync}
128129
## Syncing encoder and motor steps
129130

130131
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.
156157
Even without the resync logic, the open-loop axis may have lost its absolute position, for example due to
157158
motor record retries.
158159

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
161161

162+
If the motor is on limits and a move is attempted, you will see a message in the log like:
162163
```
163164
move begin failure axis X after XXX seconds: ... [Decelerating or stopped by FWD limit switch or soft limit FL]"
164165
```
165166

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.
168174

169175
## Further Information
170176

0 commit comments

Comments
 (0)