Dynamical phase transitions in totally asymmetric simple exclusion processes with two types of particles under periodically driven boundary conditions.