Use in IEC-code: Modbus_Serial_Device.UpdateComPortSettings(...) https://content.helpme-codesys.com/en/libs/IoDrvModbusSerialSlave/Current/pou-ModbusSerialDeviceDiag/UpdateComPortSettings.html Take note: "Only possible if server is disabled (see xEnable Input)" So: Modbus_Serial_Device.xEnable := FALSE; Modbus_Serial_Device.UpdateComPortSettings(...) Modbus_Serial_Device.xEnable := TRUE; Please note that after PLC reboot the values from the GUI (from your screenshot) will be applied again. So you...
Use in IEC-code: Modbus_Serial_Device.UpdateComPortSettings(...) https://content.helpme-codesys.com/en/libs/IoDrvModbusSerialSlave/Current/pou-ModbusSerialDeviceDiag/UpdateComPortSettings.html Take note: "Only possible if server is disabled (see xEnable Input)" So: Modbus_Serial_Deivice.xEnable := FALSE; Modbus_Serial_Deivice.UpdateComPortSettings(...) Modbus_Serial_Deivice.xEnable := TRUE; Please note that after PLC reboot the values from the GUI (from your screenshot) will be applied again. So...
Use in IEC-code: Modbus_Serial_Deivice.UpdateComPortSettings(...) https://content.helpme-codesys.com/en/libs/IoDrvModbusSerialSlave/Current/pou-ModbusSerialDeviceDiag/UpdateComPortSettings.html Take note: "Only possible if server is disabled (see xEnable Input)" So: Modbus_Serial_Deivice.xEnable := FALSE; Modbus_Serial_Deivice.UpdateComPortSettings(...) Modbus_Serial_Deivice.xEnable := TRUE; Please note that after PLC reboot the values from the GUI (from your screenshot) will be applied again. So...
Use in IEC-code: Modbus_Serial_Deivice.UpdateComPortSettings(...) https://content.helpme-codesys.com/en/libs/IoDrvModbusSerialSlave/Current/pou-ModbusSerialDeviceDiag/UpdateComPortSettings.html Please note that after PLC reboot the values from the GUI (from your screenshot) will be applied again. So you need to save values from HMI in RETAIN and restore them after start of application.
Use: Modbus_Serial_Deivice.UpdateComPortSettings(...) https://content.helpme-codesys.com/en/libs/IoDrvModbusSerialSlave/Current/pou-ModbusSerialDeviceDiag/UpdateComPortSettings.html Please note that after PLC reboot the values from the GUI (from your screenshot) will be applied again. So you need to save values from HMI in RETAIN and restore them after start of application.
https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_placeholder_with_formatting_sequence_in_a_string.html Use %03d
Try to use newer version of CODESYS Installer: https://store.codesys.com/de/codesys-installer.html
https://content.helpme-codesys.com/en/libs/VisuElemBase/Current/Public-Parts/Interfaces/IUserMgmtEventHandler.html