Issue
How to set Status Register parameters for a Powerlogic driver device type in PowerSCADA Expert
Product Line
Powerlogic SCADA 7.2x
PowerSCADA Expert 7.3x
PowerSCADA Expert 7.4x
PowerSCADA Expert 8.x
Cause
If a device fails to come online in PowerSCADA Expert (PSE), one likely cause is that the default status register that the driver is using as a health check is not compatible with the device type. Each PowerLogic driver type (PWRMODBUS, PLOGIC, MICROLOGIC, SEPAM) has a default statusRegister setting. For any devices that use a given driver but cannot use the default statusRegister, the statusRegister parameter can be configured at the port or device level.
Environment
Computer Setup Edtor
Resolution
In the Computer Setup Editor, the following parameters can be added to the Citect.ini file:
StatusRegister
Defines a holding register that the driver reads to determine whether a device is responding to communication requests. The result of this read is not important, however it must be a valid register address within the device.
Parameter type: register address
Default value: 1100 (2 for Sepam) (PM1200 requires that this value be set to 3911)
Examples:
[PWRMODBUS]
statusRegister = 1000
[PWRMODBUS.MYCLUSTER.PORT_DEVICE_PM1200]
statusRegister = 3911
StatusRegisterType
Used together with StatusRegister; defines the type of the status register. Can only be configured for the PWRMODBUS driver. This parameter can have one of the following values:
0 - HOLDING register (default)
1 - INPUT register
2 - COIL register
3 - DIGITAL input (input coil) register
Any other value equals the default.
Parameter type: register type
Default value: 0
Example:
[PWRMODBUS]
statusRegister = 1000
[PWRMODBUS.MYCLUSTER.PORT_1.DEVICE_A]
statusRegister = 16000
statusRegisterType = 2
StatusRegistersCount
Defines the number of registers that the driver reads to determine whether a device is responding to communication requests. The result of this read is not important, however it must be a valid register address within the device.
Parameter type: number of registers
Default value: 1 (PM1200 requires that this value be set to 2)
Examples:
[PWRMODBUS]
statusRegistersCount = 2
[PWRMODBUS.MYCLUSTER.PORT_DEVICE_PM1200]
statusRegistersCount = 2