Global routine name main ambiguous.

hi all,

i save a very simple code to run on IRB2400/16 Kg with S4C controller. It has one module and ONLY one MAIN Proc but it keep showing that “Global routine namemainambiguous.” on the teach pendent .

What should I do?
Should I synchronize it to virtual controller or station first? or it is not related. the simulation works perfectly.

Thanks for your answers in advanced!

Could you post how does your main module look like?

Have you called you module “Main” also?

The same problem appeared to me on [YuMi IRB 14000] after using the code from this repo: link according to this tutorial link RobotWare 6.10, SmartGripper Firmware 3.56

The ambiguous error means there are two items with the same name.