Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetSpecParam - method of object PmaCommGroup

Description:
The method allows to modify some values that are set in the "PmaCommGroup > Parameters > Special Parameters" configurator.
Syntax:
Boolean SetSpecParam(String sParam, Variant Value)
Calling:
oCommGroup.SetSpecParam sParam, Value
Parameters:
sParam(String) Name of the parameter.
"SlaveAddr" - Default PLC address. The parameter value is the PLC number (meter, device,..)

This parameter can be used for the following drivers: PmModbusMr, PmMBus, PmSBUS and PmFatek.

Value(Variant) Parameter value.
Return Values:
true - on success
false - on error
Example:
Changes the PLC address to 5
JavaScriptVBScriptSelect and copy to clipboard

oCommGroup.SetSpecParam("SlaveAddr", 5);

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice