Download Print this page
Teracom TCW220 User Manual

Teracom TCW220 User Manual

Ethernet data logger
Hide thumbs Also See for TCW220:

Advertisement

Quick Links

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Teracom TCW220

  • Page 2 8 Teracom 1-Wire sensors - temperature, humidity, CO2, current, 4/20mA, galvanic isolated analog voltage, etc. TCW220 has 2 relays with normally open and normally closed contacts. The relays can be activated either remotely (WEB, SNMP, HTTP API, MODBUS etc.) or locally – from the status of a monitored...
  • Page 3 3. Applications TCW220 is suitable for industrial automation, data acquisition systems, environmental monitoring and local control of an electrical and non-electrical parameter, building automation etc. It works very well as a standalone device that can be controlled using a web browser or as a part of small to large industrial control systems for SCADA (supervisory control and data acquisition).
  • Page 4 6.1. Mounting TCW220 should be mounted in a clean and dry location on a not flammable surface. Ventilation is recommended for installations where ambient air temperature is expected to be high.
  • Page 5 Pin3 – Analog In 2 6.2.1. Power supply TCW220 is designed to be supplied by adapter SYS1421-0612-W2E or similar, intended for use in the conditions of overvoltage category II, and prior assessed for compliance with safety requirements. The power supply equipment shall be resistant to short circuit and overload in a secondary circuit.
  • Page 6 It is also possible to monitor voltages bigger than 10 VDC with external resistive dividers. The following picture illustrates how a high-temperature sensor can be connected to the analog input of TCW220. The output of a sensor is connected to “Analog In” and the shield is connected to “GND” terminal.
  • Page 7 6.2.4. 1-Wire interface Up to eight 1-Wire sensors can be connected to TCW220. The device supports following sensors - temperature, temperature/humidity, CO2, DC current, AC current, 4/20mA transmitter, galvanic isolated analog voltage, barometric pressure etc. Connected sensors are automatically detected and appropriate dimension is assigned.
  • Page 8 When switching an inductive load, it is recommended that relay contact protection devices are used. 6.2.6. Network connection The Ethernet port of TCW220 should be connected to 10/100 Base-T Ethernet hub, switch or router. TCW220_R4.1 – April 2017...
  • Page 9 For configuration, TCW220 may be connected directly to the Ethernet port on a computer. The device support and it is not necessary to use “crossover” cable, standard “straight- Auto-MDIX through” can be also used. TCW220 can be used in a wireless network by connecting through a wireless router.
  • Page 10 This address should be on the same network - for example 192.168.1.3: To get access to the web interface, you should type http://192.168.1.2 into the browser. If the network settings are correct, the login pop-up window will appear: All TCW controllers connected to LAN can be easily found by free tool “TCW discoverer”. It is available for Win and Mac operating systems and can be downloaded from www.teracomsystems.com TCW220_R4.1 –...
  • Page 11 If all sensors are locked, removing one “in the middle” will not change the positions of other sensors after reset. This option is very useful when TCW220 is used as a part of monitoring and control system managed either by SNMP or HTTP API commands.
  • Page 12 For some sensors “Unit”, “Multiplier” and “Offset” can be set in section “Setup-Input/Output”. 7.1.2. Data - digital inputs section Digital inputs can be used for monitoring the state of discrete devices – motion sensor, door contact, relay contact, alarm output etc. All digital inputs are not galvanic isolated. One side of the contact is connected to “Digital In”...
  • Page 13 For every analog input “Unit”, “Multiplier” and “Offset” can be set in section “Setup- Input/Output”. 7.1.4. Data - relays section The section displays the current state of relays and presents buttons that can be used to change their status. Each relay can be activated either remotely by WEB, SNMP, HTTP API and MODBUS or locally, from the status of a monitored parameter (1 Wire sensor, analog voltage, and dry contact).
  • Page 14 Transport Layer Security protocol is used for secure communication with public mail servers. TCW220 supports – TLS 1.0, TLS 1.1 and TLS 1.2 with RSA_WITH_AES_128_GCM_SHA256 and RSA_WITH_AES_128_CBC_SHA cipher suites. This ensures successful operation with almost all public servers.
  • Page 15 7.2.2.2. Alarm destination Up to 5 mail recipients can be set. All they can be activated independently by check box. 7.2.2.3. E-mail details The subject, body header, body and body footer can be customized. For this customization, a set of keys is used. All they are described on the page. 7.2.3.
  • Page 16 7.2.3.2. Digital inputs For every digital input, a description up to 15 characters can be set. The text, written in “Low level” and “High level” is displayed on monitoring page for this input. These fields accept up to 15 characters. 7.2.3.3.
  • Page 17 For local activation, alarm conditions for different sources are used. They are set up in section “Setup-Alarm conditions”. To assign a parameter to relay, following choices are possible:  Sxy – “S” stands for “Sensor 1-Wire”, “x” is a number from 1 to 8, “y” is a number from 1 to 2.
  • Page 18 Example: TCW220, TST100, and appropriate heater are used to control the room temperature. The wanted minimum temperature is 19°C. The initial temperature is 17°C. TST100 is assigned on the first position for 1-Wire sensors. For Relay1 local activation from Sensor1 is set.
  • Page 19 The “Max” value is set far enough from the wanted temperature to avoid trigger/alert conditions around it. For every sensor or analog input, there are 3 independent ways of alert when there is an alarm condition – e-mail, SNMP trap, and post (HTTP post of XML file). Each alarm notification method is activated by check box.
  • Page 20 These options can be used for additional debouncing. On the picture above low-to-high and high-to-low delays are set to 0.1 seconds. 7.2.5. System On this page, some general settings can be made. 7.2.5.1. WEB access In this section, WEB access authentication can be deactivated. By default, it is activated with admin/admin authentication details.
  • Page 21 By default Modbus is disabled. Standard port for this protocol is 502. More about this functionality can be read at MODBUS section. 7.3.2. SNMP The TCW220 supports SNMP v.2. In this section, all necessary parameters for proper operation of SNMP can be set. TCW220_R4.1 – April 2017...
  • Page 22 SNMP trap is sent after reset. Actual MIB file can be downloaded from here. 7.3.3. Logger The TCW220 supports logger for all monitored parameters and status of relays. 7.3.3.1. Logger setup Logger can be activated in Time, Alarm and Time&Alarm modes. The mode specify when records in logger memory are made.
  • Page 23 7.3.4. HTTP post TCW220 can periodically upload a file to a dedicated server, using HTTP Post. The period of the post is between 10 and 3600 seconds. The file format can be XML or JSON. In addition to the periodical post, the file can be uploaded at any alarm condition. In this case “Connect on any alarm”...
  • Page 24 7.5. Logout The TCW220 support multisession, but the good practice is to log out after finish the work. 8. Protocols and API 8.1. SNMP Simple Network Management Protocol (SNMP) is a standard internet protocol for managing devices on IP networks. In typical uses of SNMP, one or more administrative computers, called managers, monitor and control devices on LAN.
  • Page 25 setup -> io -> sensorsSetup -> sensor3setup Name Access Description Syntax x.2.2.2.1.3.1.0 S3description read-write Sensor 3 description DisplayString x.2.2.2.1.3.2.1.0 S31MAXInt read-write S31 maximum value x1000 in Integer format Integer32 x.2.2.2.1.3.2.2.0 S31MINInt read-write S31 minimum value x1000 in Integer format Integer32 x.2.2.2.1.3.2.3.0 S31HYSTInt read-write...
  • Page 26 setup -> io -> sensorsSetup -> sensor8setup Name Access Description Syntax x.2.2.2.1.8.1.0 S8description read-write Sensor 8 description DisplayString x.2.2.2.1.8.2.1.0 S81MAXx10Int read-write S81 maximum value x1000 in Integer format Integer32 x.2.2.2.1.8.2.2.0 S81MINx10Int read-write S81 minimum value x1000 in Integer format Integer32 x.2.2.2.1.8.2.3.0 S81HYSTx10Int read-write...
  • Page 27 setup -> io-> relaysSetup -> relay2setup Name Access Description Syntax x.2.2.2.4.2.1.0 relay2description read-write Relay 2 description DisplayString x.2.2.2.4.2.2.0 relay2pulseWidth read-write Relay 2 Pulse x100ms Integer32 x.2.2.2.4.2.3.0 relay2controlledBy read-write Relay 2 control logic Integer32 { manual(0),sensor11(1), sensor21(2),sensor31(3 ),sensor41(4),sensor51( 5),sensor61(6),sensor7 1(7),sensor81(8),sensor 12(9),sensor22(10),sens or32(11),sensor42(12),s ensor52(13),sensor62(1 4),sensor72(15),sensor...
  • Page 28 monitorNcontrol -> sensors -> sensor7 Name Access Description Syntax x.2.3.1.7.1.0 s71Int read-only S71 value x1000 in Integer format Integer32 x.2.3.1.7.2.0 s72Int read-only S72 value x1000 in Integer format Integer32 OCTET STRING (SIZE x.2.3.1.7.3.0 s7ID read-only S7 ID value (16)) monitorNcontrol -> sensors -> sensor8 Name Access Description...
  • Page 29 8.2. HTTP API 8.2.1. HTTP Post TCW220 can execute HTTP Post to upload XML/JSON file to a dedicated server. This functionality is very useful if the controller is behind the router without public IP address or the user don’t have access to router configuration. The server should have a public IP address.
  • Page 30 The device supports basic access authentication. This should be count if HTTP API authentication is enabled. HTTP Get can be sent in anytime to TCW220 if it is on the same network or it has appropriate routing. If there isn’t direct access to the device, HTTP Get can be sent immediately after HTTP Post receiving from the same device.
  • Page 31 </item2> </S1> <S2> <description>S2:TST1xx</description> <id>2819D009030000FA</id> <item1> <value>12.8</value> <unit>°C</unit> <alarm>0</alarm> </item1> <item2> <value>---</value> <unit>---</unit> <alarm>0</alarm> </item2> </S2> <S3> <description>S3:TST1xx</description> <id>2867895F07000058</id> <item1> <value>13.0</value> <unit>°C</unit> <alarm>0</alarm> </item1> <item2> <value>---</value> <unit>---</unit> <alarm>0</alarm> </item2> </S3> <S4> <description>S4:TSH2xx</description> <id>01D01FB71700FFF8</id> <item1> <value>12.9</value> <unit>°C</unit> <alarm>0</alarm> </item1> <item2> <value>57.2</value> <unit>%RH</unit>...
  • Page 32 <unit>---</unit> <alarm>0</alarm> </item1> <item2> <value>---</value> <unit>---</unit> <alarm>0</alarm> </item2> </S7> <S8> <description>S8</description> <id>0000000000000000</id> <item1> <value>---</value> <unit>---</unit> <alarm>0</alarm> </item1> <item2> <value>---</value> <unit>---</unit> <alarm>0</alarm> </item2> </S8> </S> <AI> <AI1> <description>Analog Input 1</description> <value>10.49</value> <unit>V</unit> <multiplier>1.000</multiplier> <offset>0.000</offset> <alarm>1</alarm> </AI1> <AI2> <description>Analog Input 2</description> <value>10.50</value> <unit>V</unit>...
  • Page 33 Where: <value>--- </value> and <unit>--- </unit> means no 1-Wire sensor on this position; <alarm>1</alarm> means there is trigger condition. 8.2.5. JSON file structure "Monitor": { "DeviceInfo": { "DeviceName": "TCW220", "HostName": "TCW220", "ID": "D8-80-39-35-55-22", "FwVer": "TCW220-v1.145", "MnfInfo": “www.teracomsystems.com”, "SysContact": "info@teracomsystems.com", "SysName": "Name", "SysLocation": "Location"...
  • Page 34 "unit": "В°C", "alarm": "0" "item2": { "value": "58.8", "unit": "%RH", "alarm": "0" "S5": { "description": "S5", "id": "0000000000000000", "item1": { "value": "---", "unit": "---", "alarm": "0" "item2": { "value": "---", "unit": "---", "alarm": "0" "S6": { "description": "S6", "id": "0000000000000000", "item1": { "value": "---", "unit": "---",...
  • Page 35 "value": "10.50", "unit": "V", "multiplier": "1.000", "offset": "0.000", "alarm": "1" "DI": { "DI1": { "description": "Digital Input 1", "value": "OPEN", "valuebin": "1", "alarmState": "CLOSED", "alarm": "0" "DI2": { "description": "Digital Input 2", "value": "OPEN", "valuebin": "1", "alarmState": "CLOSED", "alarm": "0" "R": { "R1": { "description": "Relay 1",...
  • Page 36 8.3. MODBUS Modbus protocol is a serial communications protocol originally published by Modicon in 1979. It is used to establish master-slave/client-server communication between intelligent devices. Modbus is often used to connect a supervisory computer with a remote terminal unit (RTU) in supervisory control and data acquisition (SCADA) systems.
  • Page 37 01: 7 space holders & Discrete Input 100 (0000 0001) The 7 most significant bits are filled in with zeroes. 8.3.1.4. Read Holding Registers (FC=03) Request This command is requesting the content of holding registers 100. 03 0064 0002 03: The Function Code 3 (read Holding Registers) 0064: The Data Address of the first register requested (0064 hex = 100) 0002: The total number of registers requested.
  • Page 38 The data address received in the query is not an allowable address for the slave. More specifically, the combination of the reference number and the transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02.
  • Page 39 Sensor 2 Description 5432 64 bytes UTF-8 Sensor 3 Description 5464 64 bytes UTF-8 Sensor 4 Description 5496 64 bytes UTF-8 Sensor 5 Description 5528 64 bytes UTF-8 Sensor 6 Description 5560 64 bytes UTF-8 Sensor 7 Description 5592 64 bytes UTF-8 Sensor 8 Description 5624 64 bytes UTF-8...
  • Page 40 1131907;15.10.2015,01:02:27;Time;18.250;;18.375;;18.125;;18.438;;18.188;;18.125;;18.313;;18.313;;11.352;0.066;0;1;0;1;1;;1;;1;;1;;1;;1;;1;;1;;1;0;0;1; 1131908;15.10.2015,01:02:27;Event;18.250;;18.375;;18.125;;18.438;;18.188;;18.125;;18.313;;18.313;;2.198;9.092;0;1;0;1;1;;1;;1;;1;;1;;1;;1;;1;;0;0;0;1; 8.5. Dynamic DNS With dynamic DNS can access TCW220 from the public Internet without investing in a broadband account that has a static IP address. TCW220 supports the following DNS services – DynDNS, No-IP and DNS-O-Matric. TCW220_R4.1 – April 2017...
  • Page 41 9. Factory default settings TCW220 can be restored to its original factory default settings in 3 different ways. 9.1. Factory default from WEB interface If the button “Factory default” from Administration->Backup/Restore is pressed, all parameters return to factory default except Network settings.
  • Page 42 If the equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired. In no event will Teracom Ltd. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
  • Page 43 Appendix A Fig.1 Fig.2 TCW220_R4.1 – April 2017 Page 43...