Author Topic: Omron EthernetFINS UDP port  (Read 1114 times)

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Omron EthernetFINS UDP port
« on: April 30, 2020, 02:22:19 AM »
Hi,
wanna try to change UDP port to 9601 but got error. Only works when port in AHMI is set to 9600. In wireshark, i saw that if still set port to 9601, AHMI sends request to port 9600. Is changing UDP port implemented to EthernetFINS driver?

Thank you

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Omron EthernetFINS UDP port
« Reply #1 on: April 30, 2020, 03:52:09 AM »
Try experimenting with the attached modified version of the OmronEthernetFINSCom file (replace the original file and rebuild the solution).

I am not sure if this is correct way of doing this with Omron, so if you experience any issues then just restore the original file and wait for Archie to respond.


betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Omron EthernetFINS UDP port
« Reply #2 on: April 30, 2020, 08:03:31 AM »
I was replaced the attached OmronEthernetFINSCom file and comes to conclusion. If you drop driver to screen and change port in driver properties it didnt work, same as before, but when i opened OmronEthernetFINSCom.vb file and change
Code: [Select]
Private m_PortNumber As UShort = 9600 to
Code: [Select]
Private m_PortNumber As UShort = 9601 it works. Dont know why, but it worked.