Experimental Physics and Industrial Control System
|
|
Hi Marco,
Can you show us how the NEG_EMODBUS_1_1_Rd_VTarget port is configured?
Mark
Hello all.
I have an analog in record for reading a modbus register from a device. The record is defined as follows:
record(ai,
"${BL}:${H}:${EQ}:TargetVoltRead"){
field(DESC,
"Voltage set on target [V].")
field(DTYP,
"asynInt32")
field(EGU,
"V")
field(ASLO, 0.01)
field(INP,
"@asyn(NEG_EMODBUS_1_1_Rd_VTarget,0,1000)MODBUS_DATA")
field(SCAN,
"1 second")
}
Which reads fine. However, if i set the PINI field to YES and the scan to passive:
record(ai,
"${BL}:${H}:${EQ}:TargetVoltRead"){
field(DESC,
"Voltage set on target [V].")
field(DTYP,
"asynInt32")
field(EGU,
"V")
field(ASLO, 0.01)
field(INP,
"@asyn(NEG_EMODBUS_1_1_Rd_VTarget,0,1000)MODBUS_DATA")
field(SCAN,
"Passive")
field(PINI,
"YES")
}
i get only 0 as value when cagetting the PV. Am i doing something wrong?
Thanks in advance.
Marco
Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta
ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.
Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying
to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.
|
- Replies:
- Re: PINI field not working with modbus Marco A. Barra Montevechi Filho via Tech-talk
- References:
- PINI field not working with modbus Marco A. Barra Montevechi Filho via Tech-talk
- Navigate by Date:
- Prev:
PINI field not working with modbus Marco A. Barra Montevechi Filho via Tech-talk
- Next:
Re: PINI field not working with modbus Marco A. Barra Montevechi Filho 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
<2022>
2023
2024
2025
2026
- Navigate by Thread:
- Prev:
PINI field not working with modbus Marco A. Barra Montevechi Filho via Tech-talk
- Next:
Re: PINI field not working with modbus Marco A. Barra Montevechi Filho 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
<2022>
2023
2024
2025
2026
|
|
ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|