NgoHoang Posted October 30, 2024 Report Posted October 30, 2024 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? Quote
IO_Rack Posted October 30, 2024 Report Posted October 30, 2024 5 hours ago, NgoHoang said: => Dada CAN NOT Write to D10 of PLC. Is the PLC in Monitor mode? It seems like you understand FINS but if you would like, here is a tool that may be useful. I haven't used it in quite some time. FINS Color Coded Messaging Tool - Utilities - Forums.MrPLC.com Quote
NgoHoang Posted October 30, 2024 Author Report Posted October 30, 2024 Thank @IO_Rack! I will check and feedback Quote
NgoHoang Posted October 31, 2024 Author Report Posted October 31, 2024 Thank @IO_Rack! I do it DONE Quote
IO_Rack Posted November 1, 2024 Report Posted November 1, 2024 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. Quote
Recommended Posts
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.