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: Delta Tau issue
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 25 Jul 2022 20:25:16 +0000

Folks,

 

I have a Delta Tau GeoBrick 8-channel system.  I have been using it with the Model 2 driver (not based on asynMotorDriver) in the tpmac repository: https://github.com/epics-modules/tpmacc.  I had not seen any errors with that driver.

 

I have just updated it to use the Model 3 driver (based on asynMotorDriver) in the pmac repository: https://github.com/dls-controls/pmac

 

The motors seem to be driving OK.  However, the OPI screens show a Controller Error, and the poller prints this message:

 

2022/07/25 15:10:09.937 pmacController::fastUpdate *** Hardware Problem *** global status [???] => 8400913

 

The controller error is generated if this _expression_ is non-zero:

const epicsUInt32 pmacController::PMAC_HARDWARE_PROB = (PMAC_GSTATUS_REALTIME_INTR |

                                                        PMAC_GSTATUS_FLASH_ERROR |

                                                        PMAC_GSTATUS_DPRAM_ERROR |

                                                        PMAC_GSTATUS_CKSUM_ERROR |

                                                        PMAC_GSTATUS_WATCHDOG |

                                                        PMAC_GSTATUS_SERVO_ERROR);

 

 

That Global Status value 8400913 in hex is 0x803011.  This translates to the following status bits being set:

 

Bit

Symbolic constant

Problem bit in PMAC_HARDWARE_PROB?

0x1

PMAC_GSTATUS_CARD_ADDR

No

0x10

PMAC_GSTATUS_MACRO_RING_ERRORCHECK

No

0x1000

PMAC_GSTATUS_CKSUM_ACTIVE

No

0x2000

PMAC_GSTATUS_CKSUM_ERROR

Yes

0x800000

PMAC_GSTATUS_RESERVED3

No

 

So it appears that the Controller Error on the OPI screen and the error message being printed is because the PMAC_GSTATUS_CKSUM_ERROR bit is set.

 

Does anyone know what that bit means, and why it might be set?

 

Thanks,

Mark

 


Replies:
Re: Delta Tau issue Andy Foster via Tech-talk
Re: Delta Tau issue Lazarski, Krzysztof Z. via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] Mimicking EVENT across IOCs Maren Purves via Tech-talk
Next: Substituting every period scan in EPICS MODBUS by I/O Interrupt Marco A. Barra Montevechi Filho 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: StreamDevice issues (Genesys power supply, Moxa) Zimoch Dirk (PSI) via Tech-talk
Next: Re: Delta Tau issue Andy Foster 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 ·