PDA

View Full Version : Command Timing



paul_z
02-11-2007, 03:32 PM
Does anyone know ...

If a shopbot file has a move command, is the next statement executed when the "move" command has been send to the control box or when the control box indicates that the move is complete?

Paul Z

Brady Watson
02-11-2007, 07:23 PM
Well...neither. Commands are sent from the PC to the control box in 'stacks', so they are executed in blocks of commands, not one by one.

-B

paul_z
02-12-2007, 06:05 AM
Brady,

I phrased the question incorrectly ... let me try again.

If I send a move command and then a command to turn on an output, does the output get turned on after the move is started or only after the move is complete?

I’d like to use one of the input/output pairs to “synchronize” a micro-controlled tool.

Paul Z

bcammack
02-12-2007, 07:47 AM
IOW - are the commands synchronous or asynchronous?

Brady Watson
02-12-2007, 02:24 PM
After the move is complete. In other words, if you wanted to move the tool from X0 to X48 and then turn on a switch:

MX,48
SO,3,1 (turn switch 3 on)

#3 will not turn on until the tool gets to X48.

-B

bcammack
02-13-2007, 07:51 AM
Synchronous, then. That's good to know.