Rte_Write
Rte_Write implements explicit data write access on a data element prototype of an Rport of a SenderReceiver or NVData interface.
Explicit data write access of a runnable entity means that the value of the data element is published immediately; (other) runnable entities can access the new value when they read the data element afterwards. Subsequent explicit write operations change the value of the data element.
In the ESDL editor for software components, explicit write access can be specified as follows:
P_Port_2.t_mot.explicitWrite(t_mot2);
In the block diagram editor for software components, explicit write access can be specified as follows:

During code generation for an explicit read access, the return value of Rte_Write, which contains status information, is assigned to a temporary variable named _ASCET_RteStatus.
The status information can be used in the model. In the block diagram editor for SWCs, you have to select Explicit with Status to do so. In the ESDL editor for SWCs, you have to declare a method-/runnable-local variable of type Std_ReturnType, then specify the write access as statusVariable = P_Port_2.t_mot.explicitWrite(t_mot2);. See also Sending to a Port – Block Diagram and Sending to a Port – ESDL.
See also