RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
395
Ctrl Command rs232_write_data
Function sends a data word (byte) to the RS232 interface.
Call
rs232_write_data( Data )
Parameter
Data
Data word as an unsigned 32-bit value;
only the least significant byte will be transferred to the RS232 interface.
Comments • The complete transmission of any previous data words is waited for. An overrun at the
interface is not possible.
• Also see chapter 9.1.6 "RS232 Interface", page 207.
RTC
®
4
RTC
®
5 new command
Version info Last change with version DLL 516
References rs232_write_text, rs232_read_data
Ctrl Command rs232_write_text
Function sends a text string (character-by-character) to the RS232 interface.
Call
rs232_write_text( pData )
Parameter
pData
PC memory address of the first character (byte) of the to-be-sent text string as
a pointer to a null-terminated string.
Comments • This command is split into an appropriate number of rs232_write_data commands.
• During execution of this command no further control commands can execute, but the
board’s list execution is not affected. If an executing list itself contains
rs232_write_text_list commands, rs232_write_text should preferably not be used so
as to avoid conflicts (race conditions).
• Also see chapter 9.1.6 "RS232 Interface", page 207.
RTC
®
4
RTC
®
5 new command
Version info Last change with version DLL 516, OUT 515
References rs232_write_data, rs232_write_text_list