Promotic

GetSpecParam - method of the PmaCommGroup object

Description:
The method allows to detect some values that are set in the "PmaCommGroup > Parameters > Special Parameters" configurator.
Syntax:
Variant GetSpecParam(String sParam)
Parameters:
sParam(String) The parametr name.
"SlaveAddr" - Default device address. The parameter value is the PLC device number (meter, device ...).
This parameter can be used for the following drivers: PmModbusMr, PmMBus, PmSBUS and PmFatek.
Return values:
The value of the sParam parameter.
See also:
Example:
Detects the PLC address:
JavaScriptVBScriptSelect and copy to clipboard

var oCommGroup = pMe.Pm("/Comm/Group1");
var val = oCommGroup.GetSpecParam("SlaveAddr");

History:
Pm8.02.01: Created
PROMOTIC 9.0.24 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.