background image

 

TCW210-TH-R1.2 - January 2018  

 Page 34 

In “Controller communication setup” the current communication settings of sensors should be 
set.  
By pressing “Scan” the current address will be shown. 
If the sensor needs some changes, they should be set in section “Sensor communication 
setup”. To apply them just press “Set” button. 
 

8.5.

 

Logger 

The logger utilizes circular buffer in FLASH memory. When it is full, the new data overwrites the 
oldest one. In this manner FLASH memory stores full log all the time. There isn’t a command to 
clear the log. Copy of full log is always available for download. 

The number of records depends on how long descriptions and what kind of characters are used. 
In the worst case (15 bytes description with characters from the highest part of UTF-8) the 
number of records is about 52000. This number is enough for 36 days with records on every 1 
minute. 

The new data can be periodically uploaded as a file to dedicated HTTP server in time intervals – 
1, 2, 3, 4, 6, 8, 12 and 24 hours. The data is sent in CSV format. The semicolon is used for a 
delimiter. 

The first row of the log file is always header. All rows, including the header start with record ID 
and time stamp. 

 

 

Structure of one row (record) of the log is as follows: 

ID 

Time 

Type of record 

Inputs value 

Relays 

Alarm 

conditions 

 
 

ID 

 

 

32-bit unique number for every row (record). 

 

Time   

 

time stamp of record, in format yyyy.mm.dd, hh:mm:ss. 

Type of record 

following types of records are available:  
"Time"  

 

for periodical record; 

"Event" 

 

for record initiate by alarm condition; 

"Type"  

 

for header record; 

"Start"  

 

after power-up condition; 

"Restart" 

 

after reset condition; 

"Power Down" 

after power-down condition; 

"Bad"   

 

for problematic record. 

Inputs value   

sensors. 

Alarm conditions 

show condition for every input, “1” means active alarm. 

 
Example of log file: 

1131901;15.10.2015,01:02:23;Type;S11/°C;S12;S21/°C;S22;S31/°C;S32;S41/°C;S42;S51/°C;S52;S61/°C;S62;S71/°C;S72;S81/°C;S82;A1/V;A2/V;D1;D2;R1;R
2;S11/°C;S12;S21/°C;S22;S31/°C;S32;S41/°C;S42;S51/°C;S52;S61/°C;S62;S71/°C;S72;S81/°C;S82;A1/V;A2/V;D1;D2; 
1131902;15.10.2015,01:02:23;Time;18.250;;18.375;;18.125;;18.500;;18.188;;18.125;;18.375;;18.375;;11.352;0.065;1;0;1;0;1;;1;;1;;1;;1;;1;;1;;1;;1;0;1;0; 
1131903;15.10.2015,01:02:23;Event;18.250;;18.438;;18.125;;18.500;;18.188;;18.125;;18.313;;18.375;;11.352;0.066;0;1;0;1;1;;1;;1;;1;;1;;1;;1;;1;;1;0;0;1; 
1131904;15.10.2015,01:02:24;Time;18.250;;18.438;;18.125;;18.500;;18.188;;18.125;;18.313;;18.375;;11.352;0.066;0;1;0;1;1;;1;;1;;1;;1;;1;;1;;1;;1;0;0;1; 
1131905;15.10.2015,01:02:25;Time;18.250;;18.375;;18.125;;18.500;;18.188;;18.125;;18.313;;18.375;;11.352;0.066;0;1;0;1;1;;1;;1;;1;;1;;1;;1;;1;;1;0;0;1; 
1131906;15.10.2015,01:02:26;Time;18.250;;18.375;;18.125;;18.500;;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; 
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; 

 

 

Summary of Contents for TCW210-H

Page 1: ......

Page 2: ...rm condition The memory is large enough for at least 36 days with records on every minute The log file can be periodically uploaded on a dedicated server by HTTP Post For every monitored parameter e m...

Page 3: ...a hardware error STS yellow flashes when the main program of the controller is executed NET orange indicates the network connection status ON when a link is established flashing when there is an acti...

Page 4: ...The power supply equipment shall be resistant to short circuit and overload in a secondary circuit When in use do not position the equipment so that it is difficult to disconnect the device from the...

Page 5: ...y noisy industrial environments The maximum number of sensors 1 Wire or RS 485 connected to TCW210 TH is 8 The device supports temperature and humidity temperature sensors MODBUS RTU protocol specifie...

Page 6: ...etwork connection The Ethernet port of TCW210 TH should be connected to 10 100 Base T Ethernet hub switch or router For setup TCW210 TH may be connected directly to the Ethernet port on a computer The...

Page 7: ...Default Gateway 192 168 1 1 Communication with TCW210 TH can be established by assigning a temporary IP address to the computer For computers with Windows OS assigning of IP address is made in Local...

Page 8: ...urrent state of TCW210 TH can be monitored on this page All detected 1 Wire MODBUR RTU sensors are shown in this section Detection is made either after power on or by button Scan for new sensors All f...

Page 9: ...parameters with up to 2 different dimension For every parameter different color can be set There are a few checkboxes for display modification Export of monitored parameters can be made from the page...

Page 10: ...il username and password are standard authentication details For the most SMTP servers sender e mail and username are the same There is a button for server settings test with a feedback In this test s...

Page 11: ...d for trigger conditions Min Max and Hys Min and Max indicate the border of working range for the observed parameter A Max trigger condition occurs when the value exceeds the trigger set point A Min t...

Page 12: ...arm is deactivated The temperature falls and when it reached 19 C it goes out of range trigger and alert conditions E mail is sent The Max value is set far enough from the wanted temperature to avoid...

Page 13: ...uters which don t support different outside inside ports for port forwarding By default HTTP port is 80 7 2 4 3 HTTP API In this section HTTP API access authentication can be activated deactivated By...

Page 14: ...g Time zone 2 and interval of 12 hours 7 3 Services 7 3 1 MODBUS 7 3 1 1 MODBUS TCP IP TCW210 TH supports MODBUS TCP IP over Ethernet interface By default MODBUS TCP IP is disabled Standard port for t...

Page 15: ...munity is private In an alarm condition SNMP trap can be sent up to 5 independent recipients All they can be with different port and community There is an independent button for trap test SNMP traps c...

Page 16: ...l be in 21 00 This is the first record time in day fitful Sync time The button Force upload initiates upload recorded information between previous periodical upload and now 7 3 4 HTTP post TCW210 TH c...

Page 17: ...contains API key channel ID and eight data fields TCW210 TH has four channel sections Channel 1 Channel 2 Channel 3 and Channel 4 7 3 6 Dynamic DNS With dynamic DNS can access TCW210 TH from the publi...

Page 18: ...to a batch of controllers 7 4 3 FW update The TCW210 TH can be updated via the WEB interface To update the device follow the steps below Go to www teracomsystems com and download the latest firmware...

Page 19: ...nt read write S11 minimum value x1000 in Integer format Integer32 x 4 2 2 1 1 2 3 0 s11HYSTInt read write S11 hysteresis value x1000 in Integer format Integer32 x 4 2 2 1 1 3 1 0 s12MAXInt read write...

Page 20: ...teger format Integer32 x 4 2 2 1 4 4 3 0 S43HYSTInt read write S43 hysteresis value x1000 in Integer format Integer32 setup io sensorsSetup sensor5setup OID Name Access Description Syntax x 4 2 2 1 5...

Page 21: ...e S82 minimum value x1000 in Integer format Integer32 x 4 2 2 1 8 3 3 0 S82HYSTx10Int read write S82 hysteresis value x1000 in Integer format Integer32 x 4 2 2 1 8 4 1 0 S83MAXx10Int read write S83 ma...

Page 22: ...ead only S71 value x1000 in Integer format Integer32 x 4 3 1 7 2 0 s72Int read only S72 value x1000 in Integer format Integer32 x 4 3 1 7 3 0 s73Int read only S73 value x1000 in Integer format Integer...

Page 23: ...OR define STR_SUCCESS set FIN define STR_ERROR error if _SERVER REQUEST_METHOD POST datePrefix date YmdHis strtotime now pathname FOLDER SEPARATOR datePrefix _ FILENAME postdata file_get_contents php...

Page 24: ...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 8 2 3 HTTP commands Com...

Page 25: ...5 hys item3 S2 S3 description S3 TST3xx description id 3300744BFAFFFF06 id SenType MB 1 SenType item1 value 22 6 value unit C unit alarm 0 alarm min 40 0 min max 85 0 max hys 8 5 hys item1 item2 valu...

Page 26: ...2 item3 value value unit unit alarm 0 alarm min min max max hys hys item3 S5 S6 description S6 TST3xx description id 33004F0958FFFFAC id SenType MB 15 SenType item1 value 22 5 value unit C unit alarm...

Page 27: ...tem2 value value unit unit alarm 0 alarm min min max max hys hys item2 item3 value value unit unit alarm 0 alarm min min max max hys hys item3 S8 S HTTPPush Key 00 00 00 00 00 22 Key PushPeriod 300 Pu...

Page 28: ...value unit alarm 0 min max hys item3 value unit alarm 0 min max hys S2 description S2 TSH2xx id 015225B71700FF45 SenType 1Wire item1 value 23 8 unit C alarm 0 min 40 0 max 85 0 hys 8 5 item2 value 46...

Page 29: ...2 7 unit C alarm 0 min 40 0 max 85 0 hys 8 5 item2 value unit alarm 0 min max hys item3 value unit alarm 0 min max hys S5 description S5 TST3xx id 3300744BFCFFFFD7 SenType MB 11 item1 value 22 7 unit...

Page 30: ...s S7 description S7 TST3xx id 3300744BF8FFFF49 SenType MB 100 item1 value 22 9 unit C alarm 0 min 40 0 max 85 0 hys 8 5 item2 value unit alarm 0 min max hys item3 value unit alarm 0 min max hys S8 des...

Page 31: ...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 read 2 registers each 2 byte...

Page 32: ...e query is not an allowable action for the controller 02 Illegal data address The data address received in the query is not an allowable address for the slave More specifically the combination of the...

Page 33: ...UTF 8 Sensor 32 Dimension 03 9960 64 bytes UTF 8 Sensor 41 Dimension 03 9992 64 bytes UTF 8 Sensor 42 Dimension 03 10024 64 bytes UTF 8 Sensor 51 Dimension 03 10056 64 bytes UTF 8 Sensor 52 Dimension...

Page 34: ...d 8 4 2 2 Firmware update When it is sure that the sensor is alone on the bus press the Scan button shown in above section The current values will be shown To arrange the FW update the appropriate fil...

Page 35: ...mm ss Type of record following types of records are available Time for periodical record Event for record initiate by alarm condition Type for header record Start after power up condition Restart afte...

Page 36: ...ff button can be released Yellow LED flashes on 1 second and red LED shines the device is in working mode with factory default settings The factory default settings are Username admin Password admin I...

Page 37: ...browser program make proper setup install sensor TSH1XX or TST1XX on the 1 Wire bus install sensor TSH3XX or TST3XX on the RS 485 bus go to Monitoring page of WEB interface proper parameters value sho...

Page 38: ...TCW210 TH R1 2 January 2018 Page 37 Appendix A Fig 1...

Reviews: