Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
db5a428
Placeholder file
MarkRivers Jul 31, 2022
d28b7fa
Build on everything except vxWorks
MarkRivers Aug 1, 2022
4565308
Build on everything except vxWorks
MarkRivers Aug 1, 2022
45324c8
Many additions to ignore things that are built
MarkRivers Aug 1, 2022
080c6af
Add $(P):HOMEEDGE_CMD, Add $(P):HOMEEDGE_STATUS to set home switch edge
Sep 2, 2022
ce80118
Update README.md
motorapp Sep 2, 2022
cde277f
Update README.md
motorapp Sep 2, 2022
7f210d9
Update README.md
motorapp Sep 2, 2022
9dbcf20
Update README.md
motorapp Sep 2, 2022
97f0373
Update README.md
motorapp Sep 2, 2022
5df5446
Update README.md
motorapp Sep 2, 2022
c5f1592
Update README.md
motorapp Sep 2, 2022
c746a23
Update README.md
motorapp Sep 2, 2022
e739f89
Update README.md
motorapp Sep 2, 2022
f427e27
Update README.md
motorapp Sep 2, 2022
bb07fdc
Update README.md
motorapp Sep 7, 2022
b77c627
New file that is generic because it does not hardcode prefix, port, etc.
MarkRivers Sep 30, 2022
6a45e7f
Also install .substitutions and .dmc files
MarkRivers Sep 30, 2022
13cc46e
Add microstep records; change DRVL and DRVL for AMPGAIN_CMD to includ…
MarkRivers Sep 30, 2022
bb7782d
Add microstep record
MarkRivers Sep 30, 2022
5a07080
Change to build on any platform.
MarkRivers Sep 30, 2022
153aeab
Add readEnum method and Microstep parameter
MarkRivers Sep 30, 2022
0fa7564
Added support for the asynEnum interface.
MarkRivers Sep 30, 2022
36dff26
Dummy file for iocsh functions to allow dbd file to be used on all archs
MarkRivers Sep 30, 2022
506c76b
New file, split out from file that contained both
MarkRivers Sep 30, 2022
6208be6
Add HAVE_C++11
MarkRivers Sep 30, 2022
05d7d74
New file
MarkRivers Sep 30, 2022
cc490bf
Comment out EPICS_DISPLAY_PATH, it is probably already set
MarkRivers Sep 30, 2022
5b8f761
Only build if HAVE_C++11 is YES
MarkRivers Sep 30, 2022
2ebf1bd
Moved to GalilSup/Db
MarkRivers Sep 30, 2022
bb6c2a9
Add microstep; add explanatory text
MarkRivers Sep 30, 2022
84bfdec
Comment out changing EPICS_DISPLAY_PATH
MarkRivers May 26, 2023
574a889
Remove profileTimeArray from writeFloat64Array
MarkRivers May 26, 2023
8fb0cf4
Make generic, remove P, PORT, ADDR
MarkRivers May 26, 2023
31a2efb
Merge branch 'master' of github.com:MarkRivers/Galil-3-0
MarkRivers May 26, 2023
515d446
Comment out RIO
MarkRivers May 26, 2023
07e1d76
New files that separate RIO and DMC
MarkRivers May 26, 2023
63592f1
Unknown changes
MarkRivers May 26, 2023
4bd205d
Merge branch 'master' of github.com:MarkRivers/Galil-3-0
MarkRivers May 26, 2023
516f3c9
Add include file on Windows to allow use of 'and' keyword rather than &&
MarkRivers May 26, 2023
23ecd1e
Add support for asynEnum
Jul 2, 2023
e708771
Merge branch 'master' of https://github.com/motorapp/Galil-3-0.git
Jul 2, 2023
0329d09
Add support for asynEnum
Jul 3, 2023
eb8b8c3
Update README.md
motorapp Jul 14, 2023
41da123
Set default of 0 for many fields so they are not required macros
MarkRivers Sep 8, 2023
cc504e1
Don't use GALILRELEASE
MarkRivers Sep 8, 2023
f7c990c
New file
MarkRivers Feb 2, 2024
9b81b74
New file for 8 amplifiers
MarkRivers Feb 2, 2024
3ab84b2
Added related displays for 8 amplifiers and all 8 motor records
MarkRivers Feb 2, 2024
48ea8ea
Fix compilation error caused by use of "and" keyword. Revert to && for
Mar 3, 2024
9a5c200
Merge branch 'master' of https://github.com/motorapp/Galil-3-0.git
Mar 3, 2024
94461c8
Change top directory
Mar 9, 2024
33b5368
Change top folder
Mar 9, 2024
be947ca
Add support for building with EPICS ci-scripts
Mar 9, 2024
9c8c566
Minor tweak
MarkRivers May 7, 2024
c061d06
Minor tweak
MarkRivers May 7, 2024
07a1577
Add support for 3040 and 3140 servo amplifiers
MarkRivers May 7, 2024
a9db028
Update README.md
motorapp Jun 11, 2024
6ea1889
Update README.md
motorapp Jun 11, 2024
f0d129a
Update README.md
motorapp Jun 11, 2024
1d3b527
Fix menu colors, both foreground and background were blue (51)
MarkRivers Jul 1, 2024
8f65608
Fixed a bug in the autogen DMC for the digital inputs.
AbdallaDalleh Aug 28, 2024
c5994d1
Use clear description for switch types.
AbdallaDalleh Aug 28, 2024
01d20e9
Merge pull request #23 from AbdallaDalleh/master
motorapp Aug 30, 2024
6277c21
Fix interlock code generation
motorapp Sep 1, 2024
21f3696
Update release, screens, screen start script
Sep 6, 2024
9e7daf3
Merge in support for 3040, 3140 amps, expand .gitignore
Sep 6, 2024
ce104fe
Update change log in GalilController.cpp
Sep 7, 2024
03e5d03
Default values for some record fields, add screesn for 8 amps/motors
Sep 7, 2024
cecce9e
Alter limit, home description, alter screen start scripts
Sep 7, 2024
48d9c37
Update gitignore for galil_motors.ui
Sep 7, 2024
54175fe
Add enum for motor record spmg status
Sep 8, 2024
c3dba41
Update Qt dmc ctrl screen
Sep 8, 2024
b04dc14
Fix issue in GalilStartController
Sep 8, 2024
bd2e85a
Update change log
Sep 8, 2024
42de46a
Fix change text entry widgets to string type
Oct 16, 2024
2efa5ac
increment version
Oct 16, 2024
97872c5
Add support for motor record SET field to GalilCSAxis
Oct 17, 2024
d30be28
Add op directory for autoconvert
MarkRivers Dec 26, 2024
0511221
New file for autoconvert
MarkRivers Dec 26, 2024
c231695
Merge upstream into local changes
MarkRivers Dec 27, 2024
e13b674
Fix undefined variables in report()
MarkRivers Dec 27, 2024
c767619
Fix compiler warnings of potential unset variables
MarkRivers Dec 27, 2024
6dd8d1f
Merge upstream master
MarkRivers Dec 27, 2024
68c9264
New file to prevent failure on systems without C++11
MarkRivers Dec 27, 2024
089fdc2
Changes to prevent build failure on systems without C++11
MarkRivers Dec 27, 2024
ca16b3f
Fix motor names passed to galil_profileMove, were hardcoded A-H, chan…
MarkRivers Dec 27, 2024
ab96679
Fix error in constructing string messages, make format consistent
MarkRivers Dec 28, 2024
4ae1658
Fix issue in report() with poll delay
MarkRivers Dec 28, 2024
6473d1f
Remove .subsitutions, not needed
MarkRivers Dec 28, 2024
c4d52d6
New autoconverted file
MarkRivers Dec 28, 2024
1f6800c
Add additional optional locations for CONFIG_SITE files
MarkRivers Dec 28, 2024
a10966d
Add more information to report(); improve amp enums, add servo amp ca…
MarkRivers Dec 29, 2024
e09a87b
Fixes and changes from MRivers repository
Jan 13, 2025
9417aef
Update README.md
motorapp Jan 13, 2025
d98de9d
Fix no amp mesg when no controller. Widen step smooth drvh, drvl
Jan 16, 2025
e8622d1
Merge branch 'master' of https://github.com/motorapp/Galil
Jan 16, 2025
2c9d8e2
Change user defined record prefix now derived from PORT
Jan 17, 2025
1e82022
Fix DMOV set true whilst controller still outputting step pulses
Jan 24, 2025
493a2eb
Merge upstream_master
MarkRivers Jan 24, 2025
16fc9e4
Fix for custom code files remove REM lines, replace empty lines with '
Mar 9, 2025
4c236cb
Add BrushType parameter; add gains for 43547 amplifier
MarkRivers Mar 24, 2025
ee9c330
Add BrushType parameter (BR command)
MarkRivers Mar 24, 2025
600a6d0
Add support for BRTYPE
MarkRivers Mar 24, 2025
4e61a42
New file for important extras PVs for all 8 motors
MarkRivers Mar 24, 2025
98398bb
Add BRTYPE
MarkRivers Mar 24, 2025
919b0aa
Unknown change
MarkRivers Mar 24, 2025
7ede943
New autoconvert file
MarkRivers Mar 24, 2025
b25058a
Merge branch 'upstream_master'
MarkRivers Mar 25, 2025
81290aa
Fix segFault on controller reconnect in UDP mode
Mar 27, 2025
03b2fc5
Add GalilAmpModel parameter; add ampGainCallback function
MarkRivers Mar 27, 2025
964b773
Add GalilAmpModel parameter; add ampGainCallback function to do enum …
MarkRivers Mar 27, 2025
5b810af
Add AMPMODEL_STATUS record
MarkRivers Mar 27, 2025
bfa5fb6
Add galil_extras_8.adl, rearrange
MarkRivers Mar 27, 2025
48ac568
Add more PVs
MarkRivers Mar 27, 2025
da1c375
Move some PVs to galil_amp_8.adl
MarkRivers Mar 27, 2025
9974011
New autoconvert
MarkRivers Mar 27, 2025
2dac886
Merge branch 'upstream_master'
MarkRivers Mar 27, 2025
a0ae454
Update RIO configuration script
Mar 28, 2025
f1c054d
Remove PHAS, not needed
MarkRivers Apr 2, 2025
62050ab
Fix problem with menus, text and background colors were the same, tex…
MarkRivers Apr 2, 2025
b38fac1
New autoconvert
MarkRivers Apr 2, 2025
b08c293
Fix BRTYPE_CMD
MarkRivers May 2, 2025
2f0649b
Merge branch 'master' of github.com:MarkRivers/Galil-3-0
MarkRivers May 2, 2025
5ff0fb8
Add missing config/RELEASE.local
May 6, 2025
bcecdd7
Update driver version and changelog
May 6, 2025
b4930bc
Add support for amplifier status monitoring and ELO recovery
Sep 24, 2025
88b41f4
Change colors. Add Qt amp8 screen. Fix Qt start scripts. Optimizations.
Sep 26, 2025
43eae90
Comment change
Sep 26, 2025
73fc2c7
Replace atof with strtod in conmand console write
Sep 26, 2025
f0bd3f9
New autoconvert
MarkRivers Sep 26, 2025
1ab83d9
Merge pull request #1 from motorapp/master
MarkRivers Sep 26, 2025
fd12d05
Fix datarecord decode is on 4000 series. Bug fix missing braces
Sep 27, 2025
cf535d5
Merge commit 'refs/pull/43/head' of https://github.com/motorapp/Galil…
Sep 27, 2025
bd1c179
Fix overlapping widgets in galil_amp_8.adl
MarkRivers Oct 7, 2025
6e88b4d
New autoconvert file
MarkRivers Oct 7, 2025
30450f7
Fix issue in GalilController::getStatus. Coordsys segment count err
Oct 11, 2025
bd22f4d
Block ST command thru command console. Fix unsolicted mesgs
Oct 12, 2025
5a3b07a
Get version number right, update change log
Oct 12, 2025
c219ffa
Move RELEASE.local, remove config folder
Oct 30, 2025
30ad287
Add configure/RELEASE.local example
Oct 30, 2025
92341b8
Remove SUPPORT=
Oct 30, 2025
12b5ae4
Update version, changelog
Oct 30, 2025
faea5e8
Merge pull request #43 from MarkRivers/master
motorapp Oct 30, 2025
51da5ab
Merge pull request #45 from motorapp/ELO-AZ1_recovery_issue
motorapp Oct 30, 2025
526f38a
Remove line that frees uninitialized string pointers
MarkRivers Nov 1, 2025
3ecf9c9
New autoconvert
MarkRivers Nov 1, 2025
e444310
Merge pull request #50 from MarkRivers/master
motorapp Nov 3, 2025
b896c81
Update changelog, version
Nov 3, 2025
b7e78a5
Simplify code, no need to duplicate strings and hence no need to free
MarkRivers Nov 5, 2025
48d1eb1
Merge branch 'upstream_master'
MarkRivers Nov 5, 2025
b1c406a
Merge pull request #51 from MarkRivers/master
motorapp Nov 6, 2025
fca0b38
Update change log, version
Nov 6, 2025
5441438
Update screen start scripts, comments in cmd files, version number
Jan 20, 2026
5faa7f1
Changed textbox format to string in F and R kinematics UI.
AbdallaDalleh Jan 21, 2026
ce8d5cd
Merge pull request #52 from AbdallaDalleh/master
motorapp Jan 22, 2026
87f35f3
Update changelog
Jan 22, 2026
44393be
Merge branch 'master' of https://github.com/motorapp/Galil
Jan 22, 2026
ec5d3cb
Update README.md
motorapp Mar 22, 2026
7b99c82
New versions, use SUPPORT
MarkRivers Apr 30, 2026
3126d66
New autoconvert
MarkRivers Apr 30, 2026
a290b90
Fix bug in motorsAtStart, it was using the wrong index for startp[]
MarkRivers Apr 30, 2026
0862d78
Merge branch 'master' of github.com:MarkRivers/Galil-3-0
MarkRivers Apr 30, 2026
920ab84
Merge pull request #54 from MarkRivers/master
motorapp May 1, 2026
33b77f4
Prevent brake release for disconnected motor.
AbdallaDalleh May 20, 2026
3d7bd3c
GalilAxis::setBrake is now checking for GalilMotorConnected_ before r…
AbdallaDalleh May 21, 2026
623e868
Merge pull request #56 from AbdallaDalleh/master
motorapp May 21, 2026
66154e2
Update changelog and version
May 21, 2026
207699e
Update comments in DMC01Configure.cmd for GalilCreateAxis
May 21, 2026
e9cf301
Merge tag 'V4-1-15' into update_to_4_1_15
FreddieAkeroyd Jun 23, 2026
59d218d
Fix mised merge conflict
FreddieAkeroyd Jun 23, 2026
7435cb5
update
FreddieAkeroyd Jun 24, 2026
8186225
update
FreddieAkeroyd Jun 24, 2026
fc15652
h
FreddieAkeroyd Jun 24, 2026
45ce1b0
update
FreddieAkeroyd Jun 24, 2026
43d53c2
update
FreddieAkeroyd Jun 24, 2026
b84b4af
update
FreddieAkeroyd Jun 24, 2026
8a78f53
h
FreddieAkeroyd Jun 24, 2026
2c56602
Only check soft limits on home after timeout
FreddieAkeroyd Oct 30, 2025
3c2e4ae
Try to avoid race condition on startup
FreddieAkeroyd Jun 8, 2026
168886e
Add kinematics request file
FreddieAkeroyd Jun 18, 2026
ea97452
Merge branch 'Ticket8550_soft_limits_and_home' into update_to_4_1_15
FreddieAkeroyd Jun 24, 2026
ae2cfde
p
FreddieAkeroyd Jun 24, 2026
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
10 changes: 7 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Set the default behavior, in case people don't have core.autocrlf set.
#Which files need CRLF handling
# Default is auto
* text=auto

