From OpenSCADAWiki
Revision as of 16:15, 2 July 2025 by FuzzyBot (Talk | contribs) (Importing a new version from external source)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

1 Module DAQ.JavaLikeCalc

User object model of the module JavaLikeCalc.

The object "Functions library" (SYS.DAQ.JavaLikeCalc["lib_Lfunc"])

  • ElTp {funcID}(ElTp prm1, ...) — calls the function "funcID" of the library "Lfunc" with the parameters prm{N}. Returns result of the called function. The prefix "lib_" before the library identifier is required!

The object "User function" ( SYS.DAQ.JavaLikeCalc["lib_Lfunc"]["func"] )

  • ElTp call(ElTp prm1, ...) — calls the function "func" of the library "Lfunc" with the parameters prm{N}. Returns result of the called function. The prefix "lib_" before the library identifier is required!

2 Module DAQ.BlockCalc

User object model of the module BlockCalc.

The object "Block" (SYS.DAQ.BlockCalc["cntr"]["blk_block"])

  • ElTp cfg( string nm ) — get value of configuration field nm of the object.
  • bool cfgSet( string nm, ElTp val ) [access to the appropriate subsystem] — set configuration field nm of the object to value val.
  • TCntrNodeObj cntr( ) — return the object of controller for the parameter nesting independent.

3 Module DAQ.ModBus

User object model of the module ModBus.

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.

4 Module DAQ.Siemens

The object "Controller" [this.cntr()]

  • ElTp value( string addr, ElTp setVl = NULL ) — direct accessing a value with registering for acquisition.
    • addr — the value address in the standard format;
    • setVl — setting value, NULL (not specified) only for getting.

5 Module DAQ.OPC_UA

The object "Controller" [this.cntr()]

  • ElTp value( string addr, ElTp setVl = NULL ) — direct accessing a value-node with registering for acquisition.
    • addr — the value-node address in the standard format;
    • setVl — setting value, NULL (not specified) only for getting.