To analyse the stability of a digging anchor machine under digging conditions, the dynamics model of the anchor machine and the interaction mechanics model between its tracks and the roadway floor are constructed with a Sandvik MB670-1 digging anchor machine in the context of the Zhang Jiamao 5–2 coal seam of the Shaanxi Coal and Chemical Industry Group. The discrete element method (DEM) and multibody dynamics (MBD) two-way coupling algorithm is used to simulate the cutting process of a full coal seam and coal rock containing gangue by using a digging anchor machine in a roadway. The changes in the cutting depth of the digging anchor machine drum, the sliding distance of the track and the stress‒strain pattern of the roadway floor are obtained. Finally, through shear slip testing, the stress distribution and deformation pattern of the roadway floor under different grouser parameters of the digging anchor machine track shoe, as well as the wear characteristics of the track shoe, are obtained. The results of this study can provide a theoretical basis for the control and reliability of the digging anchor machine and the life fatigue prediction of its tracks.