-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from ISISComputingGroup/Ticket2787_harmonise_…
…motor_ioc Ticket2787: Harmonise Galil Motor ioc
- Loading branch information
Showing
27 changed files
with
55 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_positions.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_positions.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_positions.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_positions.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_positions.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_positions.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_positions.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_positions.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_positions.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_positions.req" P=$(P),CCP=10 | ||
file "GALIL_controller_positions.req" "P=$(P),CCP=$(CCP)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_settings.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_settings.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_settings.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_settings.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_settings.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_settings.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_settings.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_settings.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_settings.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_settings.req" P=$(P),CCP=10 | ||
file "GALIL_controller_settings.req" "P=$(P),CCP=$(CCP)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
## GALILCRATE set prior to call | ||
## MTRCTRL set prior to call | ||
|
||
## GALILCRATE is the galil crate number - 01, 02, ... | ||
## MTRCTRL is the galil crate number - 01, 02, ... | ||
|
||
dbLoadRecords("$(TOP)/db/galil_motor.db", "P=$(MYPVPREFIX)MOT,CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
dbLoadRecords("$(TOP)/db/galil_motor.db", "P=$(MYPVPREFIX)MOT,CCP=$(MTRCTRL)") | ||
|
||
#Load extra functionality, untop of motorRecord features for axis/motors (eg. runtime gear ratio changes between master & slaves) | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_ctrl_extras.db", "P=$(MYPVPREFIX)MOT,CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_motor_extras.db", "P=$(MYPVPREFIX)MOT,CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_ctrl_extras.db", "P=$(MYPVPREFIX)MOT,CCP=$(MTRCTRL)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_motor_extras.db", "P=$(MYPVPREFIX)MOT,CCP=$(MTRCTRL)") | ||
|
||
#Load digital IO databases | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_digital_ports.db", "P=$(MYPVPREFIX)MOT,CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_digital_ports.db", "P=$(MYPVPREFIX)MOT,CCP=$(MTRCTRL)") | ||
|
||
#Load analog IO databases | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_analog_ports.db", "P=$(MYPVPREFIX)MOT,CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_analog_ports.db", "P=$(MYPVPREFIX)MOT,CCP=$(MTRCTRL)") | ||
|
||
#Load user defined functions | ||
#dbLoadRecords("$(TOP)/db/galil_userdef_records.db", "P=$(MYPVPREFIX)MOT,CC=$(GCID),CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_userdef_records8.db", "P=$(MYPVPREFIX)MOT,CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_userdef_records8.db", "P=$(MYPVPREFIX)MOT,CCP=$(MTRCTRL)") | ||
|
||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_profileMoveController.db", "P=$(MYPVPREFIX)MOT:,CC=$(GCID),CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_profileMoveAxis.db", "P=$(MYPVPREFIX)MOT:,CC=$(GCID),CCP=$(GALILCRATE),IFSIM=$(IFSIM),IFNOTSIM=$(IFNOTSIM)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_profileMoveController.db", "P=$(MYPVPREFIX)MOT:,CCP=$(MTRCTRL)") | ||
$(IFNOTSIM) dbLoadRecords("$(TOP)/db/galil_profileMoveAxis.db", "P=$(MYPVPREFIX)MOT:,CCP=$(MTRCTRL)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
epicsEnvSet("AMOTORNAME", "MTR$(MTRCTRL)0$(MN)") | ||
epicsEnvSet("AMOTORPV", "MOT:$(AMOTORNAME)") | ||
|
||
dbLoadRecords("$(AXIS)/db/axis.db", "P=$(MYPVPREFIX),AXIS=$(IOCNAME):AXIS$(MN),mAXIS=$(AMOTORPV)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_positions.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_positions.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_positions.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_positions.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_positions.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_positions.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_positions.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_positions.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_positions.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_positions.req" P=$(P),CCP=10 | ||
file "GALIL_controller_positions.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_settings.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_settings.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_settings.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_settings.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_settings.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_settings.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_settings.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_settings.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_settings.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_settings.req" P=$(P),CCP=10 | ||
file "GALIL_controller_settings.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_positions.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_positions.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_positions.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_positions.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_positions.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_positions.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_positions.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_positions.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_positions.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_positions.req" P=$(P),CCP=10 | ||
file "GALIL_controller_positions.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_settings.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_settings.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_settings.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_settings.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_settings.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_settings.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_settings.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_settings.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_settings.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_settings.req" P=$(P),CCP=10 | ||
file "GALIL_controller_settings.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_positions.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_positions.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_positions.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_positions.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_positions.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_positions.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_positions.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_positions.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_positions.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_positions.req" P=$(P),CCP=10 | ||
file "GALIL_controller_positions.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_settings.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_settings.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_settings.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_settings.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_settings.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_settings.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_settings.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_settings.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_settings.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_settings.req" P=$(P),CCP=10 | ||
file "GALIL_controller_settings.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_positions.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_positions.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_positions.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_positions.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_positions.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_positions.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_positions.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_positions.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_positions.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_positions.req" P=$(P),CCP=10 | ||
file "GALIL_controller_positions.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_settings.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_settings.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_settings.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_settings.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_settings.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_settings.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_settings.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_settings.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_settings.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_settings.req" P=$(P),CCP=10 | ||
file "GALIL_controller_settings.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_positions.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_positions.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_positions.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_positions.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_positions.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_positions.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_positions.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_positions.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_positions.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_positions.req" P=$(P),CCP=10 | ||
file "GALIL_controller_positions.req" P=$(P),CCP=$(CCP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1 @@ | ||
$(IFDMC01)file "GALIL_controller_settings.req" P=$(P),CCP=01 | ||
$(IFDMC02)file "GALIL_controller_settings.req" P=$(P),CCP=02 | ||
$(IFDMC03)file "GALIL_controller_settings.req" P=$(P),CCP=03 | ||
$(IFDMC04)file "GALIL_controller_settings.req" P=$(P),CCP=04 | ||
$(IFDMC05)file "GALIL_controller_settings.req" P=$(P),CCP=05 | ||
$(IFDMC06)file "GALIL_controller_settings.req" P=$(P),CCP=06 | ||
$(IFDMC07)file "GALIL_controller_settings.req" P=$(P),CCP=07 | ||
$(IFDMC08)file "GALIL_controller_settings.req" P=$(P),CCP=08 | ||
$(IFDMC09)file "GALIL_controller_settings.req" P=$(P),CCP=09 | ||
$(IFDMC10)file "GALIL_controller_settings.req" P=$(P),CCP=10 | ||
file "GALIL_controller_settings.req" P=$(P),CCP=$(CCP) |
Oops, something went wrong.