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: Re: Problems in using VX2 motor controller
From: 闫芬 <[email protected]>
To: "sunjl" <[email protected]>, "tech-talk" <[email protected]>
Date: Fri, 30 Mar 2012 10:20:21 +0800
如果不是卡没插好,可能就是这个设置的问题吧
 
你是安装了2块控制卡,每块卡控制两个电机么?
 
omsSetup(2, 2, 0xFC00, 180, 5, 10) 这个不对,你试试omsSetup(2, 2, 0xEC00, 180, 5, 10)===========================================
Yan Fen
Shanghai Synchrotron Radiation Facility
Shanghai Institute of Applied Physics
Chinese Academy of Sciences
Zhangheng Rd 239,Pudong Dist.,
Shanghai 201204
China
Tel:+86-21-33933225
====================================
----- Original Message -----
From: sunjl
Sent: Friday, March 30, 2012 9:43 AM
Subject: Problems in using VX2 motor controller

Dear all,
 
I have downloaded the motor controller software Ver. R4-8 to do some EPICS training.
 
Two Vx2-002 motor controller mounted in the VME chest, and I modified the "NoMPF.substitutions" file  as follows:
 
    file basic_motor.db
    {
    pattern
    {P,     N,  M,      DTYP,         C,  S,  DESC,          EGU,      DIR,  VELO,  VBAS,  ACCL,  BDST,  BVEL,  BACC,  MRES,  PREC,  DHLM,  DLLM,  INIT}
    {rls:,  1,  m$(N),  "OMS VME58",  0,  0,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
    {rls:,  2,  m$(N),  "OMS VME58",  0,  1,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
    {rls:,  3,  m$(N),  "OMS VME58",  1,  0,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
    {rls:,  4,  m$(N),  "OMS VME58",  1,  1,  "motor $(N)",  degrees,  Pos,  1,     .1,    .2,    0,     1,     .2,    0.01,  5,     100,   -100,  ""}
    }
 
 
then, modified the "st.cmd" file as follows:
 
    # OMS VME driver setup parameters: 
    #     (1)cards, (2)axes per card, (3)base address(short, 16-byte boundary), 
    #     (4)interrupt vector (0=disable or  64 - 255), (5)interrupt level (1 - 6),
    #     (6)motor task polling rate (min=1Hz,max=60Hz)
    omsSetup(2, 2, 0xFC00, 180, 5, 10)
 
 
after gmake, when download the "st.cmd" file, there come some errors:
  
    filename="../recGbl.c" line number=80
    Illegal field value PV: rls:m3  motor_init_record_com(): card does not exist!
    filename="../recGbl.c" line number=80
    Illegal field value PV: rls:m4  motor_init_record_com(): card does not exist!
 
I don't know where the problem is, would you please give me some help, thanks a lot!
 
2012-03-30

孙纪磊 敬启
中国科学院高能物理研究所1号厅201室
北京市918信箱 100049
Sun Jilei
Institute of High Energy Physics, Chinese Academy of Sciences,
Accelerator Center, Room 201, Hall 1,
19B Yuquan Lu, Shijingshan District,
Beijing 100049,
People's Republic of China
Tel.: (+86)-(0)10-88236287
Email:
[email protected]
 
 

References:
Problems in using VX2 motor controller sunjl

Navigate by Date:
Prev: RE: Problems in using VX2 motor controller Mark Rivers
Next: Re: What is void* puser in ca_create_channel Florian Feldbauer
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: Problems in using VX2 motor controller Mark Rivers
Next: Re: Problems in using VX2 motor controller Ron Sluiter
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 ·