Spawns information too late

Even I tell to spawn a ping on turn 31 of shows up at turn 41 and when I tell a ping to spawn at turn 41 it spawns at turn 56? Why is this?

Copy-paste some of your code which you expect to do the described spawning.