IOL_MeasurementDataChannel (FB)ΒΆ
FUNCTION_BLOCK IOL_MeasurementDataChannel
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
Enables the function of the FB
ProfileIDWORDSelected ProfileID, respectively process datalayout1 = SSP 3.12 = SSP 3.23 = SSP 3.34 = SSP 3.4SubstituteValueDINTThis value is applied at the outputs ValueReal and ValueDINT if ValueStatus is not equal 0
QualifierBOOLThis signal corresponds to the ProcessDataInvalid information from the sensor.FALSE = ProcessData are invalidTRUE = ProcessData are validProcessDataPOINTER TO BYTE
The Process Data Input from the sensor is applied to this input (ARRAY[0..n] OF BYTE).The Process Data Input length depends on the profile for the DMS (either INT16 or INT32)Output
xValidBOOLIf TRUE the provided values are valid and may be used for further calculations
xErrorBOOLIf TRUE an internal error is occurred and futher information is provided provided by the Function Block via the Status variable
STATUSDWORDProvides internal error codes
ValueStatusINTStatus of process data input: 0 = OK; 1 = PC invalid; 2 = No Data; 3 = Out of range (+); 4 = Out of range (-); 5 = Not defined
ValueRealREALProcess data in real format for evaluation within the PLC
ValueDINTDINTProcess data in double integer format
ScaleINTProcess data scale factor