The automatic rim rolling machine BAG curls the rim of round drink cups or similar-shaped containers. The high-performance ILLIG machines can process different cup sizes by simply changing the inlet and outlet holes. An electronically controlled thermostat ensures consistent high quality. The heating performance is adjusted according to the cup material being processed. A counting unit is required for the BAG.