background image

www.BrickElectric.com 

BrickElectric Ethernet Relay 

BEM104 

Excellent network building block   

 

 

 

Features   

 

WEB control 

 

Modbus-TCP 

 

X-Connect 

 

Hardware Reset 

 

5 - 24 VDC power supply   

 

EasyBus - simple solution 

 

Android App 

 

LAN mode 

 

DHCP - Plug and play 

 

Internet Control 

 

Password Protection 

Introduction   

BEM104 is an Wide Supply Input, Ethernet Remote Relay Module, with 2 output channels, and 

provide  with  both  enclosed  and  open  type  housing.  Its  Ethernet  connector  provides  10/100baseT 

interface. 

 

It  supports  EasyBus-TCP,  HTTP  control,  Auto  ping,  Modbus-TCP  and  Internet  control 

protocols, suitable for being used with servers, computers,  mobiles,  routers, etc., to provide remote 

control and  monitor.  You can  also  define the  port  number  for  HTTP  by  yourself,  to realize  Router 

Port Forwarding. 

 

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. 

 

BEM104  is  a  new  generation  product  with  more  functions  and  higher  stability.  Control  mode 

"toggle" and "automatic cycle operation" are provided additionally. 

 

 

Summary of Contents for BEM104

Page 1: ...ernet connector provides 10 100baseT interface It supports EasyBus TCP HTTP control Auto ping Modbus TCP and Internet control protocols suitable for being used with servers computers mobiles routers e...

Page 2: ...work Communications 9 4 2 Save Parameters 9 4 3 Reboot 9 4 3 DHCP Function 10 4 4 Static IP Address 10 4 5 Relay outputs control 11 4 6 Password protection 16 4 7 Http port setting 17 4 8 Hardware res...

Page 3: ...on 3W max Operation Temperature 30 to 85 Module Size 75mmx50mmx20mm Weight 1 2 Connection Diagram Fig 1 1 2 Specifications 2 1 Recommended Operating Conditions Parameters At T 25 Vsuplly 5V unless oth...

Page 4: ...tting IP address 192 168 1 105 Subnet Mask 255 255 255 0 Gateway 192 168 1 1 DHCP disable Latest Firmware Version V104 0 00 You can download latest firmware for free HTTP function State Enable Port 80...

Page 5: ...rk by minimum steps For more information please refer to later chapters 3 1 HTTP Mode 1 Connect BEM104 with your routers or computer via a standard Ethernet cable And then power it on with 5 24VDC pow...

Page 6: ...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 Open it and see the following Fig 1 2 Fig 1 2 3 Cli...

Page 7: ...www BrickElectric com Fig 1 3...

Page 8: ...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 No other need at relay module is necessary 3 If you need online help or n...

Page 9: ...ual delivered together with module package 4 2 Save Parameters After power cycle BEM104 will lose its parameter modifications if you don t actively require it to save modified parameters into internal...

Page 10: ...Assuming module current IP Address is 192 168 1 105 for all the following commands Enable Disable DHCP Note modification only effective after parameter saving and module reboot To Enable DHCP Web acce...

Page 11: ...on only effective after parameter saving and module reboot To set static Gateway Address to 192 168 2 1 Web access URL http 192 168 1 105 gateway 192 168 2 1 Socket command text gateway 192 168 2 1 Se...

Page 12: ...ands No timing features included Switches 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 Soc...

Page 13: ...ommands and wait for a predefined time period then automatically switches to opposite status Switches To pulse on ch1 output you can input by require web access Web access URL http 192 168 1 105 k01 3...

Page 14: ...imer K0xT1 timer supports from 1ms to 4294967295 second K0xT1 needs to be set for time value and K0xU1 needs to be set for timer value unit Default value for K0xT1 is 1000 and default unit for K0xU1 i...

Page 15: ...6 Timing Features To set up customized timer for relay cycle outputs timer T1 and T2 are used and need to be set Each relay channel has two independent timers K0xT1 and K0xT2 time period supports from...

Page 16: ...Mode Read current relay output status for feedback control Module will return the current status in web content or socket text depending on how do you send the command To read relay ch1 current status...

Page 17: ...eeded for port forwarding or any other reasons For example you can force your web browser to access http content at port 8080 to do so you need to enter http url 8080 This module is able to customize...

Page 18: ...on customized information When more than one modules are installed in the field it is necessary to be able to read the identification information from module for example serial number Except for sever...

Page 19: ...ient 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 betwe...

Page 20: ...elay module EasyBus Server Local Port Number for example to 5000 Web access URL http 192 168 1 105 setpara 131 5000 Socket command text setpara 131 5000 EasyBus Client Mode For applications it is bett...

Page 21: ...set relay module EasyBus Client Remote Port Number for example to 5000 Web access URL http 192 168 1 105 setpara 130 5000 Socket command text setpara 130 5000 EasyBus Client DNS Enable For some appli...

Page 22: ...the server is unreachable or rebooted at certain moment the TCP connection will be lost You can actively access http interface to reboot the relay module so it will try to connect to server again but...

