background image

 

TCW122B-CM_R4.5 – March 2019  

 Page 14 

11.11.

 

Setup

 -> 

relay

 

OID 

Name 

Access 

Description 

Syntax 

x.2.9.1.0 

relay1ControlledBy 

read-write  Relay1 control item 

INTEGER {  manual(0), temperature1(1), 

humidity1(2), analogInput1(3), 

digitalInput1(4), temperature2(5), 

humidity(6), analogInput2(7), 

digitalInput2(8) } 

x.2.9.2.0 

relay2ControlledBy 

read-write  Relay2 control item 

INTEGER {  manual(0), temperature1(1), 

humidity1(2), analogInput1(3), 

digitalInput1(4), temperature2(5), 

humidity(6), analogInput2(7), 

digitalInput2(8)  } 

x.2.9.3.0 

relayPulseWidth 

read-write  Digital Inputs mail recipient 

INTEGER{ 1..253 } 

x.2.9.4.0 

relay1Description 

read-write  Relay 1 description 

DisplayString (SIZE (0..11)) 

x.2.9.4.0 

relay2Description 

read-write  Relay 2 description 

DisplayString (SIZE (0..11)) 

 

11.12.

 

Setup

 -> 

recipients

 

OID 

Name 

Access 

Description 

Syntax 

x.2.10.1.0 

recipient1EmailAddress  read-write  Recipient1 e-mail 

String (SIZE (0..38)) 

 

11.13.

 

Monitor

&

control

 

OID 

Name 

Access 

Description 

Syntax 

x.3.1.0 

digitalInput1State 

read-only  Digital Input1 state 

INTEGER { closed(0), open(1) } 

x.3.2.0 

digitalInput2State 

read-only  Digital Input2 state 

INTEGER { closed(0), open(1) } 

x.3.3.0 

relay1State 

read-write  Relay1 state 

INTEGER { off(0), on(1) } 

x.3.4.0 

relay1Pulse 

read-write  Relay1 pulse 

INTEGER { off(0), on(1) } 

x.3.5.0 

relay2State 

read-write  Relay2 state 

INTEGER { off(0), on(1) } 

x.3.6.0 

relay2Pulse 

read-write  Relay2 pulse 

INTEGER { off(0), on(1) } 

x.3.7.0 

voltage1x10Int 

read-only  Voltage1 x10 in integer format 

INTEGER{ 0..1000 } 

x.3.8.0 

voltage2x10Int 

read-only  Voltage2 x10 in integer format 

INTEGER{ 0..1000 } 

x.3.9.0 

temp1x10Int 

read-only  Temperature1 x10 in integer format 

INTEGER{ -400..1250 } 

x.3.10.0 

temp2x10Int 

read-only  Temperature2 x10 in integer format 

INTEGER{ -400..1250 } 

x.3.11.0 

humi1x10Int 

read-only  Humidity1 x10 in integer format 

INTEGER{ 0..1000 } 

x.3.12.0 

humi2x10Int 

read-only  Humidity2 x10 in integer format 

INTEGER{ 0..1000 } 

x.3.13.0 

configurationSaved 

read-write  Configuration save status 

INTEGER { unsaved(0), saved(1) } 

x.3.14.0 

restartDevice 

read-write  Restart device 

INTEGER { cancel(0), restart(1) } 

x.3.15.0 

temperatureUnits 

read-write  Temperature Units 

INTEGER {  celsius(0), fahrenheit(1)  } 

 

12.

 

XML and HTTP API commands  

XML is often preferred choice when it comes to M2M communication and system integration. The 

monitored values are transmitted in status.xml file that can be easily processed by software 

applications. 
The structure of the status.xml file is: 

<Monitor> 

<Device>TCW122B-CM</Device> 

<ID>5C:32:C5:AA:00:05</ID> 

<Hostname>TCW122B-CM</Hostname> 

<FW>3.10</FW> 

<DigitalInput1Description>Digital 1</DigitalInput1Description> 

<DigitalInput1>CLOSED</DigitalInput1> 

<DinAlarm1>0</DinAlarm1> 

<DigitalInput2Description>Digital 2</DigitalInput2Description> 

Summary of Contents for TCW122B-CM

Page 1: ......

Page 2: ...remote control and monitoring 2 Features Password protected web based configuration and control 2 digital inputs with dry contact and logic level modes 2 analog inputs with 0 to 60VDC range 2 relays w...

Page 3: ...ed load 1 Wire interface Output voltage VW 5 3 0 2 VDC Maximum output current VW 0 2 A Internal FLASH memory Endurance 100 000 cycles Every relay status and settings change is a memory cycle 4 Powerin...

Page 4: ...iguring via a web browser TCW122B CM can be wall or flat not flammable surface mounted in a clean and dry location room Ventilation is recommended for installations where the ambient air temperature i...

Page 5: ...pening the Login page authorization data must be entered by default username admin password admin It is recommended to change the username and password to prevent unauthorized access to the controller...

Page 6: ...every 30mS The change of input status is considered valid if the same value is read in seven consecutive samples 8 3 Network Setup page The Network parameters are set on this page The following param...

Page 7: ...be changed in the Web Access section Setting the authentication to disabled will provide access to monitoring page without entering username and password The HTTP port can be changed also in this sec...

Page 8: ...ion 8 5 I O setup page I O settings can be made here For temperature humidity and analog value MIN MAX and HYSTERESIS values can be set These values define the thresholds for all monitored parameters...

Page 9: ...ters are set for Sensor1 Min 19 Max 100 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...

Page 10: ...to 253 seconds By default relay state changes via the WEB interface are memorized in a non volatile memory After the power on the relay goes in its last state before the power down If the Save relay...

Page 11: ...ular installation Teracom Ltd cannot assume responsibility or liability for actual use based on the examples and diagrams 9 1 Temperature and humidity control TCW122B CM supports 1 Wire temperature an...

Page 12: ...registered trademark of Maxim Integrated Products Inc It is designed to connect several sensors over a short wiring The bus carries power and a single data wire It is not suitable for long distances...

Page 13: ...ice hostname String SIZE 0 38 11 3 Setup snmpSetup OID Name Access Description Syntax x 2 4 1 0 snmpConfiguration read write SNMP Configuration INTEGER disabled 0 enabled 1 x 2 4 2 0 trapEnabled read...

Page 14: ...GER 0 1000 x 2 7 1 3 0 voltage1Hyst read write Voltage1 hysteresis INTEGER 0 1000 x 2 7 1 4 0 voltage1Action read write Voltage1 action INTEGER noAction 0 sendMail 1 x 2 7 1 5 0 voltage1Description re...

Page 15: ...1 x 3 5 0 relay2State read write Relay2 state INTEGER off 0 on 1 x 3 6 0 relay2Pulse read write Relay2 pulse INTEGER off 0 on 1 x 3 7 0 voltage1x10Int read only Voltage1 x10 in integer format INTEGER...

Page 16: ...at of the command is shown in the table below XML HTTP API authentication Format enabled http device ip address status xml a uuuu pppp disabled http device ip address status xml Where uuuu is username...

Page 17: ...ng off the power supply will damage the device For some updates factory default settings procedure is mandatory 14 Factory default settings TCW122B CM can be restored to its original factory default s...

Page 18: ...acom 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 works correctly follow the step...

Page 19: ...TCW122B CM_R4 5 March 2019 Page 18 Appendix A Fig 1 Fig 2...

Page 20: ...TCW122B CM_R4 5 March 2019 Page 19...

Reviews: