17 PLC Advance S7 300 PLC Simatic manger S7 300 Analog Input Output FC105 FC106
In Siemens SIMATIC S7-300 PLC, the function blocks FC105 (Scale) and FC106 (Unscale) are typically used to handle analog input and output data. Here's an explanation of each:
FC105 (Scale)
This function is used to scale the raw analog input signals (which are usually in a range of 0 to 27648 or 0 to 27648 depending on the sensor) to engineering units (like temperature, pressure, etc.).
Parameters:
IN: The raw analog value from the analog input (e.g., a value between 0 and 27648).
HI_LIM: The upper limit of the engineering value (e.g., 100°C).
LO_LIM: The lower limit of the engineering value (e.g., 0°C).
BIPOLAR: Defines whether the signal is unipolar (set to 0) or bipolar (set to 1).
RET_VAL: Used for diagnostic purposes, where an error code can be returned if something goes wrong.
Example:
If you're converting an analog input from 4-20 mA to temperature range 0-100°C:
IN = raw analog value (e.g., 0-27648)
HI_LIM = 100
LO_LIM = 0
BIPOLAR = 0
FC106 (Unscale)
This function does the opposite of FC105: it converts a value in engineering units back to a corresponding raw analog output signal.
Parameters:
IN: The engineering value you want to convert back to raw (e.g., temperature).
HI_LIM: The upper limit of the raw analog output value.
LO_LIM: The lower limit of the raw analog output value.
BIPOLAR: Defines whether the signal is unipolar or bipolar.
RET_VAL: Used for error checking.
Example:
To output a temperature value (0-100°C) back to the analog output as a 4-20 mA signal:
IN = 0-100°C (engineering value)
HI_LIM = 27648
LO_LIM = 0
BIPOLAR = 0
Видео 17 PLC Advance S7 300 PLC Simatic manger S7 300 Analog Input Output FC105 FC106 канала Eng. isam Breima م.عصام بريمة
FC105 (Scale)
This function is used to scale the raw analog input signals (which are usually in a range of 0 to 27648 or 0 to 27648 depending on the sensor) to engineering units (like temperature, pressure, etc.).
Parameters:
IN: The raw analog value from the analog input (e.g., a value between 0 and 27648).
HI_LIM: The upper limit of the engineering value (e.g., 100°C).
LO_LIM: The lower limit of the engineering value (e.g., 0°C).
BIPOLAR: Defines whether the signal is unipolar (set to 0) or bipolar (set to 1).
RET_VAL: Used for diagnostic purposes, where an error code can be returned if something goes wrong.
Example:
If you're converting an analog input from 4-20 mA to temperature range 0-100°C:
IN = raw analog value (e.g., 0-27648)
HI_LIM = 100
LO_LIM = 0
BIPOLAR = 0
FC106 (Unscale)
This function does the opposite of FC105: it converts a value in engineering units back to a corresponding raw analog output signal.
Parameters:
IN: The engineering value you want to convert back to raw (e.g., temperature).
HI_LIM: The upper limit of the raw analog output value.
LO_LIM: The lower limit of the raw analog output value.
BIPOLAR: Defines whether the signal is unipolar or bipolar.
RET_VAL: Used for error checking.
Example:
To output a temperature value (0-100°C) back to the analog output as a 4-20 mA signal:
IN = 0-100°C (engineering value)
HI_LIM = 27648
LO_LIM = 0
BIPOLAR = 0
Видео 17 PLC Advance S7 300 PLC Simatic manger S7 300 Analog Input Output FC105 FC106 канала Eng. isam Breima م.عصام بريمة
Комментарии отсутствуют
Информация о видео
15 октября 2024 г. 13:59:10
00:35:22
Другие видео канала