Jump to content

Recommended Posts

Posted

Dear all!

I'm studying a case as follow: Use a tool on PC (Hercules) Write value 1234 (0x04D2) to D10 of PLC CP1L-EL via FINS Ethernet UDP with built-in Ethernet port.

1. Config on PLC and PC (Hercules tool) in attach files.

2. IP PLC: 192.168.3.111, IP PC: 192.168.3.123

3. Send command from PC (hex): 46 49 4E 53 00 00 00 1A 80 00 00 01 FA 00 00 00 00 00 00 00 01 02 01 01 82 00 0A 04 D2

   + 46 49 4E 53: 'FINS' header.

   + 00 00 00 1A: data length 26 bytes.
   + 80 00: Identify FINS UDP.
   + 00: Network Address.
   + 01: Node Address of PLC.
   + FA: Unit Address of Ethernet build-in Port on PLC.
   + 00 00 00 00 00 00 00 00: Set to 0.
   + 01 02: Write command.
   + 01 01: Sub-command.
   + 82: Memory code for D area memory.
   + 00 0A: Start address (D10).
   + 04 D2: Value need to write (1234).

=> Dada CAN NOT Write to D10 of PLC.

=> Could you help to suggest to me what is wrong or miss?

=> Do need to put SEND, RECEIVE or CMND instruction to source-code?

PC_data.PNG

PLC_Setting.png

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...