Intelligent Motion Systems 17 manual Read Only Velocity Variable Motion Variable

Models: 17

1 69
Download 69 pages 43.66 Kb
Page 64
Image 64

MNEMONIC

FUNCTION

TYPE

V

Read Only Velocity Variable

Motion Variable

DESCRIPTION

The velocity variable is used in conjunction with the PR (print) instruction to read the current velocity of the axis in counts per second. This variable can also be used with the BR and CL instructions to set a condition based upon a velocity. This variable can also be used in conjunction with the user registers to compute another velocity.

USAGE

UNITS

PR V

Counts per Second

BR <addr>, V=<counts/sec>

 

CL <addr>, V=<counts/sec>

 

 

 

RELATED COMMANDS: VI, VM

 

MNEMONIC

FUNCTION

TYPE

VA

Create User Variable Name

Instruction

DESCRIPTION

The VA instruction allows the user to assign a 2 character name to a user defined variable.

The restrictions for this command are:

1]

A variable cannot be named after a MDrive Motion Control Instruction, Variable or Flag.

2]

The first character must be alpha, the second character may be alpha-numeric.

3]

A variable is limited to two characters.

USAGE

VA <char><char>=<value>

EXAMPLE:

 

VA P2

‘create user var P2

P2=20000

‘set P2 to 20000

RELATED COMMANDS: UV

MNEMONIC

FUNCTION

TYPE

VI

Initial Velocity Variable

Motion Variable

DESCRIPTION

Initial velocity for all motion commands. The factory default value is 1000 clock pulses per second.

The initial velocity for a stepper should be set to avoid the low speed resonance frequency and must be set lower than the pull in torque of the motor. It must also be set to a vaulue lower than VM (Max. Velocity).

USAGE

UNITS

RANGE

DEFAULT

VI=<velocity>

Counts per sec

1 to 5000000

1000

 

 

 

 

EXAMPLE:

 

 

 

VI=2000

‘set initial velocity to 2000 counts per second

 

RELATED COMMANDS: VM

62

Page 64
Image 64
Intelligent Motion Systems 17 manual Read Only Velocity Variable Motion Variable, Create User Variable Name Instruction