Parses a numeric string (STRING) and writes the resulting floating-point value to the target REAL variable.
STRING_TO_REAL converts a decimal string in src (IN, for example "12.5") into a REAL floating-point value and stores it in the target variable.
REAL variable and the source STRING operand (IN).from automation_machine import ActionQualifier, ActionInstruction
step.add_action("setpoint_bar", "Parse pressure setpoint", qualifier=ActionQualifier.P, instruction=ActionInstruction.STRING_TO_REAL, src="recipe_pressure_str")
REAL variableActionQualifier.P (Pulse)ActionInstruction.STRING_TO_REALIN) — Source STRING variable or literal