Using ExtOut board with PlanetCNC TNG software
This tutorial will help you configure ExtOut board related settings in PlanetCNC TNG software.
ExtOut board settings are located under File/Settings/Input&Output/I2C,TX,Enc,RC.
Under Ext section insert value 10000 for Frequency and enable Invert option for SEL1 Pin:
Related g-codes:
M64 – Output ExtOut
Usage: M64 H Q <L>
– H = ExtOut SSEL value (1 or 2)
– Q = data send to ExtOut
– L (optional) = number of bytes send to ExtOut
M64 H Q E <L>
– H = ExtOut SSEL value (1 or 2)
– Q = parameter number of first data location
– E = data count
– L (optional) = number of bytes send to ExtOut
M64 H P Q <L>
– H = ExtOut SSEL value (1 or 2)
– P = bit position
– Q = zero for Off, otherwise On
– L (optional) = number of bytes send to ExtOut
M64 H L0
– H = ExtOut SSEL value (1 or 2)
– L = zero bytes send to ExtOut
Examples:
In PlanetCNC TNG install folder locate and open Samples folder. Open Tutorials folder and locate files: M64ex1.txt, M64ex2.txt, M64ex3.txt, M64ex4.txt, M64ex5.txt, M64ex6.txt
These sample g-code programs describe various uses of M64 g-code and ExtOut board.