Hey all,
I am new to using Node-RED and the Omron FINS addon and have issues with connecting to an Omron NX102-9000 PLC that is on the same network as my Node-RED machine.
The IP addresses are as below:
PLC - 10.1.2.31
Node-RED - 10.1.2.26
Here are snapshots of the PLC settings:
In NODE-Red I have the FINS Setup as below:
And I am using one of the examples to Read the PLC status but all I get is a "Timeout" message.
Have tried using the read a value example and still getting "Timeout"
Have read through few of the topics here but nothing helped.
Any ideas?
What is the subnet mask on both the PLC and the computer running Node-RED?
Is Node-RED running in docker or on the OS or ???
If you install node-red-node-ping
can you ping the PLC from node-red?
Are you plugged into the correct port of the NX?
Recommendation: Align the last digit of IP addresses with the Node Number (e.g. if the PLC IP ends in .26
, the node-number would ideally be 26
, same for the computer
Steve,
Thanks for the swift reply.
Both the PLC and Node-RED PC are with subnet 255.0.0.0 as they are in our dev network.
Node red is installed in the OS (Win Server 2022)
Node Ping returns 1 (OK) when pinging the PLC.
Changed the PLC/Node-RED FINS addresses to correspond to the last octet of the IP address and still nothing.
Thanks in advance!
Ivan
Did you restart the PLC?
Have you setup routing tables (as in PLC routing table, not network switching/routing)?
Which port have you plugged into?
IIRC, only 1 port (the main EIP enabled) port supports FINS (its been a few years since I have touched an Omron NX 1xx - I no longer have access to PLCs to test - if you have a spare, I would happily receive it and test it for you)
Is the windows firewall disabled?
Have you added any AT
addresses in the TAGs?
Next steps: I would start with using a class C network (255.255.255.0) and setting the conversion method to Auto or Combined.
Steve,
- I am plugged in Port 1.
- Will restart PLC and double check if that helped.
- Tags are set with AT addresses as in the manual.
- Will have to read up on the FINS routing tables as never used them before.
- Using Class C network might be a bit difficult at the moment as I don't spend much time in the office where the PLC/Server is at the moment and can only access them via a site to site VPN. Both of the devices are next to each other though on the same network and connected to the same switch.
Will check the routing tables and restarting the PLC and report back.
Thanks
Ivan
oh, one more thing. Try adding the PLCs Node Number and IP to the conversion table.
Steve,
Just tried the below with no avail:
- Add the PLC Node number to the IP conversion table + download
- PLC power cycling
- Add a new FINS routing table in "Operations Settings"
All of these were done one at a time with testing.
Will look into the routing tables next and update.
Thanks
Ivan
When you reply, please add all relevant/related info/screenshots so I can see your final state.
1 Like
Steve,
Nothing seems to be working for me. Not sure what to do next.
Here are screenshots of the settings:
- PLC FINS Settings
- Settings in Node-RED (I have tried changing DNA and/or SNA to 1)
- Settings of the network adapter on the Win PC
Lastly I have tried setting the remote network table in Sysmac and have two different networks for the PLC and the PC running Node-RED but nothing helped.
Thanks
Ivan
They would/should be the same network
One thing i note - auto connect is disabled. Any reason? Are you commanding the node to connect as described in the built in help? I would recommend until you get up and running to leave "Auto Connect ` checked. FYI, in Node-RED, whenever you change a setting on a node, it is completely destroyed and re-created (i.e. connection is re-established with the new parameters you enter)
Did you check computer firewall?
Can you run wireshark to confirm packets are being sent?
Can you attach a debug (set to show complete msg) to the output of your FINS Read node. Also, add a catch node that is aimed at the FINS Read node & link that to a debug node (also set to show complete msg). Capture the full msg and post in a reply.
How to capture debug data for posting
There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path/value for any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
How to post well formatted code/json etc
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json