You can use a solar generator while charging, but it will increase the demand on the generator and slow the charging process. Whatever power is being supplied to generator will either be used by running load first. Any excess will be stored in the battery bank for later use.