The ports of FluidNC can all be freely defined and allocated through the Yaml file, so there is no fixed PinMap.
Our current definition is based on the test Yaml we use.
When applying it to your machine, you will need to define the pins yourself.
If you find the following section challenging, don't worry. You can complete the checklist steps first and then come back - it will make much more sense.
:pu configuration in YAML file.:low parameter.NO (Normally Open) or NC (Normally Closed) contacts as control signals.M3 S24000), if the output voltage does not reach 10V.GPIO.26.IO.12 or IO.4 by switching GND connection to complete the circuit.IO.12-MOS-GND and IO.4-MOS-GND ports serve as GND.24V input is strongly recommended.50V withstand voltage rating.>12V to generate proper signals.24V is recommended. Ensure correct polarity to avoid damage.3.3V when using SPI-type stepper motors.5V for external drivers requiring 5V logic signals.3.3V. Choose according to your specific driver requirements.GPIO.26 function selection jumper.I2SO output to control pin levels.MS0/MS1/MS2 - set according to actual pin functions.I2SO numbers.CS) signal.I2SO ports can also be used as CS signals for corresponding SPI drivers.EN, DIR, CLK, and GND signals.I2SO signals to the green TBX terminals.1-4 for onboard drivers, slots 5,6 for external relay output).I2SO signals for relays to TBX terminals.I2SO.3 as the Chip Select (CS) signal.USB 5V into the circuit for testing purposes.GPIO.25 and GPIO.27 ports.VCC and GND, as some OLED modules have different pin arrangements.GPIO.25 and GPIO.27 ports.This is the current V4.96 factory I/O-test profile. It is provided for reference and must be modified for the actual machine before use.
board: V49PBV496PRO name: Factory_Test_XYZABC stepping: engine: I2S_STREAM idle_ms: 254 pulse_us: 4 dir_delay_us: 1 disable_delay_us: 0 axes: shared_stepper_disable_pin: NO_PIN x: steps_per_mm: 800.000 max_rate_mm_per_min: 5000.000 acceleration_mm_per_sec2: 100.000 max_travel_mm: 300.000 soft_limits: false homing: cycle: 2 positive_direction: false mpos_mm: 150.000 feed_mm_per_min: 100.000 seek_mm_per_min: 200.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 motor0: limit_neg_pin: gpio.33:low limit_pos_pin: NO_PIN limit_all_pin: NO_PIN hard_limits: false pulloff_mm: 1.000 stepstick: step_pin: I2SO.2 direction_pin: I2SO.1 disable_pin: I2SO.0 ms3_pin: I2SO.3:high #####set MS1 MS2 via on-board capnut, set ms3 via YAML file y: steps_per_mm: 800.000 max_rate_mm_per_min: 5000.000 acceleration_mm_per_sec2: 100.000 max_travel_mm: 300.000 soft_limits: false homing: cycle: 2 positive_direction: true mpos_mm: 150.000 feed_mm_per_min: 100.000 seek_mm_per_min: 200.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 motor0: limit_neg_pin: gpio.32:low limit_pos_pin: NO_PIN limit_all_pin: NO_PIN hard_limits: false pulloff_mm: 1.000 stepstick: step_pin: I2SO.5 direction_pin: I2SO.4 disable_pin: I2SO.7 ms3_pin: I2SO.6:high z: steps_per_mm: 800.000 max_rate_mm_per_min: 5000.000 acceleration_mm_per_sec2: 100.000 max_travel_mm: 300.000 soft_limits: false homing: cycle: 1 positive_direction: true mpos_mm: 150.000 feed_mm_per_min: 100.000 seek_mm_per_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 motor0: limit_neg_pin: gpio.35:low limit_pos_pin: NO_PIN limit_all_pin: NO_PIN hard_limits: false pulloff_mm: 1.000 stepstick: step_pin: I2SO.10 direction_pin: I2SO.9 disable_pin: I2SO.8 ms3_pin: I2SO.11:high a: steps_per_mm: 800 max_rate_mm_per_min: 5000.000 acceleration_mm_per_sec2: 100.000 max_travel_mm: 960.000 soft_limits: false homing: cycle: 2 positive_direction: false mpos_mm: 150.000 feed_mm_per_min: 100.000 seek_mm_per_min: 200.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 motor0: limit_neg_pin: gpio.34:low limit_pos_pin: NO_PIN limit_all_pin: NO_PIN hard_limits: false pulloff_mm: 3.000 stepstick: step_pin: I2SO.13 direction_pin: I2SO.12 disable_pin: I2SO.15 ms3_pin: I2SO.14:high b: steps_per_mm: 808.000 max_rate_mm_per_min: 5000.000 acceleration_mm_per_sec2: 100.000 max_travel_mm: 200.000 soft_limits: false homing: cycle: 1 positive_direction: false mpos_mm: 150.000 feed_mm_per_min: 100.000 seek_mm_per_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 motor0: limit_neg_pin: gpio.39:low limit_pos_pin: NO_PIN limit_all_pin: NO_PIN hard_limits: false pulloff_mm: 3.000 stepstick: step_pin: I2SO.18 direction_pin: I2SO.17 disable_pin: I2SO.16 ms3_pin: I2SO.19:high c: steps_per_mm: 808.000 max_rate_mm_per_min: 5000.000 acceleration_mm_per_sec2: 100.000 max_travel_mm: 200.000 soft_limits: false homing: cycle: 1 positive_direction: false mpos_mm: 150.000 feed_mm_per_min: 100.000 seek_mm_per_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 motor0: limit_neg_pin: gpio.36:low limit_pos_pin: NO_PIN limit_all_pin: NO_PIN hard_limits: false pulloff_mm: 3.000 stepstick: step_pin: I2SO.21 direction_pin: I2SO.20 disable_pin: I2SO.23 ms3_pin: I2SO.22:high i2so: bck_pin: gpio.22 data_pin: gpio.21 ws_pin: gpio.17 spi: miso_pin: gpio.19 mosi_pin: gpio.23 sck_pin: gpio.18 sdcard: card_detect_pin: NO_PIN cs_pin: gpio.5 probe: pin: gpio.2:pu:low toolsetter_pin: NO_PIN check_mode_start: true hard_stop: false start: must_home: false # Begin OLED i2c0: sda_pin: gpio.27 scl_pin: gpio.25 oled: i2c_num: 0 i2c_address: 60 width: 128 height: 64 radio_delay_ms: 1000 # Begin relay relay: direction_pin: NO_PIN output_pin: gpio.26 enable_pin: NO_PIN disable_with_s0: false s0_with_disable: true spinup_ms: 0 spindown_ms: 0 tool_num: 0 speed_map: 0=0.000% 0=100.000% 1=100.000% off_on_alarm: false # Begin PWM pwm: pwm_hz: 5000 # direction_pin: NO_PIN output_pin: gpio.4 enable_pin: NO_PIN disable_with_s0: false s0_with_disable: true # spinup_ms: 0 # spindown_ms: 0 tool_num: 1 speed_map: 0=0.000% 10000=100.000% off_on_alarm: false # Begin Laser Laser: pwm_hz: 5000 output_pin: gpio.12 enable_pin: NO_PIN disable_with_s0: false s0_with_disable: true tool_num: 2 speed_map: 0=0.000% 255=100.000% off_on_alarm: true # Begin 10V 10V: forward_pin: NO_PIN reverse_pin: NO_PIN pwm_hz: 5000 output_pin: gpio.13 enable_pin: NO_PIN # direction_pin: NO_PIN disable_with_s0: false s0_with_disable: true # spinup_ms: 0 # spindown_ms: 0 tool_num: 3 speed_map: 0=0.000% 1000=0.000% 24000=100.000% off_on_alarm: false # Begin YL620 RS485 uart1: txd_pin: gpio.15 rxd_pin: gpio.16 rts_pin: gpio.14 baud: 9600 mode: 8N1 YL620: uart_num: 1 modbus_id: 1 tool_num: 4 speed_map: 0=0% 0=25% 6000=25% 24000=100% off_on_alarm: false