background image

 

TCW241_R4.17 

 October 2022  

 Page 39 

purl=212.25.45.120:30181/xampp/test/posttest.php 

pper=x 

HTTP Post period in seconds  
(x is between 10 and 14400) 

dk=xxx 

HTTP Post key 

 xxx is up to 17 characters 

save 

Save all previous changes 

(except relays’ one) 

in the 

FLASH memory.  

As every save reflects the FLASH cycles (endurance), this 
command should be used very carefully. 

pper=120&save 

 will set Post period to 120 seconds and 

save it 

FIN 

Terminate session.  
(It works with HTTP/HTTPS Post, but not with HTTP Get.) 

 

 

 

Summary of Contents for TCW241

Page 1: ...smtp...

Page 2: ...ipients can be sent Alarm alert also can be sent by HTTP HTTPS Post with XML JSON status files An embedded real time clock provides scheduled time control of selected outputs the tasks can be either s...

Page 3: ...Temperature and humidity control in data centers A building management system Industrial cooling heating control Home automation Alarm systems Mushroom plant automation Process monitor 4 Specificatio...

Page 4: ...ct resistance 50 milli ohms max initial value Minimum pulse output 1 Hz at rated load 1 Wire interface Output voltage VW 5 0 0 3 VDC Maximum output current VW 0 2 A Internal FLASH memory Endurance 100...

Page 5: ...1 for mechanical details Maintain spacing from adjacent equipment Allow 50 mm of space on all sides as shown in fig 2 in Appendix A this provides ventilation and electrical isolation TCW241 can be mo...

Page 6: ...COM Relay2 Pin6 Digital In 4 Pin9 NO Relay2 Connector 8 Pin1 Analog In 1 Pin10 NC Relay1 Pin2 GND Pin11 COM Relay1 Pin3 Analog In 2 Pin12 NO Relay1 Pin4 Analog In 3 Connector 5 Pin1 1 Wire GND Pin5 G...

Page 7: ...g inputs connection Attention Analog inputs are NOT galvanic isolated Analog inputs of TCW241 can be used for monitoring of DC voltage up to 60VDC They can be connected directly to batteries solar pan...

Page 8: ...s with EMC interference We recommend reading Maxim s 1 Wire tips at http www maxim ic com app notes index mvp id 148 The sensors have three wires positive voltage VDD ground GND and bidirectional data...

Page 9: ...internally connected directly to the terminal connectors For all relays normally open normally closed and common contacts are available For loads with higher switchable current voltage than specified...

Page 10: ...rossover cable standard straight through can be also used TCW241 can be used in a wireless network by connecting through a wireless router 6 3 Communication setup By default TCW241 is delivered with t...

Page 11: ...TCW241_R4 17 October 2022 Page 11 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...

Page 12: ...d to change the username and password to prevent unauthorized access to the controller The controller supports a few active session 7 1 Monitoring page Monitoring page displays the current state of TC...

Page 13: ...ill not change the positions of other sensors after reset This option is very useful when TCW241 is used us a part of monitoring and control system managed either by SNMP or HTTP API commands For some...

Page 14: ...on control of relays Pulse duration in seconds can be set separately for each relay in Setup Input Output Relay Outputs For locally activated relays a text description of the controlling parameter is...

Page 15: ...andard authentication details For most SMTP servers the sender s e mail and username are the same There is a button for server settings test with feedback In this test sender and recipient of the e ma...

Page 16: ...TCW241_R4 17 October 2022 Page 16...

Page 17: ...a description up to 15 characters can be set 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 Analog inputs For...

Page 18: ...ginal parameter and can t be edited Virtual items can be used for alarm notifications in Functions and for local relay activation 7 2 3 5 Relay outputs For every relay a description up to 15 character...

Page 19: ...nputs 7 2 4 1 1 Wire sensors analog inputs and virtual items For every sensor two type of fields are presented one to set trigger conditions Min Max and Hys and another one for alert notification If o...

Page 20: ...ers are set for Sensor1 Min 19 Max 85 and Hys 0 5 When the controller is switched on Relay1 is immediately activated because the monitored temperature is out of range This switches the heater on The t...

Page 21: ...alarm conditions 7 2 4 2 Digital inputs For every digital input alarm state should be chosen Open or Close When the input goes in alarm state 3 independent way of alert are possible e mail SNMP trap...

Page 22: ...authentication details HTTP port for WEB access can be changed This is useful for some routers which don t support different outside inside ports for port forwarding By default HTTP port is 80 7 2 5...

Page 23: ...ally For automatic clock synchronization the controller supports NTP Network Time Protocol and all necessary parameters for automatic synchronization are available in this section By default NTP synch...

Page 24: ...e the range measured parameter on the 1 Wire bus goes outside the range restart condition SNMP trap is sent after reset Actual MIB file can be downloaded from here 7 3 3 HTTP post TCW241 can periodica...

Page 25: ...schedule depending on repetition and duration single and weekly tasks Here are some examples A single task for a time period With above setting there will be an event on 06 04 2020 starts in 08 00 an...

Page 26: ...tion parameters 7 3 6 Dynamic DNS With dynamic DNS TCW241 can be accessed from the public Internet without investing in a broadband account that has a static IP address TCW241 supports the following D...

Page 27: ...ions in the tables below To obtain a valid OID number it is necessary to replace the x symbol with 1 3 6 1 4 1 38783 To save the changes configurationSaved OID x 2 3 5 0 should be set to 1 product OID...

Page 28: ...r32 x 3 2 2 1 4 2 2 0 S41MINInt read write S41 minimum value x1000 in Integer format Integer32 x 3 2 2 1 4 2 3 0 S41HYSTInt read write S41 hysteresis value x1000 in Integer format Integer32 x 3 2 2 1...

Page 29: ...tion read write Voltage 1 description DisplayString x 3 2 2 2 1 2 0 voltage1max read write Voltage 1 maximum Integer32 x 3 2 2 2 1 3 0 voltage1min read write Voltage 1 minimum Integer32 x 3 2 2 2 1 4...

Page 30: ...arm 25 anySensor 26 anyAnal og 27 anyDigital 28 fu nc1 29 func2 30 shedule1 31 shedule2 32 shedule3 33 shedu le4 34 setup io relaysSetup relay2setup OID Name Access Description Syntax x 3 2 2 4 2 1 0...

Page 31: ...larm 25 anySensor 26 anyAnal og 27 anyDigital 28 fu nc1 29 func2 30 shedule1 31 shedule2 32 shedule3 33 shedu le4 34 setup io relaysSetup relay4setup OID Name Access Description Syntax x 3 2 2 4 4 1 0...

Page 32: ...3 2 2 5 2 3 0 virtualInput2min read write Virtual input 2 minimum Integer32 x 3 2 2 5 2 4 0 virtualInput2hyst read write Virtual input 2 hysteresis Integer32 x 3 2 2 5 2 5 0 virtualInput2Parent read...

Page 33: ...Int read only S21 value x1000 in Integer format Integer32 x 3 3 1 2 2 0 s22Int read only S22 value x1000 in Integer format Integer32 x 3 3 1 2 3 0 s2ID read only S2 ID value OCTET STRING SIZE 16 monit...

Page 34: ...Description Syntax x 3 3 3 1 0 digitalInput1State read only Digital1 Input State INTEGER closed 0 open 1 x 3 3 3 2 0 digitalInput2State read only Digital2 Input State INTEGER closed 0 open 1 x 3 3 3...

Page 35: ...unctions OID Name Access Description Syntax x 3 3 10 1 0 func1State read only Funtion 1 State INTEGER false 0 true 1 x 3 3 10 2 0 func2State read only Funtion 2 State INTEGER false 0 true 1 x 3 3 10 3...

Page 36: ...T datePrefix date YmdHis strtotime now pathname FOLDER SEPARATOR datePrefix _ FILENAME postdata file_get_contents php input handle fopen pathname w content var_export postdata true fwrite handle subst...

Page 37: ...f HTTP API authentication is enabled basic access authentication is required to access the status xml file The format of the command is shown in the table below XML HTTP API authentication Format enab...

Page 38: ...is 1 2 3 4 5 6 7 or 8 for the respective sensor t is 1 or 2 for the respective parameter of sensor sy81 2 0 will set Hys for sensor 8 parameter 1 delsen xxxx Notification delay for sensors xxxx is be...

Page 39: ...k xxx HTTP Post key xxx is up to 17 characters save Save all previous changes except relays one in the FLASH memory As every save reflects the FLASH cycles endurance this command should be used very c...

Page 40: ...C unit alarm 0 alarm min 40 0 min max 85 0 max hys 8 5 hys item1 item2 value value unit unit alarm 0 alarm min min max max hys hys item2 S1 S2 description S2 TSH2xx description id 015225B71700FF45 id...

Page 41: ...in min max max hys hys item1 item2 value value unit unit alarm 0 alarm min min max max hys hys item2 S5 S6 description S6 description id 0000000000000000 id item1 value value unit unit alarm 0 alarm m...

Page 42: ...cription value 0 04 value unit V unit multiplier 1 000 multiplier offset 0 000 offset alarm 0 alarm min 0 00 min max 60 00 max hys 0 01 hys AI2 AI3 description Analog Input 3 description value 0 05 va...

Page 43: ...m 0 alarm min 0 0 min max 65 0 max hys 1 0 hys VI4 VI DI DI1 description Digital Input 1 description value OPEN value valuebin 1 valuebin alarmState CLOSED alarmState alarm 0 alarm DI1 DI2 description...

Page 44: ...300 PushPeriod HTTPPush hwerr Alarmed 0 Alarmed Scannig Time Date 13 03 2018 Date Time 13 32 26 Time Time Monitor Where value value and unit unit means no 1 Wire sensor on this position alarm 1 alarm...

Page 45: ...ax 100 0 hys 10 0 S3 description S3 id 0000000000000000 item1 value unit alarm 0 min max hys item2 value unit alarm 0 min max hys S4 description S4 id 0000000000000000 item1 value unit alarm 0 min max...

Page 46: ...d 0000000000000000 item1 value unit alarm 0 min max hys item2 value unit alarm 0 min max hys S8 description S8 id 0000000000000000 item1 value unit alarm 0 min max hys item2 value unit alarm 0 min max...

Page 47: ...000 alarm 0 min 0 00 max 60 00 hys 0 01 VI VI1 description Virtual Input 1 value 0 04 unit V multiplier 1 000 offset 0 000 alarm 1 min 0 00 max 12 50 hys 0 10 VI2 description Virtual Input 2 value 21...

Page 48: ...ion Digital Input 4 value OPEN valuebin 1 alarmState CLOSED alarm 0 R R1 description Relay 1 value OFF valuebin 0 pulseWidth 0 1 control Virtual Input 3 R2 description Relay 2 value OFF valuebin 0 pul...

Page 49: ...to the number of coils requested the last data field 01 contains the status of only 1 coil The 7 most significant bits in this data field are filled in with zeroes The activated relay is 1 8 3 1 2 For...

Page 50: ...olding Registers 46B4 The Data Address of the first register requested 46B4 hex 18100 0020 The total number of registers requested read 32 registers each 2 byte 64 bytes Response 03 40 5365 6E73 6F72...

Page 51: ...sensor51 9 sensor52 10 sensor61 11 sensor62 12 sensor71 13 sensor72 14 sensor81 15 sensor82 16 analog1 17 analog2 18 analog3 19 analog4 20 digital1 21 digital2 22 digital3 23 digital4 24 anyAlarm 25 a...

Page 52: ...UTF 8 Example 2860B85F07000094 Sensor 1 8 Part 1 2 value 03 19800 32 bit Float Sensor 1 8 Part 1 3 row value 03 19900 32 bit Float Sensor 1 8 alarm status 03 20000 16 bit unsign int normal 0 alarm 1...

Page 53: ...tory default with the reset button For factory default reset of all parameters following steps should be executed Press and hold the RESET button then turn on the power supply Yellow LED shines and re...

Page 54: ...cable after installation Teracom does not guarantee successful operation of the product if the product was used under conditions deviating from the product specifications To ensure that the device wor...

Page 55: ...TCW241_R4 17 October 2022 Page 55 Appendix A Fig 1 Fig 2...

Reviews: