/node-omron-read

Node-RED PLC interface with OMRON FINS Gateway communication (read only)

Primary LanguageJavaScript

node-omron-read

Overview

This is a Node-RED node module to directly interface OMRON PLCs over FINS Ethernet protocol. For now it only supports direct data readout from memory but it's VERY user friendly. More functions will be added when needed. Credits to Patrick Servello (patrick--) for his implementation of the FINS node backbone.

Prerequisites for Windows

  • git (Used for repository cloning/downloads)
  • node.js (Background system for Node-RED)
  • Node-RED

Install for Windows

Make a directory for the base files on the disk (somewhere secure) and open the created folder and open PowerShell (SHIFT + right_click) or "Git Bash Here" with right mouse inside the folder. Now enter the following:

git clone https://github.com/Jozo132/node-omron-read.git

setx NODE_PATH %AppData%\npm\node_modules
set NODE_PATH=%AppData%\npm\node_modules

cd node-omron-read
npm link
cd ..

cd ~/.node-red
npm install C:/Users/----/AppData/npm/node_modules/node-omron-read

Install for Linux (Ubuntu)

Open global node_modules folder, clone as superuser (sudo) and npm install the module into node-red

cd /usr/local/lib/node_modules
sudo git clone https://github.com/Jozo132/node-omron-read.git
npm install --prefix ~/.node-red node-omron-read

Usage

  • Restart Node-RED and there's the thingy now