The CNC self-piercing riveting machine is a device that mounts the self-piercing riveting machine onto a CNC platform, thereby enabling digital control of the self-piercing riveting process. The self-piercing riveting machine can sequentially complete the processes of positioning, automatic rivet assembly, and automatic riveting. In current production, due to increased automation requirements, more and more enterprises are using CNC self-piercing riveting machine equipment. For example, in industries such as busways, steel structure interior walls, and automotive firewalls, CNC self-piercing riveting machine equipment finds extensive application.