* ''ElTp value( string addr, ElTp setVl = NULL )'' — direct accessing a value-registers with registering for acquisition.
* ''ElTp value( string addr, ElTp setVl = NULL )'' — direct accessing a value-registers with registering for acquisition.
** ''addr'' — the value-registers address in the standard format;
** ''addr'' — the value-registers address in the standard format;
−
** ''setVl'' — setting value, NULL (no specified) only for getting.
+
** ''setVl'' — setting value, NULL (not specified) only for getting.
<section end=API />
<section end=API />
Latest revision as of 17:03, 2 July 2025
User programming API
Due to the support of the logical type parameters, it makes sense to provide a number of functions of the user API for calling them from the template of the logical parameter.
The object "Controller" [this.cntr()]
string messIO(string pdu) — sends pdu through the transport of the controller object by means of the ModBus protocol. PDU query result is placed instead of the query pdu, and the error returned by the function.
ElTp value( string addr, ElTp setVl = NULL ) — direct accessing a value-registers with registering for acquisition.
addr — the value-registers address in the standard format;
setVl — setting value, NULL (not specified) only for getting.