发布于 2007-05-24 13:47:36
0楼
1\Libraries--stdlibs--fblib1下的 FC105: Libraries--stdlibs--fblib1下的 FC105Libraries--stdlibs--fblib1下的 FC105The function AE_464_2 (Read In an Analog Value) reads in an analog value from an analog input module 6ES5 464-8Mxx and makes it available for further processing at the parameter XA as a standard value (linear calculation between the limits OGR and UGR) in floating point format. 2\standard library--TI-S7 converting block的FC105The SCALE function takes an integer value (IN) and converts it to a real value in engineering units scaled between a low and a high limit (LO_LIM and HI_LIM). The result is written in OUT. The SCALE function uses the equation:
OUT = [ ((FLOAT (IN) – K1)/(K2–K1)) * (HI_LIM–LO_LIM)] + LO_LIM