www.BrickElectric.com
Socket command text:
getpara[25]=1;
To change device name to "MYDEVICE":
Web access URL:
http://192.168.1.105/ setpara[25]=MYDEVICE
Socket command text:
setpara[25]=MYDEVICE;
Read device type
you can read device type by communication, for the purpose of better identification the
device.
To read device type:
Web access URL:
http://192.168.1.105/ getpara[22]=1;
Socket command text:
getpara[22]=1;
Read device firmware version
you can read device firmware version by communication, for the purpose of better
identification the device, or diagnosis.
To read device firmware version:
Web access URL:
http://192.168.1.105/ getpara[24]=1;
Socket command text:
getpara[24]=1;
4.
10
Easybus Server/Client Mode
EasyBus supports both TCP Server and TCP Client mode, both mode has its application
advantage. Additionally, one configurable communication watchdog can be setup to
monitor the connection between Ethernet relay module and its server/client.
EasyBus Server Mode
By default, relay modules are setup in
EasyBus Server Mode
. Which means relay
module listens to its port 5000(by default) and by actively connecting to module ip / port
number you can create a TCP connection between your software and relay module.
Unlike http interface, each module supports only one TCP channel at the same time. If
you want to connect to the module by another software, the previous TCP connection has
to be disconnected at first. If you wish to connect multiple software to relay module at the
same time, please reference to HTTP access mode, which allows multiple software
connection at the same time.
To read relay module EasyBus mode:
Web access URL: