background image

    

 

DAEnetIP3

 User Manual 

 

-

72

-  

 

17.6. 

CRC16 (Modbus) 

17.6.1. 

CRC16 case studies 

DAEnetIP3  supports  CRC16  (Modbus  modification)  algorithm  for  prevention  of 

errors  during  serial  communications.  On  figure  63  is  shown  how  DAEnetIP3 
encode/decode the CRC16 checksum.  

 

 

Figure 63.

 CRC case studies  

 
The  sockInData  is  the  data  stream  that  comes  in  to  the  user  defined  socket. 

sockOutData  is    the  data  stream  that  comes  out  from  the  user  defined  socket. 
serialOutData  is  the  data  stream  that  comes  out  to  the  UART  interface.  The 
serialInData is the incomi

ng data in to the UART port. With “X” is marked if the CRC 

is enabled or disabled. We  

On table 16 are shown different situations for CRC16 checking. With brackets [] is 

marked  which  is  the  first,  second,  third  and  fourth  event.  It  is  used  the  ASG 
command, which gets the digital outputs (Port A) states. 

Legend: 

 

o

 

– Serial address. 

 

o

 

– PDU (command) 

 

o

 

– CRC16 checksum 

 

o

 

– Wrong byte (during communication some bit is inverted) 

 

o

 

– Error code 

 

Table 16.

 Examples of CRC16 calculation 

Example N 

sockInData 

sockOutData 

serialOutData 

serialInData 

X  

00

ASG=?

;[1] 

00

ASG=0000

;[3] 

00

ASG=0000

A9FB

;[2] 

… 

yes 

00

ASG=?

;[1] 

00

ASG=0000

;[3] 

00

ASG=0000

;[2] 

… 

no 

01

ASG=?

;[1] 

01

ASG=0000;[4] 

01

ASG=0000

39F6

;[2] 

01

ASG=0000

39F6

;[3] 

yes 

01

ASG=?

;[1] 

01

E3

6E2C

;[4] 

01

ASG=0000

39F6

;[2] 

01

ASG=000

1

39F6

;[3] 

yes 

01

ASG=?

;[1] 

01

E3

6E2C

;[4] 

01

ASG=000

1

39F6

;[2] 

01

E3

6E2C

;[3] 

yes 

01

ASG=?

;[1] 

01

E3

6E2C

;[4] 

01

ASG=?

;[2] 

01

E3

6E2C

;[3] 

no 

… 

00

ASG=0000

;[2] 

00

ASG=0000

A9FB

;[3] 

00

ASG=?

2DE3

;[1] 

yes 

… 

02

ASG=?

;[2] 

… 

02

ASG=?

FCE2

;[1] 

yes 

 
Comments for the examples: 

  Example  1:  CRC16  for  DAEnetIP3  [00]  is  enabled.  DAEnetIP3  [00] 

receives TCP/IP data with serial address 00. Data is sent over the serial 
line  to  DAEnetIP3  [01]  with  added  CRC16  checksum.  DAEnetIP3  [00] 
performs respond. DAEnetIP3 [00] receives the response over the serial 
network and send it over the TCP/IP. 

Summary of Contents for DAEnetIP3

Page 1: ...DAEnetIP3 User Manual 1 DAEnetIP3 User Manual Date 02 11 2017 Describes DAEnetIP3 firmware version 2 0 0...

Page 2: ...ort A modes 20 7 5 1 On Off setting 20 7 5 2 On Off setting and digital input 21 7 5 3 On Off setting and analog input 21 7 5 4 On Off setting and schedule 22 7 5 5 On Off setting and remote 23 7 5 6...

Page 3: ...8 9 12 4 Acc 39 9 12 5 Low High 39 9 12 6 Port A pin value 40 9 12 7 Remote value 40 9 12 8 Description 40 10 Distributed Box to box mode 41 10 1 Configuring the digital outputs 41 10 2 Configuring th...

