Skip to content

The Nodes

Minty Trebor edited this page Mar 8, 2021 · 13 revisions

Nodes

NodeDSF has four main dsfnodes and one configuration node:

  • DSF-Monitor - Connects to and processes the data from DCB/DSF.
  • DSF-Event - Watches for changes to user defined objects in the data from DCB/DSF and triggers events.
  • DSF-Intercept - Watches DCB/DSF for special commands embedded within g-code.
  • DSF-Command - Sends a g or m code command to DCB/DSF.

DSF-Connector

This configuration node is used to store the IP address of the DCB/DSF server and set the mode of operation. The four parameters are:

  • Duet/DSF IP. Change this to the IP address of the Duet Board or SBC running DSF. If you have installed Node-Red on the same SBC as DSF you may use localhost.
  • Type. Select Duet or DSF mode depending on the type of system you are connecting to.
  • Poll Rate (ms). Polling information update frequency for Duet mode.
  • Password. Plain Text password - Leave blank for default password of 'reprap'. (Duet Passwords are not secure and are set with the M551 command)

- Duet Mode
Duet mode enables direct connection to a v2/3 Duet (or compatible) control board through a network connection. For Duet mode You can also set a Poll Rate in ms to control how often the node requests an information update from the Duet board. Duet mode currently delivers a subset of the full machine model to reduce load on the control boards. If there is data you require that is missing please raise an issue and I will see if it can be added.

- DSF Mode
DSF mode connects to the SBC running DSF.

Note: Selecting the wrong mode will result in errors in Node-Red, as the connection protocols are completely different