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: IOC file for motorMicronix MMC200
From: Jong Woo Kim via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 11 Aug 2022 19:25:26 +0000
Hello EPICS community,

The following is the contents of motor.cmd.mmc200 file.

I assigned IP address on the MMC100 (I heard that motor.cmd.mmc200 works in MMC100 ).
So, I want to modify the file so that it works with Ethernet connection because it has been written for RS-232 with RS-485.

Is anybody who has the 'IP port' version of it? 
________________________________________________________
dbLoadTemplate("motor.substitutions.mmc200")

### RS-232 with RS-485 adpater (serial1)

#drvAsynSerialPortConfigure("serial1", "/dev/ttyS0", 0, 0, 0)

#!asynOctetSetInputEos("serial1",0,"\n\r")
#!asynOctetSetOutputEos("serial1",0,"\r")

# Turn on asyn traces
#!asynSetTraceIOMask("serial1",0,0x1)
#!asynSetTraceMask("serial1",0,0x3)

###
# MMC200CreateController(
#    motor port (will be created),
#    asyn port (must already exist),
#    num axes,
#    moving poll period (ms),
#    idle poll period (ms),
#    ignore limit flag)
###
#!MMC200CreateController("mmc200_1", "serial1", 2, 500, 2000, 1)
MMC200CreateController("mmc200_1", "serial1", 2, 500, 0, 1)

# Turn off asyn traces
#!asynSetTraceIOMask("serial1",0,0x0)
#!asynSetTraceMask("serial1",0,0x1)
______________________________________________________________


Replies:
Re: IOC file for motorMicronix MMC200 Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Issue with RULES_BUILD of seq 2.2.9 Han Lee via Tech-talk
Next: RE: Scan overflow issue Zhang, Tong 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: ai - record unfortunately does not behave as I expect it to Florian Feldbauer via Tech-talk
Next: Re: IOC file for motorMicronix MMC200 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, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·