stereotech / Stereotech-Firmware

Modular, opensource, high performance G-code interpreter and CNC controller written in Object-Oriented C++
http://smoothieware.org/
GNU General Public License v3.0
0 stars 1 forks source link

Добавить блок switch servo в конфиг композитного принтера #11

Closed frylock34 closed 4 years ago

frylock34 commented 4 years ago

In GitLab by @shvetsandrew on Aug 4, 2020, 12:10

# Switch module for servo control using S/W PWM
switch.servo.enable                            true             # Enable this module
switch.servo.input_on_command                  M280             # M280 S7.5 would be midway
switch.servo.input_off_command                 M281             # Same as M280 S0 0% duty cycle, effectively off
switch.servo.output_pin                        2.12             # May be any spare pin
switch.servo.output_type                       swpwm            # Software pwm output settable with S parameter in the input_on_command
#switch.servo.pwm_period_ms                    20               # set period to 20ms (50Hz) default is 50Hz
#switch.servo.startup_state                    false            # false uses startup_value on boot true uses default_on_value
#switch.servo.startup_value                    7.43             # On boot and HALT it will set this PWM value
#switch.servo.default_on_value                 3.3              # This PWM value will be set if M280 doe snot have an S parameter, it is also the value used if startup_state is true
frylock34 commented 4 years ago

In GitLab by @shvetsandrew on Aug 4, 2020, 14:16

changed the description