User Tools

Site Tools


gcode:mcodes:mcode-m63

M63 - Output PWM

Sets PWM output pin state.

It is possible to set frequency, frequency with duty cycle of RC servo motor position.

Syntax

M63 P Q <E>

Parameters

P Output pin number [1..8].
Q Frequency.
E Duty cycle [0..100]. (optional)

Syntax

M63 P R

Parameters

P Output pin number [1..8].
R RC servo motor position [0..100].

Examples

Set PWM on output pin 6 to 25% at 10kHz.

M63 P6 Q10000 E25

Set RC srvo motor connected to pin 6 to 25%.

M63 P6 R25
gcode/mcodes/mcode-m63.txt · Last modified: 2023/02/17 10:08 by 127.0.0.1

Page Tools