tcw122b CM Remote Io Module User Manual r4.8
tcw122b CM Remote Io Module User Manual r4.8
tcw122b CM Remote Io Module User Manual r4.8
Short description
TCW122B-CM is a remote IO module for monitoring and control. It has 2 digital and 2 analog
inputs. The supported 1-Wire interface can handle up to 2 temperature or 2 humidity-
temperature sensors.
The controller has 2 relays with normally open and normally closed contacts. Every relay can be
activated either remotely (WEB, SNMP etc.) or locally - from the status of the monitored parameter
(temperature, humidity, analog voltage and dry contact). Only one parameter can manage the
relay at the same time, but for every parameter can be sent e-mail/SNMP trap for alert conditions.
TCW122B-CM is suitable for environmental monitoring and local control of heater/coolers, home
and industrial and automation, data acquisition systems, general 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 with NO and NC contacts;
• 1-Wire interface for up to 2 temperature (TST1XX) or humidity-temperature (TSH2xx)
sensors;
• SNMP v.1 support;
• SNMP traps and/or e-mail sending for alert conditions;
• SMTP with authentication (SSL/TLS is not supported);
• HTTP and SNMP port changing;
• HTTP and XML API commands;
• Remote firmware update.
3. Specifications
• Physical characteristics
Dimensions: 109 x 82 x 32 mm
Weight: 110 g
• Environmental limits
Operating тemperature range: -20 to 55°C
Storage temperature range: -25 to 60°C
Operating relative humidity range: 5 to 85% (non-condensing)
• Warranty
Warranty period: 3 years
• Power supply
Operating voltage range (including -15/+20% according to IEC 62368-1): 10 to 14 VDC
Current consumption (with both relays ON): 0.2 A @ 12 VDC
• Ethernet connectivity
10 Mbit/s transfer rate
Half-duplex mode only
Auto-negotiation not supported
• Digital inputs
Isolation: Non-isolated
Mode: Dry contact or Logic level
CAUTION: The device does not contain any internal overcurrent protection facilities
on the relays’ contact lines.
External fuses or short circuit current limiting circuit breakers, rated to 3 Amps, are to
be used for overcurrent protection of the connecting lines.
• 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. Powering
TCW122B-CM is designed to be supplied by adapter SYS1421-0612-W2E or similar, intended for
use in the conditions of overvoltage category II, and priorly assessed for compliance with safety
requirements. The power supply equipment shall be resistant to short circuit and overload in the
secondary circuit.
When in use do not position the equipment so that it is difficult to disconnect the device from the
power supply.
5. LED indicators
The following indicators show the status of the controller:
• Relay1/Relay2 (green) – these LEDs are illuminated whenever the corresponding relay
is activated (the NO contact is closed and the NC contact is open);
• Sts (red) – flashes when the main program of the controller is executed;
• Log (yellow) – indicates that somebody is logged via the WEB interface;
• Net (green/red) – red when the device is linked, yellow when there is an activity.
If the network settings are correct, the “Login” page will appear.
The web-based interface allows configuration, monitoring, and control.
8.1. Login page
After opening 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.
The controller supports one active session – only one user can operate the device over the WEB
interface. If another user tries to log in, the message “Someone is logged in” appears:
The active session will stay open until the "Monitoring" page is open. Inactivity on other pages
or closing the browser without logoff will terminate the session automatically in 4 minutes.
8.2. Monitoring page
After successful authorization, the “Monitoring” page appears:
Digital inputs are sampled 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 parameters can be changed:
• IP configuration – IP Address can be static or dynamic (DHCP server should be present
in the network);
• IP address, Subnet mask, Default gateway – these fields are active if the IP address is
static;
• DNS – this field is mandatory if domain names are used instead of IP addresses. By
default DNS has the same IP address as Default gateway;
• Time Server and Time Zone – these fields are not mandatory, they are used when e-
mail must be sent;
• Host Name – up to 16 symbols, it appears as a “Subject” in sent e-mails;
• MAC – device MAC address.
The good practice is to change the default IP address of the controller immediately after first
power-on. This will avoid collisions if many devices are used in the same network. It may be
Username and password for WEB access to TCW122B-CM can 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 section.
XML/HTTP API section controls the access to XML file and HTTP commands. Detailed
information can be found in the chapter “XML and HTTP API commands”.
When the measured value goes out of range SNMP trap or e-mail (if enabled) will be sent.
Leaving range is considered when the parameter goes lower than MIN values or higher than
MAX. Coming back in the range is considered when the parameter goes higher than (MIN +
HYSTERESIS) or lower than (MAX – HYSTERESIS).
Following parameters 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 temperature is going higher.
When temperature reaches 19.5°C (19.0 + 0.5) it goes in range (trigger condition) and Relay1 is
deactivated. The heater is switched off.
The temperature falls and when it reached 19°C it goes out of range (trigger and alert
conditions). The relay is activated (heater is switched on) and e-mail is sent.
Relays can be activated automatically depends on the value of the monitored parameter
(humidity, temperature, analog voltage and changes on digital inputs) or manually. Only one
parameter can be assigned for relay activation, at the same time:
When manual activation is selected, “Pulse” and “ON/OFF” buttons on “Monitoring” page are
active. The duration of the pulse for relay activation can be set from 1 to 253 seconds.
By default, relay state changes via the WEB interface are memorized in non-volatile memory.
After the power on, the relay goes in its last state, before the power down.
If the “Save relay state after change via WEB” is No, after power on the relay is always OFF.
By default, relay state changes via the HTTP API aren’t saved and after power on the relay is
always OFF.
The guaranteed write cycles (every change saving doesn’t matter via HTTP API or WEB) are
100000.
For every sensor, analog input, digital input and relay description with a length of 11 characters
can be set.
Automatic monitoring page refresh interval can be set from 1 to 253 second.
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) }
If XML/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
enabled http://device.ip.address/status.xml?a= uuuu:pppp
disabled http://device.ip.address/status.xml
Where uuuu is username and pppp is password. Both parameters are unencrypted.
The following HTTP commands are supported:
Command Description
http://device.ip.address/status.xml?r1=1 Turn Relay 1 ON
http:// device.ip.address/status.xml?r1=0 Turn Relay 1 OFF
http://device.ip.address/status.xml?r2=1 Turn Relay 2 ON
http://device.ip.address/status.xml?r2=0 Turn Relay 2 OFF
http://device.ip.address/status.xml?tg1=1 Toggle Relay 1 state
http://device.ip.address/status.xml?pl1=1 Pulse Relay 1
http://device.ip.address/status.xml?r1=1&r2=1 Turn both relays ON
http://device.ip.address/status.xml?r1=0&r2=0 Turn both relays OFF
If XML/HTTP API authentication is enabled, basic access authentication is required to send HTTP
commands. The format of the commands is shown in the table below (user name=admin,
pass=admin):
XML/HTTP API authentication Format
enabled http://device.ip.address/ status.xml?a= admin:admin&r1=1
disabled http://device.ip.address/status.xml?r1=1
• After the firmware update is completed, you will be forwarded to the device Login
page.
Attention! Don’t turn off the power supply during the update. Turning 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 settings, following the steps below:
• Turn off the power supply;
• Press and hold the RESET button then turn on the power supply;
• After turning the power supply release the RESET button. The LED’s STS and LOG will
flash 14 times after that only the STS LED will continue to blink. The controller is
restored to its default settings.
Fig.1
Fig.2