background image

www.BrickElectric.com 

http://192.168.1.105/ getpara[117]=1& getpara[118]=1& getpara[119]=1& getpara[120]=1; 

Socket command text: 

getpara[117]=1; getpara[118]=1; getpara[119]=1; getpara[120]=1; 

 

To set relay module EasyBus Client Remote IP address, for example to 192.168.1.100:

 

Web access URL:   

http://192.168.1.105/ 

setpara[117]=192&setpara[118]=168&setpara[119]=1&setpara[120]=100; 

Socket command text: 

setpara[117]=192; setpara[118]=168; setpara[119]=1; setpara[120]=100; 

 

 

EasyBus Client Remote Port Number

 

This parameter setup the remote server port number for relay module to connect. To read 

relay module EasyBus Client Remote Port Number:

 

Web access URL:   

http://192.168.1.105/ getpara[130]=1; 

Socket command text: 

getpara[130]=1; 

 

To 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 applications, the remote server IP address is assigned by DHCP, so to get the 

actual address of server, DNS host name is used and in this case a properly setup DNS 

service must be provided to locate at the server. An enable bit is necessary to enable this 

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:   

http://192.168.1.105/ setpara[129]=1; 

Socket command text: 

setpara[129]=1; 

 

EasyBus Client Remote Host Name

 

For some applications, the remote server IP address is assigned by DHCP, so to get the 

Содержание BEM104

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 7: ...www BrickElectric com Fig 1 3...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: