background image

 

TCW242-S_R1.0 – July 2021  

 Page 23 

The “Key” field is user-defined. Its value is sent in an XML/JSON file and can be used for device 
identification.  

If  the  “Process  Answer”  option  is  enabled,  TCW242-S  will  execute  the  commands,  sent  by  the 
remote server as an answer to HTTP/HTTPS Post.  

More about HTTP/HTTPS Post can be read in the HTTP API section. 

8.3.5.

 

Schedule 

TCW242-S supports four schedules. In every schedule, up to four different tasks can be set.  

The  schedules  are  useful  for  creating  tasks  that  vary  with  calendar  dates.  It  is  possible  to 
combine two relays in control of one device - one relay follows the alarm condition and the other 
follows the schedule. In this case, more complex control can be arranged. 

 

There are two types of schedule depending on repetition and duration – single and weekly tasks. 

Here are some examples: 

 

A single task for a time period:  

 

Содержание TCW242-S

Страница 1: ......

Страница 2: ...teresis The alarm can be assigned to a specific channel In this case in an alarm state the assigned channel is colored on the monitoring page and graphs The device supports SNMP HTTP API and MODBUS TC...

Страница 3: ...rent pin 7 of RJ 45 0 2 A Digital inputs Isolation Non isolated Mode OPEN CLOSED Dry contact or COUNTER Maximum input voltage 5 5VDC Sampling rate 1mS Digital filtering time interval 5 to 60000mS Anal...

Страница 4: ...ecting to an IP network connecting inputs and outputs providing power and configuring via a web browser 6 1 Mounting TCW242 S should be mounted in a clean and dry location on a non flammable surface V...

Страница 5: ...n 3 Pin8 COM Relay2 Pin5 GND Pin9 NO Relay2 Pin6 Digital In 4 Pin10 NC Relay1 Connector 8 Pin1 Analog In 1 Pin11 COM Relay1 Pin2 GND Pin12 NO Relay1 Pin3 Analog In 2 Connector 5 Pin1 Line A D0 Pin4 An...

Страница 6: ...ntact pulse output interface The maximum cable length should be up to 30 meters 6 2 3 Analog inputs connection All inputs are non isolated from the power supply Analog inputs of TCW242 S can be used f...

Страница 7: ...n the document MODBUS over Serial Line Specification and Implementation Guide available on www modbus org It is mandatory to use 120ohms line terminators at both ends of the bus TCW242 S incorporates...

Страница 8: ...o the Ethernet port on a computer The device support Auto MDIX and it is not necessary to use a crossover cable standard straight through can be also used TCW242 S can be used in a wireless network by...

Страница 9: ...a temporary IP address to the computer For computers with Windows OS assigning of IP address is made in Local area connection properties This address should be on the same network for example 192 168...

Страница 10: ...th operations It is possible that a channel is formed by only one primary parameter Once all channels have been tuned the alarm can be set up It is important to remember that alarms work with channels...

Страница 11: ...s The information is updated on the refresh interval 8 1 3 Graphs All channels together with their alarm statuses can be monitored graphically in tabs Graph 1 to Graph 6 Every graph supports up to 4 c...

Страница 12: ...verer It is recommended to use a public DNS server 8 8 8 8 8 8 4 4 etc rather than the default gateway 8 2 2 Modbus sensors 8 2 2 1 Modbus RTU communication setup Modbus RTU communication setup This s...

Страница 13: ...ter set Multiplier 1 and Offset 0 During operation all sensors are polled consecutively The controller expects an answer in response time out If the sensor does not respond for that time the controlle...

Страница 14: ...lays analog and digital inputs 8 2 3 1 Analog inputs TCW242 S has 4 analog inputs All they are isolated from the power supply but use the same ground Every analog input can work in voltage 0 10V or cu...

Страница 15: ...n COUNTER mode counting can be made on rising falling or both edges For the counter mode there is a possibility for setting up the counter initial value There are two delays Open to Close and Close to...

Страница 16: ...general channels the sequence of operations is OP1 then OP2 and finally OP3 It is possible to use a digital input in OPEN CLOSE mode to form a general channel In this case its values for operations a...

Страница 17: ...when the value goes higher than Limit Hysteresis Sign is or lower than Limit Hysteresis Sign is The hysteresis is used to prevent excessive triggering when the value vacillates around the trigger poi...

Страница 18: ...HTTP port for WEB access by default is 80 but it can be changed This is useful for some routers which don t support different outside inside ports for port forwarding HTTP API access authentication by...

Страница 19: ...d SNMPv3 The default parameters are SNMP disabled Port 161 SNMPv3 disabled read community public write community private Security User Name teracom Security Level noAuthNoPriv Authentication Protocol...

Страница 20: ...ve algorithm None authentication User based Privacy Mechanism is based on the following Data Encryption Standard DES Advanced Encryption Standard AES None encryption For alarm notification an SNMP tra...

Страница 21: ...s very useful when monitoring electricity water gas meters etc The log interval can be chosen from a drop down menu between 1 and 60 minutes The field Sync to the minute determines which minute of eve...

Страница 22: ...gger section 8 3 4 HTTP Post TCW242 S can periodically upload an XML JSON file to a dedicated server using HTTP or HTTPS Post The HTTPS is over TLS 1 0 TLS 1 1 and TLS 1 2 with RSA as a key exchange a...

Страница 23: ...P API section 8 3 5 Schedule TCW242 S supports four schedules In every schedule up to four different tasks can be set The schedules are useful for creating tasks that vary with calendar dates It is po...

Страница 24: ...and ends at 17 00 weekly task for a time period which includes the midnight With the above setting there will be an event for 2 hours between Monday 23 00 00 and Tuesday 01 00 00 8 3 6 Dynamic DNS TCW...

Страница 25: ...ettings to a batch of controllers 8 4 3 FW update The TCW242 S can be updated via a WEB interface To update the device follow the steps below Go to www teracomsystems com and download the latest firmw...

Страница 26: ...2 2 1 1 1 2 0 mbSenDescription read write Sensor description DisplayString 8 2 2 1 1 1 3 0 mbSenMult read write Sensor multiplier x1000 in Integer format Integer32 8 2 2 1 1 1 4 0 mbSenOffset read wri...

Страница 27: ...24 24 anyAlarm 25 schedule1 26 schedule2 27 schedule3 28 schedule1 29 8 2 2 4 1 1 5 0 relOutAction read write Relay action on alarm condition INTEGER on 0 pulse 2 OID Name Access Description Syntax 8...

Страница 28: ...1 3 6 1 4 1 38783 in the table below OID Name Access Description Syntax 8 3 2 1 1 2 0 relayState read write Relay state INTEGER off 0 on 1 8 3 2 1 1 3 0 relayPulse read write Relay pulse INTEGER off...

Страница 29: ...22 v23 23 v24 24 8 3 3 1 1 16 0 alActionDelay read write Alarm action delay Integer32 8 3 3 1 1 17 0 alActionOnReturn read write Alarm action on return INTEGER no 0 yes 1 8 3 3 1 1 18 0 alAction1 rea...

Страница 30: ...POST 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 su...

Страница 31: ...Commands All commands used with HTTP HTTPS Post can be used also with HTTP Get The right format is http device ip address status xml yyy xxx Where yyy is the command xxx is the parameter Example http...

Страница 32: ...17 characters ron n Turn relay m ON m is 1 2 3 or 4 n is 1 2 4 or 8 ron 1 will turn ON relay 1 ron 2 will turn ON relay 2 ron 4 will turn ON relay 3 ron 8 will turn ON relay 4 ron 1 ron 2 ron 4 ron 8...

Страница 33: ...e 51 323 value unit RH unit alarmbin 1 alarmbin alarm Normal alarm selch 4 selch CH2 CH3 type 2 type description Digital Input 1 description value OPEN value unit alarmbin 1 alarmbin alarm Normal alar...

Страница 34: ...scription V11 description value value unit alarmbin 0 alarmbin alarm selch 0 selch CH11 CH12 type 0 type description V12 description value value unit alarmbin 0 alarmbin alarm selch 0 selch CH12 CH13...

Страница 35: ...alarmbin alarm selch 0 selch CH19 CH20 type 0 type description V20 description value value unit alarmbin 0 alarmbin alarm selch 0 selch CH20 CH21 type 0 type description V21 description value value un...

