Length measurement of a moving hot deformed bar with a sensor
simulate this circuit &ndash; Schematic created using CircuitLab

Figure 1. Using a through-beam sensor to detect cut-point of steel stock.

Use a through-beam sensor positioned 40 feet from the cutter. When the infeed reaches the sensor then actuate the cutters.