Hey all. I'm working with a Duaro 2 robot.
I am trying to pass an argument to a program via a subroutine call from an AS program. The AS program I am calling looks like this:
.PROGRAM PlaceWarmTray(.Arg1)
<code here>
.END
I try to call it from my main program like this:
CALL PlaceWarmTray(1)
Every time I try to run the program, I get “Error Code 2018 Check the argument settings in macro pg” on the tablet. The confusing thing is, when I call the program from a tablet program and enter in an argument that way, it works just fine. It just doesn’t work when the program is called from an AS program. Has anyone run into this before?
Thanks!