Страница 36: ...mbin alarm assign 2 assign AL5 AL6 description AL06 description alarmbin 0 alarmbin alarm assign 0 assign AL6 AL7 description AL07 description alarmbin 0 alarmbin alarm assign 0 assign AL7 AL8 descrip...

Страница 37: ...n alarmbin 0 alarmbin alarm assign 0 assign AL18 AL19 description AL19 description alarmbin 0 alarmbin alarm assign 0 assign AL19 AL20 description AL20 description alarmbin 0 alarmbin alarm assign 0 a...

Страница 38: ...AL1 AL24 alarms R1 R4 relays alarmbin number values from 0 to 6 alarm Undefined Normal Indeterminate Warning Minor Major Critical assign 0 assign alarm not assigned to any channel selch 0 selch channe...

Страница 39: ...V alarmbin 1 alarm Normal selch 27 CH6 type 0 description V06 Current value 0 000 unit A alarmbin 1 alarm Normal selch 28 CH7 type 1 description V07 Energy value 6587 396 unit kWh alarmbin 0 alarm sel...

Страница 40: ...14 type 0 description V14 value unit alarmbin 0 alarm selch 0 CH15 type 0 description V15 value unit alarmbin 0 alarm selch 0 CH16 type 0 description V16 value unit alarmbin 0 alarm selch 0 CH17 type...

Страница 41: ...0 alarm selch 0 CH23 type 0 description V23 value unit alarmbin 0 alarm selch 0 CH24 type 0 description V24 value unit alarmbin 0 alarm selch 0 AL AL1 description AL01 T alarmbin 4 alarm Minor assign...

Страница 42: ...cription AL10 alarmbin 0 alarm assign 0 AL11 description AL11 alarmbin 0 alarm assign 0 AL12 description AL12 alarmbin 0 alarm assign 0 AL13 description AL13 alarmbin 0 alarm assign 0 AL14 description...

Страница 43: ...armbin 0 alarm assign 0 AL23 description AL23 alarmbin 0 alarm assign 0 AL24 description AL24 alarmbin 0 alarm assign 0 R R1 description Relay 1 value ON valuebin 1 R2 description Relay 2 value OFF va...

Страница 44: ...er 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 9 3 1 2 Force Single C...

Страница 45: ...0 16 bytes value All holding registers with strings are sent in big endian The answer is padded with 0 In the example above the string Temperature is sent 9 3 1 4 Exception codes All exceptions are si...

Страница 46: ...annel 22 03 440 32 bit Float Read Channel 23 03 442 32 bit Float Read Channel 24 03 444 32 bit Float Channels 1 24 type Counter Read Channel 1 03 500 32 bit unsign int Read Channel 2 03 502 32 bit uns...

Страница 47: ...el 20 Dimension 03 1152 16 bytes UTF 8 Read Channel 21 Dimension 03 1160 16 bytes UTF 8 Read Channel 22 Dimension 03 1168 16 bytes UTF 8 Read Channel 23 Dimension 03 1176 16 bytes UTF 8 Read Channel 2...

Страница 48: ...intervals 1 2 3 4 6 8 12 and 24 hours The file is in CSV format A semicolon is used as a delimiter The first row of the log file is always the header All rows including the header start with a record...

Страница 49: ...agment alarms values descriptions ID Time Type Al1 AL1 T Al2 AL2 H Al3 Al4 Al5 Al6 Al7 Al8 Al9 Al10 Al11 Al12 Al13 Al14 Al15 Al16 Al17 Al18 Al19 Al20 Al21 Al22 Al23 Al24 25114 19 07 2021 16 49 49 Time...

Страница 50: ...requirements and shall be intended for use in the same ambient conditions 13 Safety This device must not be used for medical life saving purposes or for any purpose where its failure could cause seri...

Страница 51: ...ird party sensor proper parameters value should be displayed At the same time flashing STS led should indicate the proper operation If the equipment is used in a manner not specified by the manufactur...

Страница 52: ...TCW242 S_R1 0 July 2021 Page 52 Appendix A Fig 1 Fig 2...

Отзывы: