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 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: Control device via epics-snmp
From: White via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 20 Mar 2024 16:20:22 +0800 (CST)

Hi

I'm trying to control the device using the SNMP protocol. But I can caget to the value, when I caput, the value does not change.

 

the db file is as follows:

 

record(ao,"$(DEV):Switch1")

{

    field(DESC,"SNMP channel")

    field(DTYP,"Snmp")

    field(SCAN,"Passive")

    #field(PREC,"3")

    field(OUT,"@$(HOST) private $(MIB)::pduOutletSwitchedControlCommand.1.1  ( 100")

}

 

The mib file is as follows:

 

pduOutletSwitchedControlCommand OBJECT-TYPE

  -- FROM       ENLOGIC-PDU-MIB

  SYNTAX        INTEGER {immediateOff(1), immediateOn(2), delayedOff(3), delayedOn(4), immediateReboot(5), delayedReboot(6), outletUnknown(7)}

  MAX-ACCESS    read-write

  STATUS        current

  DESCRIPTION   "Getting this variable will return the outlet state.

                If the outlet is on, the immediateOn (2)

                value will be returned. If the outlet is off,

                the immediateOff (1) value will be returned. "

::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) enlogic(38446) pdu(1) pduOutlet(5) pduOutletSwitchedControlTable(5) pduOutletSwitchedControlEntry(1) pduOutletSwitchedControlCommand(4) 1 2 }

 

Is there an error somewhere in the db file?

Thanks

Replies:
Re: Control device via epics-snmp Priller, John via Tech-talk

Navigate by Date:
Prev: ODP: Keysight oscilloscope DSOX1204 EPICS Driver Mateusz Nabywaniec via Tech-talk
Next: RE: mcaAIM and nmcDemo not finding AIM 556 on new linux install 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  2022  2023  <2024
Navigate by Thread:
Prev: Archiver Appliance cluster deployment does not display identity of current node Wang, Lin via Tech-talk
Next: Re: Control device via epics-snmp Priller, John 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
ANJ, 20 Mar 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·