background image

tWF-DA1PD2R1 User’s Manual

 

 

tWF-DA1PD2R1 

User’s Manual (Rev1.0, APR./2019) ------------- 1

 

www.icpdas.com 

 
Warranty 

All  products  manufactured  by  ICP  DAS  are  under  warranty  regarding 

defective  materials  for  a  period  of  one  year  from  the  date  of  delivery  to  the 
original purchaser. 
 
Warning 

ICP  DAS  assumes  no  liability  for  damages  resulting  from  the  use  of  this 

product. ICP  DAS reserves the right to  change this  manual  at  any time  without 
notice.  The  information  furnished  by  ICP  DAS  is  believed  to  be  accurate  and 
reliable. However, no responsibility is assumed by ICP DAS for its use, or for any 
infringements of patents or other rights of third parties resulting from its use. 
 
Copyright 

Copyright 2019 by ICP DAS. All rights are reserved. 
 

Trademark 

The names used for identification only may be registered trademarks of their 

respective companies. 

 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Summary of Contents for tWF-DA1PD2R1

Page 1: ...esulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2019 by ICP DAS All rights are reserv...

Page 2: ...tWF DA1PD2R1 User s Manual tWF DA1PD2R1 User s Manual Rev1 0 APR 2019 2 Document Revision Version Date Description of changes Rev1 0 2019 04 09 First release for tWF DA1PD2R1 ...

Page 3: ...on 11 2 4 2 Power connection 11 2 4 3 I O connection 11 3 Software 13 3 1 tWF DA Multi Utility 13 3 1 2 Main Screen Calibration 13 3 1 3 Configuration Setup 16 3 1 4 Standalone Function mode Configuration 19 3 2 tWF Utility Station IP scanner 20 3 3 IP scanner 21 4 Application 22 4 1 Connection with Modbus TCP utility 22 5 Modbus Applications 26 5 1 What is Modbus TCP IP 26 5 2 Protocol Descriptio...

Page 4: ...ytime and anywhere Figure 1 1 Application architecture for the tWF series 1 1 Wireless connection mode tWF DA1PD2R1 support both AP Access Point STA Station wireless connection modes of WLAN 1 2 Features Wi Fi communication remote I O controller Compatible with IEEE 802 11b g n standards Support Station STA and Access Point Limited AP 1 Client modes for wireless networks Support WEP WPA and WPA2 w...

Page 5: ...a a WAP Wireless Access Point Support WEP WPA and WPA2 wireless encryption WEP and WPA are common types of security that are used to protect wireless networks When WEP or WPA is turned on tWF controller uses a special security key combination to allow only devices that know this key to connect to its wireless network This applies to laptops smart device or any other wireless device Support Modbus ...

Page 6: ...ions Controller tWF DA1PD2R1 Wi Fi Interface Antenna Chip Antenna Output Power 18 0 dBm 1 DSSS 14 5 dBm 54 OFDM Receive Sensitivity 95 7 dBm 1 DSSS 74 0 dBm 54 OFDM Standard Supported IEEE 802 11b g n Wireless Mode Station AP 1 Client Encryption WEP WPA and WPA2 Power Input Voltage Range DC 9V 48V Power Consumption 0 86W Mechanism Installation DIN Rail Dimensions W x L x H 52 mm x 97 mm x 27 mm En...

Page 7: ...ND Counters Channels 2 Max Counts 32 bit 4294967295 Max Input Frequency 20 HZ Photo Isolation 3750 VDC Relay Output Channels 1 Output Type Form A Contact Rating Resistive Load DC30V 5A AC250V 5A Relay SSD Operate Time 5ms max Relay SSD Release Time 5ms max DA Output Vout0 Iout0 Channels 1 Type 0 10 V 0 20 mA 4 20 mA Resolution 12 bit Accuracy 0 1 of FSR DA Output Response Time 10 ms Voltage Output...

Page 8: ...Figure 2 1 Front Panel of the tWF DA1PD2R1 controller 2 1 2 LED Indicator Table 2 1 System Status Indicator System Status Indicator LED Controller Status LED Status PWR Wi Fi get Link Red LED ON Power On Blue LED ON Locator Red LED Blinking Process reset to default Blue LED Blinking Fast I O Connector I O Connector Power Status LED Controller Name Reset to Default Switch ...

Page 9: ...AGND 5 DI1 4 DI0 3 DI GND 2 RL0 1 RL0 Terminal NO Pin Assignment Name 11 F GND 12 F GND 13 F GND Figure 2 2 I O Connector of tWF DA1PD2R1 2 2 Reset to default Press hold the reset button in right side over 6 Sec until the Red LED quick flash then release to restore tWF default setting default is set in AP mode Figure 2 7 Reset button locate in the right side of tWF Controller ...

Page 10: ...r s Manual Rev1 0 APR 2019 10 2 3 Dimensions The diagrams below provide the dimensions of the tWF series Controller to use in defining your enclosure specifications All dimensions are in millimeters Figure 2 8 Dimension of the tWF I O Controller ...

Page 11: ...D2R1 User s Manual Rev1 0 APR 2019 11 2 4 Hardware Connection 2 4 2 Power connection The following figures describe the Power Figure 2 9 Power connection 2 4 3 I O connection 2 4 3 1 Digital Input wiring Figure 2 10 DI Dry contact wiring ...

Page 12: ...1PD2R1 User s Manual Rev1 0 APR 2019 12 2 4 3 2 Relay Output wiring Figure 2 11 Relay Output wiring 2 4 3 3 Analog Voltage Output wiring Figure 2 12 Analog Vout wiring 2 4 3 4 Analog Current Output wiring Figure 2 13 Analog Iout wiring ...

Page 13: ...owser to operating and configure the tWF DA1PD2R1 Controller Utility Support Windows 7 or later versions and Android 6 0 or later versions 3 1 tWF DA Multi Utility The following is the main screens provided by tWF DA Multi Utility these utility tools can be thought as a useful tool for I O control and monitoring on the tWF DA Controller It supplies several functions such as I O operating Controlle...

Page 14: ... in STA mode 3 1 2 2 DI DO Status Control Show the DI DO status If channel not support utility will disable those unused channel The value can be read DI or write DO in this area Counter icon show each DI input triggered times On edge 3 1 2 3 DA Status Control Show the DA status value the Track Bar and fine tune button control the DA output include 4mA 2V 20mA 10V checkbox DA continuous output che...

Page 15: ...libration when shipping 3 1 2 5 Status Bar Show the F W Version Device s MAC address and Device s IP address 3 1 2 6 ICON ICON function Setup Open the Setup page Android versions Setup function under the icon Find Controller Red Led blinking use to find the connected Controller Refresh Refresh status Web operating please use F5 or Refresh Menu Only Android Device Include setup Function config FW V...

Page 16: ... subject s setting after finish all setting click to make device take effect on new setting AP SSID Name 1 Controller s SSID in Wi Fi AP mode default will be tWF Controller Name xxxxxx show as below a tWF DA1PD2R1 xxxxxx Note xxxxxx is the last 6 character MAC address of your device Key Type AP mode SSID Key type default is Open SSID Key AP mode SSID Key default is None ...

Page 17: ...devices must with the same Key Open No Key request WEP Shared Key length must be 31 characters WPA WPA2 PSK Key length must between 8 15 characters Table 3 2 Station SSID Key type configure WiFi Mode tWF Controller working mode default is in AP AP Access Point PC or Android Device connect to tWF Controller directly through AP Fixed IP 192 168 77 1 AP mode support only one connection If Multiple de...

Page 18: ...h Account Password are admin for default Modify Web password need 5 characters max In AP mode the IP default will be 192 168 77 1 In STA mode use the IP scanner utility to discovery tWF device found your device enter the IP you intent to access Location information Set the information for you to identify locate those controller easily length must under 31 characters Modbus Port Modify Modbus TCP P...

Page 19: ...be trigger DO when both DI been trigger DO will release until the last DI release Delay to ON The track bar set the delay time to turn on the DO Time to Hold Set the time to hold DO ON after the last DI release DAC output select Define which DI or both can be trigger DA when both DI been trigger DA will release until the last DI release Delay to ON Set the delay time to start the DA output Off val...

Page 20: ...al tWF DA1PD2R1 User s Manual Rev1 0 APR 2019 20 3 2 tWF Utility Station IP scanner a tWF DA1PD2R1 set to Station mode and connect to Wi Fi AP b PC Connect to the same Wi Fi AP c Select the adapter network domain intent to use ...

Page 21: ...troller will show click on each row will open Web Browser with the IP click on Setup to enter setup page of the selected device 3 3 IP scanner There are lot of Free IP scanner tools in both Windows Android OS for example Advanced IP Scanner for Windows Network Analyzer for Android those are high performance scanner tools on each OS ...

Page 22: ... application architecture 4 1 Connection with Modbus TCP utility a Open Modbus TCP utility and key in the IP address Port as 502 Finally click the Connect button b If the network settings are correct this will immediately establish a connection c Use the function code 0x02 and set the Reference Number as 0x00 Bit Count as 0x08 to get the 8 CHs DI value Figure 4 2 Digital Input reading d Use the fu...

Page 23: ...eading f Use the function code 0x05 and set the Reference Number as 0x00 Bit Count as 0xFF to turn on the CH0 DO 0x00 to turn off g Figure 4 4 Digital output turn on h Use the function code 0x06 and set the Reference Number as 0x00 Register value 7 FF as 0x07FF to set the DA output value to 4 999V 10mA ...

Page 24: ... as 0x00 word count as 1 to read the DA value holding in register 07 FF 0x07FF 4 999V 10mA k Figure 4 4 Reading DA register l Use the function code 0x04 and set the Reference Number as 0x00 word count as 4 to read the 32bit 4 byte 2 channel Counter or AI value to return 8 byte CH0 counter is 00 31 00 00 is 0x00000031 as 49 CH1 is 00 08 00 00 is 0x00000008 as 8 ...

Page 25: ...tWF DA1PD2R1 User s Manual tWF DA1PD2R1 User s Manual Rev1 0 APR 2019 25 m Figure 4 4 Reading Counter or AI ...

Page 26: ...ication protocol developed by Modicon in 1979 Different versions of Modbus used today include Modbus RTU based on serial communication like RS485 and RS232 Modbus ASCII and Modbus TCP which is the Modbus RTU protocol embedded into TCP packets Modbus TCP is an internet protocol The protocol embeds a Modbus frame into a TCP frame so that a connection oriented approach is obtained thereby making it r...

Page 27: ...nit Identifier 1 byte Identification of remote slave Table 5 1 MODBUS Application Protocol Header 5 2 2 Function Code The function code field of a Modbus data unit is coded in one byte Valid codes are in the range of 1 255 decimal the range 128 255 is reserved and used or exception responses When a Modbus request is sent from a Modbus Client to a Server device the function code field tells the Ser...

Page 28: ...a Unit the data field of a Modbus response from a server to a client contains the data requested If an error related to the Modbus function requested occurs the field contains an exception code that the server application can use to determine the next action to be taken For example a client can read the ON OFF states of a group of digital input or output or it can read write the data contents of a...

Page 29: ...010101 0xAA 10101010 0x55 01010101 Table 5 3 A single register contains 16 bits of binary data 5 2 5 2 16 bits Word A 16 bits word item is transmitted with the most significant byte first Function code 03 and 04 read 16 bits items at a time therefore each of these data items will fit within one register that is read Value 1st 2nd 0x1234 0x12 0x34 Table 5 4 A 16 bits word item 5 2 5 3 32 bits Doubl...

Page 30: ...ons Range Access Type 10001 10002 2 Digital Input 0 OFF 1 ON R Table 5 7 FC02 Read DI address 1xxxx Address CH Descriptions Range Access Type 00001 1 Digital Output 0x00 OFF 0xFF ON W 00009 00010 2 Clear DI Trigger Counter 0xFF Clear W 00015 1 Function mode Enable Disable 0 OFF 1 ON W Table 5 8 FC05 Write DO address 0xxxx Address Reg Descriptions Range Access Type 30001 30008 2 DI Counter 2 Word C...

Page 31: ... 2019 31 Address Reg Descriptions Range Access Type 40001 1 AO output 16bit Word R Table 5 10 FC06 write AO address 4xxxx Technical Support If you have problems about using the tWF series I O controller please contact ICP DAS Product Support Email service icpdas com ...

Reviews: