Indonesia is one of the richest countries for the renewable and nonrenewable energy resources. The energy source is needed to fulfil the household, industrial and mining needs. A coal mining process particular in PT. Bukit Asam used petroleum to run the production equipment. Cat 3406 engine which used in D8R is one of the production equipment that pushing the coal in TLS (Train Loading Station). Due to the energy source of D8R is derived from diesel, the combustion processing in the combustion chamber produces exhaust gas emissions. The emissions are too dangerous for humans, hence, to analyze the exhaust gas substance is required. In this research, collecting data of diesel, biodiesel B20 and biodiesel B30 due the engine rotation at 800 rpm and 2100 rpm at each variation is carried out. The generated gas is analyzed using measured exhaust gas emissions. As the results, B30 produced lowest emissions, while the highest torque is generated by diesel. The amount of fuel consumption for diesel and biodiesel are same.