Download Motion Control PMC

Transcript
8 Command Reference
CP
Change to parallel mode
This command allows the user to switch between motor channels in a sequence, and allow
simultaneous command execution on more than one channel. The command CP is only allowed
in sequences.
Example:
PMCprimo User
Comment
0.1>
002E
003E
004E
005E
006E
1.1>
Enter PROG1
simultaneous ON
channel 1 from node 0 move to 200
channel 1 from node 1 move to 100
simultaneous OFF
end of sequence
ES PROG1<CR>
CP<CR>
CH0.1;MA200<CR>
CH1.1;MA100<CR>
CE<CR>
NS
The move commands in sequence PROG1 are started at the same time if sequence PROG1 is
called.
CE
End of parallel mode
This command tells PMCprimo the end of a simultaneous execution of commands. The command
CE is allowed in sequences. If there is no CP command before the CE command PMCprimo gives
the error message „Still in parallel mode“.
Page 62
Reference Manual PMCprimo