Skip to content

Openpnp Setup

Sandra Carroll edited this page Dec 24, 2021 · 10 revisions

To configure the Delraprintr Nozzle Magazine first be sure to follow the setup instructions Here

Configure the Nozzle Magazine Controller

Configuring the GcodeDriver

First add a new GcodeDriver by clicking the "+" and giving it a name

In the **Properties/Name ** Box enter the name for the Driver. The example is "Nozzle Magazine" For the Serial Port choose the appropriate port and choose a speed of 115200

In the Driver Settings tab you can test commination's by clicking the Detect Firmware button. You should see something similar to below

FIRMWARE_NAME:Nozzle Magazine 0.0.6b (Github) SOURCE_CODE_URL:https://github.com/kbastronomics/nzmag PROTOCOL_VERSION:1.0 MACHINE_TYPE:Deltaprintr nozzle magazine (large) NOZZLE_COUNT:20 CONTROL_BOARD:ADAFRUIT_METRO_M0_EXPRESS MOTOR_DRIVE:DRV8871

Now we start setting up all the GCODE/REGEX options Under the Head Mountable Default for setting COMMAND_CONFIRM_REGEX enter "!OK" as shown

Next is COMMAND_ERROR_REGEX enter "!ERROR" as shown

Now we setup the initialization settings with the following in the CONNECT_COMMAND

M220 S1000 A0 B0 ; Speed 1000, Acceleration 0, Brake 0
M805 ; Start in the closed position

For the HOME_COMMAND use as shown

M805 ; HOME POSITION IS CLOSED

HOME_COMPLETE_REGEX use as shown

!OK

Configure the Nozzle Magazine Actuator

Back to the Gcodedriver to Finsish

The Default setting are now completed, So now change the Head Mountable to your Actuator (Nozzle Magazine in the sample) and set the ACTUATE_BOOLEAN_COMMAND

{True:M804}{False:M805}

Move to the ACTUATOR_NOZZLE_COMMAND setting and put in

M114

ACTUATOR_READ_REGEX is the last one to setup

(?<Value>\w+)

Be sure to click apply to save your work

Configure the Nozzle Actuator

Testing the Actuator

Checking LOG

Too see the Nozzle Magazine and Controller in action on my test system check this out

youtube