Hey guys,
I was wondering if there was a way to change the IP address of my Ethernet port, within the program.
Is there a way for the program to permanently write to these configuration values?
Hi @Jack_Lin2 ,
yes, there are function blocks for this available:
CfgSetIPAddr()
https://help.br-automation.com/#/en/4/libraries%2Fasarcfg%2Ffbks%2Fcfgsetipaddr.html
CfgSetSubnetMask()
https://help.br-automation.com/#/en/4/libraries%2Fasarcfg%2Ffbks%2Fcfgsetsubnetmask.html
Oh, ok nice. I’m testing it out at the moment, and I don’t really understand the syntax for pDevice: SL.SS.IF.ETH
I think that IF may mean IF3 for my ethernet port on my device, but what is SL and SS?
Its working perfectly, thanks.


