From OpenSCADAWiki
Functions
- Direct receiving, by link, the status code and the command (read only), as well as setting the status text according to the list of states stats.
- Working out the text of the command com_text to find it in the general list coms of commands and issuing the received command code to the output.
- Generating from the general list coms of commands the list of commands to be selected in digComs.
- Complex processing and complete generation-imitation of the code state, as well as processing the code or the command text for targeted actions, on the internal programming language of OpenSCADA into the configuration IO inProc, where you can operate next service parameters:
- in [IN|OUT] — IO of the code state;
- text [OUT] — direct text status setting;
- coms [IN] — list of available commands, of the corresponded IO;
- com_text [IN|OUT] — text of the received command;
- levErr, tErr [IN|OUT] — alarm level [-79...0] and text of the error (the attribute "err" format);
- f_frq [IN] — frequency of the calculation, the template IO;
- this [IN] — reference to the parameter object, what executing the template;
- ctx [IN] — object of the user context, what saved between the execution cycles;
- args [IN] — object of arguments of the procedure.
- Formation of the violation and the corresponding setting of the attribute err, provided at setting in the processing procedure or lack of the communication (in = EVAL). What can be delayed on the time alDelay and can be suppressed setting alSup.