![Moog SmartMotor Скачать руководство пользователя страница 390](http://html1.mh-extra.com/html/moog/smartmotor/smartmotor_developers-manual_1831639390.webp)
P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 390 of 909
DT=formula
Deceleration Target
APPLICATION:
Motion control
DESCRIPTION:
Get/set target deceleration only (does not change acceleration)
EXECUTION:
Buffered until a G command is issued
CONDITIONAL TO:
MP, MV, ADT=, AT=, G, X, PID
n
(sample rate), encoder res-
olution
LIMITATIONS:
Must not be negative; effective value is rounded down to next
even number
READ/REPORT:
RDT
WRITE:
Read/write
LANGUAGE ACCESS:
Assignment, formulas and conditional testing
UNITS:
(encoder counts / (sample²) ) * 65536
RANGE OF VALUES:
0 to 2147483647
TYPICAL VALUES:
2 to 5000
DEFAULT VALUE:
0 (for firmware 5.x.4.x and newer, default is set to 4)
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
DT:3=1234
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
Setting the buffered DT value determines the deceleration that will be used by subsequent
position or velocity moves to calculate the required trajectory. Changing DT during a move
will not alter the current trajectory unless a new G or X command is issued.
Acceleration is pre-scaled by 65536 and may range from 2 to 2147483647. A value of 0 is not
valid. Due to internal calculations, odd values for this command are rounded up to an even
value.
If the value for DT has not been set since powering up the motor, the value of AT= will be
automatically applied to DT=. However, this should be avoided. Instead, always use the ADT=
command to specify the value for AT and DT when they are the same. If the value needed for
DT is different than AT, specify it with the DT= command.
Equations for Real-World Units:
Encoder resolution and sample rate can vary. Therefore, the following general equations can
be used to convert the real-world units of deceleration to a value for DT, where af[0] is
already set with the real-world unit value. These equations force floating-point calculations to
avoid overflow and maintain resolution. They can be placed in a user program, or they can be
precalculated if the values of SAMP and RES are known (SAMP and RES can be reported from
the terminal using the RSAMP and RRES commands, respectively). SAMP can change if the PID
command is used. The value of RES can differ between motor models.
Part 2: Commands: DT=formula
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...