Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions doc/iocs/creation/Create-Motor-IOC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Creating a Motor IOC

Here we wll create a motor IOC from an exisiting IOC. Specifically create an ESP300 IOC using anotehr Newport IOC.

The motor is supported by teh newport module as per https://github.com/epics-motor/motorNewport and there are examples of usage in https://github.com/epics-motor/motorNewport/tree/master/iocs/newportIOC/iocBoot/iocNewport and https://github.com/epics-motor/motorNewport/tree/master/newportApp/iocsh that need to be compared. Driver support is built into the Newport module


A search of `Newport` in our IOCS shows `CONEXAGP` or `SMC100` as potential templates to follow. Unfortunately both of these are
model 3 motor drivers (they use asyn motor class and `asyn_motor.db`) whereas ESP300 is the older model 1 style (like MCLENNAN or LINMOT) so the Db files and syntax to call the driver will be more like mclennan/linmot (`motor.db`)

We will do a very basic implementation to start with as a proof of principle that it works

* make a copy of SMC100 ioc tree and rename to ESP300
* analyse the examples above to see what commadns are neded to connect to the motor e.g. serial or etehrnet
* change Db include from `asyn_motor.db` to `motor.db`








4 changes: 4 additions & 0 deletions doc/specific_iocs/Motors.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Motors will tend to have a subset of the following *.cmd files for loading dbs:
| `st-motor.cmd` | Loads the actual db files for each individual axis | A single file in the first IOC |
| `galilXX.cmd` | Sets up the physical connection for a Galil | A file for each galil in `configurations\galil` |

## Creating a motor IOC

see [Create Motor IOC](/iocs/creation/Create-Motor-IOC.md)

## Motors used at ISIS

The motors currently used at ISIS are:
Expand Down
Loading