Вообще говоря всё это разделение на микрошаг,редуктор,передаточное число ШВП существет только в мастере для того,
чтоб не надо было собирать информацию заного если что либо изменилось в механике.
А так это просто число шагов на оборот или миллиметр я не помню
[AXIS_<num>] Section
The following items might be used by a stepgen component.
-
SCALE = 4000 - in Sample configs
-
STEP_SCALE = 4000 - in PNCconf built configs Specifies the number of pulses that corresponds to a move of one machine unit as set in the [TRAJ] section. For stepper systems, this is the number of step pulses issued per machine unit. For a linear axis one machine unit will be equal to the setting of LINEAR_UNITS. For an angular axis one unit is equal to the setting in ANGULAR_UNITS. For servo systems, this is the number of feedback pulses per machine unit. A second number, if specified, is ignored.
For example, on a 1.8 degree stepper motor with half-stepping, and 10 revs/inch gearing, and desired machine units of inch, we have:
Пользоваться можно как одним,так и другим параметром.
Если я правильно помню,то конечная точка их применения это пин
(float) stepgen.<chan>.position-scale - Steps per position unit. This parameter is used for both output and feedback.
Можешь просто забить туда нужное число.
Сообщение отредактировал torvn77: 31 Июль 2014 - 03:10