3,830 bytes added
, 11:31, 11 August 2021
{{RevisionChanger | hasA = 1 | hasC = 1}}
{{Infobox module
| name = DW-RS232.C
| image = DW-RS232C.png
| UART = 1
| dts = 1200-115200 b/s
| voltage = 11.5...27.5 V DC
| dim = 2U, 36x97x58 mm
}}
==SERIAL INTERFACE ADAPTER==
This module is designed for interface adjustment between the devices which have the UART interface (TTL levels) and the Smart Home system.
<div class="caution">
CAUTION! All work related to the installation, connection, setting up, service and support must be carried out by qualified personnel with sufficient skills and experience in working with electrical equipment.
To avoid the risk of fire, electric shock, damage to the system and/or personal injury, the system installation and assembly must be performed in accordance with the instructions listed below:
*all connectivity work must be carried out with the power turned OFF;
*use appropriate tools and personal protection against electric shock;
*do not use damaged cables, wires and connectors;
*avoid folding the cables and wires;
*do not apply excessive force to the wires by kinking or pressing them too hard: the inner conductors of the cables and wires may get stripped or damaged;
*do not use the power socket with poor contacts to connect;
*do not exceed the load limit parameters specified in the manual;
*the supply conductors wire section is subject to the specifications for current density limit, insulation type and wire material. Light section can result in cable overheating and fire.
When the power is on, NEVER:
*connect/disconnect the connectors;
*open modules and sensors.
</div>
==Overview==
[[File:UARTA VIEW.jpg|300px]]
==Module dimensions==
[[File:UARTA DIM.png|500px]]
==Example of connection==
[[File:UARTA EXA.jpg|300px]]
==Module parameters==
{{ Mp
| uartqty = 1
| dts = 1200-115200 b/s
| power = 11.5 … 27.5 V DC from CAN
| maxcur24v = 40 mA
| bustype = CAN (4-wire)
| instalation = DIN-rail (EN 60715)
| case = ABS
| protection = IP40
| temprange = -10 … +50 °C
| size = 2U, 36x97x58 mm
| weight = 130g
}}
==Indication of module operation==
{{indicationold}}
==Module installation and connection procedure==
#Install the module in the switchboard on the DIN rail and fix it with the special latch on the module base.
#Connect the X1 connector.
#Connect the CAN connector.
#Configure the module using LT setup.
#Check all equipment for proper operation.
==Module shut-off and deinstallation procedure==
#Disconnect the CAN connector.
#Disconnect the X1 connector.
#Remove the module from the DIN rail, releasing the latch at the bottom of the module base.
==HW settings==
{|class="wikitable"
|-
!Name!!Type, range!!SUBID!!Default!!Description
|-
|cfg||string||98||9600/8N1||cfg='SPEED/BPS', where
*SPEED – baud rate [1200..115200];
*B – data length [7,8];
*P – presence and type of parity bit [N(No parity),E(Even parity),O(Odd parity)];
*S – stop bit length [1, 1.5 or 2].
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1'"
</syntaxhighlight>
|-
|[Protocol]||string||98||—||Protocol setting is described by protocol parameter. The following
protocols are supported:
*'modbus', Modbus protocol, at the end of redirection the checksum CRC16(Modbus) is added;
*'dmx', DMX protocol;
*'CO2' for connecting Larnitech CO2 sensors;
*'salda' for connecting Salda ventilation.
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' modbus"
</syntaxhighlight>
|-
|echo||on; off||98||'off'||For settings check out and testing echo parameter can be used. Module
echo-reply can be turned on or off with the help of this parameter.Echo parameter value:
*'off'
*'on'
Example:
<syntaxhighlight lang="xml" line>
hw="cfg='9600/8N1' echo='off'"
</syntaxhighlight>
|}