Description
Insert a Decision in ExtDecBuffer allows a new decision to be inserted in decision buffer in RCO. If index at which decision is required to be inserted is more than size of buffer, it is appended at the end. If index is less than one, it is inserted as first decision.
Parameters
This function block has the following parameters:
Parameter |
Description |
INPUT |
|
Controller |
Control location ID of the controller that provided the external decisions. This is used to identify decision buffer in which decisions will be inserted. |
Decision Name |
Name of the decision to be inserted. |
Decision Attribute |
Attribute of decision to be inserted. |
Req Flag |
Request indicator of the decision (0 or 1). |
Index |
Index at which the decision will be inserted. |
OUTPUT |
|
Status |
Status of the call, could be RCO_SUCCESS, RCO_WARNING or RCO_ERROR, If status is not RCO_SUCCESS, error information is returned in Error member of RcoDecisionBuffer object. |
Core function block list. |