C
3
H A P T E R
Cradle Commands
No matter which connection or mode is in use, you can always use cradle commands to
switch between RS-232 and Ethernet when both connections are ready.
8001 / 8300 Ethernet
Cradle
8500 Ethernet Cradle
Note: To enable "Auto-detect", toggle the DIP switch to your left on the 8500 Ethernet
Below are functions provided in C and BASIC languages for enabling cradle commands.
Please refer to our C and BASIC Programming Guide for details.
C
SetCommType(1, COMM_IR);
open_com(1,
COMMAND);
// Unless you have changed the baud rate setting via the DIP switch
onboard, pass the factory setting BAUD_115200 for Ethernet Cradle
and BAUD_57600 for Modem Cradle.
write_com(1, "#vErSiOn?\r");
while(!com_eot(1));
...
BASIC
SET_COM_TYPE(1, 3)
SET_COM(1, Baudrate%, Parity%, Data%, 1);
When both RS-232 cable & Ethernet cable are present...
Auto-detect:
Auto-detect:
LAN:
Cradle; and vice versa.
Baud|DATA_BIT8|
The RS-232 connection will override Ethernet
connection. To enable the Ethernet connection, you
must use cradle commands.
The RS-232 connection will override Ethernet
connection. To switch to Ethernet connection, you
must use cradle commands.
Only the Ethernet connection can be established unless
you use cradle commands to switch to RS-232.
PARITY_NONE|HANDSHAKE_NONE|CRADLE_
29
Need help?
Do you have a question about the 8001 and is the answer not in the manual?
Questions and answers