The Art-Net configuration is stored in the file "artnet.txt".
The SlushEngine configuration is stored in the file "slush.txt"
Example:
dmx_start_address_port_a=5
dmx_footprint_port_a=1
# Relay or power control
dmx_slot_info_port_a=00:0505
The SparkFun AutoDriver configuration is stored in the file "sparkfun.txt"
The motor configuration is stored in the file "motor%.txt", where % can be 0, 1, 2, 3.
SparkFun AutoDriver only
Parameter name
sparkfun_spi_cs
sparkfun_position
Description
The SPI0 chip select pin: 0 (CE0) , 1 (CE1)
The board position in the chain. Values: 0, 1, 2, 3
DMX settings
DMX Mode parameters. Used with limit switch : goUntil(act, dir, sps)
Motor parameters
L6470 register set when parameters are set:
For the details see AN4144 Application note : Voltage mode control operation and parameter optimization
Register
INT_SPEED
Parameters
motor_resistance , motor_inductance
L6470 parameters
Note: These settings will override the registers set by the motor parameters.
Example #1:
l6470_kval_hold=50
l6470_kval_run=50
l6470_kval_acc=50
l6470_kval_dec=50
#l6470_min_speed=25
l6470_max_speed=800
l6470_micro_steps=1
l6470_micro_steps=4
#
motor_step_angel=1.8
motor_resistance=2.3
motor_inductance=1.8
#
dmx_mode=4
dmx_start_address=1
dmx_slot_info=00:0101
# mode 4, mode 5 settings
#
mode_max_steps=800
#
# Use limit switch {default=yes , 0=no}
mode_switch=0
# goUntil(act, dir, sps)
#
# copy, reset
#mode_switch_act=
# reverse, forward
#mode_switch_dir=
# Steps per second
#mode_switch_sps
Example #2:
l6470_kval_hold=60
l6470_kval_run=60
l6470_kval_acc=60
l6470_kval_dec=60
#l6470_min_speed=25
l6470_max_speed=400
#l6470_micro_steps=1
l6470_micro_steps=4
#
motor_step_angel=1.8
motor_resistance=2.3
motor_inductance=1.8
#
dmx_mode=5
dmx_start_address=3
dmx_slot_info=00:0402,01:0002
# mode 4, mode 5 settings
#
mode_max_steps=800
#
# Use limit switch {default=yes , 0=no}
mode_switch=0
# goUntil(act, dir, sps)
#
# copy, reset
#mode_switch_act=
# reverse, forward
#mode_switch_dir=
# Steps per second
#mode_switch_sps