![Moog SmartMotor Скачать руководство пользователя страница 280](http://html1.mh-extra.com/html/moog/smartmotor/smartmotor_developers-manual_1831639280.webp)
P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 280 of 909
AT=formula
Acceleration Target
APPLICATION:
Motion control
DESCRIPTION:
Sets the target acceleration only (does not change deceleration
unless no deceleration has been set)
EXECUTION:
Buffered until a G command is issued
CONDITIONAL TO:
MP, MV, ADT=, G, PID
n
(sample rate), encoder resolution
LIMITATIONS:
Must not be negative; effective value is rounded down to next
even number
READ/REPORT:
RAT
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 later, the default is set to 4)
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
AT:3=1234
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The buffered AT value determines the acceleration used by subsequent position or velocity
moves to calculate the required trajectory. Changing AT during a move will not alter the
current trajectory unless a new G 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 acceleration to a value for AT, 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: AT=formula
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...