Page 4: ...digital input port Port B 79 17 8 3 Commands for analog input port Port C 80 17 8 4 Commands for system clock 82 17 8 5 Commands for serial port 83 17 8 6 Commands for admin settings 84 17 8 7 Command...

Page 5: ...ding the default settings 111 24 1 Hardware loading default settings 111 24 2 Web loading default settings 111 24 3 Loading default settings via UART command 112 24 4 Loading default settings via Teln...

Page 6: ...Consumption 70 mA 120 mA with Wi Fi interface on 24 VDC 1 x 16 digital outputs 0 3 3V 1 x 8 digital inputs 0 3 3V 1 x 8 analog inputs Referent voltage 2 048 V resolution 10 bits On boot the outputs ar...

Page 7: ...DAEnetIP3 User Manual 7 2 DAEnetIP3 PCB...

Page 8: ...states Yes Digital configurable ADC filter Yes Network parameters IP Mask Default gateway IP lock protection Yes Telnet for configuration Yes Virtual Serial Port VSP Yes TCP IP socket based protocol f...

Page 9: ...o control different electrical devices wireless Figure 1 Controlling electrical devices with DAEnetIP3 remotely DAEnetIP3 has 8 analog inputs Vref 2 048V 10bit resolution and 8 digital inputs 0 3 3V E...

Page 10: ...using all the 8 analog inputs and 8 of the digital outputs The flexibility of DAEnetIP3 allows to attach each analog input to each digital output The combination of different I O modes makes several v...

Page 11: ...lope of digital input or crossing some threshold for analog input Figure 5 Simple PLC DAEnetIP3 has UART port RX TX and Direction pin allowing to create RS485 network DAEnetIP3 acts like a bridge betw...

Page 12: ...The communication is done over the LAN WLAN Once the network is configured there is no need of PC This is also called Box To Box mode Figure 7 Distributed Box To Box mode DAEnetIP3 is device which can...

Page 13: ...Ox x 0 15 Mode firm ver 2 0 0 0 Sec 5 2 Digital Inputs Port B Table 3 Port B default settings Parameter Value Mode 0 Simple reading PortA pin 0 7 Remote No False Description DIx x 0 7 5 3 Analog Input...

Page 14: ...rt Range 1005 1009 User Socket Port 1010 Working Mode Ethernet 10 100 Mbit Telnet password admin RC4 password admin Web password admin Access IP 0 0 0 0 disabled Enable Telnet Yes Enable RC4 encoding...

Page 15: ...ing mode is only Ethernet 10 100 Mbit 5 7 Wi Fi Settings Table 8 Wi Fi default settings Parameter Value IP Address 192 168 1 100 Subnet Mask 255 255 255 0 Default Gateway 192 168 1 1 Region FCC chn 1...

Page 16: ...he pages are refreshed automatically In this way it is possible to track all the I O states in real time without manually refreshing the page The web browser must support JavaScript The controller is...

Page 17: ...ns if once there is logged user nobody else will be able to login If the currently logged user logs out new user will be able to login The session has timeout 3 minutes This means if there is no data...

Page 18: ...avigation The navigation is organized with frames because of the limited resources of the controller On figure 11 they are shown the navigation bars There is also information about the network setting...

Page 19: ...not set the outputs manually because they are set by time events input signals or another DAEnetIP3 controller Via web browser it is possible to be set only at once all of them 7 3 Reading the digital...

Page 20: ...ng to the input Pulses and schedule enabled disabled according to the time Pulses and remote 0 Timer 0 Timer and digital input 0 Timer and analog input 0 Timer and remote 0 7 5 Port A modes DAEnetIP3...

Page 21: ...t control manually the outputs in this mode In Low mode the output level is set high when the rising analog input level crosses the LT LH 2 limit and set low when the falling analog input level crosse...

Page 22: ...schedule This mode figure 16 is designed for setting digital outputs based on time events There are two time events Time 1 and Time 2 When Time 1 appears the output will be turned in high level and w...

