Galil DMC-3425 Home Security System User Manual


 
60 • Chapter 5 Command Basics DMC-3425
PR is the two character instruction for position relative. 4000 is the argument which represents the
required position value in counts. The <return> terminates the instruction. The space between PR and
4000 is optional.
For specifying data for the A,B,C and D axes, commas are used to separate the axes. If no data is
specified for an axis, a comma is still needed as shown in the examples below. If no data is specified
for an axis, the previous value is maintained.
To view the current values for each command, type the command followed by a ? for each axis
requested.
PR 1000 Specify A only as 1000
PR ,2000 Specify B only as 2000
PR ,,3000 Specify C only as 3000
PR ,,,4000 Specify D only as 4000
PR 2000, 4000,6000, 8000 Specify A B C and D
PR ,8000,,9000 Specify B and D only
PR ?,?,?,? Request A,B,C,D values
PR ,? Request B value only
The DMC-3425 provides an alternative method for specifying data. Here data is specified individually
using a single axis specifier such as A,B,C or D. An equals sign is used to assign data to that axis.
For example:
PRA=1000 Specify a position relative movement for the A axis of 1000
ACB=200000 Specify acceleration for the B axis as 200000
Instead of data, some commands request action to occur on an axis or group of axes. For example, ST
AB stops motion on both the A and B axes. Commas are not required in this case since the particular
axis is specified by the appropriate letter A, B, C or D. If no parameters follow the instruction, action
will take place on all axes. Here are some examples of syntax for requesting action:
BG A Begin A only
BG B Begin N only
BG ABCD Begin all axes
BG BD Begin B and D only
BG Begin all axes
For controllers with 5 or more axes, the axes are referred to as A,B,C,D,E,F,G,H.
BG ABCDEFGH Begin all axes
BG D Begin D only
Coordinated Motion with more than 1 axis
When requesting action for coordinated motion, the letter S is used to specify a coordinated motion
plane. For example:
BG S Begin coordinated sequence, S
BG SW Begin coordinated sequence, S, and W axis
Command Syntax - Binary