Experimental Physics and
| |||||||||||||||||
|
Hi Vishnu,
If DB6.DBD36 is not float,you must set DLV and DHV in INP field,and discard "float" parameter.
field(DTYP,"s7nodave")
field(INP,"@lcpcPLC(DLV=0,DHV=27648) DB6.DBD36 ")
field(LINR,"LINEAR")
field(HOPR,"20")
field(LOPR,"0")
#field(ASLO,"0.001")
field(PREC,"4")
field(SCAN,"1 second")
field(EGU,"Bar")
field(EGUF,"20")
field(EGUL,"0")
}
If DB6.DBD36 is float and you set explicit in INP field ,it will ignore all conversion just as Ben saidrecord(ai, "AI0") {
field(DTYP,"s7nodave")
field(INP,"@lcpcPLC DB6.DBD36 float ")
field(HOPR,"20")
field(LOPR,"0")
field(PREC,"4")
field(SCAN,"1 second")
field(EGU,"Bar")
field(EGUF,"20")
field(EGUL,"0")
}
Cheers
Gang -----原始邮件-----
| ||||||||||||||||
ANJ, 18 Sep 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |