Fast Firmware Mode; Converting To User Units - Galil Motion Control DMC-18 2 Series User Manual

Table of Contents

Advertisement

Local Formatting of Variables
PF and VF commands are global format commands that effect the format of all relevant returned
values and variables. Variables may also be formatted locally. To format locally, use the command,
{Fn.m} or {$n.m} following the variable name and the '=' symbol. F specifies decimal and $ specifies
hexadecimal. n is the number of digits to the left of the decimal, and m is the number of digits to the
right of the decimal. For example:
Examples:
:V1=10
:V1=
0000000010.0000
:V1={F4.2}
0010.00
:V1={$4.2}
$000A.00
:V1="ALPHA"
:V1={S4}
ALPH
The local format is also used with the MG command.

Fast Firmware Mode

To allow faster servo update rates, a minimized firmware mode is available where certain features are
disabled. When the fast firmware mode is activated the following functions are NOT available:
Gearing
CAM
PL
Stepper Mode
Trippoints in the main thread
DMA
TV
DATARECORD
The minimum sample times (TM) in the fast mode are as follows
DMC-1812, 1822
DMC-1832, 1842
The FAST MODE firmware is available as part of the utilities disks shipped with the DMC-18x2. The
FAST MODE firmware must be downloaded into the DMC-18x2. Run a terminal program (through
WSDK, DMCWIN, DMCDOS, etc.) and select update controller firmare from the options menu.

Converting to User Units

Variables and arithmetic operations make it easy to input data in desired user units such as inches or
RPM.
140 ● Chapter 7 Application Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Assign V1
Return V1
Default Format
Specify local format
New format
Specify hex format
Hex value
Assign string "ALPHA" to V1
Specify string format first 4 characters
FAST MODE
125 μsec
250 μsec
NORMAL MODE
250 μsec
375 μsec
DMC-18x2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dmc-1812Dmc-1822Dmc-1832Dmc-1842

Table of Contents