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: | RE: about Galil controller in linux-64bit system |
From: | LiuP <[email protected]> |
To: | "'Mark Clift'" <[email protected]>, <[email protected]> |
Date: | Thu, 21 May 2015 11:58:20 +0800 |
Thank you, Dr Clift. The firmware version of DMC 2183 is Q. As you said, I change the third parameter from 8 to -10. But it doesn’t work. I tried to use other update period, such as ‘’1’’ GalilCreateController("Galil", "192.168.1.22", 1) I got the right response of the readback PV. It’s almost keep up with the motor’s motion. My problem is gone. Then I test other values, such as 6,7,9,12,17,18,20,29,38,60. It seems if you set the value between 8 and 18, you will get the wrong feedback. Others should be ok. I also try to compile the Galil v3-1 driver, but there are some errors because l don’t have C++ 2011 in my linux PC. Mark Clift [mailto:[email protected]] Dear Liu Ping, >From your description it sounds as though the data records are being sent from the controller faster than the driver poll cycle is occurring. The gcl communications library from the Galil website, which the EPICS driver uses, does buffer the data records. So if the EPICS driver is not keeping up, a lag will develop, and get worse. I've seen this case during early development, and suggest the driver is not usable until that is fixed. Something is delaying the poller in your case? I've been unable to reproduce this fault on CentOS 6.4 64 bit. I will try with CentOS 6.5 64 bit soon. What is the firmware version on the 2183 controller? The EPICS driver is tested with 2183 revision S firmware. Finally, how is the EPICS driver poller set up in your case? Could you show me the GalilCreateController call you use? You could force the poller into synchronous mode by specifying a negative poll cycle period, and compare that with the asynchronous mode. Also, the version 3-1 version of the EPICS driver does not use the gcl from the Galil website for communications. Instead, the EPICS Asyn module is used for communications in 3-1, and there is no data record buffering. However, I'd like to reproduce this poller fault in 3-0 here too, and get it fixed. I also recommend that you don't use the linux version of GalilTools to connect with the controller, it leaves the communication handles open. This problem has been fixed in the Windows version of GalilTools. Best wishes, Mark Dr. Mark Clift Senior Controls Engineer Australian Synchrotron 800 Blackburn Road Clayton 3168 Ph: +613 8540 4264 Fax: +613 8540 4200 Mail: [email protected] From: LiuP [[email protected]] Hi, all The Galil-v3.0 SoftIOC works well in CentOS6.4 32Bit system. But when it run in CentOS6.5 64Bit platform, there is one problem. Set the motor PV "BL14B1:EH:GALIL:A.VAL" from 0 to 100, the motor is moving and stop after a while. But the response of the readback PV "BL14B1:EH:GALIL:A.RBV" (Encoder counts) is very slow. As the camonitor shows below, it spent almost 90 seconds to get the final position feedback 99.72. Except the first 3 seconds, during the last 87 seconds, the motor kept at a standstill. Observing the readback pv on the edm interface, it'same. Details: Galil - 2183 controller Galil -V3.0 App ( https://github.com/motorapp/Galil-3-0/releases/tag/V3-0) Galiltools.x86_64.rpm EPICS Base 3.14.12.4 SynApps_5_7 CentOS 6.5 x86_64 64bit Everthing is ok in 32bit system. Why not in 64bit system? ################################################################ [blctrl@BL14B1-EX iocGalil]$ camonitor BL14B1:EH:GALIL:A.RBV BL14B1:EH:GALIL:A.RBV 2015-05-20 11:04:51.407462 0 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:05:59.130087 0.36 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:00.771175 1.08 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:02.530912 2.16 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:02.927468 2.52 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:02.937029 3.6 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:03.575116 4.32 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:03.762514 5.4 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:05.465514 6.48 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:06.873518 7.2 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:08.137867 8.64 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:08.272796 9.72 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:08.904386 10.8 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:09.505998 12.24 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:09.818511 13.68 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:09.872235 14.76 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:10.279506 16.2 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:11.348856 17.64 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:13.310518 19.08 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:13.435513 20.88 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:13.872735 21.96 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:14.013388 23.4 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:14.980559 24.84 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.011857 26.28 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.012204 27.72 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.014297 29.16 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.014583 30.24 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.014834 32.04 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.015112 33.12 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.015402 34.56 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.015674 36 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.015923 37.44 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.021128 38.88 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.021317 40.32 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.021534 41.76 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.028130 43.2 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.028321 44.64 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.262379 45.72 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:15.980549 47.16 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:16.011832 48.6 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:16.014270 50.4 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:16.021010 51.48 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:16.028005 52.92 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:16.036806 54.36 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:16.037138 55.8 ... ... ... BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:22.206448 99 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:22.208181 99.36 BL14B1:EH:GALIL:A.RBV 2015-05-20 11:06:22.208420 99.72 ################################################################## LIU Ping Beamline Contrl Group, SSRF No. 239 Zhangheng Road, Pudong, Shanghai |