Cycle counter and piece counter

ST=n ¹

Set piece counter to the value n (1-99999).
(also possible: PC=n or CP=n)

RSn=m ¹

Sets cycle counter n (1-19) on number m (1-99999)
RS20-RS39: Additional cycle counters for Setup2 patterns

¹ Command also possible in Direct commands window