PI1X Basic Programming Manual Ver. 1.10
93/156
Description
:
A%
is an integer variable to be assigned for the
transmission baud rate.
X%
is an integer variable indicating baud rate to
be set.
FILE_TRANS_BAUD
Baud rate (bps)
0
115200
1
57600
2
38400
3
19200
4
9600
5
4800
You can use the GET_FILETRANS_ERROR
command to get the error code. Possible error
codes and their interpretation are listed below:
GET_FILETRANS_ERRO
R
Meaning
-1
Set OK.
-2
Selected
LinkingPort is
using.
-4
Parameter erro
r.
Purpose
:
To get or set the transmission interface.
Syntax
:
A% = FILE_TRANS_INTERFACE
FILE_TRANS_INTERFACE = X%
Example
:
N%=FILE_TRANS_INTERFACE
…
FILE_TRANS_INTERFACE=1 ‘RS-232
Description
:
A%
is an integer variable to be assigned for the
transmission interface.
X%
is an integer variable indicating interface to
be set.
FILE_TRANS_INTERFACE
Interface
0
None
1
RS-232
2
USB
3
BT