SendString
Interface
VAR_INPUT
SendString: STRING;
END_VAR
VAR_OUTPUT
Busy : BOOL;
Error: ComError_t;
END_VAR
VAR_IN_OUT
TXbuffer: ComBuffer;
END_VAR
Description
SendString sends a string of characters to the interface corresponding to the input variable TxBuffer. For as long as Busy=TRUE, the transmission is not completed. The data has successfully been sent when Busy=FALSE and Error=0.
Note
The string SendString has a standard length of 80 characters. For some applications a longer string is desirable. In this case the function block SendString255 can be used. The only difference is the string length of 255 characters for SendString.
See also