1. Home
  2. Docs
  3. MC-EX-QA8 | Transistor Output Expansion Module
  4. Expansion Module Node-Red Startup Guide
  5. Implement and Deploy Node Red Program

Implement and Deploy Node Red Program

  1. Follow Wiring Diagram, complete wiring diagram. (Follow Node-RED Startup Guide if you are beginner to run node red on these products.)
  2. Go to left “Toggle palette” & scroll down to “MC EX” category, drag and drop “QA8” node.

*Nodes in “MC EX” category can use to program Modular industrial controller expansion modules (Check Figure 1).

Figure 1: Drag and Drop QA8 node on Node-Red Workspace from MC EX category.
  1. Scroll up to “common” category drag and drop two “inject” nodes & “debug” node (Check Figure 2).
Figure 2: Drag and Drop “inject” nodes and “debug” nodes on workspace from common category.
  1. Double click on one “inject” node, Select “true” from the drop down menu (Refer Figure 3(a) node settings), Finally click “Done” button.
  2. Now double click on second “inject” node, Select “false” from the drop down menu (Refer Figure 3(b) node settings),Finally click “Done” button.
Figure 3(a): inject node 1 settings, (b): inject node 2 settings.
  1. Next double click on “debug” node then select “complete msg object” (Refer Figure 4(a) for node settings), Finally click “Done” button.
  2. Then double click on “QA8” node select Address from the “Device Address” drop down menu (Refer Figure 4(b) for node settings) Finally click “Done” button.
Figure 4(a): debug node settings, (b): QA8 node settings.
  1. For get information regarding “QA8” node click symbol then click on node selected (Check Figure 5).
Figure 5: “QA8” node information panel.
  1. Link The nodes according to Figure 6, Click “deploy” button for run Node-Red program (Click on “true” state before feed input signal).
Figure 6: Linked nodes .
  1. For monitor Debug message click “Debug” symbol Figure 7 show the result when Output signal sent from expansion module.
Figure 7: Output signal on.
  1. Click on “false” state for cutoff Output signal (Refer Figure 8 see the result on nodes and Debug window).
Figure 8: No Output signal.
Was this article helpful to you? Yes No

How can we help?