simonongsk

NX102 Fins Command with PC

7 posts in this topic

Anyone tested NX102 builtin Ethernet Port 1/2 for Fins command with Multiway?

Example  PLC Port 1  IP is 192.168.1.10  , PC Address is 192.168.1.88

FINS Node Address of built in Ethernet IP port is 11 (grey out) as it follow the setting at port 2

 

ICF   80

RSV  00

GCT  03

DNA  01   (Direct PC to NX102)

DA1   0A  (IP node 10)

DA2  00

SNA 01  (Diect PC to NX102)

SA1  58

SA2  00

SID --Changing

I got an Error code 1004 ( setting error)

 

Do I need to setup routing table?

https://www.youtube.com/watch?v=PG3pEvaO4O4  

i used this as a guide, but that video added a EIP card

 

 

 

 

Share this post


Link to post
Share on other sites

I usually use 0 for SNA for a direct network.
No routing table setup is required, assuming you're using FINS/UDP

You need to set it up though, if you're using FINS/TCP.

Also last octet of the IP Address is not always the FINS Node Address, so if your Sysmac Studio shows that the FINS Node Address is 11, you should use that for DA1.

Share this post


Link to post
Share on other sites
1 hour ago, innoaloe said:

I usually use 0 for SNA for a direct network.
No routing table setup is required, assuming you're using FINS/UDP

You need to set it up though, if you're using FINS/TCP.

Also last octet of the IP Address is not always the FINS Node Address, so if your Sysmac Studio shows that the FINS Node Address is 11, you should use that for DA1.

"I usually use 0 for SNA for a direct network." 

Do you meant without using a switch?

So if I am using a switch, what is the value I should use?

You need to set it up though, if you're using FINS/TCP---> How do you setup in Sysmac Studio? (prefer TCP over UDP).

 

 

Share this post


Link to post
Share on other sites
12 hours ago, innoaloe said:

I usually use 0 for SNA for a direct network.
No routing table setup is required, assuming you're using FINS/UDP

You need to set it up though, if you're using FINS/TCP.

Also last octet of the IP Address is not always the FINS Node Address, so if your Sysmac Studio shows that the FINS Node Address is 11, you should use that for DA1.

I am still unable to use the Fins Command with multiWay

attached is the setting

 

Fint routing.png

TCP.png

Variable.png

Share this post


Link to post
Share on other sites

Well... looks like your connection is OK, but the data you are sending to PLC is incorrect.

- DNA must never be 00. Your Sysmac Studio screenshot shows that the PLC uses default Local Network 01, so DNA should be 01 as well.

- I believe using 00 for SNA should work. But if it doesn't, you can put any number there, like 02 for example. It doesn't really matter for a single PC and PLC connection.

- On your Multiway screenshot, your attempts before the last one are just sending the FINS Header, which will never work

- Your last attempt in the screenshot looks fine, except the DNA being 00.

Share this post


Link to post
Share on other sites
14 hours ago, innoaloe said:

Well... looks like your connection is OK, but the data you are sending to PLC is incorrect.

- DNA must never be 00. Your Sysmac Studio screenshot shows that the PLC uses default Local Network 01, so DNA should be 01 as well.

- I believe using 00 for SNA should work. But if it doesn't, you can put any number there, like 02 for example. It doesn't really matter for a single PC and PLC connection.

- On your Multiway screenshot, your attempts before the last one are just sending the FINS Header, which will never work

- Your last attempt in the screenshot looks fine, except the DNA being 00.

"- DNA must never be 00. Your Sysmac Studio screenshot shows that the PLC uses default Local Network 01, so DNA should be 01 as well. "

Which part of the sysmac studio screen shot show the Default Network that I should change? In CJ it is much simpler.

"but the data you are sending to PLC is incorrect"  - the multiway error said so.  Multiway work with CJ Fins command, i believe the NX/Nj should behave the same way.

Any idea?

 

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now