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: Industry Pack support for TIP850 under RTEMS
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Sintschuk, Michael" <michael.sintschuk at bam.de>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 10 Aug 2022 17:00:53 +0000
Hi Michael,

You probably don’t need tip850.h. It will define symbolic names for register locations, etc. you can create that yourself from the manual. 

However, you might ask how much they charge for the vxWorks software, which includes source code: 
TIP850-SW-4

That will include tip850.h, and may save you a lot of time. It might even be free.

Mark

Sent from my iPhone

On Aug 10, 2022, at 12:46 PM, Sintschuk, Michael <michael.sintschuk at bam.de> wrote:



Hi Andrew, hi Mark,

 

thanks for the advices! The dac128V driver looks like a good starting point for me. It seems that it is only using the “ipmValidate” function from drvIpac.h. That would be the only connection to the carrier board, in my case the VIPC616, right?

 

Also, TEWS offers some programming manuals for VxWorks, Windows and Linux:

https://www.tews.com/Products/ArticleGroup/TIP/TIP850.html

There they use

#incluse <tip850.h>

in their examples. I don’t have such a files or any software from TEWS. Do you think that it is still possible to write a driver like the dac128V one without such a file?

 

Michael

 

 

Von: Mark Rivers <rivers at cars.uchicago.edu>
Gesendet: Dienstag, 9. August 2022 19:06
An: Andrew Johnson <anj at anl.gov>
Cc: Sintschuk, Michael <michael.sintschuk at bam.de>; tech-talk <tech-talk at aps.anl.gov>
Betreff: Re: Industry Pack support for TIP850 under RTEMS

 

SICHERHEITSHINWEIS: Diese E-Mail wurde von außerhalb an die BAM gesendet. Bitte klicken Sie nicht auf Links oder öffnen Anhänge, bevor Sie nicht den Absender verifiziert haben und sicher sind, dass der Inhalt vertrauenswürdig ist.
This message was sent from outside of BAM. Please do not click links or open attachments unless you recognize the sender and know the content is trustworthy.

The dac128V is a simple DAC driver. 

 

 

Mark

 

Sent from my iPhone



On Aug 9, 2022, at 12:25 PM, Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov> wrote:

 Hi Michael,

On 8/9/22 3:00 AM, Sintschuk, Michael via Tech-talk wrote:

is someone using (or have ever used) a TIP850 Industry Pack module from TEWS with EPICS?

I have a SBS/GreenSpring VIPC616 VME-card which carries two of such modules. I can compile a RTEMS-IOC with the epics ipac-module running on a MVME2100. The IOC finds the VIPC616 card with the two TIP850 modules:

 

ipacAddVIPC616(0xD000,0x80000000)

.

.

192.168.99.250> ipacReport(2)
  IP Carrier  0: SBS/GreenSpring VIPC616, 4 slots
    C0 S0 : 0xb3/0x09
      ID = 0x9fffd080, I/O = 0x9fffd000
    C0 S1 : 0xb3/0x09
      ID = 0x9fffd180, I/O = 0x9fffd100
    C0 S2 : No IPAC ID
      ID = 0x9fffd280, I/O = 0x9fffd200
    C0 S3 : No IPAC ID
      ID = 0x9fffd380, I/O = 0x9fffd300

 

Do I need an additional driver for the TIP850 to connect to the I/O-channels?

The epics ipac-module has support for the TIP810 CAN bus interface. Would a TIP850 driver look similar to this one?

Yes you will need a separate EPICS IPAC Module driver to actually perform I/O through the hardware. The TIP850 provides 12-bit ADC & DAC channels, it will be different (and probably simpler) than the TIP810 CANbus driver that's included in drvIpac itself. Drivers based on the epics devLib API can be built for both RTEMS and VxWorks (and even Linux).

Unfortunately I can't find any other EPICS Industry Pack drivers for modules that have both an ADC and DAC on them, the synApps ip330 support module for the Acromag IP330 ADC board looks to be a bit more complex than you might need for doing simple analogue I/O. There are EPICS drivers available online for IPAC digital I/O modules, the synApps ipUnidig module is a more straightforward example, but it implements a different set of Asyn interfaces than you need for the ADC and DAC on the TIP850.

Can anyone suggest a good starting point for writing a driver for a ADC/DAC IPAC module?

- Andrew

-- 
Complexity comes for free, Simplicity you have to work for.

References:
Industry Pack support for TIP850 under RTEMS Sintschuk, Michael via Tech-talk
Re: Industry Pack support for TIP850 under RTEMS Andrew Johnson via Tech-talk
Re: Industry Pack support for TIP850 under RTEMS Mark Rivers via Tech-talk
AW: Industry Pack support for TIP850 under RTEMS Sintschuk, Michael via Tech-talk

Navigate by Date:
Prev: AW: Industry Pack support for TIP850 under RTEMS Sintschuk, Michael via Tech-talk
Next: Re: Makefile rule differences with base 3.14 vs 3.15+ in ADCore build with pvi Andrew Johnson 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: AW: Industry Pack support for TIP850 under RTEMS Sintschuk, Michael via Tech-talk
Next: Makefile rule differences with base 3.14 vs 3.15+ in ADCore build with pvi Yendell, Gary (DLSLtd, RAL, LSCI) 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 ·