Download User Manual
Transcript
Compare Functions 2.8 Compare Functions All compare functions have their input 1 above their input 2. 2.8.1 Greater Than library entry: length: inputs: outputs: purpose: inputs FncGT 12 bytes 2 analog inputs 1 digital output compare two analog values output in1 > in2 1 in1 ≤ in2 0 2.8.2 Greater or Equal library entry: length: inputs: outputs: purpose: FncGE 12 bytes 2 analog inputs 1 digital output compare two analog values inputs output in1 Š in2 1 in1 < in2 0 2.8.3 Equal library entry: length: inputs: outputs: purpose: FncEQ 12 bytes 2 analog inputs 1 digital output compare two analog values inputs output in1 ≡ in2 1 in1 ≠ in2 0 This function should be used with care because two floating values seldom appear to be equal. Usually the functions FncGT and FncLT should be used to build a comparing function. S57901 User Manual 2-21