From OpenSCADAWiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
Line 7: Line 7:
 
* ''TArrayObj associateTrsList()'' — associated output transports list to that input one.
 
* ''TArrayObj associateTrsList()'' — associated output transports list to that input one.
 
* ''TCntrNodeObj associateTr( string id )'' — getting the associated transport at that connection ''id''.
 
* ''TCntrNodeObj associateTr( string id )'' — getting the associated transport at that connection ''id''.
* ''ElTp conPrm( string id, ElTp val = EVAL, string cfg = "" )'' — common handling the connection time parameter ''id'' with setting to the value ''val'' at presence; request for configuration parameter of the connection time with registration at the first time from the configuration ''cfg'' in the form "{SRC}\n{NAME}\n{HELP}".
+
* ''ElTp conPrm( string id, ElTp val = '''EVAL''', string cfg = "" )'' — common handling the connection time parameter ''id'' with setting to the value ''val'' at presence; request for configuration parameter of the connection time with registration at the first time from the configuration ''cfg'' in the form "{SRC}\n{NAME}\n{HELP}".
 
* ''bool setConPrm( string id, ElTp val )'' — setting the connection time parameter ''id'' to the value ''val'', only for compatibility.
 
* ''bool setConPrm( string id, ElTp val )'' — setting the connection time parameter ''id'' to the value ''val'', only for compatibility.

Latest revision as of 17:14, 11 May 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Documents/User API)
Functions of the input transport object (SYS.Transport["Modul"]["in_Transp"]):
* ''ElTp cfg( string nm )'' — gets the value of the configuration field ''nm'' of the object.
* ''bool cfgSet( string nm, ElTp val )'' [<span style='color:red'>access to the appropriate subsystem</span>] — sets the configuration field ''nm'' of the object to the value ''val''.
* ''string status()'' — string status of the transport.
* ''string addr( string vl = "" )'' — address of the transport, sets the non-empty value ''vl''.
* ''string writeTo(string sender, string mess)'' — sends the message ''mess'' to the sender ''sender'', as a reply.
* ''TArrayObj associateTrsList()'' — associated output transports list to that input one.
* ''TCntrNodeObj associateTr( string id )'' — getting the associated transport at that connection ''id''.
* ''ElTp conPrm( string id, ElTp val = '''EVAL''', string cfg = "" )'' — common handling the connection time parameter ''id'' with setting to the value ''val'' at presence; request for configuration parameter of the connection time with registration at the first time from the configuration ''cfg'' in the form "{SRC}\n{NAME}\n{HELP}".
* ''bool setConPrm( string id, ElTp val )'' — setting the connection time parameter ''id'' to the value ''val'', only for compatibility.
TranslationFunctions of the input transport object (SYS.Transport["Modul"]["in_Transp"]):
* ''ElTp cfg( string nm )'' — gets the value of the configuration field ''nm'' of the object.
* ''bool cfgSet( string nm, ElTp val )'' [<span style='color:red'>access to the appropriate subsystem</span>] — sets the configuration field ''nm'' of the object to the value ''val''.
* ''string status()'' — string status of the transport.
* ''string addr( string vl = "" )'' — address of the transport, sets the non-empty value ''vl''.
* ''string writeTo(string sender, string mess)'' — sends the message ''mess'' to the sender ''sender'', as a reply.
* ''TArrayObj associateTrsList()'' — associated output transports list to that input one.
* ''TCntrNodeObj associateTr( string id )'' — getting the associated transport at that connection ''id''.
* ''ElTp conPrm( string id, ElTp val = '''EVAL''', string cfg = "" )'' — common handling the connection time parameter ''id'' with setting to the value ''val'' at presence; request for configuration parameter of the connection time with registration at the first time from the configuration ''cfg'' in the form "{SRC}\n{NAME}\n{HELP}".
* ''bool setConPrm( string id, ElTp val )'' — setting the connection time parameter ''id'' to the value ''val'', only for compatibility.

Functions of the input transport object (SYS.Transport["Modul"]["in_Transp"]):

  • ElTp cfg( string nm ) — gets the value of the configuration field nm of the object.
  • bool cfgSet( string nm, ElTp val ) [access to the appropriate subsystem] — sets the configuration field nm of the object to the value val.
  • string status() — string status of the transport.
  • string addr( string vl = "" ) — address of the transport, sets the non-empty value vl.
  • string writeTo(string sender, string mess) — sends the message mess to the sender sender, as a reply.
  • TArrayObj associateTrsList() — associated output transports list to that input one.
  • TCntrNodeObj associateTr( string id ) — getting the associated transport at that connection id.
  • ElTp conPrm( string id, ElTp val = EVAL, string cfg = "" ) — common handling the connection time parameter id with setting to the value val at presence; request for configuration parameter of the connection time with registration at the first time from the configuration cfg in the form "{SRC}\n{NAME}\n{HELP}".
  • bool setConPrm( string id, ElTp val ) — setting the connection time parameter id to the value val, only for compatibility.