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 19: ...TCW122B CM_R4 5 March 2019 Page 18 Appendix A Fig 1 Fig 2...