# But we can help Git, because we now about some file extensions
*.bat text eol=crlf
*.jpeg -text
*.pdf -text

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
Expand All @@ -9,7 +15,6 @@
*.hpp text
*.java text
*.sh text eol=lf
*.bat text eol=crlf
*.cmd text
*.db text
*.dbd text
Expand All @@ -27,4 +32,3 @@
*.jpg binary
*.class binary
*.vi binary
*.pdf binary
21 changes: 21 additions & 0 deletions GalilSup/Db/GALIL_controller_kinematics.req
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Kinematics

# Forward transforms (Readbacks)
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)09
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)10
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)11
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)12
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)13
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)14
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)15
file "galil_forward_transform.req" P=$(P), M=MTR$(CCP)16

# Reverse transforms (Setpoints)
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)09
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)10
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)11
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)12
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)13
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)14
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)15
file "galil_reverse_transforms.req" P=$(P), M=MTR$(CCP)16
8 changes: 8 additions & 0 deletions GalilSup/Db/galil_8_motor_extras.req
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
file "galil_motor_extras.req", P=$(P), M=$(M1)
file "galil_motor_extras.req", P=$(P), M=$(M2)
file "galil_motor_extras.req", P=$(P), M=$(M3)
file "galil_motor_extras.req", P=$(P), M=$(M4)
file "galil_motor_extras.req", P=$(P), M=$(M5)
file "galil_motor_extras.req", P=$(P), M=$(M6)
file "galil_motor_extras.req", P=$(P), M=$(M7)
file "galil_motor_extras.req", P=$(P), M=$(M8)
20 changes: 13 additions & 7 deletions GalilSup/Db/galil_Home_Dummy_Move.dmc
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,24 @@ IF (home${AXIS}=1)
IF ((hjog${AXIS}=1) & (_BG${AXIS}=1) & (home${AXIS}=1))
ST${AXIS};ENDIF
IF ((hjog${AXIS}=1) & (_BG${AXIS}=0) & (home${AXIS}=1))
PR${AXIS}=(_SP${AXIS} * 2);SH${AXIS};WT100;BG${AXIS};hjog${AXIS}=2
PR${AXIS}=(_SP${AXIS} * 2);SH${AXIS};hjog${AXIS}=2
ENDIF
IF ((hjog${AXIS}=2) & (_BG${AXIS}=0) & (home${AXIS}=1) & (_SC${AXIS}=1))
hjog${AXIS}=3
IF ((hjog${AXIS}=2) & (_BG${AXIS}=0) & (_MO${AXIS}=0) & (home${AXIS}=1))
BG${AXIS};hjog${AXIS}=3
ENDIF
IF ((hjog${AXIS}=3) & (_BG${AXIS}=0) & (home${AXIS}=1) & (_SC${AXIS}=1))
hjog${AXIS}=4
ENDIF
IF ((hjog${AXIS}>=3) & (hjog${AXIS}<10) & (_BG${AXIS}=0) & (home${AXIS}=1))
IF ((hjog${AXIS}>=4) & (hjog${AXIS}<11) & (_BG${AXIS}=0) & (home${AXIS}=1))
hjog${AXIS}=hjog${AXIS}+1;WT10
ENDIF
IF ((hjog${AXIS}=10) & (_BG${AXIS}=0) & (home${AXIS}=1))
PR${AXIS}=(_SP${AXIS} * -2);SH${AXIS};WT100;BG${AXIS};hjog${AXIS}=11
IF ((hjog${AXIS}=11) & (_BG${AXIS}=0) & (home${AXIS}=1))
PR${AXIS}=(_SP${AXIS} * -2);SH${AXIS};hjog${AXIS}=12
ENDIF
IF ((hjog${AXIS}=11) & (_BG${AXIS}=0) & (home${AXIS}=1) & (_SC${AXIS}=1))
IF ((hjog${AXIS}=12) & (_BG${AXIS}=0) & (_MO${AXIS}=0) & (home${AXIS}=1))
BG${AXIS};hjog${AXIS}=13
ENDIF
IF ((hjog${AXIS}=13) & (_BG${AXIS}=0) & (home${AXIS}=1) & (_SC${AXIS}=1))
hjog${AXIS}=0;home${AXIS}=0;homed${AXIS}=1
MG "home${AXIS}", home${AXIS};MG "homed${AXIS}", homed${AXIS}
ENDIF
Expand Down
29 changes: 25 additions & 4 deletions GalilSup/Db/galil_dmc_ctrl.template
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,17 @@ record(bi,"$(P)START_STATUS")
field(INP, "@asyn($(PORT),0)CONTROLLER_START")
}

record(bo,"$(P)CLEARAMPFAULTS_CMD")
{
field(DESC, "Clear amp faults")
field(DTYP, "asynInt32")
field(ZNAM, "CLEAR")
field(ZSV, "NO_ALARM")
field(ONAM, "CLEAR")
field(OSV, "NO_ALARM")
field(OUT, "@asyn($(PORT),0)CONTROLLER_CLEARAMPFAULTS")
}

#Defered moves support
record(bi,"$(P)DEFER_STATUS")
{
Expand Down Expand Up @@ -591,15 +602,21 @@ record(ao,"$(P)PWRDET:SP") {
field(DTYP, "asynFloat64")
field(OUT, "@asyn($(PORT),0)USER_VAR pwrdet")
field(SCAN, "Passive")
# set a default non-zero as zero in galil is a problem
# and is never a test value
field(VAL, "2")
info(autosaveFields_pass0, "VAL")
info(archive, "VAL")
}

record(ai,"$(P)PWRDET") {
field(DESC, "Get Power off detect value")
field(DTYP, "asynFloat64")
field(INP, "@asyn($(PORT),0)USER_VAR pwrdet")
field(SCAN, "10 second")
field(SDIS, "$(P)PWRDET:SP.PACT")
field(FLNK, "$(P)PWRDET:ALERT.PROC")
info(archive, "VAL")
}

## 0 = ok, 1 = problem
Expand All @@ -610,7 +627,7 @@ record(calcout,"$(P)PWRDET:ALERT") {
field(INPB, "$(P)PWRDET:SP")
field(CALC, "A!=B")
field(OOPT, "When Zero")
field(OUT, "$(P)PWRDET:TIMER.PROC")
field(OUT, "$(P)PWRDET:TIMER.PROC PP")
info(archive, "VAL")
}

Expand All @@ -622,12 +639,16 @@ record(bo,"$(P)PWRDET:RESET:SP") {
}

## how often we should set a new test value
## A % 360 means 3600 seconds as we are on 10 second scan link
## A = 360 means 3600 seconds as we are on 10 second scan link
## Changing value is only a check in case it got saved into galil
## firmware so changing this once per ioc run is fine
## make sure we don't set a new value too soon
## after ioc startup in case of a quick restart causing a race condition
record(calcout, "$(P)PWRDET:TIMER") {
field(DESC, "Set new PWRDET test value")
field(CALC, "A % 360; A := A + 1")
field(CALC, "A = 360; A := A + 1")
field(INPA, "0")
field(OOPT, "When Zero")
field(OOPT, "When Non-zero")
field(DOPT, "Use OCAL")
field(OCAL, "CEIL(RNDM*100)+1")
field(OUT, "$(P)PWRDET:SP PP")
Expand Down
2 changes: 2 additions & 0 deletions GalilSup/Db/galil_motor_extras.req
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$(P)$(M)_STEPSMOOTH_SP
$(P)$(M)_ESTALLTIME_SP
$(P)$(M)_MTRTYPE_CMD
$(P)$(M)_BRTYPE_CMD
$(P)$(M)_EGUAFTLIMIT_SP
$(P)$(M)_ERRLIMIT_SP
$(P)$(M)_OFFONERR_CMD
Expand All @@ -27,6 +28,7 @@ $(P)$(M)_WLP_CMD
$(P)$(M)_AUTOONOFF_CMD
$(P)$(M)_ONDELAY_SP
$(P)$(M)_OFFDELAY_SP
$(P)$(M)_ULAH_CMD
$(P)$(M)_USWITCH_CMD
$(P)$(M)_UINDEX_CMD
$(P)$(M)_JAH_CMD
Expand Down
101 changes: 97 additions & 4 deletions GalilSup/Db/galil_motor_extras.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# Mark Clift
# email: padmoz@tpg.com.au


record(bi,"$(P)$(M)_SCONN_STATUS")
{
field(DESC, "SSI connection status")
Expand Down Expand Up @@ -227,6 +226,33 @@ record(bi,"$(P)$(M)_MCONN_STATUS")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_MCONN")
}

record(bi,"$(P)$(M)_ULAH_STATUS")
{
field(DESC, "use limits as home")
field(PINI, "YES")
field(DTYP, "asynInt32")
field(SCAN, "$(SCAN)")
field(ZNAM, "No")
field(ZSV, "NO_ALARM")
field(ONAM, "Yes")
field(OSV, "NO_ALARM")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_USELIMITASHOME")
}

record(bo,"$(P)$(M)_ULAH_CMD")
{
field(DESC,"use limits as home")
field(DTYP,"asynInt32")
field(VAL, "1")
field(PINI,"YES")
field(ZNAM,"No")
field(ZSV, "NO_ALARM")
field(ONAM,"Yes")
field(OSV, "NO_ALARM")
field(OUT, "@asyn($(PORT),$(ADDR))MOTOR_USELIMITASHOME")
field(FLNK,"$(P)$(M)_ULAH_STATUS")
}

record(bi,"$(P)$(M)_UINDEX_STATUS")
{
field(DESC, "use index")
Expand Down Expand Up @@ -271,7 +297,7 @@ record(bo,"$(P)$(M)_USWITCH_CMD")
{
field(DESC,"use switch")
field(DTYP,"asynInt32")
field(VAL, "1")
field(VAL, "0")
field(PINI,"YES")
field(ZNAM,"No")
field(ZSV, "NO_ALARM")
Expand Down Expand Up @@ -935,6 +961,15 @@ record(mbbi,"$(P)$(M)_MICROSTEP_STATUS")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_MICROSTEP")
}

record(longin,"$(P)$(M)_AMPMODEL_STATUS")
{
field(DESC, "Amp model")
field(PINI, "YES")
field(DTYP, "asynInt32")
field(VAL, "0")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_AMP_MODEL")
}

record(mbbo,"$(P)$(M)_AMPGAIN_CMD")
{
field(DESC, "Amp gain")
Expand Down Expand Up @@ -1242,6 +1277,38 @@ record(mbbi,"$(P)$(M)_MTRTYPE_STATUS")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_TYPE")
}

record(mbbo,"$(P)$(M)_BRTYPE_CMD")
{
field(DESC, "brush type")
field(DTYP, "asynInt32")
field(ZRST, "External Drive")
field(ONST, "Brushless")
field(TWST, "Brush")
field(ZRVL, "-1")
field(ONVL, "0")
field(TWVL, "1")
field(VAL, "2")
field(PINI, "YES")
field(OUT, "@asyn($(PORT),$(ADDR))BRUSH_TYPE")
field(FLNK, "$(P)$(M)_BRTYPE_STATUS")
}

record(mbbi,"$(P)$(M)_BRTYPE_STATUS")
{
field(DESC, "brush type")
field(PINI, "YES")
field(SCAN, "$(SCAN)")
field(DTYP, "asynInt32")
field(ZRST, "External Drive")
field(ONST, "Brushless")
field(TWST, "Brush")
field(ZRVL, "-1")
field(ONVL, "0")
field(TWVL, "1")
field(INP, "@asyn($(PORT),$(ADDR))BRUSH_TYPE")
}


record(mbbo,"$(P)$(M)_MENCTYPE_CMD")
{
field(DESC, "main enc type")
Expand Down Expand Up @@ -1597,15 +1664,41 @@ record(calcout,"$(P)$(M)_EDEL_MON_")

####

# Internal Galil amplifier hall error status
record(bi,"$(P)$(M)_HALLERROR_STATUS")
{
field(DESC, "Hall error status")
field(DTYP, "asynInt32")
field(SCAN, "I/O Intr")
field(ZNAM, "OK")
field(ZSV, "NO_ALARM")
field(ONAM, "HallError")
field(OSV, "MAJOR")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_HALLERROR_STATUS")
}

# Internal Galil amplifier at torque limit status
record(bi,"$(P)$(M)_ATTORQUELIMIT_STATUS")
{
field(DESC, "At torque limit status")
field(DTYP, "asynInt32")
field(SCAN, "I/O Intr")
field(ZNAM, "OK")
field(ZSV, "NO_ALARM")
field(ONAM, "TorqueLimit")
field(OSV, "MAJOR")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_ATTORQUELIMIT_STATUS")
}

record(bi,"$(P)$(M)_ON_STATUS")
{
field(DESC, "Mtr on status")
field(DTYP, "asynInt32")
field(SCAN, "I/O Intr")
field(ZNAM, "Off")
field(ZSV, "MINOR")
field(ZSV, "NO_ALARM")
field(ONAM, "On")
field(OSV, "NO_ALARM")
field(OSV, "MINOR")
field(INP, "@asyn($(PORT),$(ADDR))MOTOR_STATUS_POWERED")
}

Expand Down
Loading