omron — <CONTROL-X>

PMAC Product Guide Function : Step working motion programs in all coordinate systems Scope : Global Syntax : ASCII Value 19D; $13 This command is the equivalent of issuing an S (step) command to all of the coordinate systems in PMAC. Each active coordinate system (i.e. one that has at least one motor assigned to it) that is to run a program must be pointing to a motion program already (initially this is done with a B{prog num} command). A program that is not running will execute all lines down to and including the next motion command (move or dwell), or if it encounters a BLOCKSTART command first, all lines down to and including the next BLOCKSTOP command.

If a program is already running in continuous execution mode (from an R command), an S command will put the program in single-step mode, stopping execution after the next motion command. In this situation, it has exactly the same effect as a Q (quit) command. For multiple cards on a single serial daisy chain, this command affects all cards on the chain, regardless of the current software addressing. Function : Report velocity of all motors Scope : Global Syntax : ASCII Value 22D; $16 This command causes PMAC to report the velocities of all motors to the host. The velocity units are in encoder counts per servo cycle, rounded to the nearest tenth.

The velocity window in the PMAC Executive program works by repeatedly issuing the command and displaying the response on the screen. To scale these values into counts/msec, multiply the response by 8,388,608*(Ix60+1)/I10 (servo cycles/msec). Note: The velocity values reported here are obtained by subtracting positions of consecutive servo cycles. As such, they can be very noisy. For purposes of display, it is probably better to use averaged velocity values held in registers Y:$082A, Y:$08EA, etc., accessed with M-Variables. For multiple cards on a single serial daisy chain, this command affects only the card currently addressed in software ( @n ). Function :

Cancel in-process communications Scope : Global Syntax : ASCII Value 24D; $18 This command causes the PMAC to stop sending any messages that it had started to send, even multi-line messages. This also causes PMAC to empty the command queue from the host, so it will erase any partially sent commands. 134 Online Commands