Hi, now I’m going to test the motor control from now on.
Before I ask a question, I would like to thank the epics tech talk for helping me this step.
I’m a beginner in epics and RTOS, but I was able to come to this step with a lot of help. Really appreciate it.
I booted MVME6100 with epics st.cmd, MAXv controller. Now I’m trying to control motor use CSS.
I connected epics pv with css pv. And then I try to move this motor to +, the motor doesn’t work.
vxWorks system boot
snipped..
ld 0,0, "oms.munch"
cd top
dbLoadDatabase "dbd/oms.dbd"
oms_registerRecordDeviceDriver pdbbase
cd startup
dbLoadRecords("$(MOTOR)/db/motorUtil.db", "P=oms:")
< MAXv.cmd
dbLoadTemplate("MAXv.substitutions")
MAXvSetup(1, 16, 0xF000, 200, 5, 10)
str = malloc(200);
strcpy str, "AA; LMH,H,H,H,H,H,H,H;"
strcat str, "AX LTH PSE; AY LTH PSO; AZ LTL PSO; AT LTL PSE; AU LTL PSE; AV LTL PSE; AR LTL PSE; AS LTL PSE;"
MAXvConfig(0, str, 0, 0)
free(str)
iocInit
Starting iocInit
############################################################################
## EPICS R3.15.6
## EPICS Base built Oct 7 2022
############################################################################
iocRun: All initialization complete
## motorUtil (allstop & alldone)
motorUtilInit("oms:")
# Boot complete
Done executing startup script '/home/test/epics/synApps_6_1/support/motor-R7-1/modules/motorOms/iocs/omsIOC/iocBoot/iocOms/st.cmd'.
The motor is “pk545nbw” oriental motor, 5 phase stepper motor.
- I set correct pv and phase to motorx_setup at css
- And then when I try to click this(>) button, it doesn’t move any more.
0.00200 is the all I can move on css and real motor is not moving.
- Is it because of this limit at motorx_all?
If it does not move because of this limit, how can I remove this?
Does anyone know how to resolve this problem? Please help me or give me any suggestions.
Thanks