Jump to content

Recommended Posts

Posted

Hi:

      Has anyone use Fins Command with NX1P2 (or any NX/NJ). I try with Multiway with "[!]: Command format error (1004)"

Below is the command from multiway

800003000100000100060101820001000003

Data memory are define in global variable table as  A as %D1, B as %D2 and C as %D3.

The relevant setting are done on Fins Setting and Memory Setting in the PLC.

 

Anyone ?

 

 

Posted

 Download Etherway - much better.

Give yourself some more memory to work with - for testing give yourself 100 words and stick to one memory area. I found an old FINS command and response from Etherway for D20:

<--: 46494E530000001A000000020000000080000300140000FB00050101820014000001  (Request)
-->: 46494E53000000180000000200000000C0000200FB000014000501010000FFFF   (Response)

Capture.PNG

Capture.PNG

Posted
11 hours ago, photovoltaic said:

 Download Etherway - much better.

Give yourself some more memory to work with - for testing give yourself 100 words and stick to one memory area. I found an old FINS command and response from Etherway for D20:

<--: 46494E530000001A000000020000000080000300140000FB00050101820014000001  (Request)
-->: 46494E53000000180000000200000000C0000200FB000014000501010000FFFF   (Response)

Capture.PNG

Capture.PNG

11 hours ago, photovoltaic said:

 Download Etherway - much better.

Give yourself some more memory to work with - for testing give yourself 100 words and stick to one memory area. I found an old FINS command and response from Etherway for D20:

<--: 46494E530000001A000000020000000080000300140000FB00050101820014000001  (Request)
-->: 46494E53000000180000000200000000C0000200FB000014000501010000FFFF   (Response)

Capture.PNG

Capture.PNG

Hi @photovoltaic:

                                          I did use Ehterway, the  end result is the same error code of 1004.  but using UDP. It seems like you are using TCP?

How do you set up TCP instead of UDP in Sysmac Studio? 

The Etherway shown Time out if I am using TCP (client ?) Try connecting to 192.168.250.1  ERROR: No connection could be made because the target machine actively refused it 192.168.250.1:9600.

 

 

Posted
19 hours ago, simonongsk said:

Hi @photovoltaic:

                                          I did use Ehterway, the  end result is the same error code of 1004.  but using UDP. It seems like you are using TCP?

How do you set up TCP instead of UDP in Sysmac Studio? 

The Etherway shown Time out if I am using TCP (client ?) Try connecting to 192.168.250.1  ERROR: No connection could be made because the target machine actively refused it 192.168.250.1:9600.

 

 

It is TCP yes. A lot of what you see is the header. You change between TCP/UDP here:

Capture.PNG

Posted (edited)

I did a test with UDP reading words D1,D2, and D3 from my NX1P2. See screenshots.

TCP doesn't work on the NX1P2. The message I posted earlier was from a different controller.

Capture.PNG

Capture2.PNG

Edited by photovoltaic
Posted

@photovoltaic:

                           I am using NX102 9000. The error is dealing with connection. What is the Fins Settings (under Built in Ethernet/ip) . I am unable to make connection using TCP. Even with UDP, the error of 1004 will occur if the command is send to the PLC. If I use the TCP/UPD Messaging Services, Connection can be make but response message is not encouraging

<--: 46494E530000001A0000000200000000800007000100007800020101820001000003
-->: 46490400009A1500

May i know are there any setting in Ethernet/IP and the Operation Setting tabs?

Attached 

Error.jpg

Fin Routing.jpg

Finsetting.jpg

tcpudp.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...