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  2025  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  2025 
<== Date ==> <== Thread ==>

Subject: Re: Delta Tau issue
From: "Lazarski, Krzysztof Z. via Tech-talk" <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>, "Rivers, Mark L." <rivers at cars.uchicago.edu>
Date: Tue, 26 Jul 2022 17:28:21 +0000
Hi Mark,
We are not using GeoBricks, but Turbo PMAC Ultralites with fiber MACRO, but as I remember in the case of global status bits, their meanning could depend on the firmware version, for example:

V1.947 Updates (May 2010)
1. Geo Brick version “A” firmware only: Set “configuration error” global status bit if do not receive
proper response to AMPVER command, preventing subsequent operation. (This means that Geo
Brick LV and Brick Controller cannot use Geo Brick “A” firmware.)

I took it from the Turbo PMAC/PMAC2 Software Reference Manual.
The changes in the firmware are described at the end of these manuals.

All the best ,
Krzysztof




From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, July 25, 2022 3:25 PM
To: tech-talk <tech-talk at aps.anl.gov>
Subject: Delta Tau issue
 

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

 


References:
Delta Tau issue Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: PINI field not working with modbus Marco A. Barra Montevechi Filho via Tech-talk
Next: Re: PINI field not working with modbus 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  2025 
Navigate by Thread:
Prev: RE: Delta Tau issue Mark Rivers 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  2025 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·