Alloy Computer Products BWS-136 user manual All command strings are in Upper Case

Page 16

 

 

 

 

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

 

 

 

 

 

 

Access

G

S

OF:IP Filtering

 

0: Disable

Control

 

 

 

 

1:Enable

 

 

 

 

 

 

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

 

 

 

 

 

TCP Client

G

S

CI: Destination IP

e.g.$SCI192.168.16.200

 

 

 

 

 

 

G

S

CP: Destination Port

e.g.$SCP4001

 

 

 

 

 

 

G

S

CC: Connection

0: Reserved for PPPoE

 

 

 

Logic

1:Establish connection when

 

 

 

 

Serial Data in

 

 

 

 

 

System

 

S

YC: System mode

R: Reboot system

 

 

 

 

F: Reset to default setting

 

 

 

 

and reboot

 

 

 

 

D: Set current setting as

 

 

 

 

Default setting

 

 

 

 

 

 

 

 

S

EI: Exit console

 

 

 

 

 

 

 

 

DIO

 

S

DM: Set Digital I/O

I Input

O Output

 

 

 

mode

H pull high, L pull low

 

 

 

 

 

BWS-136 User Manual_amend.doc

- 31 -

 

 

 

 

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

e.g. $GDM

 

 

I/O mode

 

the response is

 

 

 

 

%GDM I,O,O,O,I,I,O,O

 

 

 

 

 

G

 

DI: Get DI

channel

e.g. $GDI

 

 

status

 

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

BWS-136 User Manual_amend.doc

- 32 -

Image 16
Contents Table of Contents Introduction OverviewProduct Specifications Connecting Ethernet Port Connecting Serial PortSwitch SW1 Settings Getting StartedLED Status Serial Port Pin Assignments Digital I/OFactory Default Settings Configure BWS-136Java Configuration Install Java Configuration UtilitySerial and Data Packing Settings TCP/IP Network SettingsDevice Name Settings Access Control SettingsSave Configuration Save Configuration to FileWeb Configuration Customize Your Web Serial/Telnet Command Serial Console ModeForgot Password Telnet Console ModeCommand Syntax XON/XOFF All command strings are in Upper Case Echo Syntax SliokcrlfUnsigned long