Sign in to follow this  
Followers 0
NgoHoang

FINS Ethernet in CPL1-EL

5 posts in this topic

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

Share this post


Link to post
Share on other sites

Nice!

There are FINS commands to Read and Write the PLC Mode. (RUN, MON, PRG). This can be helpful if CX Programmer is not available.

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
Sign in to follow this  
Followers 0