Do you have a question about the BEM106 and is the answer not in the manual?
Questions and answers
Summary of Contents for BrickElectric BEM106
Page 1
⚫ Internet Control ⚫ Password Protection Introduction BEM106 is an Wide Supply Input, Ethernet Remote Relay Module, with 8 output channels, and provide with both enclosed and open type housing. Its Ethernet connector provides 10/100baseT interface. It supports EasyBus-TCP, HTTP control, Modbus-TCP and Internet control protocols, suitable for being used with servers, computers, mobiles, routers, etc., to provide remote control and monitor.
Subnet Mask: 255.255.255.0 You can download latest firmware for Gateway: 192.168.1.1 free. DHCP: disable ⚫ ⚫ HTTP function Internet Control State: Enable State: Enable Port: 80 Platform with App: Android iOS (in prepare) Windows (in prepare) Cross-Platform (Web Browser) in prepare www.BrickElectric.com...
A Practical step-by-step operation guide for starters This part is a step-by-step tutorial explaining how to start with BEM106. We'll not discuss too much details here. The only idea here is to make it work by minimum steps. For more information, please refer to later chapters.
3.2 LAN Mode 1. Connect BEM106 with your routers or computer by Ethernet cable, and then power it on with 5 - 24VDC power supply. (see fig.1.1 at page 2) 2. Open any TCP test tool (if you don't have any, or you don't know what a TCP test tool is, you can use BE-Manager, it is within our software package).
3.3 Internet Mode: 1. Connect BEM106 with your routers or computer by Ethernet cable. And then power it on with 5-24VDC power supply. (see fig.1.1 at page 2) 2. Open "Hello Brick" app for android at any android phone, register a user and then have fun with Internet control.
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, BEM106 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.
4.3 DHCP Function BEM106 supports both DHCP and static IP Addressing. For communication reliability, we recommend using a Static IP Address when you feel comfortable doing so. This will ensure that the device will always be where you expect it to be, when you try to connect to...
In the following contents, assuming current IP Address is 192.168.1.105. If you need to switch different channels please replace "k0x" to the value you need. For example, if you want control ch2, you may replace "k01" with "k02". www.BrickElectric.com...
Page 12
To switch off ch1 output: Web access URL: http://192.168.1.105/k01=0 Socket command text: k01=0; To switch on ch1 output: Web access URL: http://192.168.1.105/k01=1 Socket command text: k01=1; To toggle (opposite to previous status) ch1 output: Web access URL: http://192.168.1.105/k01=2 Socket command text: k01=2; www.BrickElectric.com...
Page 13
To pulse off ch1 output, you can input by require web access: Web access URL: http://192.168.1.105/k01=3 Socket command text: k01=3; To pulse on ch1 output, you can input by require web access: Web access URL: http://192.168.1.105/k01=4 Socket command text: k01=4; www.BrickElectric.com...
Page 14
To set timer T1 value to 5000: Web access URL: http://192.168.1.105/setpara[65]=5000 Socket command text: setpara[65]=5000; To set timer T1 value unit to ms: Web access URL: http://192.168.1.105/ setpara[29]=0 Socket command text: setpara[29]=0; To set timer T1 value unit to second: Web access URL: http://192.168.1.105/ setpara[29]=1 www.BrickElectric.com...
Page 15
To set timer T1 value to 5000: Web access URL: http://192.168.1.105/ setpara[65]=5000 Socket command text: setpara[65]=5000; To set timer T1 value unit to ms: Web access URL: http://192.168.1.105/ setpara[29]=0 Socket command text: setpara[29]=0; To set timer T1 value unit to second: www.BrickElectric.com...
Once enabled, user can only send effective command when they're able to provide correct 6-bit length access password. In the following contents, assuming current IP Address is 192.168.1.105. And device password is "123456", which is also the default password. Enable/Disable Password Protection To Enable password protection: Web access URL: www.BrickElectric.com...
For example, if you set incorrect IP Address and the device is no longer detectable in your network. Two different level of reset are provided in this module. Level-1 only reset parameters, i.e. network settings, time settings and so on, while Level-2 will reset on-chip app, i.e. for firmware updating/reload. www.BrickElectric.com...
Read serial number You can read serial number by reading the sticker on the device, but you can also read device serial number by communication. To read device serial number: Web access URL: http://192.168.1.105/ getpara[100]=1; Socket command text: getpara[100]=1; www.BrickElectric.com...
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 www.BrickElectric.com...
Page 20
(for example, if DHCP mode is activated). Each relay module supports only one TCP connection to server, that means only one server can be connected in the same time. To set relay module to TCP Client Mode: Web access URL: http://192.168.1.105/ setpara[132]=1; Socket command text: www.BrickElectric.com...
Page 21
DNS function, by default this function is disabled. To read relay module EasyBus Client DNS Enable: Web access URL: http://192.168.1.105/ getpara[129]=1; Socket command text: getpara[129]=1; To set relay module EasyBus Client DNS Enable to be enabled: Web access URL: www.BrickElectric.com...
Page 22
To read relay module EasyBus Client Remote Host Name: Web access URL: http://192.168.1.105/ getpara[128]=1; Socket command text: getpara[128]=1; To set relay module EasyBus Client Remote Host Name, for example to BrickElectric.com: Web access URL: http://192.168.1.105/ setpara[128]=BrickElectric.com; Socket command text: setpara[128]=BrickElectric.com; EasyBus Client Watchdog In most of networks, router will kill a TCP connection if it is unused for some time period, an practical time will be 120 seconds.
Page 23
The higher the value of this parameters, the longer the server un-response time will be allowed. In good network environment this is recommended so it will save the traffic in total. For example, setpara[127] = 2, or setpara[127] = 3, 4 … 9999. www.BrickElectric.com...
IP address from your DNS server. Change mode to Fixed IP Mode (mode 0) for auto ping: Auto Ping Channel 1: Web access URL: http://192.168.1.105/setpara[149]=0 Socket command text: setpara[149]=0; Auto Ping Channel 2: Web access URL: http://192.168.1.105/setpara[150]=0 Socket command text: setpara[150]=0; www.BrickElectric.com...
Page 26
5 seconds, and then power it on again. I'm using k01 to supply power to my device, so my reboot sequence is: k01=0;wait=5;k01=1; and plus the programmable mark(if you don't insert programmable mark, your sequence will be running immediately rather than saving into preset program and wait to be triggered) www.BrickElectric.com...
Page 27
1. To set time unit to millisecond: setpara[46]=0; 2. To set time unit to second: setpara[46]=1; 3. To set time value to 60: setpara[82]=60; I want to setup time between pings to 60 seconds, for example: Web access URL: Write: http://192.168.1.105/setpara[46]=1&setpara[82]=60 Read: http://192.168.1.105/getpara[46]=1&getpara[82]=1 Socket command text: www.BrickElectric.com...
Page 28
2. To set time unit to second: setpara[173]=1; 3. To set time value to 60: setpara[165]=60; I want to setup after reboot delay time to 300 seconds, for example: Web access URL: Write: http://192.168.1.105/setpara[173]=1&setpara[165]=300 Read: http://192.168.1.105/getpara[173]=1&getpara[165]=1 Socket command text: Write: setpara[173]=1;setpara[165]=60; www.BrickElectric.com...
Page 29
Write: http://192.168.1.105/setpara[181]=0 Socket command text: Write: setpara[181]=0; Auto Ping Channel 2: To start auto ping: Web access URL: Write: http://192.168.1.105/setpara[182]=1 Socket command text: Write: setpara[182]=1; To stop auto ping: Web access URL: Write: http://192.168.1.105/setpara[182]=0 Socket command text: Write: setpara[182]=0; www.BrickElectric.com...
Web access URL: http://192.168.1.105/ setpara[102]=1; Or Socket command text: setpara[102]=1; (2) Select the module you want to map at 192.168.1.106 by: Web access URL: http://192.168.1.105/ setpara[133]=192; Or Socket command text: setpara[133]=192; Web access URL: http://192.168.1.105/ setpara[134]=168; Or Socket command text: setpara[134]=168; www.BrickElectric.com...
This saves time for many people who wants to focus on more creative works, and they can start to create application with BEM106 immediately, rather than spend lots of time on learning the old-fashioned and very detailed industry automation communication protocol before they can really start to do anything.
Need help?
Do you have a question about the BEM106 and is the answer not in the manual?
Questions and answers