MNEMONIC

FUNCTION

TYPE

DE

Drive Enable Flag

Setup Flag

DESCRIPTION

 

 

The DE flag enables or disables the drive portion of the MDrive Motion Control.

 

 

 

 

USAGE

DEFAULT

 

DE= <0/1>

1 (Enabled)

 

 

 

 

EXAMPLE:

 

 

DE=0

‘Disable drive

 

DE=1

‘Enable drive

 

 

 

RELATED COMMANDS: —

 

 

 

 

MNEMONIC

FUNCTION

TYPE

DN

Device Name

Setup Variable

DESCRIPTION

The DN Variable stores the device name to be used when the MDrive is to be addressed in party mode operation. The name is only used when party mode communications is being used (PY = 1).

All MDrive system nodes will respond if the name in a command is given as “*”.

When the name is changed it must be saved into the nonvolatile memory if it is to be used in later sessions without being changed again.

See Appendix A: ASCII table for decimal codes.

USAGE

UNITS

RANGE

DEFAULT

DN=<char>

ASCII Characters

a-z, A-Z, 0-9

!

 

 

 

 

EXAMPLE:

 

 

 

DN=A

‘Set the device name to the character A

 

 

 

 

 

RELATED COMMANDS: PY

 

 

 

 

 

 

MNEMONIC

FUNCTION

 

TYPE

E

End Program Execution

Program Instruction

DESCRIPTION

 

 

 

Stops the execution of a program.

 

 

 

 

 

 

USAGE

 

 

 

E

 

 

 

 

 

 

 

EXAMPLE:

 

 

 

PG 100

‘Start program at line 100

 

 

LB J2

‘Label Program J2

 

 

MR 20000

‘move relative 20000 motor counts

 

 

H

‘hold until motion stops

 

 

MR -20000

‘move relative -20000 motor counts

 

 

H

‘hold until motion stops

 

 

E

‘End program execution

 

 

PG

‘exit program mode

 

 

RELATED COMMANDS: PG, EX

42

Page 44
Image 44
Intelligent Motion Systems 17 manual Drive Enable Flag Setup Flag, Device Name Setup Variable