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 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> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Understanding Motor Record |
From: | Mark L Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | EPICS Tech Talk <tech-talk at aps.anl.gov>, Heinz Junkes <junkes at fhi-berlin.mpg.de> |
Date: | Tue, 16 Nov 2021 17:09:28 +0000 |
Hi Heinz,
It looks like you are using an encoder (UEIP=Yes), and your encoder readback (REP) is 0. When the motor record hits a limit switch I believe it sets the DVAL to the readback value.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Heinz Junkes via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, November 16, 2021 10:59 AM To: EPICS Tech Talk <tech-talk at aps.anl.gov> Subject: Understanding Motor Record I am having problems with Motor-Record right now.
I am using Epics 7 and the latest MotorRecord (master: https://github.com/epics-modules/motor) When I reach a Limit - Switch, then there is no correlation between RMP and DVAL/VAL anymore? RMP : 1361 vs. DVAL: 0 and VAL : 0 ?? I'm using the same hardware as I have for 10 years (Oms MAXv), only now I have Epics7 with the new motor-record in use. I also have the feeling that something with the conversion of the EGU and the direction etc. does not fit. But unfortunately can not specify yet because "somehow some is wrong” Danke Heinz > dbpr FHIFEL:M11PH,10 ACCL: 1 ACKS: NO_ALARM ACKT: YES ADEL: 0 ALST: 0 ASG : ASP : PTR 0x0 ATHM: 0 BACC: 1 BDST: 0 BKLNK: ELL 0 [0x0 .. 0x0] BKPT: 00 BVEL: 4.5 CARD: 0 CBAK: PTR 0x15f9bf8 CDIR: 1 CNEN: Disable DCOF: 0 DESC: M1 Pinhole OMS_Z DHLM: 140 DIFF: 0 DINP: CONSTANT DIR : Pos DISA: 0 DISP: 0 DISS: NO_ALARM DISV: 1 DLLM: -140 DLY : 0 DMOV: 1 DOL : CONSTANT DPVT: PTR 0x15f9c18 DRBV: 0 DSET: PTR 0x462d34 DTYP: OMS MAXv DVAL: 0 EGU : mm ERES: 1.171875e-04 EVNT: FLNK: CONSTANT FOF : 0 FOFF: Frozen FRAC: 1 HHSV: NO_ALARM HIGH: 0 HIHI: 0 HLM : 140 HLS : 1 HLSV: NO_ALARM HOMF: 0 HOMR: 0 HOPR: 0 HSV : NO_ALARM HVEL: 4.5 ICOF: 0 IGSET: 0 INIT: JAR : 7.5 JOGF: 0 JOGR: 0 JVEL: 4.5 LCNT: 0 LDVL: 0 LLM : -140 LLS : 0 LLSV: NO_ALARM LOCK: NO LOLO: 0 LOPR: 0 LOW : 0 LRLV: 0 LRVL: 0 LSET: PTR 0x1548258 LSPG: Go LSV : NO_ALARM LVAL: 0 LVIO: 0 MDEL: 0 MIP : 0 MISS: 1 MLIS: ELL 148 [0x2190a58 .. 0x177254c8] MLOK: 01 54 f4 10 MLST: 0 MMAP: 0 MOVN: 0 MRES: 1.171875e-04 MSTA: 7 NAME: FHIFEL:M11PH NMAP: 0 NSEV: NO_ALARM NSTA: NO_ALARM NTM : YES NTMF: 2 OFF : 0 OMSL: supervisory OUT : VME_IO #C0 S2 @ PACT: 0 PCOF: 0 PHAS: 0 PINI: NO POST: PP : 0 PPN : PTR 0x0 PPNR: PTR 0x0 PREC: 3 PREM: PRIO: LOW PROC: 0 PUTF: 0 RBV : 0 RCNT: 0 RDBD: 0.1 RDBL: CONSTANT RDES: PTR 0xcbd400 RDIF: 0 REP : 0 RHLS: 1 RINP: CONSTANT RLLS: 0 RLNK: CONSTANT RLV : 0 RMOD: Default RMP : 1361 RPRO: 0 RRBV: 0 RRES: 999.99 RSET: PTR 0x462f4c RSTM: NearZero RTRY: 5 RVAL: 0 RVEL: 0 S : 5 SBAK: 3 SBAS: 3 SCAN: Passive SDIS: CONSTANT SET : Use SEVR: NO_ALARM SMAX: 12 SPDB: 0 SPMG: Go SPVT: PTR 0x0 SREV: 12800 SSET: 0 STAT: NO_ALARM STOO: CONSTANT STOP: 0 STUP: OFF SUSE: 0 SYNC: 0 TDIR: 1 TIME: 2021-11-16 16:45:24.834573822 TPRO: 0 TSE : 0 TSEL: CONSTANT TWF : 0 TWR : 0 TWV : 1 UDF : 0 UDFS: INVALID UEIP: Yes UREV: 1.5 URIP: No VAL : 0 VBAS: 4.5 VELO: 7.5 VERS: 7.2 VMAX: 18 VOF : 0 |