www.phdsolutions.co
Page 26 of 34
&RPPDQG&RGH
)XQFWLRQ'HVFULSWLRQ
)HHGEDFN
'HIDXOW6HWWLQJ
s net reboot!
Reboot network modules
Network reboot…
IP Mode: Static
IP: 192.168.1.72
Subnet Mask:
255.255.255.0
Gateway: 192.168.1.1
TCP/IP port=8000
Telnet port=10
Mac address:
00:1C:91:03:80:01
s uart x datalen y!
Set the data length of x hdbt uart,
x=0-8, y=1-2, 1:8bit 2:7bit
hdbt uart1 data len is
8bit
([DPSOH
s net reboot!
s uart 1 datalen 1!
s uart x baudrate y!
Set the baudrate of x hdbt uart ,
x=0-8
,
y=1-8, 1: 115200(Default)
2: 57600 3: 56000 4:38400
5:19200 6:14400 7:9600 8:4800
hdbt uart1 baudrate is
115200
s uart x parity y!
Set the Parity of x hdbt uart,
x=0-8, y=1-3,
1:none 2:odd 3:even
hdbt uart1 parity is
none
s uart x type z
senddata y end!
Send data y from x hdbt uart,
z=0 ascii, z=1 hex ,x=0-8
hdbt uart1 data:
abcdefg
r uart status x!
Get the Status of x hdbt uart ,
x=0-8
s uart 1
baudrate 1!
s uart x parity 1!
s uart 1 type 0
senddata abcdefg
end!
r uart status 1!
hdbt uart1 baudrate
9600,datalen 8bit,
parity none