on an S4 controller: I have a DO set up in system param called Router, activates a router tool when set to 1.
In the code for Production, do I need more than "Set Router" to activate it?
code segment:
MODULE Ha1
CONST zonedata z0:=[FALSE,0.2,0.2,0.2,0.2,0.2,0.2];
PERS tooldata t25:=[TRUE,[[186.44,-277.37,109.22],[0.1367759,-0.252295,0.6608327,-0.6934982]],[5,[0,0,4],[1,0,0,0],0.01,0.01,0.01]];
PERS wobjdata wa:=[FALSE,TRUE,"",[[1577.85,-16.26,304.8],[1,0,0,0]],[[0,0,50.8],[0.9999143,0,-0.0130896,0]]];
PROC main()
Set Router;
MoveAbsJ [[-24.289,50.816,81.934,-27.683,-42.103,152.841],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v100,fine,t25;
followed by a bunch of MoveL commands, then "Reset Router", End PROC, End Module.
but I get
40304: I/O Error
Task MAIN: Can't access the file.
Any idea what's wrong?