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: Re: IOC file for motorMicronix MMC200
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Jong Woo Kim <Jong.Woo.Kim at asu.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 11 Aug 2022 23:43:20 +0000
Hi John Woo,

According to the online manuals for the Micronix MC100 and MC200 they only have USB-2.0 and RS-485 interfaces, not Ethernet. 

Do you mean an Ethernet terminal server?

Mark

Sent from my iPhone

On Aug 11, 2022, at 3:25 PM, Jong Woo Kim via Tech-talk <tech-talk at aps.anl.gov> wrote:


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)
______________________________________________________________


References:
IOC file for motorMicronix MMC200 Jong Woo Kim via Tech-talk

Navigate by Date:
Prev: RE: Scan overflow issue Zhang, Tong via Tech-talk
Next: Re: Scan overflow issue Ralph Lange 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: IOC file for motorMicronix MMC200 Jong Woo Kim via Tech-talk
Next: forcing rpath Pierrick M Hanlet 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 ·