Page 23: ...In this mode the user is able to invert the digital outputs If the previous output state was 0 after inverting it will be 1 and vices versa Figure 17 Inverting 7 5 7 Inverting and digital input In th...

Page 24: ...gure 19 the digital output state is inverted when some analog input level crosses the given threshold In the figure it is shown the graphics when the initial output state is 0 If the initial state was...

Page 25: ...rising analog input level crosses the LT LH 2 In Low High mode the output level is inverted when the rising falling analog input level crosses the LT LH 2 HT HH 2 and when the rising falling analog in...

Page 26: ...ng always starts with the ON time When the user stops the pulses the output state becomes 0 7 5 12 Pulses and digital input Figure 22 Pulses and digital input This mode figure 22 configures the output...

Page 27: ...not control manually the outputs in this mode In Low mode pulses are started when the rising analog input level crosses the LT LH 2 limit and stopped when the falling analog input level crosses the L...

Page 28: ...he moment given by Time 1 appears then pulse generating is started If Time 2 appears then pulse generating is stopped The user can not control manually the outputs in this mode 7 5 15 Pulses and remot...

Page 29: ...ceived request for single pulse is with highest priority The user can not control manually the outputs in this mode 7 5 17 Timer and digital input This mode figure 27 configures the digital output to...

Page 30: ...timer is started when the rising analog input level crosses the LT LH 2 limit In High mode the timer is started when the falling analog input level crosses the HT HH 2 limit In Acc mode the timer is s...

Page 31: ...n the output works in some of the pulse modes The ON value is 1 and 99 7 7 OFF value This value is available for each digital output and determines the OFF time the time when the output is in low leve...

Page 32: ...he schedule modes The Time 1 value is with format hh mm ss 7 11 Time 2 value This value is available for each digital output and determines the Time 2 moment when the output works in some of the sched...

Page 33: ...depending what was the level detected by the controller After about 100 ms the controller measures the input level again and stores the new value in diNewValue If the diValue is different than diNewV...

Page 34: ...s abstract variable that is available for each digital input It contains the number of some of the digital output lines It determines which is the attached output line to this input This means which o...

Page 35: ...Structure of ADC filter The filter is actually buffer array with 8 elements When the user or firmware reads some analog input value actually the returned result is the sum of all elements divided to 8...

Page 36: ...led software calibration and it can be done for each analog input separately The formula is Label n Ain n Min n Max n Min n value ADC 1024 _ where ADC_value n is the value in measured units temperatur...

Page 37: ...tween 1 and 512 9 8 Rules HT HH LT LH HT HH 1023 LT LH 0 9 9 Minimum value This value is equal of ADC value 0 divisions 9 10 Maximum value This value is equal of ADC value 1024 divisions 9 11 Label Th...

Page 38: ...nual 38 9 12 2 Low In this mode figure 35 the threshold for events is the Low Threshold Figure 35 ADC mode Low 9 12 3 High In this mode figure 36 the threshold for events is the High Threshold Figure...

Page 39: ...4 Acc In this mode figure 37 the threshold for events are the Low and High Threshold Figure 37 ADC mode Acc 9 12 5 Low High In this mode figure 38 the threshold for events are the Low and High Thresho...

Page 40: ...7 Remote value This boolean value accept only true false is available for each analog inputs and determines if the digital output given by Remote value is of the current DAEnetIP3 controller or it is...

Page 41: ...e another DAEnetIP3 controller and can be controlled by maximum 5 DAEnetIP3 controllers The user must configure two ports for these sockets The first port is for outgoing connection socket and this is...

Page 42: ...d over Ethernet interface or Wi Fi interface Because the controller has two network settings groups one for Ethernet and one for Wireless the settings that will be valid for the distributed mode are d...

Page 43: ...2 outputs Network Settings Eth IP address 192 168 0 100 Eth Mask 255 255 255 0 Eth GW 192 168 0 101 Local Port Range 1005 1009 Digital Output 1 Port A Pin 1 Mode On Off setting and remote Digital Out...

