ASYN based EPICS driver for Galil products
DMC-4103 Series controller minimum firmware = 1.2F
DMC-4000 Series controller minimum firmware = 1.2i
If using RS232 communication on Microsoft Windows, need XON/XOFF flow control enabled via switches on Galil controller or else uploading a program to the controller times out and fails. However, all other read/write communication works fine without flow control enabled.
- Driver starts jog in direction indicated by HOMR, HOMF
- AutoGen Galil home code jogs off limit switch, or skip
- AutoGen Galil home code jogs to find home switch active, or skip
- AutoGen Galil home code jogs to find requested home switch edge, or skip
- AutoGen Galil home code jogs to find encoder index, or skip
- AutoGen Galil home code notifies the driver when the home completes successfully
UseSwitch (Limits&home are switches) = Yes (For stages with limits, home switches)
Begins on step 2
Home search direction away from limit
Find index direction away from limit
UseSwitch = No (For rotary stages without limits)
Find index direction indicated by HOMR, HOMF
Begins on step 5
useIndex = Yes
Includes step 5
useIndex = No
Excludes step 5
Use Limits as Home Switch = Yes
Home switch is not used, limits used as home instead
Home switch edge parameter is not used
Skip steps 3, 4
Use Limits as Home Switch = No
Home switch is used
Home switch edge parameter is used
- Commisioning partly involves verifying motor direction is consistent with limit orientation
When the motor is moving forward, the stage must be travelling toward the forward limit
When the motor is moving reverse, the stage must be travelling toward the reverse limit - Verifying motor/limit direction consistency involves both the hardware (wiring) and software
(motor, encoder selection) configuration - For hardware and software configurations where the motor/limit direction consistency is not known,
it is NOT SAFE to rely on WLP to avoid stage damage when the ioc is started with the stage already
on a limit - For hardware and software configurations where the motor/limit direction consistency is not known,
it IS SAFE to rely on WLP to avoid stage damage when the ioc is started with the stage clear of
both limits - The motor/limit consistency has the states unknown, consistent and not consistent
- The motor/limit consistency check PV is
$(P)$ (M)_LIMITCONSISTENT_STATUS it is in motor extras db - At IOC start, the motor/limit consistency for an axis is set to unknown
- At stage interaction with limits, the motor/limit consistency will be set to
consistent or not consistent. The motor/limit consistency check works with switch transitions,
not switch states (refer point 3). Reversing direction off a limit is a common operation that
must be allowed at ioc start, before motor/limit consistency is confirmed by this driver software - If enabled, wrong limit protection will stop a motor when the motor/limit consistency is set
to not consistent, and a limit is active and enabled - WLP can be enabled at all times with no interactions with normal or home operations
(refer to 8)