04-21-2024, 01:51 AM
When generating nc toolpath files, I create tool on/off commands. The command is meant to trigger an Ethernet IP signal from the robot to the external tool. My robot is ABB, so I have the signal set up as:
SetGO doSIGNAL, 1;
Where the above command is written in RAPID to set the group output signal to a value of 1.
This line of my NC file is ignored by the RoboDK parser unless I make it:
PPRINT/ SetGO doSIGNAL, 1;
This results in the generated MOD file's corresponding output file trying to print my command to the pendent screen:
TPWrite "/ SetGO doPumpGroup, 2;";
How do I preface my RAPID code in my NC file such that the command is passed through to the MOD file
SetGO doSIGNAL, 1;
Where the above command is written in RAPID to set the group output signal to a value of 1.
This line of my NC file is ignored by the RoboDK parser unless I make it:
PPRINT/ SetGO doSIGNAL, 1;
This results in the generated MOD file's corresponding output file trying to print my command to the pendent screen:
TPWrite "/ SetGO doPumpGroup, 2;";
How do I preface my RAPID code in my NC file such that the command is passed through to the MOD file