Can PG5 access more than 32 serial communication ports (ComPorts)?

FAQ #101339

In case more than 32 PCDs are to be connected to a PC using serial connections (with one COM port for every PCD station) PG5 needs to be configured to allow more than 32 COM ports to be used by the SComm driver.


By default the number of accessible ComPort is limited to 32 Com ports. The reason therefore is that with more than 32 COM ports is has been observed that the process which allows to scan the available Com Port on the PC could take up to 1 minute (and more...), depending on the system or devices used. This phenomenon can be observed by clicking the "Setup" button in the dialog box of the "Online Settings" in PG5.

Procedure for increasing the maximum number of Com Ports

PG5 1.4: (Windows XP) 

  1. Close all SBC-Software
  2. Open the Registry Editor: from the Windwos start menu select "Run...", type "regedit" and click "OK"
  3. Browse to --> HKEY_LOCAL_MACHINE --> SOFTWARE --> Saia Burgess --> PG5 --> 1.4 --> SCommDrv
  4. In this folder (... --> SCommDrv) create or modify the "PcdLastCom" DWord variable with a value greater than 20 hex (32 dec) for example 40 hex (64 dec)
    This new value represents the maximum number of accessible/scanned ComPorts by PG5

PG5 2.0: (Windows XP)

  1. Close all SBC-Software
  2. Browse to the folder "C:\Documents and Settings\All Users\Application Data\Saia-Burgess\PG5_20\"
  3. Open the file "SCommSettings.ini" and modify the value of the "PcdLastValue" (for example write 64) and save this file under the same format.
    This new value represent the maximum number of accessible/scanned ComPort by PG5


PG5 1.x

Software (except PG5) / SCOMM

PG5 2.0 / Serial-S-Bus

PG5 2.0

Last update: 31.05.2015 08:29

First release: 08.12.2009 09:39

Views: 2962

The requested software / document is no longer marketed by Saia-Burgess Controls AG and without technical support. It is an older software version which can be operated only on certain now no longer commercially available products.