Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
237 commits
Select commit Hold shift + click to select a range
242e1b8
Release 6-9
kmpeters Jan 7, 2015
da350fd
Initial merge of changes from 6-8-1
FreddieAkeroyd Feb 20, 2015
83cbca2
Allow ms as unit and fix other motor record units
FreddieAkeroyd Feb 20, 2015
91ef543
Update to motor 6-9
FreddieAkeroyd Feb 20, 2015
b709ade
Fix export include order
FreddieAkeroyd Feb 21, 2015
819777b
Use busy 1-6-1
FreddieAkeroyd Feb 23, 2015
5f7330a
Remove race condition in stop_all
FreddieAkeroyd Mar 2, 2015
c4cfe13
make stop all trigger on every write not just change
FreddieAkeroyd Mar 5, 2015
03aed40
Add ADEL and MDEL
FreddieAkeroyd Mar 23, 2015
b39de46
Update autosave to 5_6_1
FreddieAkeroyd Mar 24, 2015
8eec933
Change way moving motors is calculated so less likely to miss something
FreddieAkeroyd Apr 20, 2015
fa548d6
Add periodic processing just in case
FreddieAkeroyd Apr 21, 2015
c712144
Process alldone every time
FreddieAkeroyd Apr 22, 2015
9d4f8c8
Revert to original - we don't need SG support now, and maybe it cause…
FreddieAkeroyd Apr 23, 2015
0b605ea
Use CA rather than PP on link
FreddieAkeroyd Apr 23, 2015
b7731ed
Add note about homing reset
FreddieAkeroyd Jul 3, 2015
b10a6b1
Add default comment char for when macro is undefined
FreddieAkeroyd Jul 5, 2015
7bce880
Save SPMG for asyn motor
FreddieAkeroyd Jul 8, 2015
4615c14
Implement moving motors for SMC100 and CONEXAGP
FreddieAkeroyd Jul 8, 2015
0f3b6e7
Fix RELEASE paths
FreddieAkeroyd Aug 18, 2015
2600ab0
Update .gitignore
FreddieAkeroyd Aug 18, 2015
c4a3432
Fix line endings
FreddieAkeroyd Aug 19, 2015
a94c24e
Add MASTER_RELEASE.private
FreddieAkeroyd Aug 21, 2015
4f3f7b9
Add runIOC.sh and relPaths.sh
FreddieAkeroyd Aug 27, 2015
6d893ec
Add runIOC.sh and relPaths.sh
FreddieAkeroyd Aug 27, 2015
b84e50a
Add ISIS :SP aliases
FreddieAkeroyd Feb 17, 2016
1411ede
Add McLennan debugging option
FreddieAkeroyd Aug 9, 2016
bc0179d
Add motor status PV file and update make
Sep 1, 2016
a6f4a20
Add ERES to default record properties. Search shows only used by McLe…
Aug 17, 2016
d7d046f
Create specialised motor record for McLennan
Aug 19, 2016
8ea2265
Go back to using normal motor record
Aug 19, 2016
01c1296
A bit of an important typo
Aug 19, 2016
22d0a96
Let McLennan have its own DB file rather than modifying the base type
Aug 23, 2016
f8e791f
Move additions to standard motor.db
FreddieAkeroyd Sep 1, 2016
7e9e29a
"Adding .project files to git ignore"
Oct 24, 2016
96ae31a
Use the CV command for homing with the previously set velocity
Nov 4, 2016
b59342e
Set VELO initially 0 just to be safe
Nov 4, 2016
a85a54a
Tab to space
Nov 4, 2016
0537999
Revert change to SET_ACCEL
Nov 4, 2016
1b4de43
Set up shell sequencer for mclennan homing
Nov 15, 2016
c5f950d
Make homing call jog, which uses constant velocity move
Nov 15, 2016
55b796d
Little bit of tidying up
Nov 17, 2016
077b1ee
Remove unused variable
Nov 17, 2016
355a001
Hard limits now set by soft limit values. Changed overshoot behaviour…
jonelmer Dec 7, 2016
bda53b0
Update for new ISIS_CONFIG naming
FreddieAkeroyd Jan 20, 2017
696734e
Choose homing behaviour based on (hard-coded currently) mode
Feb 2, 2017
7bda381
Make mode integer. Move based on mode
Feb 2, 2017
c8ea6c5
Reset position to 0 on default home
Feb 2, 2017
050b31b
Add reverse home and 0 mode
Feb 2, 2017
7e44e90
Pass in mode from IOC
Feb 2, 2017
1e9a8e1
Add some extra debug output
Feb 2, 2017
b63e7b5
Calculate homing modes at config rather than at each homing call
Feb 2, 2017
c9574b1
Add config xml with IOC description
Feb 14, 2017
bd9a954
Refactor homing code into separate method
Mar 6, 2017
e9a3e66
Clear previous homes/jogs
Feb 28, 2017
15e3fd9
Clear jog at end of home
Feb 28, 2017
bc293a9
Add preliminary LinMot code
Mar 21, 2017
21dcb6d
Blank slate. Won't run, will compile
Mar 21, 2017
113ece5
Use straight up McLennan clone. No motor responses but IOC will start…
Mar 21, 2017
2ef78fa
Remove unecessary controller fields
Mar 21, 2017
5d6f861
Adjust commands to fit LinMot syntax
Mar 21, 2017
4f4eabf
Get rid of initial #
Mar 21, 2017
fc1806e
Translate to LinMot language status and problem queries
Mar 21, 2017
30b26d8
Update move to use LinMot commands
Mar 22, 2017
67547e9
Add some more debugging to check everything is as we expect
Mar 22, 2017
74845b2
Add additional debug
Mar 22, 2017
ac458ae
Reuse logic for send/send_recv
Mar 22, 2017
e4aeaff
Need load pos command for setting offsets
Mar 22, 2017
7b68f85
Tidy up
Mar 22, 2017
ebd69a9
Reinitialization should not have been deleted
Mar 22, 2017
0feac01
Limit switches not supported
Mar 22, 2017
9263368
Add LinMot to list of motor sources
Apr 4, 2017
43be979
Add linmot motor record. Same as motor.db but offset can be set via m…
Apr 10, 2017
47d57f8
Add extra linmot record separately rather than duplicating motor.db
Apr 10, 2017
5b2825e
Speed has to be translated into motor units
Apr 11, 2017
4fcbd5e
Default LinMot speed resolution to standard as per manual
Apr 11, 2017
a90d36a
Can't initialise in class
Apr 11, 2017
7649515
Typo
Apr 11, 2017
2ae633a
Update linmot_extra.db
AdrianPotter Apr 10, 2017
2bfba3c
Remove debug output
Apr 11, 2017
2e2bc78
Don't wait for homing cancellation if mode not 1. Add some debug output
May 15, 2017
47b6460
Assign to correct variable
May 22, 2017
53ba9a0
Add McLen and LinMot motors to motion tracking
May 8, 2017
807bc93
Expose DMOV as PV so it can be used in genie_python waitfor_move
May 10, 2017
876503f
Slight cosmetic changes to DMOV record
AdrianPotter May 10, 2017
8e622c6
Remove dbd includes for 3.15
FreddieAkeroyd Jun 9, 2017
cedd842
Apply patch from https://github.com/epics-modules/motor/pull/36
Jun 13, 2017
f627f92
Added third linmot to fan
DominicOram Aug 15, 2017
7882760
Add BKHOFF and PIMOT
FreddieAkeroyd Jul 13, 2017
a266f28
Added archiving to base motor record
DominicOram Nov 16, 2017
cc2855d
Added additional fields to archive
DominicOram Nov 17, 2017
7132883
Changed galil to be more like other IOCs
DominicOram Nov 17, 2017
4f6aa6a
Fixed typo
DominicOram Nov 17, 2017
4522a7e
Send the reset command after every move. Configurable at startup
Dec 21, 2017
41df871
Add string to buffer before send
Jan 3, 2018
c460eea
Move comment to better place
Jan 3, 2018
d8e273d
Give active resets more urgent debug level than normal replies
Jan 9, 2018
8df29b3
Add problem flag for reset error so that flagged in GUI as alarm
Jan 10, 2018
6f6943a
Fix dependency
FreddieAkeroyd Jan 11, 2018
e59bb74
Update casts for latest gcc
FreddieAkeroyd Jan 19, 2018
9368665
Reset on issuing a stop command
Jan 23, 2018
c30a51a
white space
John-Holt-Tessella Jan 23, 2018
2492524
Initial code to read position from the SM300
John-Holt-Tessella Dec 12, 2017
8e57d88
Add error on axis problem and tidy code
John-Holt-Tessella Dec 14, 2017
f0805d1
add movement status
John-Holt-Tessella Dec 18, 2017
dcaf5fd
Readand write in motor steps
John-Holt-Tessella Dec 20, 2017
5a0068c
Add homing
John-Holt-Tessella Dec 20, 2017
1df0e10
Add reset functionality
John-Holt-Tessella Dec 22, 2017
c1afb10
Add stop
John-Holt-Tessella Jan 2, 2018
b4872e0
Add global moving and make polling quicker when moving
John-Holt-Tessella Jan 2, 2018
dba9f42
Make reset a busy record and tidy
John-Holt-Tessella Jan 2, 2018
072a565
BCC ending form and send move after set sp
John-Holt-Tessella Jan 5, 2018
236904d
Send stop before setting position to enable position on different axis
John-Holt-Tessella Jan 5, 2018
04e44c2
Remove step size per controller
John-Holt-Tessella Jan 8, 2018
eecf802
Add disconnect
John-Holt-Tessella Jan 8, 2018
3825c43
Add read error status
John-Holt-Tessella Jan 8, 2018
e9484e3
Dont stop and home one axis at a time
John-Holt-Tessella Jan 16, 2018
d497275
style changes
John-Holt-Tessella Jan 23, 2018
1466b5b
Change from AMJOR ot Comm error for communcation errors. Make sure er…
John-Holt-Tessella Jan 26, 2018
6a35b47
Downgrade for 2010
Jan 30, 2018
a1d8716
Follow gcc rules
John-Holt-Tessella Jan 30, 2018
b4eb584
Fix duplicate fields
John-Holt-Tessella Jan 30, 2018
6d54d94
Updated build dependencies
DominicOram Feb 27, 2018
217fe88
Add missing ONCRPC
FreddieAkeroyd Mar 9, 2018
95e4110
Added polling to the linmot
DominicOram Apr 10, 2018
2b154ff
Added db for periodic motor polling
DominicOram Apr 10, 2018
581d9ec
Slowed polling down to avoid issues found with too much comms traffic…
DominicOram Apr 13, 2018
93f4a07
Disable position maintenance
FreddieAkeroyd Jun 7, 2018
4ed1442
Stop-reset-stop to cover stop under normal mode and tracking abort
May 22, 2018
795c20d
Only print in debug mode
May 21, 2018
4722c8f
Remove some unecessary parentheses
May 21, 2018
8d6d479
Be consistent on white space
May 21, 2018
553e0b7
Update comment
FreddieAkeroyd Jul 12, 2018
5089d8c
Re-enable pos_maint
FreddieAkeroyd Jul 12, 2018
b6ab2bf
Added new homing mode
Alistair-McGann-Tessella Sep 21, 2018
dfa2d75
Fixed typo
Alistair-McGann-Tessella Sep 21, 2018
96abb2e
Remove commented line
Alistair-McGann-Tessella Sep 21, 2018
54a949c
Combined modes 3 and 4
Alistair-McGann-Tessella Oct 16, 2018
faea6f3
Mode 3 always reverses to home and jog velocity set on home
Alistair-McGann-Tessella Oct 22, 2018
c701672
Moved jog velocity setting to init
Alistair-McGann-Tessella Oct 22, 2018
0893122
set vel in init extra not in snl
John-Holt-Tessella Dec 17, 2018
ee6ea83
Remove devSequencer.dbd
FreddieAkeroyd Apr 7, 2019
952969b
Remove seqDev
FreddieAkeroyd Apr 8, 2019
6f7ba64
Merge tag 'R6-11' into start
FreddieAkeroyd Jul 5, 2025
fb4bde4
Need to use /db on windows
FreddieAkeroyd Jul 23, 2019
c7b539a
Added motor resolution monitors
DominicOram Aug 6, 2019
4acd945
Added enable/disable to basic record
DominicOram Aug 20, 2019
4d9ec38
Add seq
FreddieAkeroyd Jul 24, 2019
bf1305c
Fix stuck simulated move
FreddieAkeroyd Jul 26, 2019
1a6c062
Remove soft limits during home. Verify limit switch is hit at end of …
Tom-Willemsen Oct 30, 2019
4d02a2f
Remove limit check, limit is not active after home.
Tom-Willemsen Oct 30, 2019
0bec81b
Add better logging
Tom-Willemsen Oct 30, 2019
4be447b
Don't define position if user cancelled home.
Tom-Willemsen Oct 31, 2019
3b1288a
Remove physical limit switch PVs, no longer required
Tom-Willemsen Oct 31, 2019
4866bc6
Clear queue before move
Alistair-McGann-Tessella Nov 1, 2019
84602ba
Disable position initialisation on startup
FreddieAkeroyd Nov 1, 2019
5180d6e
Add additional incudes to remove warnings
FreddieAkeroyd Mar 30, 2020
523c1ea
Add missing return and param update
FreddieAkeroyd Mar 23, 2020
610fcb9
Add entry for refl server
John-Holt-Tessella Sep 21, 2020
6d26495
Added newport to is moving flag
DominicOram Dec 8, 2020
6a33611
Simulate encoder
FreddieAkeroyd Mar 7, 2021
cab4113
Exclude dllpath
FreddieAkeroyd Mar 7, 2021
44adddd
Add home mode 4 to mclennan
Tom-Willemsen Mar 8, 2021
64954ec
Update motorApp/MclennanSrc/devPM304.cc
Tom-Willemsen Mar 17, 2021
2ce0974
Define home modes as macros
Tom-Willemsen Mar 17, 2021
13ed772
Only poll motor when it's not moving
DominicOram May 26, 2021
ac281fa
Add <shareLib.h> for newer epics base
FreddieAkeroyd Jun 25, 2021
fc155c1
Added initial val on periodic polling PV
DominicOram Jul 5, 2021
e595f95
Add autoonoff fix from recent upstream
FreddieAkeroyd Sep 22, 2021
dcf084c
setting creep speed when HD, setting back when velocity is set
rerpha Jun 16, 2021
3ee39f7
changing token if pm304
rerpha Jul 26, 2021
ca2a6c1
set creep speed on both devices when requesting home
rerpha Jul 26, 2021
b2a50a8
Parse command line and check for SC
FreddieAkeroyd Sep 23, 2021
00a8a3f
Tidy up
FreddieAkeroyd Sep 23, 2021
22e0b58
set creep speed up to 800
rerpha Oct 1, 2021
dad364c
Update basic_asyn_motor.db
rerpha Oct 27, 2021
96e4e78
Definitely disable position load on startup
FreddieAkeroyd Nov 24, 2021
816c806
Allow motors to publish the number of axes they have
DominicOram Oct 13, 2021
ccc79b7
Added twincat to moving PV
DominicOram Nov 2, 2021
8634fc7
Fix negative backlash with relative moves in a negative direction
FreddieAkeroyd Nov 26, 2021
efc788c
Move AXES_NUM to new db
FreddieAkeroyd Nov 28, 2021
b1a87eb
Add motorController.db to installs
FreddieAkeroyd Nov 28, 2021
f629720
More sim diagnostics
FreddieAkeroyd Dec 4, 2021
caaa636
Add HOMED status
FreddieAkeroyd Dec 6, 2021
afc5ab4
Update motorUtil.db
rerpha Jan 14, 2022
dfca996
Fix GALILMUL moving location
FreddieAkeroyd Feb 1, 2022
369aac1
Check more items when deciding when to poll
FreddieAkeroyd Jan 26, 2022
01476f3
Check for JOG as well
FreddieAkeroyd Feb 10, 2022
0707e30
Print out when motor is moving/stopped
FreddieAkeroyd Dec 29, 2021
610ac0a
Print out current position on move
FreddieAkeroyd Dec 30, 2021
ac99c0b
Print out expected move duration
FreddieAkeroyd Jan 1, 2022
dc88242
Print actual move time
FreddieAkeroyd Jan 2, 2022
11d46b1
remove BKHOFF
rerpha Apr 22, 2022
2345b7a
adding _IOCNAME pv to motorstatus.db
rerpha Oct 14, 2022
71c23e4
Update motorStatus.db
rerpha Oct 14, 2022
0d84ab7
Update motorStatus.db
rerpha Oct 14, 2022
8431217
Fix motor moving for huber and galilmul
Tom-Willemsen Oct 25, 2022
89e10da
Make homing work whatever FOFF value present
FreddieAkeroyd Nov 15, 2022
9b79fb9
tab -> space
FreddieAkeroyd Nov 15, 2022
d33d0fe
Fix various issues
FreddieAkeroyd Apr 17, 2023
b2d848c
Stop running on builtin homing
FreddieAkeroyd Apr 18, 2023
974726c
Fix some buffer initialisation issues
FreddieAkeroyd Apr 18, 2023
c0548d7
Tidy up comments
FreddieAkeroyd Apr 18, 2023
ac58b1d
More diagnostics
FreddieAkeroyd Apr 20, 2023
cd193b4
Fix mode reply syntax from hardware
FreddieAkeroyd Apr 21, 2023
61d9293
Ignore error from ST command
FreddieAkeroyd Apr 21, 2023
94b1ee1
Tidy up loop
FreddieAkeroyd Apr 21, 2023
e114b55
Support QA, better velocity setting
FreddieAkeroyd May 12, 2023
89d30ad
update comment on RA_HOME etc
FreddieAkeroyd May 12, 2023
a009c2f
NULL terminate if read maxsize
FreddieAkeroyd May 13, 2023
66aa862
Make sure string is terminated
FreddieAkeroyd May 13, 2023
c056f18
Fix QA output
FreddieAkeroyd May 19, 2023
2d1aa63
Add HOMF and HOMR to ASL0
FreddieAkeroyd May 22, 2023
a11346a
Merge tag 'R7-3' into start
FreddieAkeroyd Jul 7, 2025
83b7293
Tidy up quotes
FreddieAkeroyd Dec 29, 2023
e2baea7
move IN_POSITION records to motorstatus.db rather than axis.db (#62)
rerpha Dec 21, 2023
75cc044
Disable smartArc for VS2010
FreddieAkeroyd Aug 23, 2023
3e45ad8
Makde sure position init is disabled
FreddieAkeroyd Aug 22, 2023
98e2a19
Make _able UDFS of NO_ALARM
FreddieAkeroyd Jun 15, 2023
773a3f0
Added recorded for scanning - SAFE_STUP
danielmaclaren Jun 26, 2023
a6222c7
Add indirection in case .PROC field not written to
FreddieAkeroyd Jun 30, 2023
ef60458
Remove moved files
FreddieAkeroyd Jul 7, 2025
453ee96
Merge tag 'R7-3-1' into start
FreddieAkeroyd Jul 7, 2025
fe81338
Merge remote-tracking branch 'origin/master' into start
FreddieAkeroyd Jul 7, 2025
ab9a522
Repoint submodules
FreddieAkeroyd Jul 7, 2025
28e972f
Update submodules
FreddieAkeroyd Jul 7, 2025
c0a8c18
Update submodules
FreddieAkeroyd Jul 7, 2025
bd6eb6c
Build fixes
FreddieAkeroyd Jul 7, 2025
5e8d702
Merge branch 'ibex' of https://github.com/isiscomputinggroup/motor in…
FreddieAkeroyd Jul 7, 2025
e08f8d4
Build fixes
FreddieAkeroyd Jul 8, 2025
f2757e6
Remove iocBoot
FreddieAkeroyd Jul 8, 2025
cfc2863
Merge fixes
FreddieAkeroyd Jul 8, 2025
b461f98
Update submodules
FreddieAkeroyd Jul 8, 2025
e4e3f86
Update submodules
FreddieAkeroyd Jul 10, 2025
872d174
Update submodules
FreddieAkeroyd Jul 10, 2025
5afdedd
Update submodules
FreddieAkeroyd Jul 10, 2025
79e719d
Remove SM300 motor module as no longer used
rerpha Jul 28, 2025
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
30 changes: 26 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
#Which files need CRLF handling
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
*.sh eol=lf
*.bat eol=crlf
*.cmd -text

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.cpp text
*.h text
*.hpp text
*.java text
*.sh text eol=lf
*.bat text
*.cmd text
*.db text
*.dbd text
*.template text
*.substitutions text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.class binary
*.vi binary

9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*~
O.*
O.*/
*.swp
*BAK.adl
bin/
Expand All @@ -12,7 +12,12 @@ lib/
templates/
cdCommands
envPaths
dllPath.bat
dllPath*.bat
runIOC.bat
runIOC.sh
relPaths.sh
iocBoot/iocmotorSim/motor.substitutions.local
.project
auto_settings.sav*
auto_positions.sav*
.ccfxprepdir/
Expand Down
18 changes: 12 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[submodule "modules/motorNewport"]
path = modules/motorNewport
url = https://github.com/epics-motor/motorNewport.git
url = https://github.com/ISISComputingGroup/motorNewport.git
branch = ibex
[submodule "modules/motorOms"]
path = modules/motorOms
url = https://github.com/epics-motor/motorOms.git
Expand All @@ -24,7 +25,8 @@
url = https://github.com/epics-motor/motorKohzu.git
[submodule "modules/motorMclennan"]
path = modules/motorMclennan
url = https://github.com/epics-motor/motorMclennan.git
url = https://github.com/ISISComputingGroup/motorMclennan.git
branch = ibex
[submodule "modules/motorMicroMo"]
path = modules/motorMicroMo
url = https://github.com/epics-motor/motorMicroMo.git
Expand Down Expand Up @@ -84,16 +86,20 @@
url = https://github.com/epics-motor/motorSmarAct.git
[submodule "modules/motorMotorSim"]
path = modules/motorMotorSim
url = https://github.com/epics-motor/motorMotorSim.git
url = https://github.com/ISISComputingGroup/motorMotorSim.git
branch = ibex
[submodule "modules/motorMXmotor"]
path = modules/motorMXmotor
url = https://github.com/epics-motor/motorMXmotor.git
[submodule "modules/motorParker"]
path = modules/motorParker
url = https://github.com/epics-motor/motorParker.git
[submodule ".ci"]
path = .ci
url = https://github.com/epics-base/ci-scripts
[submodule "modules/motorAcsMotion"]
path = modules/motorAcsMotion
url = https://github.com/epics-motor/motorAcsMotion.git
[submodule ".ci"]
path = .ci
url = https://github.com/epics-base/ci-scripts
[submodule "modules/motorLinMot"]
path = modules/motorLinMot
url = https://github.com/ISISComputingGroup/motorLinMot.git
15 changes: 15 additions & 0 deletions configure/RELEASE
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,18 @@ IPAC=$(SUPPORT)/ipac-R2-15
-include $(TOP)/../RELEASE.local
-include $(TOP)/../RELEASE.$(EPICS_HOST_ARCH).local
-include $(TOP)/configure/RELEASE.local

ASYN=$(SUPPORT)/asyn/master
AUTOSAVE=$(SUPPORT)/autosave/master
BUSY=$(SUPPORT)/busy/master
CALC=$(SUPPORT)/calc/master
IPAC=$(SUPPORT)/ipac/master
SNCSEQ=$(SUPPORT)/seq/master
SSCAN=$(SUPPORT)/sscan/master
ONCRPC=$(SUPPORT)/oncrpc/master
LUA=$(SUPPORT)/lua/master
# optional extra local definitions here
-include $(TOP)/configure/RELEASE.private

include $(TOP)/../../../ISIS_CONFIG
-include $(TOP)/../../../ISIS_CONFIG.$(EPICS_HOST_ARCH)
19 changes: 15 additions & 4 deletions modules/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ SUBMODULES += motorOms
SUBMODULES += motorNewport
SUBMODULES += motorAMCI
SUBMODULES += motorAcs
SUBMODULES += motorAcsMotion
SUBMODULES += motorAcsTech80
#SUBMODULES += motorAcsMotion
#SUBMODULES += motorAcsTech80
SUBMODULES += motorAerotech
SUBMODULES += motorAttocube
SUBMODULES += motorDeltaTau
Expand All @@ -19,7 +19,7 @@ endif
SUBMODULES += motorIms
SUBMODULES += motorKohzu
SUBMODULES += motorMclennan
SUBMODULES += motorMicos
#SUBMODULES += motorMicos
SUBMODULES += motorMicroMo
SUBMODULES += motorMicronix
SUBMODULES += motorMotorSim
Expand All @@ -38,10 +38,13 @@ SUBMODULES += motorPIGCS2
ifdef LUA
SUBMODULES += motorScriptMotor
endif
SUBMODULES += motorSmarAct
#SUBMODULES += motorSmarAct
SUBMODULES += motorSmartMotor
SUBMODULES += motorThorLabs

## isis facility extras
SUBMODULES += motorLinMot

# Allow sites to add extra submodules
-include Makefile.local

Expand Down Expand Up @@ -73,6 +76,14 @@ ifdef BUSY
$(ECHO) Creating $@, BUSY = $(BUSY)
@echo BUSY = $(BUSY)>> $@
endif
ifdef CALC
$(ECHO) Creating $@, CALC = $(CALC)
@echo CALC = $(CALC)>> $@
endif
ifdef SSCAN
$(ECHO) Creating $@, SSCAN = $(SSCAN)
@echo SSCAN = $(SSCAN)>> $@
endif
ifdef IPAC
$(ECHO) Creating $@, IPAC = $(IPAC)
@echo IPAC = $(IPAC)>> $@
Expand Down
1 change: 1 addition & 0 deletions modules/motorLinMot
Submodule motorLinMot added at 85308e
1 change: 1 addition & 0 deletions modules/motorSM300
Submodule motorSM300 added at 92baa9
4 changes: 2 additions & 2 deletions motorApp/Db/SoftMotorEx.db
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ record(motor, "$(user):linear") {
field(OUT, "#C0 S0 @")
field(MRES, "0.001")
field(PREC, "3")
field(EGU, "mm.")
field(EGU, "mm")
field(DHLM, "1000")
field(DLLM, "-1000")
field(RTRY, "0")
Expand All @@ -46,7 +46,7 @@ record(motor, "$(user):rotary") {
field(RRES, "1.0")
field(URIP, "Yes")
field(PREC, "3")
field(EGU, "deg.")
field(EGU, "degree")
field(DHLM, "45")
field(DLLM, "-45")
field(RTRY, "0")
Expand Down
24 changes: 23 additions & 1 deletion motorApp/Db/asyn_motor.db
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,25 @@ record(motor, "$(P)$(M)") {
field(DLLM, "$(DLLM)")
field(INIT, "$(INIT)")
field(RTRY, "$(RTRY=10)")
field(RSTM, "$(RSTM=NearZero)")
field(RSTM, "$(RSTM=Never)")
field(TWV, "1")
field(SDIS, "$(P)$(M)_able.VAL")
# ISIS local archiving and alarm
info(archive, "0.02 VAL RBV DVAL OFF MSTA DIR CNEN MOVN DMOV MISS RCNT")
info(alarm, "Motors")
}

# ISIS local aliases for genie_python
alias("$(P)$(M)", "$(P)$(M):SP")
alias("$(P)$(M)", "$(P)$(M):SP:RBV")

record(bo, "$(P)$(M)_able") {
field(DESC, "motor enable")
field(PINI, "YES")
field(OUT, "$(P)$(M).DISP")
field(ZNAM, "Enable")
field(ONAM, "Disable")
field(UDFS, "NO_ALARM")
}

record(calcout, "$(P)$(M)_vCh") {
Expand Down Expand Up @@ -88,6 +96,20 @@ record(ao,"$(P)$(M)Resolution") {
field(PREC, "$(PREC)")
}

# allow splitting out of MSTA
record(mbbiDirect, "$(P)$(M):_MSTABITS")
{
field(INP, "$(P)$(M).MSTA CP")
}

record(bi, "$(P)$(M)_HOMED")
{
field(DESC, "Motor Homed")
field(ZNAM, "No")
field(ONAM, "Yes")
field(INP, "$(P)$(M):_MSTABITS.BE CP")
}

#! Further lines contain data used by VisualDCT
#! View(405,484,0.9)
#! Record("$(P)$(M)",840,675,0,0,"$(P)$(M)")
Expand Down
3 changes: 2 additions & 1 deletion motorApp/Db/asyn_motor_model2.db
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ record(motor, "$(P)$(M)") {
field(DLLM, "$(DLLM)")
field(INIT, "$(INIT)")
field(RTRY, "$(RTRY=10)")
field(RSTM, "$(RSTM=NearZero)")
field(RSTM, "$(RSTM=Never)")
field(TWV, "1")
field(SDIS, "$(P)$(M)_able.VAL")
}
Expand All @@ -33,6 +33,7 @@ record(bo, "$(P)$(M)_able") {
field(OUT, "$(P)$(M).DISP")
field(ZNAM, "Enable")
field(ONAM, "Disable")
field(UDFS, "NO_ALARM")
}

record(calcout, "$(P)$(M)_vCh") {
Expand Down
2 changes: 1 addition & 1 deletion motorApp/Db/asyn_motor_positions.req
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# FILE... motor_positions.req
$(P)$(M).DVAL
#$(P)$(M).DVAL
55 changes: 55 additions & 0 deletions motorApp/Db/basic_asyn_motor.db
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@ record(motor,"$(P)$(M)")
field(DHLM,"$(DHLM)")
field(DLLM,"$(DLLM)")
field(INIT,"$(INIT)")
field(RTRY,"$(RTRY=10)")
field(RSTM,"$(RSTM=Never)")
field(TWV,"1")
# ISIS local archiving and alarm
info(archive, "0.02 VAL RBV DVAL OFF MSTA DIR CNEN MOVN DMOV MISS RCNT")
info(alarm, "Motors")
}

# ISIS local aliases for genie_python
alias("$(P)$(M)", "$(P)$(M):SP")
alias("$(P)$(M)", "$(P)$(M):SP:RBV")

# These records make the motor resolution, offset and direction available to the driver
# which is needed for profile moves and other applications

Expand Down Expand Up @@ -54,3 +63,49 @@ record(ao,"$(P)$(M)Resolution") {
field(PREC, "$(PREC)")
}

# ISIS enable/disable
record(bo, "$(P)$(M)_able") {
field(DESC, "motor enable")
field(PINI, "YES")
field(OUT, "$(P)$(M).DISP")
field(ZNAM, "Enable")
field(ONAM, "Disable")
field(UDFS, "NO_ALARM")
}

record(ao,"$(P)$(M)_MRESMON")
{
field(OMSL, "closed_loop")
field(DOL, "$(P)$(M).MRES CP")
field(DTYP, "asynFloat64")
field(OUT, "@asyn($(PORT),$(ADDR))MOTOR_RESOLUTION")
}

record(calcout,"$(P)$(M)_MERATMON")
{
field(INPA, "$(P)$(M).MRES CP")
field(INPB, "$(P)$(M).ERES CP")
field(CALC, "(A != 0 && B != 0) ? A / B : 0")
field(OOPT, "When Non-zero")
field(OUT, "$(P)$(M)_MERAT PP")
}

record(ao,"$(P)$(M)_MERAT")
{
field(DTYP, "asynFloat64")
field(OUT, "@asyn($(PORT),$(ADDR))MOTOR_ENCODER_RATIO")
}

# allow splitting out of MSTA
record(mbbiDirect, "$(P)$(M):_MSTABITS")
{
field(INP, "$(P)$(M).MSTA CP")
}

record(bi, "$(P)$(M)_HOMED")
{
field(DESC, "Motor Homed")
field(ZNAM, "No")
field(ONAM, "Yes")
field(INP, "$(P)$(M):_MSTABITS.BE CP")
}
1 change: 1 addition & 0 deletions motorApp/Db/basic_asyn_motor_model2.db
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ record(motor,"$(P)$(M)")
field(DLLM,"$(DLLM)")
field(INIT,"$(INIT)")
field(TWV,"1")
field(RSTM,"$(RSTM=Never)")
}
21 changes: 21 additions & 0 deletions motorApp/Db/basic_motor.db
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,27 @@ grecord(motor,"$(P)$(M)")
field(DHLM,"$(DHLM)")
field(DLLM,"$(DLLM)")
field(INIT,"$(INIT)")
field(RSTM,"$(RSTM=Never)")
field(TWV,"1")
# ISIS local archiving and alarm
info(archive, "0.02 VAL RBV DVAL OFF MSTA DIR CNEN MOVN DMOV MISS RCNT")
info(alarm, "Motors")
}

# allow splitting out of MSTA
record(mbbiDirect, "$(P)$(M):_MSTABITS")
{
field(INP, "$(P)$(M).MSTA CP")
}

record(bi, "$(P)$(M)_HOMED")
{
field(DESC, "Motor Homed")
field(ZNAM, "No")
field(ONAM, "Yes")
field(INP, "$(P)$(M):_MSTABITS.BE CP")
}

# ISIS local aliases for genie_python
alias("$(P)$(M)", "$(P)$(M):SP")
alias("$(P)$(M)", "$(P)$(M):SP:RBV")
3 changes: 3 additions & 0 deletions motorApp/Db/basic_motor_settings.req
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ $(P)$(M).PREM
$(P)$(M).POST
$(P)$(M).FLNK
$(P)$(M).RMOD
$(P)$(M).ADEL
$(P)$(M).MDEL
$(P)$(M).SPMG
$(P)$(M).RSTM
3 changes: 3 additions & 0 deletions motorApp/Db/linmot_extra.db
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
record(motor, "$(P)$(M)") {
field(OFF, "$(OFF)")
}
Loading
Loading