Files
ecmc_master_slave/example/mirror/cfg/enc_openloop_Y.yaml
2024-09-16 10:32:31 +02:00

19 lines
728 B
YAML

# Open loop configuration
var:
drive: $(DRV_SLAVE)
encoder:
position: ec$(MASTER_ID).s$(DRV_SLAVE).positionActual01
type: 1 # Type (0=Incremental, 1=Absolute)
numerator: 0.025 # 0.025 mm/rev
denominator: 12800 # 200 x 64 microstep/rev
bits: 16 # Total bit count of encoder raw data
absBits: 16 # Absolute bit count (for absolute encoders)
absOffset: 0.0 # Encoder offset in eng units (for absolute encoders)
primary: 0
homing:
refToEncIDAtStartup: 1 # At startup then set the start value of this encoder
# to actpos of the given encoder id
refAtHome: 1 # If homing is executed then set position of this encoder