A key role in HSM (High Speed Machining) is played by the NC program code, which guides the tool along a programmed path without jumps in velocity and acceleration. The commonly used CAM (Computer Aided Manufacturing) software offers many operations for dynamic machining, but the generated code is difficult to edit. An alternative is to use parameterized technology cycles. Unfortunately, the circular pocket cycle available on the Siemens Sinumerik 840D controller was not designed for HSM machining. The purpose of the article is to program an Archimedes' spiral using modified tool radius compensation. The parametric NC code was implemented on the Siemens Sinumerik 840D controller as a technology cycle. The obtained trajectory of the tool meets the curvature continuity condition (C2 continuity). The algorithm uses 3 NC program blocks to define the spiral, regardless of its length. Tool positions are calculated directly by the interpolator during the tool's circular motion (G2/G3). Spiral step is achieved by an additional contour offset (OFFN function), and also by multiple repetitions of circles (TURN function). The change in the effective tool radius value during active tool radius compensation (G41/G42) moves the tool away from the contour along the length of the entire NC block. Several spiral programming variants that are used in cycles were analyzed to identify the feed rate drops at joining points between program blocks. During the process, the trajectory and feed rate were recorded using the Sinumerik Trace function. A problem with the Siemens Sinumerik controller was identified when machine axes exceed the acceleration limit. Synchronized actions were implemented to reduce the feed rate, with the acceleration and jerk limit that are specified in the part program being taken into account. The presented cycle, with the graphical user interface, highlights the potential for HSM milling. The conducted experiment shows the need to supplement the Siemens Sinumerik controller with Archimedes' spiral interpolation. New technology cycles will increase productivity and open up new possibilities, such as tapered threads milling.