Hi,
Started this on 2021.9, upgraded to 2020 LTS.
I’ve looked over this thread already: https://www.plcnext-community.net/forum/#/discussion/comment/6483
I’m trying to get the network settings changes to work. I have a 2152 with a ETH left side module. I can pull the network settings for both logical ports without issue. However, when I attempt to change either one (even by just one number in the last octect), I get a code C100/0002 MAC address cannot be configured. I’m reading in the existing setup, modifying both the string and the WORD for a given entry, then writing out. Once a get a bad write, I have to reboot the configuration as I constantly get the same error despite attempting a Read (using one instance of the function block for both). I am using Read on one and Write on the other action, and the block gets at least one cycle not with Execute before each command.
I need 1 user configurable port for the customer (As a server for Modbus TCP, EIP, and Profinet) and one internal Profinet master that I’m hoping doesn’t care about IP addresses.
Hello,
the MAC address parameters are for reading back the configuration and must be dwMacAddress=0 and strMacAddress=‚‘ when executing the function block.
Currently there is a defect where the MAC address is checked independent of the read or write operation of the function block and results in this error code, if the MAC address was set in the structure.
Greetings, Daniel
That seems to have worked, although I also found that it does NOT allow a blank Gateway entry