值范围检查函数:基于设定点与公差判断逻辑.pdfVIP

  • 1
  • 0
  • 约8.06千字
  • 约 4页
  • 2025-10-23 发布于北京
  • 举报

值范围检查函数:基于设定点与公差判断逻辑.pdf

Shortdescription

Thefunctioncheckswhetheravalueiswithinadefinedvaluerange.Thevalue

rangeisdefinedwithasetpoint,aswellasatolerancerange,aroundthesetpoint

inpercent(%).Thefunctioncalculatesthelowlimitandhighlimitofthevalue

range.

Block

FCLGF_IsValueInTolerance

LREALvalueRet_ValBOOL

LREALsetpointoverHighLimitBOOL

LREALtolerancebelowLowLimitBOOL

errorBOOL

statusWORD

Inputparameters

ParametersDatatypeDescription

valueLREALValuetobecheckedtodeterminewhetheritiswithinthedefinedvalue

range

setpointLREALSetpoint

toleranceLREALTolerancerangearoundthesetpointinpercent(%)

Outputparameters

Par

文档评论(0)

1亿VIP精品文档

相关文档