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  2022  2023  2024  <20252026  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  <20252026 
<== Date ==> <== Thread ==>

Subject: Re: About motor motion
From: "Knap, Giles \(DLSLtd,RAL,LSCI\) via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>, 백호령 <[email protected]>
Date: Thu, 28 Aug 2025 13:24:53 +0000
Hi Baeg,

I do not know anything about the maxnet controller.

However, I have developed a support module that drives the Smarct Smarpod using Smaract's own ECM controller. I can recommend this as it implements all of the kinematics for you and we have had two in-vacuum smarpods running on the I21 beamline at DLS for many years now.


This is Smaract's ECM https://www.smaract.com/en/control-systems-and-software/product/ecm I think this is a newer model than the one I21 is using.

I've copied Greg who is the current I21 controls engineer for comment.

Regards,
giles

From: Tech-talk <[email protected]> on behalf of 백호령 via Tech-talk <[email protected]>
Sent: 28 August 2025 05:31
To: [email protected] <[email protected]>
Subject: About motor motion
 
Hello, we are trying to implement motion like smarAct's smarpod 0.45 stage (https://www.youtube.com/watch?v=pwJK1UpAXnQ
0:55 seconds in the video).

 First of all, the motor of the stage is a step motor for a two-phase vacuum, and we are planning to control the motor by connecting it to maxv or maxnet controller. There is no need for fast motion like the piezo motor, but the goal we are currently trying to implement is to

1. When motor A (TESTMAX:R) moves in the CW direction, motor B (TESTMAX:L) moves in the CCW direction by the same distance

2. When motor A (TESTMAX:R) moves in the CW direction, motor B (TESTMAX:L) moves in the same CW direction by the same distance
It is.

Create a PV with the EPICS IOC with the MAXNET controller, and then, made soft IOC.
If the switch of SYNC:EN is ON, the motor is driven like number 1, and if the switch of SYNC:EN is OFF, it is driven like number 2.

It worked very well, but I really want to know there's another technology in epics.
Do you happen to have any examples or examples of driving motors in this way?
If there is a better way other than that, please advise.



==========================================
This is my db
sync_fast.db 
record(bo, "SYNC:EN") {
    field(DESC, "0=CoDir 1=Reverse")
    field(ZNAM, "OFF")
    field(ONAM, "ON")
    field(VAL, "1") 
}

record(calcout, "SYNC:AB:CMD") {
    field(DESC, "feedforward")
    field(SCAN, "Passive")
    field(INPA, "TESTMAX:R.VAL CP NMS") 
    field(INPB, "SYNC:EN CP NMS") 
    field(CALC, "B?-A:A") # EN=1: -A, EN=0: +A
    field(OUT, "TESTMAX:L.VAL PP")
    field(OOPT, "On Change")
    field(PREC, "4")
}

and this is my st.cmd
st.cmd 
#!../../bin/linux-x86_64/softmotor

< envPaths

cd "${TOP}"

dbLoadDatabase "dbd/softmotor.dbd"
softmotor_registerRecordDeviceDriver pdbbase

dbLoadRecords("db/sync_fast.db")

cd "${TOP}/iocBoot/${IOC}"


iocInit


Best&Regards,
Baeg


This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom.

References:
About motor motion 백호령 via Tech-talk

Navigate by Date:
Prev: Re: SRS - RGA Bob Dalesio via Tech-talk
Next: Re: help requested about motorPI module Peterson, Kevin M. 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  2022  2023  2024  <20252026 
Navigate by Thread:
Prev: About motor motion 백호령 via Tech-talk
Next: Building EPICS base with Yocto Paduan Donadio, Marcio 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  2022  2023  2024  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·