BrickElectric BEM107 Manual

Ethernet relay

Advertisement

Quick Links

BrickElectric Ethernet Relay
BEM107
Excellent network building block
Introduction
BEM107 is an Wide Supply Input, Ethernet Remote I/O Module, with 1 output channel and 1
input channel, and provide with both enclosed and open type housing. Its Ethernet connector
provides 10/100baseT interface.
It supports EasyBus-TCP, HTTP control, and Internet control protocols, suitable for being used
with servers, computers, mobiles, routers, etc., to provide remote control and monitor.
With DHCP functions, it doesn't need to make any settings anymore in field. So just plug and
play, power it on and then enjoy your remote control.
BEM107 is a new generation product with more functions and higher stability. Control mode
"toggle" and "automatic cycle operation" are provided additionally.
www.BrickElectric.com
Features
⚫ WEB control
⚫ X-Connect
⚫ Modbus-TCP
⚫ Hardware Reset
⚫ 5 - 24 VDC power supply
⚫ EasyBus - simple solution
⚫ Android App
⚫ LAN mode
⚫ DHCP - Plug and play
⚫ Internet Control
⚫ Password Protection

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BEM107 and is the answer not in the manual?

Questions and answers

Summary of Contents for BrickElectric BEM107

  • Page 1 ⚫ Internet Control ⚫ Password Protection Introduction BEM107 is an Wide Supply Input, Ethernet Remote I/O Module, with 1 output channel and 1 input channel, and provide with both enclosed and open type housing. Its Ethernet connector provides 10/100baseT interface.
  • Page 2: Table Of Contents

    4.10 Read Inputs ........................19 5. X-Connect ............................ 20 5.1 X-Connect Map Setting ..................... 20 5.2 X-Connect Map Parameter List..................21 6. Modbus-TCP ..........................23 7. Fast Program Reference ......................24 7.1 Easybus Specifications ....................... 24 8. Support & Contact us ........................38 www.BrickElectric.com...
  • Page 3: Device Overview

    Module Size 75mmx50mmx20mm Weight 1.2 Connection Diagram Fig. 1.1 2. Specifications 2.1 Recommended Operating Conditions Parameters Symbol Values Unit At T = 25℃, V = 5V unless otherwise specified. Min. Typ. Max. suplly Operating voltage Output Relay Rating 250VAC/10A www.BrickElectric.com...
  • Page 4: Default Software Settings

    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...
  • Page 5: Easy Start

    A Practical step-by-step operation guide for starters This part is a step-by-step tutorial explaining how to start with BEM107. 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.
  • Page 6: Lan Mode

    3.2 LAN Mode 1. Connect BEM107 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).
  • Page 7 Fig.1.3 www.BrickElectric.com...
  • Page 8: Internet Mode

    3.3 Internet Mode: 1. Connect BEM107 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.
  • Page 9: General Functionality

    You can find the MAC Address of the module at the simple start manual delivered together with module package. 4.2 Save Parameters After power cycle, BEM107 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.
  • Page 10: Dhcp Function

    4.3 DHCP Function BEM107 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...
  • Page 11: Relay Outputs Control

    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 on 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 off 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: www.BrickElectric.com...
  • Page 15 K0xT1/K0xT2 is 1000, and default unit for K0xU1/K0xU2 is ms. 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; www.BrickElectric.com...
  • Page 16: Password Protection

    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: www.BrickElectric.com...
  • Page 17: Http Port Setting

    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...
  • Page 18: Identification & Customized Information

    In some applications, customer may want to set up their own name for better identification of the device. For this purpose, device name can be customized, with a maximum length of 15 letters. To read device name: Web access URL: www.BrickElectric.com...
  • Page 19: Read Inputs

    4.10 Read Inputs BEM107 has one input channel, which can detect external contact condition. It is not allowed to apply any external voltage to those input channels. You can read the input parameters to check if the external contact is closed or opened.
  • Page 20: X-Connect

    2 outputs and in total 8 outputs. In such a case you can map each input of BEM108 to the eight outputs of 4 BEM104 without central controller. Also, if you have 8 BEM107 which each have one input and in total 8 inputs, you can also map each of the input bit to one or more output modules.
  • Page 21: X-Connect Map Parameter List

    0 ~ 255 VWSIP24 X-Connect CH2 target IP 4 0 ~ 255 VWSIP31 X-Connect CH3 target IP 1 0 ~ 255 VWSIP32 X-Connect CH3 target IP 2 0 ~ 255 VWSIP33 X-Connect CH3 target IP 3 0 ~ 255 www.BrickElectric.com...
  • Page 22 X-Connect CH6 output select 1 ~ 8 VWSR7 X-Connect CH7 output select 1 ~ 8 VWSR8 X-Connect CH8 output select 1 ~ 8 VWSR9 X-Connect CH9 output select 1 ~ 8 VWSR10 X-Connect CH10 output select 1 ~ 8 www.BrickElectric.com...
  • Page 23: Modbus-Tcp

    To switch on relay channel 1 output Ethernet frame: 0x05 0x00 0x00 0xFF 0x00 To switch off relay channel 1 output Ethernet frame: 0x05 0x00 0x00 0x00 0x00 To read input channel 1 status Ethernet frame: 0x02 0x00 0x00 0x00 0x01 www.BrickElectric.com...
  • Page 24: Fast Program Reference

    1 default value: 192 range: 0 – 255 003 GW2 module gate way address 2 default value: 168 range: 0 – 255 004 GW3 module gate way address 3 default value: 1 range: 0 – 255 www.BrickElectric.com...
  • Page 25 0 – 1 018 DHCP DHCP functionality, 0 = static IP mode, 1 = DHCP mode default value: 0 range: 0 – 1 019 PWEN Password enable, 0 = password disable, 1 = password disable default value: 0 www.BrickElectric.com...
  • Page 26 0 range: 0 – 1 032 K2U2 Relay K2 timer T2 unit selector, 0 = ms, 1 = second default value: 0 range: 0 – 1 033 - Reserved parameter default value: - range: - 034 - Reserved parameter www.BrickElectric.com...
  • Page 27 - range: - 045 - Reserved parameter default value: - range: - 046 - Reserved parameter default value: - range: - 047 - Reserved parameter default value: - range: - 048 - Reserved parameter default value: - range: - www.BrickElectric.com...
  • Page 28 - range: - 060 - Reserved parameter default value: - range: - 061 - Reserved parameter default value: - range: - 062 - Reserved parameter default value: - range: - 063 - Reserved parameter default value: - www.BrickElectric.com...
  • Page 29 074 - Reserved parameter default value: - range: - 075 - Reserved parameter default value: - range: - 076 - Reserved parameter default value: - range: - 077 - Reserved parameter default value: - range: - 078 - Reserved parameter www.BrickElectric.com...
  • Page 30 - range: - 089 - Reserved parameter default value: - range: - 090 - Reserved parameter default value: - range: - 091 - Reserved parameter default value: - range: - 092 - Reserved parameter default value: - range: - www.BrickElectric.com...
  • Page 31 Ping monitor 2 IP address 1 default value: 192 range: 0 – 255 106 PIP2-2 Ping monitor 2 IP address 2 default value: 168 range: 0 – 255 107 PIP2-3 Ping monitor 2 IP address 3 default value: 1 www.BrickElectric.com...
  • Page 32 119 - Reserved parameter default value: - range: - 120 - Reserved parameter default value: - range: - 121 - Reserved parameter default value: - range: - 122 - Reserved parameter default value: - range: - 123 - Reserved parameter www.BrickElectric.com...
  • Page 33 Ping monitor 2 domain name, max 55 characters default value: www.example2.com range: - 135 - Reserved parameter default value: - range: - 136 - Reserved parameter default value: - range: - 137 - Reserved parameter default value: - range: - www.BrickElectric.com...
  • Page 34 150 PSEL2 Ping monitor 2 mode selector, 0 = fixed IP mode, 1 = DNS mode default value: 0 range: 0 – 1 151 - Reserved parameter default value: - range: - 152 - Reserved parameter default value: - www.BrickElectric.com...
  • Page 35 - range: - 165 PDT1 Ping monitor 1 delay timer after reboot default value: 1000 range: 0 – 65536 166 PDT2 Ping monitor 2 delay timer after reboot default value: 1000 range: 0 – 65536 167 - Reserved parameter www.BrickElectric.com...
  • Page 36 - 179 - Reserved parameter default value: - range: - 180 - Reserved parameter default value: - range: - 181 PCTRL1 Ping monitor 1 control word, 0 = stop, 1 = start default value: 0 range: 0 – 1 www.BrickElectric.com...
  • Page 37 - range: - 185 - Reserved parameter default value: - range: - 186 - Reserved parameter default value: - range: - 187 - Reserved parameter default value: - range: - 188 - Reserved parameter default value: - range: - www.BrickElectric.com...
  • Page 38: Support & Contact Us

    8. Support & Contact us Email: brickelectric@hotmail.com WhatsApp Online Support: +86 182 1730 3961 Call Us: +86 182 1730 3961 If you have any questions or any customized software/hardware requirement, please send an email to our mailbox: brickelectric@hotmail.com www.BrickElectric.com...

Table of Contents