Page 44: ...rtA Pin Pin 2 Remote true Wi Fi Settings WEP SSID Network WEP Key admin DAEnetIP3 2 outputs Network Settings Wln IP address 192 168 1 101 Wln Mask 255 255 255 0 Eth GW 192 168 1 1 Local Port Range 100...

Page 45: ...put 1 Port C Pin 1 Refresh 1 LT 100 HT 150 LH 10 HH 10 Mode Low PortA Pin Pin 1 Remote true Digital Input 1 Port B Pin 1 Mode Set output during rising slope PortA Pin Pin 2 Remote true DAEnetIP3 2 out...

Page 46: ...other DAEnetIP3 Note that each controlling DAEnetIP3 has different Remote Port parameter 1005 1006 1007 1008 1009 and they are in the local port range of the controlled DAEnetIP3 Each of the five cont...

Page 47: ...e Server IP Port 192 168 1 100 1006 Working mode Ethernet 10 100 Mbit Analog Input 1 Port C Pin 1 Refresh 1 LT 100 HT 150 LH 10 HH 10 Mode Low PortA Pin Pin 2 Remote true DAEnetIP3 4 inputs Network Se...

Page 48: ...er Manual 48 10 4 5 Example 5 Configuration 5 to 1 over WLAN This example figure 43 is same as the previous one but it is used Wi Fi interface of all the DAEnetIP3 controllers Figure 43 Distributed mo...

Page 49: ...g mode Wi Fi 802 11 b g Analog Input 1 Port C Pin 1 Refresh 1 LT 100 HT 150 LH 10 HH 10 Mode Low PortA Pin Pin 2 Remote true Wi Fi Settings WEP SSID Network WEP Key admin DAEnetIP3 4 inputs Network Se...

Page 50: ...EnetIP3 1 the server can handle the two types of messages over the UTP cable and over the wireless Its input sockets are configured so it accepts any incoming connections DAEnetIP3 2 and DAEnetIP3 3 h...

Page 51: ...ess 192 168 1 11 Eth Mask 255 255 255 0 Eth GW 192 168 0 1 Remote Server IP Port 192 168 1 10 1005 Working mode Ethernet 10 100 Mbit Analog Input 1 Port C Pin 1 Refresh 1 LT 100 HT 150 LH 10 HH 10 Mod...

Page 52: ...loped Each DAEnetIP3 control the next and it is controlled by the previous one For example DAEnetIP3 1 control DAEnetIP3 2 and it is controlled by DAEnetIP3 4 Each module works as server client at the...

Page 53: ...ettings Wln IP address 192 168 1 102 Wln Mask 255 255 255 0 Wln GW 192 168 1 1 Local Port Range 1005 1009 Remote Server IP Port 192 168 1 103 1005 Working mode Wi Fi 802 11 b g Digital Output 1 Port A...

Page 54: ...ibuted mode Box to box mode and HTTP API To communicate properly two nodes with RC4 for example PC and DAEnetIP3 they must have the same RC4 passwords or the RC4 must be disabled at all RC4 algorithm...

Page 55: ...From web RC4 can be enabled disabled in the following way Web Admin Enable RC4 encoding From web RC4 password can adjusted in the following way Web Admin RC4 password A good online tool for RC4 calcul...

Page 56: ...t in UART Universal asynchronous receiver transmitter It is shown on figure 48 Figure 48 DAEnetIP3 UART port The UART port lines are Tx output This is the transmission UART line Rx input This is the r...

Page 57: ...TCP IP serial bridge When TCP IP packet is received then it is checked if it is valid command and if the serial address is the same and if yes then executes the command In all cases the data which ha...

Page 58: ...rved and it can not be assigned to any DAEnetIP3 controller Baud rate It may be 300 600 1200 2400 4800 9600 14400 19200 38400 56000 57600 115200 128000 or 256000 Parity May be None Even Mark Odd Space...

