ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
Chapter E: Appendixes
Operation & Software Manual
Direct Drives & Systems
267
15.36 Commands reference list
The following commands can be used with all the controllers except for:
• the WTB command which can be used
only
with the DSC2P
• the CN1 and CN2 command which
cannot
be used with the DSCDM.
Syntax
Val
<P1>
Bit #
<1>
Comment for commands
and parameter <P1>
Val
<P2>
Bit #
<P2>
Comment for parameter <P2>
AUT.<AXIS>=<P1>
Calculates current loop parameters
(K80, K81, K98), performs fine phase
adjustment (K53 if K52=1) and finds
motor connection (K56)
1
0
Tunes proportional and integrator gain
of the current loop K80, K81, and DC
power voltage rate K98
2
1
Searches motor phase and sets K56
8
3
Sets K53 (fine phase adjustment) if
K52=1
AXI.<AXIS>=<P1>,<P2>
Changes the current axis number of a
controller based on its serial number;
<P1> is the serial number, <P2> is the
new axis number. Example:
AXI.1=1245,2 (change axis 1 in axis
2, its serial number is 1245 that is
given by SER or M73)
BRK.<AXIS>
Stops the motor using programmed
deceleration K206 but does not stop
the sequence
CAL.<AXIS>=<P1>
Calls a subroutine specified at the
label defined by <P1>. The
accumulator (XAC) is preserved (in
the stack) and it is restored when RET
command is executed
CLX.<AXIS>
Clears all user variables (X register)
including accumulator (XAC)
CPE.<AXIS>
Clears pending error: is used with
error process label (:80). When you
process at label 80, the pending error
bit is set to 1 (bit#0 of SD2). If you do
not clear it (with CPE), the next time
an error occurs the controller will not
jump to label 80
EDI.<AXIS>
Switches in editor mode. It allows the
user to write into sequence register
(S). It sets bit#9 (edit mode) of SD1
END.<AXIS>
Stops the sequence execution and
clears bit #8 (seq_on) of status drive 1
(SD1)
ERR.<AXIS>
Puts the controller in error mode
(M64=116)
EXI.<AXIS>
Disables the editor mode of the
sequence and builds label table. It
clears bit#9 (edit mode) of SD1
FCOS.<AXIS>=<P1>,<P2>
Executes the operation: <P1> =
cos(<P2>). Both operands (<P1> and
<P2>) are only float (type F)
Содержание DSC Series
Страница 2: ...THIS PAGE IS INTENTIONALLY LEFT BLANK ...