www.BrickElectric.com
4. Functionality
4.1 Basic Network Communications
The main method of communication to BEM105 is a standard Ethernet communication.
This communication protocol makes use of Network Sockets or HTTP protocol to create
point to point tunnels that data can flow through bi-directionally. In this way, the computer
that is controlling the relay can send commands and shortly thereafter receive the
response through the same Socket/Web Page.
Communications
In most programming languages, all you need to do to open a socket is to import the
appropriate plug-in, build the socket object, and connect the socket using the IP Address
and Port Number of the target device.
MAC Address
You can find the MAC Address of the module at the simple starter manual delivered
together with module package.
4.2 Save Parameters
After power cycle, BEM105 will lose its parameter modifications if you don't actively
require it to save modified parameters into internal nonvolatile memory. For examples, IP
Address, Gateway address and Net mask.
Assuming module current IP Address is 192.168.1.105 for all the following commands.
Save parameters
To save parameters:
Web access URL:
http://192.168.1.105/save=1
Socket command text:
save=1;
4.3 Reboot
Send the module a restart signal so it will restart itself.
Some parameters modifications
are only effective after a reboot or power cycle.
Relay contact outputs are still in
control during reboot process, under default setting, module will be keep the contact
status unchanged during this reboot process. Parameters modifications will be lost if you
don't save them before reboot or power cycle operation.
Assuming module current IP Address is 192.168.1.105 for all the following commands.
Reboot
Содержание BEM105
Страница 7: ...www BrickElectric com Fig 1 3...