From OpenSCADAWiki
Jump to: navigation, search

For the direct processing procedure, and the required or optional ones to create in the template, the following exchange attributes with the input transport are predetermined:

  • Input result (rez) <Boolean> — processing result (false — full request; true — not full one, holding the connection); in the DAQ-template mode you must write thither directly, not by the operator "return";
  • Input request (request) <String> — full-accumulated request message, what protocol should clear about processed data;
  • Input answer (answer) <String> — answer message;
  • Input sender (sender) <String> — request sender;
  • Transport (tr) <Object> — input transport object;
  • This object (this) <Object> — pointer to this protocol's object;
  • Scheduling the next service call (schedCall) <Integer> — write here the time value in seconds for scheduling the procedure context execution in a service call; At.png the service calls are performed in the periodicity 10 seconds usually, so you can schedule the calls not often than at 10 seconds.