
Purpose
Κ
To set RTS level.
Syntax
Κ
SET_RTS(N1%, N2%)
Example
Κ
SET_RTS(1, 1)
Description
Κ
N1%
is an integer variable indicating which COM port to set
RTS level (now we only can choose 1).
N2%
is an integer variable indicating the RTS state.
N2% Meaning
0
Negated (Space)
1
Asserted (Mark)
Purpose
Κ
To clear receiver buffer.
Syntax
Κ
CLEAR_COM(N%)
Example
Κ
CLEAR_COM(1)
Description
Κ
N%
is an integer variable indicating which COM port to
clear receive buffer (now we only can choose 1).
Purpose
Κ
To change delimiter of sending and receiving string for a
specified COM port.
Syntax
Κ
COM_DELIMITER(N% ,C%)
Example
Κ
COM_DELIMITER(1,13) ‘use carriage return as
delimiter
COM_DELIMITER(1,38) ‘use ‘&’ character as
delimiter
COM_DELIMITER(1,-1) ‘no delimiter
Description
Κ
N%
is an integer variable indicating which COM port is to be
set (now we only can choose 1).
C%
is an integer variable indicating the ASCII code of the
delimiter character, in the range from 0 to 255. If it is other
value, no delimiter will be applied.
The default COM_DELIMITER is 0xd.
T P C 7 0 3 0
Programming Manual Ver. 1.00
89/131