Let us write the Newton's second law in projection from along positive x-axis for the plank and the bar
fr=m1w1,
fr=m2w2 (1)
At the initial moment,
fr represents the static friction, and as the force
F grows so does the friction force
fr, but up to it's limiting value i.e.
fr=frs(max)=kN=km2g.
Unless this value is reached, both bodies moves as a single body with equal acceleration. But as soon as the force
fr reaches the limit, the bar starts sliding over the plank i.e.
w2≥w1.
Substituting here the values of
w1 and
w2 taken from equation (1) and taking into account that
fr=km2g, we obtain,
(at−km2g)m2≥km2m1g, were the sign
"=" corresponds to the moment
t=t0 (say)
Hence,
t0=kgm2(m1+m2)am1If
t≤t0, then
w1=km2gm1 (constant). and
w2=(at−km2g)m2