Mforce Immediate Party Mode Sample Codes - IMS Mforce micro drive Reference

Motion control
Table of Contents

Advertisement

MForce MicroDrive Immediate Party Mode Sample Codes
Once Party Mode has been defined and set up as previously described under the heading "Multiple MForce MicroDrive
System (Party Mode)", you may enter commands in the Immediate Mode in the IMS Terminal Window. Some examples
follow.
Move MForce A, B or C 10000 Steps
Assuming there are three MForce MicroDrives set up in Party Mode as shown in the Sample Codes above.
To move MForce Unit "A", Press Ctrl+J and then type: AMR ^ 10000 and press Ctrl+J. MForce Unit "A" will
move 10000 steps.
To print the position type: APR P and press Ctrl+J. The position of MForce Unit "A" will be printed.
To move MForce Unit "B" type: BMR 10000 and press Ctrl+J. MForce Unit "B" will move 10000 steps.
To move all three MForce MicroDrives at the same time type: *MR 10000 and press Ctrl+J. All MForce
MicroDrives will move 10000 steps.
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.
To take an MForce 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: Connections and Interface
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-19

Advertisement

Table of Contents
loading

Table of Contents