Page 2
Ethernet I/O module TCW241 1. Introduction The TCW241 is an Ethernet I/O module designed for applications in factory automation and distributed process control. It features 4 digital inputs, 4 analog inputs, and 4 relays with both normally open (NO) and normally closed (NC) contacts.
It is ideal for use in industrial and building automation, data acquisition systems, and general remote control and monitoring tasks. TCW241 can function as a standalone device controlled via a web browser or as part of small to medium- sized SCADA (Supervisory Control and Data Acquisition) systems for industrial control.
STS (yellow) – Flashes to indicate that the controller's main program is running; • NET (orange) – Indicates network status; remains ON when a network link is established, and blinks to show network activity. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 4...
6.1. Mounting TCW241 must be installed in a clean, dry, and non-flammable location. Ventilation is recommended for high ambient temperature environments. To mount the device, use two plastic dowels (e.g. Würth GmbH 0912 802 002) and two dowel screws (e.g.
II and certified for safety compliance. The power supply device should be able to withstand short circuits and secondary circuit overloads. Ensure the equipment is easily accessible for disconnecting from the power supply during use. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 6...
PIR detectors. The diagram below demonstrates how to connect a dry contact switch to the TCW241 input. One side of the contact is connected to the "Digital In" terminal, while the other side is connected to the "GND"...
6.2.4. Sensor connection The TCW241 supports the connection of up to eight 1-Wire sensors. Compatible sensors include those for temperature, temperature/humidity, CO2, DC current, AC current, 4/20mA signals, galvanically isolated analog voltage, barometric pressure, and more. Connected sensors are automatically detected, and the appropriate measurement units are assigned.
This can lead to wear and reduced relay lifespan. To mitigate this, it is recommended to use relay contact protection devices when switching inductive loads. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 9...
6.2.6. Network connection The Ethernet port of the TCW241 should be connected to a 10/100 Base-T Ethernet hub, switch, or router. For configuration purposes, the TCW241 can be directly connected to the Ethernet port of a computer. The device supports Auto-MDIX, so either a standard "straight-through" cable or a "crossover"...
Page 11
The temporary IP address should be on the same network; for example, you can use 192.168.1.3: To access the web interface, enter http://192.168.1.2 into your browser's address bar. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 11...
The controller supports multiple active sessions simultaneously. 7.1. Monitoring page The Monitoring page displays the current status of the TCW241. It consists of four sections: “Sensors”, “Digital Inputs”, “Analog Inputs”, and “Relays.” Each section can be independently added or removed from the Monitoring page through the appropriate settings found in the “Setup-System-Display”...
Page 13
Analog inputs can be utilized to monitor analog outputs within a voltage range of 0 to 60 volts. For each analog input, three variables can be configured in the “Setup -> Input/Output” section: “Unit”, “Multiplier”, and “Offset”. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 13...
Public DNS servers (such as 8.8.8.8 or 8.8.4.4) can be used instead of the default gateway. 7.2.2. SMTP This page allows you to input the valid SMTP settings for email alerts and specify the recipients' addresses. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 14...
Page 15
For secure communication with mail servers, the Transport Layer Security (TLS) protocol is employed. The TCW241 supports TLS versions 1.0, 1.1, and 1.2, using RSA for key exchange, agreement, and authentication. This ensures compatibility with nearly all public servers.
SV[Un] = (RV - OF) * MU Where: SV – scaled (displayed) value; Un – unit; RV – raw voltage from the source; MU – multiplier; OF – offset. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 16...
Page 17
By default, and following the “Factory Default Settings” procedure, the settings are as follows: Unit Offset - 0.00 Multiplier - 1.00 TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 17...
“Digital input z” - The relay follows the state of the specified digital input, where “z” is a number from 1 to 4; • Any alarm - The relay activates based on any of the defined alarm conditions. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 18...
Page 19
Returning to the operational range is recognized when the value exceeds (Min + Hys) or falls below (Max – Hys). The hysteresis (“Hys”) is implemented to minimize unnecessary triggering caused by fluctuations around the trigger points. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 19...
Page 20
Example: In this scenario, a TCW241 controller, a TST100 sensor, and an appropriate heater are used to manage room temperature. The desired minimum temperature is set at 19°C, while the initial temperature is 17°C. The TST100 sensor is assigned as the first 1-Wire sensor.
Page 21
Additionally, a “Notification delay” parameter is available globally for all digital inputs, which serves as a filter for short alarm conditions. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 21...
Page 22
The refresh interval for the monitoring page can be configured to range from 0 to 253 seconds. A setting of zero indicates that automatic refresh is disabled. TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 22...
A table containing the register addresses can be found in section 8.3, titled "Modbus TCP/IP”. 7.3.2. SNMP The TCW241 supports SNMP V2, allowing the device to integrate into monitoring and control systems using the SNMP protocol. This section allows you to configure all necessary parameters for the proper operation of SNMP.
Page 24
The current MIB file can be downloaded from here. 7.3.3. HTTP POST TCW241 can periodically upload a file to a designated server using HTTP or HTTPS POST. The HTTPS connection utilizes TLS 1.0, TLS 1.1, and TLS 1.2 for secure key exchange and authentication via RSA.
Page 25
7.3.4. Schedule The TCW241 supports four distinct schedules, each capable of accommodating up to four different tasks. These schedules are particularly useful for tasks that need to vary based on calendar dates. For instance, it is possible to combine two relays to control a single device—one relay can track a monitored parameter, while the other follows the predefined schedule, allowing for more complex control arrangements.
For all functions, there are two global parameters: “Notification delay” and “Return notification”. 7.3.6. Dynamic DNS With dynamic DNS, the TCW241 can be accessed from the public Internet without the need for a broadband account with a static IP address.
Page 27
SNMP to the manager. The TCW241 can be configured and monitored using SNMP. This can be achieved with any SNMP v.2 compatible program. The parameters that can be modified are organized by function in the tables below.
Page 28
S62 maximum value x1000 in Integer format Integer32 x.3.2.2.1.6.3.2.0 S62MINInt read-write S62 minimum value x1000 in Integer format Integer32 x.3.2.2.1.6.3.3.0 S62HYSTInt read-write S62 hysteresis value x1000 in Integer format Integer32 TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 28...
Page 29
Digital Input 2 description DisplayString x.3.2.2.3.3.0 digitalInput3description read-write Digital Input 3 description DisplayString x.3.2.2.3.4.0 digitalInput3description read-write Digital Input 4 description DisplayString TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 29...
Page 30
INTEGER { manual(0),sensor11(1), sensor21(2),sensor31(3 ),sensor41(4),sensor51( 5),sensor61(6),sensor7 1(7),sensor81(8),sensor 12(9),sensor22(10),sens or32(11),sensor42(12),s ensor52(13),sensor62(1 4),sensor72(15),sensor 82(16),analog1(17),anal og2(18),analog3(19),an alog4(20),digital1(21),di gital2(22),digital3(23),di gital4(24),anyAlarm(25) ,anySensor(26),anyAnal og(27),anyDigital(28),fu nc1(29), func2(30), shedule1(31),shedule2( 32),shedule3(33),shedu le4(34) } TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 30...
Page 31
INTEGER { manual(0),sensor11(1), sensor21(2),sensor31(3 ),sensor41(4),sensor51( 5),sensor61(6),sensor7 1(7),sensor81(8),sensor 12(9),sensor22(10),sens or32(11),sensor42(12),s ensor52(13),sensor62(1 4),sensor72(15),sensor 82(16),analog1(17),anal og2(18),analog3(19),an alog4(20),digital1(21),di gital2(22),digital3(23),di gital4(24),anyAlarm(25) ,anySensor(26),anyAnal og(27),anyDigital(28),fu nc1(29), func2(30), shedule1(31),shedule2( 32),shedule3(33),shedu le4(34) } TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 31...
Page 32
Virtual input 3 hysteresis Integer32 INTEGER{ none(0),sensor11(1),se nsor21(2),sensor31(3),s ensor41(4),sensor51(5), sensor61(6),sensor71(7 ),sensor81(8),sensor12( 9),sensor22(10),sensor x.3.2.2.5.3.5.0 virtualInput3Parent read-write Virtual input 3 parent 32(11),sensor42(12),se nsor52(13),sensor62(14 ),sensor72(15),sensor8 2(16),analog1(17),analo g2(18),analog3(19),anal og4(20) TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 32...
Page 33
S61 value x1000 in Integer format Integer32 x.3.3.1.6.2.0 s62Int read-only S62 value x1000 in Integer format Integer32 OCTET STRING (SIZE x.3.3.1.6.3.0 s6ID read-only S6 ID value (16)) TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 33...
Page 34
-> relays -> relay4 Name Access Description Syntax x.3.3.4.4.1.0 relay4State read-write Relay4 State INTEGER {off(0), on(1)} x.3.3.4.4.2.0 relay4pulse read-write Relay4 pulse length INTEGER {off(0), on(1)} TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 34...
Page 35
Virtual input 2 x1000 in Integer format Integer32 x.3.3.11.3.0 virtualInput3Int read-only Virtual input 3 x1000 in Integer format Integer32 x.3.3.11.4.0 virtualInput4Int read-only Virtual input 4 x1000 in Integer format Integer32 TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 35...
Page 36
8.2. HTTP API 8.2.1. HTTP POST The TCW241 can execute HTTP/HTTPS POST requests to upload XML or JSON files to a dedicated server. This functionality is particularly useful when the controller is situated behind a router without a public IP address or when the user lacks access to the router's configuration. It is important to note that the server should possess a public IP address.
Page 37
8.2.5 JSON file structure. HTTP GET requests can be sent at any time to the TCW241 if it is on the same network or has appropriate routing. If there is no direct access to the device, an HTTP GET can be sent immediately after receiving an HTTP POST from the same device.
Page 38
Low to high delay for digital input 4 (xxxx is between 0 and 3600) ddd4=xxxx High to low delay for digital input 4 TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 38...
Page 39
– will set POST period to 120 seconds and save it Terminate session. (It works with HTTP/HTTPS POST, but not with HTTP GET) TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 39...
Page 40
</item2> </S2> <S3> <description>S3</description> <id>0000000000000000</id> <item1> <value>---</value> <unit>---</unit> <alarm>0</alarm> <min>---</min> <max>---</max> <hys>---</hys> </item1> <item2> <value>---</value> <unit>---</unit> <alarm>0</alarm> <min>---</min> <max>---</max> <hys>---</hys> </item2> </S3> <S4> <description>S4</description> TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 40...
Page 41
<min>---</min> <max>---</max> <hys>---</hys> </item2> </S6> <S7> <description>S7</description> <id>0000000000000000</id> <item1> <value>---</value> <unit>---</unit> <alarm>0</alarm> <min>---</min> <max>---</max> <hys>---</hys> </item1> <item2> <value>---</value> <unit>---</unit> <alarm>0</alarm> <min>---</min> <max>---</max> <hys>---</hys> </item2> TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 41...
Page 42
<description>Analog Input 4</description> <value>0.047</value> <unit>V</unit> <multiplier>1.000</multiplier> <offset>0.0000</offset> <alarm>0</alarm> <min>0.000</min> <max>60.000</max> <hys>1.000</hys> </AI4> </AI> <VI> <VI1> <description>Virtual Input 1</description> <value>24.313</value> <unit>°C</unit> <multiplier>1.000</multiplier> <offset>0.0000</offset> <alarm>1</alarm> <min>-5.000</min> TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 42...
Page 43
<alarm>0</alarm> </DI3> <DI4> <description>Digital Input 4</description> <value>OPEN</value> <valuebin>1</valuebin> <alarmState>CLOSED</alarmState> <alarm>0</alarm> </DI4> </DI> <R> <R1> <description>Relay 1</description> <value>OFF</value> <valuebin>0</valuebin> <pulseWidth>0.1</pulseWidth> <control>0</control> </R1> <R2> <description>Relay 2</description> TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 43...
Page 44
"max": "85.000", "hys": "8.500" "item2": { "value": "---", "unit": "---", "alarm": "0", "min": "---", "max": "---", "hys": "---" "S2": { "description": "S2:TSH2xx", "id": "015225B71700FF45", TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 44...
Page 45
"unit": "---", "alarm": "0", "min": "---", "max": "---", "hys": "---" "item2": { "value": "---", "unit": "---", "alarm": "0", "min": "---", "max": "---", "hys": "---" TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 45...
Page 46
"unit": "%RH", "multiplier": "31.740", "offset": "0.8260", "alarm": "1", "min": "0.000", "max": "10.000", "hys": "0.010" "AI2": { "description": "Analog Input 2", "value": "0.036", "unit": "V", TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 46...
Page 47
"VI4": { "description": "Virtual Input 4", "value": "0.036", "unit": "V", "multiplier": "1.000", "offset": "0.0000", "alarm": "0", "min": "0.000", "max": "30.000", "hys": "0.100" "DI": { TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 47...
Page 48
"valuebin": "0", "pulseWidth": "0.4", "control": "0" "HTTPPush": { "Key": "", "PushPeriod": "300" "hwerr": "", "Alarmed": "1", "Scannig": "", "Time": { "Date": "11.10.2023", "Time": "13:32:55" TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 48...
Page 49
02 0064 0001 02: The Function Code 2 (read Input Status) 0064: The Data Address of the input to read ( 0064 hex = 100 ) TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 49...
All exceptions are signaled by adding 0x80 to the function code of the request, and following this byte by a single reason byte for example as follows: TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 50...
Relay 1 activated from 03,06,16 15300 16-bit unsign int 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), anySensor(26), TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 51...
Page 52
17402 Analog input 2 hysteresis 03,16 32-bit Float 17404 Analog input 3 hysteresis 03,16 32-bit Float 17406 Analog input 4 hysteresis 03,16 32-bit Float TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 52...
Page 53
19226 Sensor 7, S72 max 03,16 32-bit Float 19228 Sensor 8, S81 max 03,16 32-bit Float 19230 Sensor 8, S82 max 03,16 32-bit Float TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 53...
Page 54
19520 Sensor 6, S61 multiplier 03,16 32-bit Float 19522 Sensor 6, S62 multiplier 03,16 32-bit Float 19524 Sensor 7, S71 multiplier 03,16 32-bit Float TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 54...
Page 55
Sensor 8, S81 value 32-bit Float 19830 Sensor 8, S82 value 32-bit Float normal (0), alarm (1) 20000 Sensor 1, S11 alarm status 16-bit unsign int TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 55...
Page 56
16-bit unsign int Example: Device ID 50100 18 bytes UTF-8 5c:32:c5:00:ac:52 Hostname 50200 16 bytes UTF-8 Example: Device IP 50300 16 bytes UTF-8 192.168.1.2 TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 56...
9. Factory default settings The TCW241 can be restored to its original factory default settings in three different ways. 9.1. Factory default from the WEB interface Pressing the “Factory default” button in the Administration -> Backup/Restore section will reset all parameters to their factory defaults, except for network settings.
Ensure that there is sufficient space for attaching and removing cables after installation. Teracom does not guarantee the successful operation of the product if it is used under conditions that deviate from the product specifications.
Page 59
Appendix A Fig.1 Fig.2 TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 59...
Page 60
TCW241 User manual | Revision R4.28, October 2024 | Applicable for V2.006 or later Page 60...
Need help?
Do you have a question about the TCW241 and is the answer not in the manual?
Questions and answers