Skip to content

Commit 63f6c57

Browse files
add motor
1 parent 03fc786 commit 63f6c57

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Creating a Motor IOC
2+
3+
Here we wll create a motor IOC from an exisiting IOC. Specifically create an ESP300 IOC using anotehr Newport IOC.
4+
5+
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
6+
7+
8+
A search of `Newport` in our IOCS shows `CONEXAGP` or `SMC100` as potential templates to follow. Unfortunately both of these are
9+
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`)
10+
11+
We will do a very basic implementation to start with as a proof of principle that it works
12+
13+
* make a copy of SMC100 ioc tree and rename to ESP300
14+
* analyse the examples above to see what commadns are neded to connect to the motor e.g. serial or etehrnet
15+
* change Db include from `asyn_motor.db` to `motor.db`
16+
17+
18+
19+
20+
21+
22+
23+

doc/specific_iocs/Motors.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Motors will tend to have a subset of the following *.cmd files for loading dbs:
3333
| `st-motor.cmd` | Loads the actual db files for each individual axis | A single file in the first IOC |
3434
| `galilXX.cmd` | Sets up the physical connection for a Galil | A file for each galil in `configurations\galil` |
3535

36+
## Creating a motor IOC
37+
38+
see [Create Motor IOC](/iocs/creation/Create-Motor-IOC.md)
39+
3640
## Motors used at ISIS
3741

3842
The motors currently used at ISIS are:

0 commit comments

Comments
 (0)