From OpenSCADAWiki
Jump to: navigation, search

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.

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.