Page 59: ...nd PDU from TCP IP socket decrypting or not decrypting RC4 it retransmits always the data over the serial network with or without CRC16 If the address of the received command is the same then DAEnetIP...

Page 60: ...n t check the CRC16 checksum retransmits always the data over the TCP IP encrypting or not encrypting the RC4 If the command address was the same the controller executes the command and sends respond...

Page 61: ...oller will keep the old time Offset determines the offset in hours applied to the date time when it is synchronizing via NTP Last successful NTP synchronization read only shows when was the previous s...

Page 62: ...is is useful to know if there was power off of the power supply Keep alive event this E mail may be sent during some interval from 1 min to 99 min AI event this event is generated regarding the analog...

Page 63: ...eway is for the wireless interface Region The region that is located the DAEnetIP3 controller o FCC chn 1 11 FCC domain US Canada Taiwan Allowed channels 1 11 o EU chn 1 13 European Union Allowed chan...

Page 64: ...forbidden char it is not used in the protocol DAEnetIP3 data application protocol is fully ASCII This means in the protocol exchange data consists of only printable characters For example the command...

Page 65: ...1 and DAEnetIP3 serial address 02 DAEnetIP3 serial address 00 is actually bridge between TCP IP network and serial network When data comes in to DAEnetIP3 serial address 00 to User Socket Port it chec...

Page 66: ...ole PortA in 0 of DAEnetIP3 02 receive 02ASG 0000 RC4 ON pass is admin CRC16 OFF send bytes 09 76 41 78 7B 88 76 D1 gets the whole PortA status of DAEnetIP3 00 receive bytes 09 76 41 78 7B 88 79 AC 60...

Page 67: ...16 ON send bytes 09 76 41 78 7B 88 76 D1 gets the whole PortA status of DAEnetIP3 00 receive bytes 09 76 41 78 7B 88 79 AC 60 57 0A EF 71 74 BF send bytes 09 77 41 78 7B 88 0F AC 16 57 08 sets the who...

Page 68: ...hich is made the telnet connection to The port for Telnet is constant 23 Telnet command answer and error ADU application data unit are shown on figure 58 Figure 58 Telnet protocol Example commands Fig...

Page 69: ...hole PortA status of DAEnetIP3 00 receive 00ASG 0F0F send 01ASG FFFF sets the whole PortA in 1 of DAEnetIP3 01 receive 01ASG FFFF send 02ASG 0000 gets the whole PortA in 0 of DAEnetIP3 02 receive 02AS...

Page 70: ...Manual 70 all the communication is done by the Windows Virtual Serial Port driver and in this way the user is able to communicate with DAEnetIP3 via regular COM port Figure 61 Communication via Virtu...

Page 71: ...the whole PortA status of DAEnetIP3 receive DOCTYPE html html body ASG FFFF body html send http your ip address command html P admin ASG BVG CV0 send several commands at a time receive DOCTYPE html ht...

Page 72: ...d which gets the digital outputs Port A states Legend o Serial address o PDU command o CRC16 checksum o Wrong byte during communication some bit is inverted o Error code Table 16 Examples of CRC16 cal...

Page 73: ...n DAEnetIP3 01 checks this and the respond to DAEnetIP3 00 is error code E3 This error DAEnetIP3 00 sends back propagates to the TCP IP Example 6 CRC16 for DAEnetIP3 00 is disabled but CRC16 for DAEne...

Page 74: ...etIP3 00 receives data from DAEnetIP3 01 01ASG FF00AB0D o 4 DAEnetIP3 00 resends data over TCP IP 01ASG FF00 Example 3 Error CRC16 calculation function code is wrong o 1 DAEnetIP3 00 receives data ove...

Page 75: ...ong o 1 DAEnetIP3 00 receives data over serial line 00BSG 2DE3 a bit from function code is wrong o 2 DAEnetIP3 00 resends the command over TCP IP serial network 00BSG o 3 DAEnetIP3 00 checks the CRC16...

