Code Monkey home page Code Monkey logo

galil's Introduction

Galil-3-6

ASYN based EPICS driver for Galil products

Notes

Firmware requirements

DMC-4103 Series controller minimum firmware = 1.2F
DMC-4000 Series controller minimum firmware = 1.2i

Communication

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.

AUTO-GENERATED HOME STEPS

  1. Driver starts jog in direction indicated by HOMR, HOMF
  2. AutoGen Galil home code jogs off limit switch, or skip
  3. AutoGen Galil home code jogs to find home switch active, or skip
  4. AutoGen Galil home code jogs to find requested home switch edge, or skip
  5. AutoGen Galil home code jogs to find encoder index, or skip
  6. 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

MOTOR/LIMIT DIRECTION CONSISTENCY & WRONG LIMIT PROTECTION (WLP)

  1. 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
  2. Verifying motor/limit direction consistency involves both the hardware (wiring) and software
    (motor, encoder selection) configuration
  3. 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
  4. 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
  5. The motor/limit consistency has the states unknown, consistent and not consistent
  6. The motor/limit consistency check PV is $(P)$(M)_LIMITCONSISTENT_STATUS it is in motor extras db
  7. At IOC start, the motor/limit consistency for an axis is set to unknown
  8. 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
  9. 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
  10. WLP can be enabled at all times with no interactions with normal or home operations
    (refer to 8)

galil's People

Contributors

motorapp avatar mp49 avatar freddieakeroyd avatar tboegi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.