5. CONFIGURATION
END_VAR
//INPUTS:
Receive_Ex.REQUEST := TRUE;
Receive_Ex.PORT := Port;
Receive_Ex.RX_BUFFER_POINTER := ADR(Buffer_Pointer);
Receive_Ex.RX_BUFFER_LENGTH := 1024; //Max size.
Receive_Ex.RX_TIMEOUT := 10000;
//FUNCTION:
Receive_Ex();
//OUTPUTS:
Receive_Ex.DONE;
Receive_Ex.EXEC;
Receive_Ex.ERROR;
Status := Receive_Ex.STATUS; //If it is necessary to treat the error.
Receive_Ex.RX_RECEIVED;
Receive_Ex.RX_REMAINING;
Receive_Ex.RX_SILENCE;
5.12.1.8. SERIAL_SET_CTRL
This block is used to write on the control signals (RTS and DTR), when they are available in the serial port. It can also set
a busy condition for the transmission, through BREAK parameter and it can only be used if the modem signal is configured
for RS232_MANUAL.
Figure 146: Block for Control Signals Writing
247