Chapter 3 Creating and Editing Screens
Remark
Var1 can be constant only.
All communication commands will be processed via the COM port that the user
selects after executing this command. Different macros will not support each
other or have any interference.
Example
Select COM1 port.
Equation
CLEARCOMBUFFER (Var1, Var2)
Explanation
This command is used to clear COM port buffer.
Var1 is the number of communication port. It represents as constant 0(COM1),
1(COM2) or 2(COM3).
Var2 is the type of buffer area. It represents as constant 0 (receiving buffer area) or 1
(sending buffer area).
Remark
Var1 and Var2 can be constant only.
Example
Clear the sending buffer area of COM2.
3-360 Revision May, 2010