BWS-136 User Manual_amend.doc
- 31 -
e.g.
$SOS0D0A
(CR/LF)
G S
OT
: Timeout
0~65535
(unit: ms)
e.g.
$SOT500
G S
OL
: Data Length
0~1024
e.g.
$SOL20
G S
OF
:IP Filtering
0
: Disable
1
:Enable
Access
Control
G S
OI
: Authorized IP
e.g.
$SOI192.168.16.1:192.1
68.16.9
(Starting IP:Ended
IP)
TCP Server
G S
VP
: Listen Port
1~65535
e.g.
$SVP4000
G S
CI
: Destination IP
e.g.
$SCI192.168.16.200
G S
CP
: Destination Port
e.g.
$SCP4001
TCP Client
G S
CC
: Connection
Logic
0
: Reserved for PPPoE
1
:Establish connection when
Serial Data in
S
YC
: System mode
R
: Reboot system
F
: Reset to default setting
and reboot
D
: Set current setting as
Default setting
System
S
EI
: Exit console
DIO
S
DM:
Set Digital I/O
mode
I
Input
O
Output
H
pull high,
L
pull low
BWS-136 User Manual_amend.doc
- 32 -
e.g.
$SDMI:0,4,5
set DIO0, DIO4, DIO5 as
input
$SDMO:1,H,2,L,4,H,7,L
set DIO1 high ,DIO2 low,
DIO4 high, DIO7 low as
Output
G
DM:
Get Digital
I/O mode
e.g.
$GDM
the response is
%GDM I,O,O,O,I,I,O,O
G
DI:
Get DI channel
status
e.g.
$GDI
the response is
%GDI 0=1,4=0,5=1
It stands for
DIO0=1,DIO4=0,DIO5=1
Remark: Italic font stands for Command String
CR/LF (two bytes)
:
Both command from host and echo from
BWS-136 are terminated with a Carriage Return (ACSII code Hex
0d) and Line Feed (ASCII code Hex 0a). Therefore please
remember to add CR/LF
at the end of command line in the terminal
emulation program.
All command strings are in Upper Case