AdvancedHMI Software

General Category => Support Questions => Topic started by: betilly on April 30, 2020, 02:22:19 AM

Title: Omron EthernetFINS UDP port
Post by: betilly 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
Title: Re: Omron EthernetFINS UDP port
Post by: Godra 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.

Title: Re: Omron EthernetFINS UDP port
Post by: betilly 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.