Skip to content

define soft asynMotor HLS value#47

Draft
prjemian wants to merge 1 commit intomasterfrom
46-control-HLS
Draft

define soft asynMotor HLS value#47
prjemian wants to merge 1 commit intomasterfrom
46-control-HLS

Conversation

@prjemian
Copy link
Contributor

@prjemian prjemian commented Feb 8, 2021

FIX #46

Found the missing HIGH_LIM specification to be a problem while building a new docker image with synApps 6.2 and motor 7-2-2. See prjemian/epics-docker#23 (comment)

@prjemian prjemian added the bug label Feb 8, 2021
@prjemian prjemian self-assigned this Feb 8, 2021
@prjemian prjemian marked this pull request as draft February 8, 2021 09:28
@prjemian
Copy link
Contributor Author

prjemian commented Feb 8, 2021

not convinced this is a fix yet ... still testing

@prjemian
Copy link
Contributor Author

prjemian commented Feb 8, 2021

Still not fixed:

In [4]: !caget ioc:m45.{VAL,RBV,MRES,HLM,HLS}
ioc:m45.VAL                    0.46714
ioc:m45.RBV                    0.32
ioc:m45.MRES                   1e-05
ioc:m45.HLM                    32000
ioc:m45.HLS                    1
# Motors
#dbLoadTemplate("substitutions/motor.substitutions", "P=$(PREFIX)")
#dbLoadTemplate("substitutions/softMotor.substitutions", "P=$(PREFIX)")
#dbLoadTemplate("substitutions/pseudoMotor.substitutions", "P=$(PREFIX)")

iocshLoad("$(MOTOR)/iocsh/motorSim.iocsh", "INSTANCE=motorSim, HOME_POS=0, NUM_AXES=48, HIGH_LIM=32000, LOW_LIM=-32000, SUB=substitutions/motorSim.substitutions")

# Allstop, alldone
iocshLoad("$(MOTOR)/iocsh/allstop.iocsh", "P=$(PREFIX)")

# trajectory scan
#dbLoadRecords("$(MOTOR)/motorApp/Db/trajectoryScan.db","P=$(PREFIX),R=traj1:,NAXES=2,NELM=300,NPULSE=300")
#doAfterIocInit("seq &MAX_trajectoryScan, 'P=$(PREFIX),R=traj1:,M1=m1,M2=m2,M3=m3,M4=m4,M5=m5,M6=m6,M7=m7,M8=m8,PORT=none'")

@MarkRivers
Copy link
Member

That change looks correct to me.

Note that Travis is failing with an unrelated error in caPutRecorder. It looks like a duplicate structure definition in base 7.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing HIGH_LIM specification in motors.iocsh

2 participants