Page 23: ...o ping mode select default is fixed IP mode 2 Configure Fixed IP or Domain Name default is your gateway IP 3 Configure programmable reboot sequence default is no action 4 Set time between pings defaul...

Page 24: ...nnel 1 Web access URL Write http 192 168 1 105 setpara 101 192 setpara 102 168 setpara 103 1 setpara 104 100 Read http 192 168 1 105 getpara 101 192 getpara 102 168 getpara 103 1 getpara 104 100 Socke...

Page 25: ...ase of remote IP device becomes unresponsive auto ping function will run a pre set reboot sequence to make a customized reboot action according to your application For this function the following comm...

Page 26: ...65535 seconds Normally 60 seconds should be useful for most applications To setup time you need to set 2 parameters time unit and time Auto Ping Channel 1 1 To set time unit to millisecond setpara 45...

Page 27: ...xt Write setpara 158 5 Read getpara 158 1 6 Delay time after reboot After auto ping detected an external controller unresponsive failure and running a reboot sequence it is naturally necessary that th...

Page 28: ...ping function please make sure your every other setting is finished so it can work correctly If you save settings after auto ping start when power on the device auto ping will automatically start aga...

Page 29: ...output module When one input is mapped to one or more outputs then if this input is triggered all the outputs that it mapped will also be triggered immediately 6 1 X Connect Map Setting Each BEM Seri...

Page 30: ...ct 1 8 105 4 VWSL4 X Connect CH4 input select 1 8 106 5 VWSL5 X Connect CH5 input select 1 8 107 6 VWSL6 X Connect CH6 input select 1 8 108 7 VWSL7 X Connect CH7 input select 1 8 109 8 VWSL8 X Connect...

Page 31: ...61 8 VWSIP81 X Connect CH8 target IP 1 0 255 162 8 VWSIP82 X Connect CH8 target IP 2 0 255 163 8 VWSIP83 X Connect CH8 target IP 3 0 255 164 8 VWSIP84 X Connect CH8 target IP 4 0 255 165 9 VWSIP91 X C...

Page 32: ...5 Relay 2 output control Write Read To look into Modbus TCP frame structure or create your own Modbus TCP program here are the detailed message frame for each command To switch on relay channel 1 outp...

Page 33: ...e old fashioned and very detailed industry automation communication protocol before they can really start to do anything How to send a correct switch command Example switch on relay channel 1 K01 1 Ex...

Page 34: ...192 range 0 255 011 SIP2 module IP address 2 default value 168 range 0 255 012 SIP3 module IP address 3 default value 1 range 0 255 013 SIP4 module IP address 4 default value 105 range 0 255 014 Reser...

Page 35: ...ved parameter default value range 027 Reserved parameter default value range 028 Reserved parameter default value range 029 K1U1 Relay K1 timer T1 unit selector 0 ms 1 second default value 0 range 0 1...

Page 36: ...rved parameter default value range 040 Reserved parameter default value range 041 Reserved parameter default value range 042 Reserved parameter default value range 043 Reserved parameter default value...

Page 37: ...range 054 Reserved parameter default value range 055 Reserved parameter default value range 056 Reserved parameter default value range 057 Reserved parameter default value range 058 Reserved paramete...

Page 38: ...K2T2 Relay K2 timer T2 value default value 1000 range 0 65535 069 Reserved parameter default value range 070 Reserved parameter default value range 071 Reserved parameter default value range 072 Rese...

Page 39: ...rved parameter default value range 084 Reserved parameter default value range 085 Reserved parameter default value range 086 Reserved parameter default value range 087 Reserved parameter default value...

Page 40: ...P Device model type default value 104 range 100 DEVSN Device serial number default value range 101 PIP1 1 Ping monitor 1 IP address 1 default value 192 range 0 255 102 PIP1 2 Ping monitor 1 IP address...

Page 41: ...d parameter default value range 113 Reserved parameter default value range 114 Reserved parameter default value range 116 Reserved parameter default value range 117 Reserved parameter default value ra...

Page 42: ...rameter default value range 130 Reserved parameter default value range 131 Reserved parameter default value range 132 Reserved parameter default value range 133 PNAME1 Ping monitor 1 domain name max 5...

Page 43: ...AIT 5 K02 0 range 143 Reserved parameter default value range 144 Reserved parameter default value range 145 Reserved parameter default value range 146 Reserved parameter default value range 147 Reserv...

Page 44: ...r 2 max allowed no response failure times before reboot default value 3 range 0 65535 159 Reserved parameter default value range 160 Reserved parameter default value range 161 Reserved parameter defau...

Page 45: ...lector after reboot 0 ms 1 second default value 0 range 0 1 174 PDU2 Ping monitor 2 delay timer unit selector after reboot 0 ms 1 second default value 0 range 0 1 175 Reserved parameter default value...

Page 46: ...ult value 0 range 0 1 183 Reserved parameter default value range 184 Reserved parameter default value range 185 Reserved parameter default value range 186 Reserved parameter default value range 187 Re...

Page 47: ...brickelectric com Skype Online Support 86 182 1730 3961 WhatsApp Online Support 86 182 1730 3961 Call Us 86 182 1730 3961 If you have any questions or any customized software hardware requirement plea...

Reviews: