Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetSpecParam - method of object PmCommData

Description:
The method allows to detect some values that are set in the PmCommData > Parameters > Special Parameters configurator.
Syntax:
GetSpecParam(sParam As String) As Variant
Calling:
val = oCommData.GetSpecParam(sParam)
Parameters:
sParam(String) Name of the parameter.
"SlaveAddr" - Default PLC address. The parameter value represents the PLC 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.
Example:
Detects the PLC address
val = oCommData.GetSpecParam("SlaveAddr")
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice