EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20222023  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  <20222023  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.

 

  1. I set correct pv and phase to motorx_setup at css

 

  1. 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.

 

  1. 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

 


Replies:
Re: motor control css problem Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: A simple EPICS driver example for PCI devices using asynPortDriver on Linux Wang, Lin via Tech-talk
Next: Re: motor control css problem Mark Rivers via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: Re: booting error on VxWorks Andrew Johnson via Tech-talk
Next: Re: motor control css problem Mark Rivers via Tech-talk
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  <20222023  2024 
ANJ, 04 Dec 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·