Mdriveplus Motion Control Immediate Party Mode Sample Codes - Intelligent Motion Systems MDrive17Plus Hardware Reference Manual

Motion control
Table of Contents

Advertisement

MDrivePlus Motion Control Immediate Party Mode Sample Codes

Once Party Mode has been defined and set up as previously described under the heading "Multiple MDrivePlus
Motion Control System (Party Mode)", you may enter commands in the Immediate Mode in the IMS Termi-
nal Window. Some examples follow.
Move MDrive A, B or C 10000 Steps
Assuming there are three MDrives set up in Party Mode as shown in the Sample Codes above.
n
To move MDrive Unit "A", Press Ctrl+J and then type: AMR ^ 10000 and press Ctrl+J. MDrive Unit
"A" will move 10000 steps.
n
To print the position type: APR P and press Ctrl+J. The position of MDrive Unit "A" will be
printed.
n
To move MDrive Unit "B" type: BMR 10000 and press Ctrl+J. MDrive Unit "B" will move 10000
steps.
n
To move all three MDrives at the same time type: *MR 10000 and press Ctrl+J. All MDrives will
move 10000 steps.
n
To change a Variable in the "C" unit type: C<variable name><number> and press Ctrl+J. The
variable will be changed. To verify the change type: CPR <variable name> and press Ctrl+J. The new
value will be displayed.
All Commands and Variables may be programmed in this manner.
n
To take an MDrive out of Party Mode type: <device name>PY=0 and press Ctrl+J. That unit will be
taken out of Party Mode. To take all units out of Party Mode type: *PY=0 and press Ctrl+J. All units
will be taken out of Party Mode.
Part 2: Connecting and Interfacing
NOTE: When instructed
to type Ctrl+J, that is
the key
+ the
key. It will not display in the
Terminal Window so be certain
you press the correct keys. CtrlJ
activates the Party Mode.
NOTE: Once you have
activated Party Mode
with the first Ctrl+J you
do not have to type it before
each successive command.
However, every command must
be followed with a Ctrl+J.
NOTE: The asterisk (*)
is a global command
which addresses all
units. Since three units can not
answer together, the asterisk
(*) as well as other global
commands will not be displayed
in the Terminal Window.
2-11

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MDrive17Plus and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents