1. Home
  2. Docs
  3. MC-EX-FD4 | Fast Input 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 “FD4” node.
    *Nodes in “MC EX” category can use to program Modular industrial controller expansion modules (Check Figure 1).
Figure 1: Drag and Drop FD4 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 two “inject” nodes and “debug” node 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 19(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 “FD4” node select “I1” from the “Input” drop down menu (Refer Figure 4(b) for node settings), Finally click “Done” button.
Figure 4(a): Debug node settings, (b): FD4 node settings.
  1. For get information regarding “FD4” node click symbol then click on node selected (Check Figure 5).
Figure 5: “FD4” 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(a) & (b) show the result when input signal feed on expansion module.
Figure 7(a): No input signal source.
Figure 7(b): Input signal source feed signal on expansion module.
Was this article helpful to you? Yes No

How can we help?