Hi every body, i would like to know if there is a way to detect by the karel code if the robot is virtual or not ? (for example in ABB controller we can use RobOS())
Thanks ahead
Hi every body, i would like to know if there is a way to detect by the karel code if the robot is virtual or not ? (for example in ABB controller we can use RobOS())
Thanks ahead
Hi i_robot72
in the past I always used the "$MC_PATH" variable for this, which only exists on virtual robots.
You can intercept with Karel if this is present.
But in TP this is not possible.
Since some time I use in TP for this : "$NULL_CYCLE"
On a virtual controller this is normally zero and does not change!!!
On the real controller it changes its value between MinINT and MaxINT.
So you can check this against zero to determine that the controller is virtual.
Best regards
PnsStarter
Fanuc uses $VIRTUALTIME.
But that also does not exist if not virtual, so as PnStarter writes, would not work in TP.
Thanks !!