Page 76: ...PortA 0 up to F PortA 15 0 On Off setting 1 On Off setting DI 2 On Off setting AI 3 On Off setting schedule 4 On Off setting remote 5 Inverting 6 Inverting DI 7 Inverting AI 8 Inverting schedule 9 Inv...

Page 77: ...0 00 command A11 Get PortA 1 Time1 parameter answer A11 01 00 30 A2 From 0 PortA 0 up to F PortA 15 From 00 00 00 up to 23 59 59 read value From 00 00 0 0 up to 23 59 5 9 Set get the Time2 parameter T...

Page 78: ...command BM1 Get PortB 1 mode answer BM1 0 PortB 1 mode is Simple reading BP From 0 PortB 0 up to 7 PortB 7 From 0 PortA 0 up to F PortA 15 read value 0 F Set get the pin of PortA that is attached to...

Page 79: ...CH1 Get PortC 1 HT answer CH1 800 CO From 0 PortC 0 up to 7 PortC 7 From 0 up to 512 read value 0 512 Set get the PortC line low hysteresis command CO2 10 Set PortC 2 LH in 10 answer CO2 10 command CO...

Page 80: ...z A Z 0 9 _ and read value Dimensi on Label Get set the dimension label for this channel 2 0 0 version command CS1 Volts Set PortC 1 dimension for AI1 answer CS1 Volts command CS7 Get PortC 7 descrip...

Page 81: ...r RTC 08 08 2011 12 30 00 command RTC get time answer RTC 08 08 2011 12 30 05 RZ O From 15 up to 15 read value From 15 up to 15 Get set the offset in hours for NTP synchronizatio n command RZO 2 answe...

Page 82: ...Space read value 1 None 2 Even 3 Mark 4 Odd 5 Space Get set the serial port parity command SPT 1 None answer SPT 1 command SPT answer SPT 2 Even ST T 7 or 8 data bits read value 7 8 Get set serial por...

Page 83: ...mmand MPR answer MPR 1005 MP N From 1 to 65535 read value From 1 to 65535 Set get the NTP server port command MPN 37 answer MPN 37 command MPN answer MPN 37 MP H From 1 to 65535 read value From 1 to 6...

Page 84: ...wer MMA 255 255 255 0 MM C read value From 00 00 0 0 00 00 00 to FF FF F F FF FF FF Get the Eth MAC address command MMC answer MMC 00 12 34 56 78 90 ME T 0 1 read value 0 1 Get Set enabling of Telnet...

Page 85: ...and MPS 25 answer MPS 25 command MPS answer MPS 26 MS E Max 30 symbols a z A Z 0 9 _ and read value Sender s e mail Get set the sender s e mail 2 0 0 version command MSE answer MSE test gmail com comm...

Page 86: ...4 0 1 read value 0 1 Get Set enabling NTP event 2 0 0 version command MN4 answer MN4 1 command MN4 0 answer MN4 0 MN 5 From 0 up to 99 read value 0 99 Get Set the interval in minutes over which it wi...

Page 87: ...92 168 0 1 answer WDG 192 168 0 1 command WDG answer WDG 192 168 0 1 WR G 0 FCC 1 EU 2 JAPAN 3 OTHER read value 0 1 2 3 Set get the Wi Fi interface region command WRG 0 FCC answer WRG 0 command WRG 1...

Page 88: ...It may be 5 or 13 symbols for WEP or max 15 symbols for WPA WPA2 command WEP admin answer WEP admin command WEP answer WEP admin WM C read value From 00 00 0 0 00 00 00 to FF FF F F FF FF FF Get the...

Page 89: ...ta answer comment example YR T 1 From 000 000 000 00 0 up to 255 255 255 25 5 Makes system reset command YRT 1 Reset answer YRT 1 YD F 1 From 000 000 000 00 0 up to 255 255 255 25 5 Loads the default...

Page 90: ...DAEnetIP3 User Manual 90 18 Appendix 1 Connectors and LED indicators 18 1 DAEnetIP3 ports view Figure 66 DAEnetIP3 ports...

Page 91: ...R 10 3 3V DC PWR Table 18 Port A_2 PortA_2 digital outputs Pin N Bit Function Dir 1 8 Free Out 2 9 Free Out 3 10 Free Out 4 11 Free Out 5 12 Free Out 6 12V DC or 24VDC PWR 7 12V DC or 24VDC PWR 8 GND...

Page 92: ...0 2 048V DC VREF Table 21 UART UART Pin N Bit Function Dir 1 TX Out 2 RX In 3 DIR Out 4 GND PWR Table 22 SYSTEM SYSTEM Pin N Bit Function Dir 1 Reset In 2 3 3V DC PWR 3 Reserved In 4 GND PWR 5 Default...

Page 93: ...ecognize straight or cross over UTP cable auto MDIX The RJ 45 Port has two leds green and yellow The green led is turned on when live Ethernet cable is plugged into the device The LED blinks whenever...

Page 94: ...s marked on the PCB as STAT There are 3 modes o Remote DAEnetIP3 controller is found the status led is constantly ON Figure 69 Indication for connected state to remote host o Remote DAEnetIP3 controll...

Page 95: ...ure 72 DAEnetIP3 Wi Fi led indicator an external antenna socket DAEnetIP3 Wi Fi module has orange led for wireless connection status If the led is on then the connection is established If it is off DA...

Page 96: ...r write down the IP of the PC for example we accept it is 192 168 1 2 4 Change the IP of the PC It may be for example 192 168 0 1 DAEnetIP3 is shipped with 192 168 0 100 5 Supply DAEnetIP3 with power...

Page 97: ...n 7 Open your browser IE Firefox Opera and type 192 168 0 100 in the address bar 8 Use admin for password 9 Open Wi Fi settings 10 Change the Wln IP address of DAEnetIP3 Make it to be in one network w...

Page 98: ...Wi Fi interface may be 192 168 1 2 Wln Mask 255 255 255 0 and Wln gateway is 192 168 1 1 The IP of your router Set the SSID and WEP password 9 Click Save button 10 Unplug the power supply 11 Remove t...

Page 99: ...port forwarding The possible ports which must be forwarded are HTTP port by default it is 80 User socket port by default it is 1010 Incoming ports range for distributed mode by default it is 1005 100...

Page 100: ...100 21 Appendix 4 Android application for DAEnetIP3 There is third parity android software for DAEnetIP3 It is marketed by iSwitch LLC It can be downloaded from here Figure 74 Android software for DAE...

Page 101: ...rt This port is called Port A Each output line has pull down resistor 10K to GND figure 75 The low level is 0V The high level is 3 3V Be careful the outputs are connected directly to the MCU pins Inco...

Page 102: ...s pull up resistor 10K to 3 3V figure 76 When the input is not connected its state is high 1 Be careful the inputs are connected directly to the MCU pins Incorrect connections or over voltage may dama...

Page 103: ...C The input voltage for each ADC channel is from 0 up to 2 048V approx 20mV div Be careful the inputs are connected directly to the MCU pins Incorrect connections or over voltage may damage the DAEnet...

Page 104: ...nsor Figure 78 Connecting LM335Z to PortC 0 The measured temperature range is from 40 C up to 100 C The documentation for the sensor can be downloaded from here Settings for PortC 0 to show temperatur...

Page 105: ...sensor Figure 79 Connecting LM35DZ to PortC 0 The measured temperature range is from 0 C up to 100 C The documentation for the sensor can be downloaded from here Settings for PortC 0 to show temperatu...

Page 106: ...ensor Figure 80 Connecting MCP9007A to PortC 0 The measured temperature range is from C 40 up to 125 C The documentation for the sensor can be downloaded from here Settings for PortC 0 to show tempera...

Page 107: ...1 Connecting HIH 4000 to PortC 0 The measured relative humidity range is from 0 up to 100 The documentation for the sensor can be downloaded from here Calibration settings for PortC 0 to show relative...

