Looks like my week for asking stupid ABB questions.
So, I'm trying to get a handle on the program structure of a set of IRC5s, but my usual method of "find the Entry Point, and follow from there", isn't working. The Main proc consists of a while loop with a call to another Proc called CmdMain. And CmdMain doesn't appear to exist in any of the .MOD or .SYS files in the robot.
I have a hunch that it's hidden inside an encrypted module, as the only mention of CmdMain elsewhere in the robot is in the MMC_REAL_ROUTINE section of MMC.CFG:
-name "CmdMain" -hidden
Which leaves me in a conundrum. I've run into encrypted modules before, but never so near the top of the flowchart. Without any idea of what CmdMain does, or how it calls on the rest of the (many) modules inside this Task. So I'm struggling to figure out how to proceed from here. I suppose I'll have to start from the lower modules and work my way up, inferring which Procs are called from CmdMain, but I won't have any idea what CmdMain is doing, or why. That's going to make this hard to debug.
(And, no, there's no documentation, and the people who knew these robots are no longer available.)