omron — <CONTROL-B>

PMAC Product Guide ONLINE COMMANDS The PMAC motion controller is rich in features and expansion capabilities. Because this manual illustrates the implementation of PMAC in a typical application, some of the PMAC advanced online commands are not described. Further information of all the PMAC online commands can be obtained from the PMAC Software Reference manual. Function: Abort all programs and moves. Scope: Global Syntax: ASCII Value 1D; $01 This command aborts all motion programs and stops all non-program moves on the card. It also brings any disabled or open loop motors to an enabled zero-velocity closed-loop state.

Each motor will decelerate at a rate defined by its own motor I-Variable I x 15. However, a multi-axis system may not stay on its programmed path during this deceleration. A stop to a program will not be recovered from gracefully because the axes will in general not stop at a programmed point. The next programmed move will not behave properly unless a PMATCH command is given or I14 is set to 1 (these cause PMAC to use the aborted position as the move start position). Alternately, an on-line J= command may be issued to each motor to cause it to move to the end point that was programmed when the abort occurred. Then the program(s) can be resumed with an R (run) command.

To stop a motion sequence in a manner that can be recovered from easily, use the Quit ( Q or ) or the Hold ( H or ) command. When PMAC is set up to power on with all motors killed (I x 80 = 0), this command can be used to enable all of the motors (provided that they are not commutated by PMAC -- in that case, each motor should be enabled with the $ 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 status word for all motors. Scope: Global Syntax:

ASCII Value 2D; $02 This command causes PMAC to report the status words for all of the motors to the host in hexadecimal ASCII form, 12 characters per motor starting with motor #1, with the characters for each motor separated by spaces. The characters reported for each motor are the same as if the ? command had been issued for that motor. The detailed meanings of the individual status bits are shown under the ? command description. For multiple cards on a single serial daisy chain, this command affects only the card currently addressed in software ( @n ). Example: 812000804001 812000804001 812000A04001 812000B04001 050000000000 050000000000 050000000000 050000000000 Online Commands 129