ClassicDIY / ModbusTool

A modbus master and slave test tool with import and export functionality, supports TCP, UDP and RTU.
Apache License 2.0
673 stars 201 forks source link

I can't choose any port name #38

Open AhmetFarukBilgin opened 8 months ago

AhmetFarukBilgin commented 8 months ago

Both in master and salve ı cant choose the port name, what am ı doing wrong ?

thoblerone commented 5 months ago

I have just checked with a recent build of my fork, but it's the same for the original: you can only choose a port number, when the communication mode is TCP or UDP, upon connecting the log window will contain some text indicating the port number.

Only when you are using RTU connection, you have to choose a port name from the available options. The available com ports are queried from your hardware. Open your device manager and the list of available com ports will be the same as in the com port combo box. See https://github.com/ClassicDIY/ModbusTool/blob/2b6764a6ac00a926cfc81a57b90c22a8f4733538/CommonControls/BaseForm.cs#L51