background image

 
 

DGW-521 

User Manual

 

 

Warranty 

All products manufactured by ICP DAS are under 

warranty regarding defective materials for a period of one year 
from the date of delivery to the original purchaser. 

 

Warning 

ICP DAS assumes no liability for damages resulting from 

the use of this product.  ICP DAS reserves the right to change 
this manual at any time without notification.  The information 
furnished by ICP DAS is believed to be accurate and reliable.  
However, no responsibility is assumed by ICP DAS for its use, 
or for any infringements of patents or other rights of third 
parties resulting from its use. 

 

Copyright 

Copyright 2014 ICP DAS.  All rights reserved. 
 

Trademark 

The names used for identification only may be registered 

trademarks of their respective companies. 
 
 

  Date: 2014/9/15 

DGW-521 User Manual, Rev. A1.0                                      

1

ГК

 

Атлант

 

Инжиниринг

 – 

официальный

 

представитель

 

в

 

РФ

 

и

 

СНГ

 

+7(495)109-02-08 [email protected] www.bbrc.ru 

Summary of Contents for DGW-521

Page 1: ...s manual at any time without notification The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringeme...

Page 2: ...on the DALI bus 15 1 9 2 Allocate address to DALI device 15 1 9 3 Change address of a DALI device 16 1 9 4 Send DALI command 16 1 10 Configuration Tables 18 1 11 Protocol Switching 20 1 12 Technical S...

Page 3: ...uitable for DALI lighting systems covering small areas The maximum length of the DALI signal cables cannot exceed 300 m The features of the DGW 521 are as follows 1 Conversion between RS 485 RS 232 US...

Page 4: ...f INIT mode operation please refer to Section A 1 INIT Mode For details of module watchdog and host watchdog please refer to Section A 2 Dual Watchdog Operation DGW 521 User Manual Rev A1 0 4 7 495 10...

Page 5: ...1 2 Terminal Assignment DGW 521 User Manual Rev A1 0 5 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 6: ...on Speed 12M bps Specification USB 1 1 and USB 2 0 standard compatible OS Support Windows XP 32 64 bit Windows 7 32 64 bit USB Protocol DCON and Modbus RTU via virtual COM port LED Indicators Round LE...

Page 7: ...94 V0 Level Dimensions L x W x H 107 mm x 72 mm x 57 mm Installation DIN Rail Mounting Environment Operating Temperature 25 C 75 C Storage Temperature 30 C 80 C Humidity 10 95 RH Non condensing DGW 52...

Page 8: ...1 4 Dimensions DGW 521 User Manual Rev A1 0 8 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 9: ...d For DGW 521 the RS 485 terminals are shared with the RS 232 terminals The functionality of the terminals is set using the JP4 jumper The position of the JP4 jumper is shown in the figure below DGW 5...

Page 10: ...the JP4 jumper are as follows The terminals are used for RS 485 communication factory default The terminals are used for RS 232 communication DGW 521 User Manual Rev A1 0 10 7 495 109 02 08 sales bbr...

Page 11: ...1 6 Quick Start Please refer to the Quick Start for DGW 521 DGW 521 User Manual Rev A1 0 11 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 12: ...1 7 Default Settings Default settings for the DGW 521 are as follows Protocol Modbus RTU Module Address 01 Baud Rate 9600 bps DGW 521 User Manual Rev A1 0 12 7 495 109 02 08 sales bbrc ru www bbrc ru...

Page 13: ...shows the message Found New Hardware Wizard screen prompting you to install the driver for the detected USB Device Please select No not this time option and click Next button 3 Select install from a...

Page 14: ...Device Manager button Double click on Ports COM LPT item If the device driver was correctly installed you can find the ICPDAS DGW 521 USB2DALI device listing and the Virtual COM Port number that Windo...

Page 15: ...ollowing command to get the status of the previous command until the status is 0 finished DCON AADF Modbus RTU Read register 00259 Get the presence map of the DALI devices on the DALI bus A bit is set...

Page 16: ...changing address send the following command When it is finished the status data is one DCON AADR Modbus RTU Read register 40321 1 9 4 Send DALI command The DGW 521 can accept 8 DALI commands and the c...

Page 17: ...ower 1 the data byte specifies the command To get the status of the DALI command execution send the following command A bit is set to one when the corresponding DALI command is finished DCON AADE Modb...

Page 18: ...4800 06 9600 07 19200 08 38400 09 57600 0A 115200 Data Data Format 0 eight data bits no parity and one stop bit 1 eight data bits no parity and two stop bit 2 eight data bits even parity and one stop...

Page 19: ...tting FF 7 6 5 4 3 2 1 0 RS CS RS Key Description CS Checksum setting 0 Disabled 1 Enabled RS Reserved Note The reserved bits should be zero DGW 521 User Manual Rev A1 0 19 7 495 109 02 08 sales bbrc...

Page 20: ...switch to the Modbus RTU protocol 1 Sends the AAPN command and set N to a value of 1 Note that for the DGW 521 the INIT switch of the module should be set to the INIT position see the figure shown be...

Page 21: ...2 and 3 1 for information regarding the command used to identify the firmware version 3 Host configuration type and operating system 4 If the problem is reproducible please give full details describi...

Page 22: ...s contain the ID address meaning that only the addressed module will respond The only exception to this is command which is sent to all modules but in these cases the modules do not reply to the comma...

Page 23: ...0 1 2 24h 30h 31h 32h B7h 2 Therefore the checksum is B7h and so CHKSUM B7 3 The command string with the checksum 012B7 CR Response string 01200600 CR 1 Sum of the string 0 1 2 0 0 6 0 0 21h 30h 31h 3...

Page 24: ...I command i command index 0 7 dd command address in hex cc command data in hex AADE AAhh Gets the execution status of the DALI commands hh in hex each bit for each command and the value is 1 for comma...

Page 25: ...no changing of DALI address 1 changing DALI address OK 2 busy in changing DALI address 3 invalid old address 4 invalid new address AADRoonn AA Changes the address of DALI device oo is the old address...

Page 26: ...se Host OK AA0 AASS Reads the Host Watchdog Status AA1 AA Resets the Host Watchdog Status AA2 AAETT Reads the Host Watchdog Timeout Settings AA3ETT AA Sets the Host Watchdog Timeout Settings DGW 521 U...

Page 27: ...rmation can be found at http www modicon com techpubs toc7 html You can also visit http www modbus org to find more valuable information The DGW 521 module supports the Modbus RTU protocol The communi...

Page 28: ...and response of DALI Command 3 1 R 30004 Status and response of DALI Command 4 1 R 30005 Status and response of DALI Command 5 1 R 30006 Status and response of DALI Command 6 1 R 30007 Status and resp...

Page 29: ...means the slave is present R 40321 Change or remove DALI slave address Low byte old address High byte 0 63 new address set to 255 to remove the address Response 1 busy in changing slave address 0 fin...

Page 30: ...40488 Modbus response delay time in ms valid range 0 30 R W 40489 Host watchdog timeout value 0 255 in 0 1s R W 40492 Host watchdog timeout count write 0 to clear R W Notes 1 Format of the response a...

Page 31: ...ess Bit 0 0 the low byte is direct lamp power value 1 the low byte is command code Bit 1 6 short address when bit 7 is 0 Bit 1 4 group address when bit 7 is 1 Bit 1 7 all set to 1 for broadcast comman...

Page 32: ...521 module here are some suggestions that may help If you cannot find the answers you need in these guides contact ICP DAS Product Support Contact information is located in Section 1 12 DGW 521 User...

Page 33: ...e use another device to check whether the host can communicate with the device through the same RS 485 network If the host is a PC installed with a Windows operating system then execute the DCON Utili...

Page 34: ...oblem the DGW 521 has a special mode called INIT mode When the module is powered on in INIT mode the configuration of the module is reset as follows allowing it to be operated as normal 1 Address 00 2...

Page 35: ...n the bottom side of the module allow easier access to INIT mode For these modules INIT mode is accessed by sliding the INIT switch to the INIT position as shown below DGW 521 User Manual Rev A1 0 35...

Page 36: ...disruption The Host Watchdog is a software function that monitors the operating status of the host Its purpose is to prevent problems due to network communication errors or host malfunctions When a h...

Reviews: