IOL_MeasurementDataChannel (FB)ΒΆ
FUNCTION_BLOCK IOL_MeasurementDataChannel
- InOut:
- Scope - Name - Type - Initial - Comment - Input - xEnable- BOOL- TRUE - Enables the function of the FB - ProfileID- WORDSelected ProfileID, respectively process datalayout1 = SSP 3.12 = SSP 3.23 = SSP 3.34 = SSP 3.4- SubstituteValue- DINT- This value is applied at the outputs ValueReal and ValueDINT if ValueStatus is not equal 0 - Qualifier- BOOLThis signal corresponds to the ProcessDataInvalid information from the sensor.FALSE = ProcessData are invalidTRUE = ProcessData are valid- ProcessData- POINTER 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 - xValid- BOOL- If TRUE the provided values are valid and may be used for further calculations - xError- BOOL- If TRUE an internal error is occurred and futher information is provided provided by the Function Block via the Status variable - STATUS- DWORD- Provides internal error codes - ValueStatus- INT- Status of process data input: 0 = OK; 1 = PC invalid; 2 = No Data; 3 = Out of range (+); 4 = Out of range (-); 5 = Not defined - ValueReal- REAL- Process data in real format for evaluation within the PLC - ValueDINT- DINT- Process data in double integer format - Scale- INT- Process data scale factor