Difference between revisions of "DW-RS232"

From Larnitech wiki page
Jump to navigation Jump to search
Line 66: Line 66:
 
|err1      = 1
 
|err1      = 1
 
|err2      = 1
 
|err2      = 1
|err2txt   = Lost connection to AC
+
|err2text   = Lost connection to AC
 
|err5      = 1
 
|err5      = 1
 
|canact    = 1
 
|canact    = 1

Revision as of 08:19, 11 August 2021

Revision:
/B
/C


DW-RS232.C
DW-RS232C.png
Interface
Number of RS232 ports1
Data transfer speed1200-115200 b/s
Other
Supply voltage11.5...27.5 V DC
Dimentions2U, 36x97x58 mm


RS232 INTERFACE ADAPTER

This module is designed for interface adjustment between the devices which have the RS232 interface and the Smart Home system.

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.

Overview

RS232C VIEW.png

Module dimensions

RS232C DIM.png

Example of connection

RS232C EXA.png

Module parameters

Parameter name Value
Input channels qty
Input/output channels qty
0-10 input port quantity
Buttons
LED Buttons
Number of sensor inputs
Number of dry contact inputs
RS485 ports qty
RS232 ports qty 1
UART ports qty
M-BUS port quantity
Pulse inputs quantity
DALI ports qty
DALI-line voltage supply
Peak current of DALI-line power supply
Peak current in DALI-line
Maximum DALI devices quantity
Dimming channels qty
Output channels qty
0-10 output port quantity
Analog output channels qty
Output
Digital line maximum length
Discrete input channels qty
Digital input channels qty
Speakers
Max power output audio channel
Camera
IR lighting
Card reader
Connection type
Protocols
Backlight voltage
Load type
Dimmer load type
Supported sensors
Input voltage
Current type
Adjustment type
Max load
Min load
Max load per channel
Max load per group
Max load per device
Control parameters
Angle of vision IR °
Angle of motion °
Temperature measuring range °C
Humidity measuring range
Dimmer type
Dimming type
Voltage that may be applied to the input channels
Max output switching voltage
Max output switching current
Power supply 11.5 … 27.5 V DC from CAN
Max current(24V) 40 mA
Max current(13V)
Max detection distance
Max IR distance
Max BT distance
Max current
Relay
Data transfer speed 1200-115200 b/s
Permissible section of power supply cable to connect in socket:
Sensors VCC output
Sensors max VCC current
R1-R2 inputs max current
Push-button/reed switches line recommended length
Temperature sensor line max length
Sensor cable length
Sensors line max length
Bus type CAN (4-wire)
Compatible with
Output voltage
Output current
Equipment installation type DIN rail (EN 60715)
Mounting
Max cabel lenght
Case material ABS
Protection IP40
Temperature range -10 … +50 °C
Size 2U, 36x97x58 mm
Weight 130g
* -
** -
*** -
1 -
2 -
3 -


Indication of module operation

Bootloader

Indicator Status Description
Top.png
Yl.png Device in bootloader
Bot.png
B.pngB.png Downloading firmware
R.pngR.png Flashing firmware

Firmware

Indicator Status Description
Top.png
G.pngG.pngG.pngDots.png Network configuration
B.pngB.pngB.pngDots.png Identification
Gl.png Operational mode
Yl.png Operational mode
Bot.png

Error
R.png Lost connection to server
R.pngR.png Lost connection to AC
R.pngR.pngR.png Overload
R.pngR.pngR.pngR.png No AC power
R.pngR.pngR.pngR.pngR.png RTC error
Bot.png

Activity
Y.png Transmitting data
Bg.png Receiving data
M.png RS-485 activity
B.png Ethernet activity


Module installation and connection procedure

  1. Install the module in the switchboard on the DIN rail and fix it with the special latch on the module base.
  2. Connect the X1 connector.
  3. Connect the CAN connector.
  4. Configure the module using LT setup.
  5. Check all equipment for proper operation.

Module shut-off and deinstallation procedure

  1. Disconnect the CAN connector.
  2. Disconnect the X1 connector.
  3. Remove the module from the DIN rail, releasing the latch at the bottom of the module base.

HW settings

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:

1hw="cfg='9600/8N1'"
[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:

1hw="cfg='9600/8N1' modbus"
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:

1hw="cfg='9600/8N1' echo='off'"