Simulation Study on Scaler Mode in LHAASO-KM2A