1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | motor control css problem |
From: | whitetiger1123 via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 5 Dec 2022 13:24:30 +0900 |
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.
0.00200 is the all I can move on css and real motor is not moving.
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 |