Dynamic modelling of an intermittent slider–crank mechanism