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  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Linkam temperature controller CI94 serial programming
From: 洪春霞 <[email protected]>
To: <[email protected]>
Date: Fri, 9 Nov 2012 22:00:05 +0800
Title: Linkam temperature controller CI94 serial programming

hi, everyone

Now I am doing the programming for Linkam temperature controller CI94 in EPICS, I have compiled a streamdevice programming and it can send RS232 serial command to CI94.
but now I have some difficult problems.

Its control order as follows(this was got from its Technical Support):


1) Use the rate and limit commands(for example: R12000 for 20degree/min, L11000 for 100 centigrade as temperature limit)

2) Use the start command "S"

3) Monitor SB1 to find out when the limit is reached(SB1=30H if temperature limit is reached)

4) Use their own software to wait for the appropriate hold time

5) Issue new rate and limit commands if they want to go to another temperature, or the stop command to finish.

6) They can repeat the loop of steps 3-5 as many times as they want.”


The question as follows:

1)when I send "T" command, I can get the current status and temperature information. But in answer to the "T" command, 11 bytes string is returned and SB1 is the first byte,

temperature is the bytes from the fifth byte to the eighth byte. Now I want to know how to get some of the 11 bytes string? e.g. get the first byte string?

2)In Streamdevice's db file and protocol file, how can I repeat the loop of steps 3-5 as many times as I want? e.g repeat send  R1**** for different rate, L1**** for different

temperature limit where **** was got from opi different Text Control?

3)How can I use EPICS to wait for the appropriate hold time, and the hold time was get  from opi different Text Control?

That is:

Once the limit temperature is reached, the SB1 byte will return 30H at which

point the temperature will be held until a new command is received. I will monitor SB1 to find out when the limit is reached. when it is reached, I will let the temperature to hold specified time.


Hope your help. Thank you very much.

Best Regards,


------------------------------------------
Shanghai Synchrotron Radiation Facility

Shanghai Institute of Applied Physics

Chinese Academy of Sciences

hongchunxia


Navigate by Date:
Prev: Re: Problems sending \x0 with devGpib driver Dirk Zimoch
Next: Re: bcc55 Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: bcc55 Dirk Zimoch
Next: Control System Staff Engineer needed at MSU's FRIB careers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·