Try this:
- Add a ModbusRTUCom to your form and set the PortName, BaudRate, DataBits, Partity, and StopBits to exactly what you have in the Click programming software
- Add a BasicLabel to the form
- Set the properties PLCAddressValue and PLCAddressKeypad both to 40001
- Make sure your programming software is completely closed so AdvancedHMI can get access to the com port
- Run the applicatiom
- Click on the BasicLabel and put in a value
- If everything is correct , the BasicLabel should change to the value you entered