From OpenSCADAWiki
Jump to: navigation, search

Functions of the parameter object of the controller (SYS.DAQ["Modul"]["Controller"]["Parameter"]):

  • 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.
  • TCntrNodeObj cntr( ) — returns the controller object regardless of the nesting parameters.
  • bool messSet( string mess, int lev, string type2Code = "OP", string cat = "") — sets of the DAQ-sourced message mess with the level lev, for the parameter.
  • bool alarmSet( string mess, int lev = -5, bool force = false ) — sets/removes of the violation mess with the level lev (negative to set otherwise to remove) for the parameter. The alarms clearance, as the setting also, works in the toggling mode, so means of passing the clearance messages to the message buffer, and the same clearance, only at the according violations presence, what may be disabled setting force.