Page 108: ...rtC 0 The documentation for the sensor can be downloaded from here The sensor is not linear and it is not possible to show ADC values directly in cm but still DAEnetIP3 can be adjusted to show values...

Page 109: ...nect the Pin 1 and Pin 2 of system port 23 3 Reset via Web Web browser System Reset 23 4 Reset via UART command Send to UART port AAYRT 1 Where the AA is the serial address YRT 1 is the function code...

Page 110: ...settings Turn off the power supply of the IP controller Remove the jumper for default settings Turn on the power supply of the IP controller Wait 20 seconds Turn off the power supply Put the jumper ag...

Page 111: ...lt settings and is the delimiter 24 4 Loading default settings via Telnet command Send to UART port YDF 1 Where YDF 1 is the function code for default settings and is the delimiter 24 5 Loading defaul...

Page 112: ...upgrade is not anymore supported From our experience we don t recommend to use it because it is unsafe and this can damage your DAEnetIP3 controller If you would like to upgrade your DAEnetIP3 device...

Page 113: ...install Device Server Toolkit o 32 bit Windows download o 64 bit Windows download When you start the application you will have to create your Virtual Serial Port that will be used in your project So...

Page 114: ...you will have to adjust the VSP settings The VSP name is COM1 IP address is your DAEnetIP3 device IP address in this case it is the default 192 168 0 100 We chose port to be 1010 but may be any free...

Page 115: ...EnetIP3 User Manual 115 When you are sure for all settings just create the VSP Figure 86 VSP created The Virtual Serial Port now is created You may see it in the Device Manager Figure 87 Device Manage...

Page 116: ...ns whole PortA ON Actually all the DO are in high level Send 00ASG FFFF Receive 00AS0 0 Set all output pins whole PortA OFF Actually all the DO are in low level Send 00ASG 0000 Receive 00AS0 0000 Get...

Page 117: ...end AS0 1 Receive DOCTYPE html html body AS0 1 body html 27 2 Commands for Digital Inputs Port B Example commands for TCP IP VSP RC4 encryption is off Serial address of the device is 00 Get PortB 0 st...

Page 118: ...is high Send 00BVG E1A7 Receive 00BVG F039F0 Example commands for HTTP API Get the whole PortB PortB 0 PortB 3 is low and PortB 4 PortB 7 is high Send BVG Receive DOCTYPE html html body BVG 0F body ht...

Page 119: ...input level is 512 From 1023 max Send CV0 Receive CV0 512 Example commands for UART Serial address of the device is 00 Get PortC 0 state The input level is 512 From 1023 max CRC16 is OFF Send 00CV0 R...

Page 120: ...DAEnetIP3 User Manual 120 28 Appendix 11 Mechanical draw Figure 88 DAEnetIP3 PCB dimensions...

Page 121: ...er Manual 121 29 Appendix 12 Ordering codes 29 1 DAEnetIP3 ET This is DAEnetIP3 controller without Wi Fi interface The UART port SYSTEM Port and leds are soldered on the top side Figure 89 Figure 89 D...

Page 122: ...DAEnetIP3 User Manual 122 29 2 DAEnetIP3 WT This is DAEnetIP3 controller with Wi Fi interface The UART port SYSTEM Port and leds are soldered on the top side Figure 90 Figure 90 DAEnetIP3 WT...

Page 123: ...DAEnetIP3 User Manual 123 29 3 DAEnetIP3 EB This is DAEnetIP3 controller without Wi Fi interface The UART port SYSTEM Port and leds are soldered on the bottom side Figure 91 Figure 91 DAEnetIP3 EB...

Page 124: ...DAEnetIP3 User Manual 124 29 4 DAEnetIP3 WB This is DAEnetIP3 controller with Wi Fi interface The UART port SYSTEM Port and leds are soldered on the bottom side Figure 92 Figure 92 DAEnetIP3 WB...

Reviews: