Checking appendGcode time in lua