The tie will take place at Glanford Park in the week beginning Monday October 3.
It will be the second time Paul Dickov's side have come to North Lincolnshire this season, having already claimed all three points in a 2-1 league win in August.
The Iron reached the second round of this competition thanks to a 2-0 home win over Hartlepool United last week, with both goals coming from Bobby Grant.
The Latics were given a bye straight into the second round.