RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
596
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References rs232_write_data, uart_config
Ctrl Command rs232_read_data
Ctrl Command rs232_write_data
Function Sends a data word (byte) to the RS-232 interface.
Call
rs232_write_data( Data )
Parameters
Data
Data word.
As an unsigned 32-bit value.
Only the least significant byte is transferred to the RS-232 interface.
Comments • The complete transmission of any previous data words is waited for. An overrun at the
interface is not possible.
• See also Chapter 9.1.6 ”RS-232 Interface”, page 287.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References rs232_write_text, rs232_read_data, uart_config, rs232_write_text_list
Ctrl Command rs232_write_text
Function Sends a text string (character-by-character) to the RS-232 interface.
Call
rs232_write_text( pData )
Parameters
pData
PC memory address of the first character (byte) of the to-be-sent text string.
As a pointer to a \0-terminated string.
Comments • rs232_write_text is split into an appropriate number of rs232_write_data.
• During execution of rs232_write_text no further control commands can be executed,
but the list execution on the board is not affected. If an executing list itself contains
rs232_write_text_list, rs232_write_text should preferably not be used so as to avoid
conflicts (race conditions).
• See also Chapter 9.1.6 ”RS-232 Interface”, page 287.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References rs232_write_data, rs232_write_text_list, uart_config