User Manual for SmartGen models including: DOUT16B-2, DOUT16B-2 Digital Output Module, Digital Output Module, Output Module, Module
SmartGen DOUT16B-2 16 channels digital output module,RS485. Digital Output Modules.Technical Parameters: Working Voltage DC8.0V~ DC35.0V continuous power supply Power Consumption
File Info : application/pdf, 13 Pages, 841.56KB
DocumentDocumentDOUT16B-2 DIGITAL OUTPUT MODULE USER MANUAL SMARTGEN (ZHENGZHOU) TECHNOLOGY CO., LTD. Chinese trademark English trademark SmartGen -- make your generator smart SmartGen Technology Co., Ltd. No.28 Jinsuo Road Zhengzhou P. R. China Tel: +86-371-67988888/67981888/67992951 +86-371-67981000(overseas) Fax: +86-371-67992952 Web: http://www.smartgen.com.cn http://www.smartgen.cn Email: sales@smartgen.cn All rights reserved. No part of this publication may be reproduced in any material form (including photocopying or storing in any medium by electronic means or other) without the written permission of the copyright holder. Applications for the copyright holder's written permission to reproduce any part of this publication should be addressed to Smartgen Technology at the address above. Any reference to trademarked product names used within this publication is owned by their respective companies. SmartGen Technology reserves the right to change the contents of this document without prior notice. Table 1 Software Version Date Version Note 2020-10-16 1.0 Original Release 2020-12-15 1.1 Replaced the panel drawing. DOUT16B-2 Digital Output Module User Manual Page 2 of 13 CONTENTS 1 OVERVIEW .....................................................................................................................................4 2 TECHNICAL PARAMETERS ..........................................................................................................4 3 MODULE ADDRESS ......................................................................................................................5 4 TERMINAL DIAGRAM ....................................................................................................................6 5 COMMUNICATION CONFIGURATION AND MODBUS COMMUNICATION PROTOCOL...........8 5.1. RS485 COMMUNICATION PORT........................................................................................8 5.2. INFORMATION FRAME FORMAT EXAMPLE .....................................................................8 5.2.1. FUNCTION CODE 01H .............................................................................................. 8 5.2.2. FUNCTION CODE 03H .............................................................................................. 9 5.2.3. FUNCTION CODE 05H ............................................................................................ 10 5.2.4. FUNCTION CODE 06H .............................................................................................11 5.3. CORRESPONDING ADDRESS TO FUNCTION CODE ....................................................12 6 INSTALLATION .............................................................................................................................13 DOUT16B-2 Digital Output Module User Manual Page 3 of 13 1 OVERVIEW DOUT16B-2 Digital Output Module is an expansion module which has 16 auxiliary digital output channels. Expansion module status is transmitted to DOUT16B-2 by main control board via RS485. 2 TECHNICAL PARAMETERS Items Working Voltage Power Consumption Aux. relay output port 1-16 Case Dimension Installation Way Working Conditions Storage Conditions Weight Table 2 Technical Parameters Contents DC8.0V~ DC35.0V continuous power supply <6W 10A relay for output port 1~4, 7~14. 16A relay for output port 5~6, 15~16. 161.6mm x 89.7mm x 60.7mm 35mm guide-rail installation or screw installation Temperature: (-25~+70) Humidity: (20~93)%RH Temperature: (-30~+80) 0.4kg DOUT16B-2 Digital Output Module User Manual Page 4 of 13 3 Module Address This is a 4-bit in-line DIP switch with 16 coding status, namely 16 module addresses (from 100 to 115). When it is turned to ON, the status is 1. The module address formula is Module Address=1A+2B+4C+8D+100. For example, when ABCD is 0000, the module address is 100. When ABCD is 1000, the module address is 101. When ABCD is 0100, the module address is 102. Similarly, when ABCD is 1111, the module address is 115. The corresponding module addresses of DIP switch A B 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 1 1 1 are as follows. Table 3 Module Addresses C D Module Addresses 0 0 100 0 0 101 0 0 102 0 0 103 1 0 104 1 0 105 1 0 106 1 0 107 0 1 108 0 1 109 0 1 110 0 1 111 1 1 112 1 1 113 1 1 114 1 1 115 DOUT16B-2 Digital Output Module User Manual Page 5 of 13 4 TERMINAL DIAGRAM No. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. Fig.1 DOUT16B-2 Panel Diagram Table 4 Description of Rear Panel Terminal Connection Name Description Cable Size Remarks B- DC power supply 1.5mm2 DC power supply negative negative input input. B+ DC power supply 1.5mm2 DC power supply positive positive input input. 120 RS485 Twisted shielded line is used. RS485B (-) communication port If the terminal needs to match 0.5 mm2 120 resistance, terminal 3 RS485A (+) and 4 need to be short circuited. Volt free relay N/O Aux. output port 1 1.5 mm2 output Capacity 250VAC/10A. Volt free relay N/O Aux. output port 2 1.5mm2 output Capacity 250VAC/10A. Volt free relay N/O Aux. output port 3 1.5mm2 output Volt free relay N/O Aux. output port 4 1.5mm2 output Capacity 250VAC/10A. N/C Aux. output port 5 N/O 2.5mm2 Capacity 250VAC/16A. Common N/C Aux. output port 6 N/O 2.5mm2 Capacity 250VAC/16A. Common DOUT16B-2 Digital Output Module User Manual Page 6 of 13 No. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. POWER Module Address Name Description Cable Size Volt free relay N/O Aux. output port 7 1.5mm2 output Volt free relay N/O Aux. output port 8 1.5mm2 output Volt free relay N/O Aux. output port 9 1.5mm2 output Volt free relay N/O Aux. output port 10 1.5mm2 output Volt free relay N/O Aux. output port 11 1.5mm2 output Volt free relay N/O Aux. output port 12 1.5mm2 output Volt free relay N/O Aux. output port 13 1.5mm2 output Volt free relay N/O Aux. output port 14 1.5mm2 output Common Aux. output port 15 N/O 2.5mm2 N/C Common Aux. output port 16 N/O 2.5mm2 N/C Power indicator Module address Remarks Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/10A. Capacity 250VAC/16A. Capacity 250VAC/16A. Light when power supply is normal, distinguish when abnormal. Select module address by DIP switch. DOUT16B-2 Digital Output Module User Manual Page 7 of 13 5 COMMUNICATION CONFIGURATION AND MODBUS COMMUNICATION PROTOCOL 5.1. RS485 COMMUNICATION PORT DOUT16B-2 is an expansion output module with RS485 communication port, which follows Modbus-RTU communication protocol. Communication Parameters Module Address 100(range 100-115) Baud Rate 9600bps Data Bit 8-bit Parity Bit None Stop Bit 2-bit 5.2. INFORMATION FRAME FORMAT EXAMPLE 5.2.1. FUNCTION CODE 01H Slave address is 64H (decimal 100), read 10H (decimal 16 ) status of starting address 64H (decimal 100). Table 5 Function Code 01H Master Request Example Request Bytes Example (Hex) Slave address 1 64 Send to slave 100 Function code 1 01 Read status Starting address 2 00 Starting address is 100 64 Count number 2 00 Read 16 status 10 CRC code 75 CRC code which calculated by master 2 EC Table 6 Function Code 01H Slave Response Example Response Bytes Example (Hex) Slave address 1 64 Respond slave address 100 Function code 1 01 Read status Read count 1 02 16 status (total 2 bytes) Data 1 1 01 The content of address 07-00 Data 2 1 00 The content of address 0F-08 CRC code 2 F4 CRC code which calculated by slave. 64 The value of status 07-00 is indicated as 01H in Hex, and 00000001 in binary. Status 07 is the high-order byte, 00 is the low-order byte. The state of status 07-00 is OFF-OFF-OFF-OFF-OFF-OFF-OFF-ON. DOUT16B-2 Digital Output Module User Manual Page 8 of 13 5.2.2. FUNCTION CODE 03H Slave address is 64H (decimal 100), starting address is 1 data of 64H (decimal 100)(2 bytes per data). Table 7 Example Data Address Address Data(Hex) 64H 1 Table 8 Function Code 03H Master Request Example Request Bytes Example (Hex) Slave address 1 64 Send to the slave 64H Function code 1 03 Read point register Starting address 2 00 Starting address is 64H 64 Count Number 2 00 Read 1 data (total 2 bytes) 01 CRC code CC CRC code which calculated by master. 2 20 Table 9 Function Code 03H Slave Response Example Response Bytes Example (Hex) Slave address 1 64 Respond to the slave 64H Function code 1 03 Read point register Read count 1 02 1 data (total 2 bytes) Data 1 CRC code 2 00 The content of address 0064H 01 2 35 CRC code which calculated by slave. 8C DOUT16B-2 Digital Output Module User Manual Page 9 of 13 5.2.3. FUNCTION CODE 05H Slave address is 64H (decimal 100), starting address is one status of 64H (decimal 100). Set 64H unit as 1. Table 10 Example Status Data Address Address Data(Hex) 64H 1 Illustration: Hex value FF00 forced status is 1. 0000H is forced as 0. Other values are illegal and do not affect the status. Table 11 Function Code 05H Master Request Example Request Bytes Example (Hex) Slave address 1 64 Send to the slave 64H Function code 1 05 Forced status Starting address 2 00 Starting address is 0064H 64 Data 2 FF Set status as 1 00 CRC code C4 CRC code which calculated by master. 2 10 Table 12 Function Code 05H Slave Response Example Response Bytes Example (Hex) Slave address 1 64 Send to the slave 64H Function code 1 05 Forced status Starting address 2 00 Starting address is 0064H 64 Data 2 FF Set status as 1 00 CRC code C4 CRC code which calculated by master. 2 10 DOUT16B-2 Digital Output Module User Manual Page 10 of 13 5.2.4. FUNCTION CODE 06H Slave address is 64H (decimal 100), set one point content of starting address 64H (decimal 100) as 0001H. Table 13 Function Code 06H Master Request Example Request Bytes Example (Hex) Slave address 1 64 Send to the slave 64H Function code 1 06 Write single register Starting address 2 00 Starting address is 0064H 64 Data 2 00 Set 1 point data (total 2 bytes) 01 CRC code 00 CRC code which calculated by master. 2 20 Table 14 Function Code 06H Slave Response Example Response Bytes Example (Hex) Slave address 1 64 Send to the slave 64H Function code 1 06 Write single register Starting address 2 00 Starting address is 0064H 64 Data 2 00 Set 1 point data (total 2 bytes) 01 CRC code 00 CRC code which calculated by master. 2 20 DOUT16B-2 Digital Output Module User Manual Page 11 of 13 5.3. CORRESPONDING ADDRESS TO FUNCTION CODE Address 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 Address 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 Address 100 Table 15 Function Code 01H Item Description Output Port 1 Status Output Port 2 Status Output Port 3 Status Output Port 4 Status Output Port 5 Status Output Port 6 Status Output Port 7 Status Output Port 8 Status Output Port 9 Status Output Port 10 Status Output Port 11 Status Output Port 12 Status Output Port 13 Status Output Port 14 Status Output Port 15 Status Output Port 16 Status 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active 1 for active Table 16 Function Code 05H Item Description Output Port 1 Status 1 for active Output Port 2 Status 1 for active Output Port 3 Status 1 for active Output Port 4 Status 1 for active Output Port 5 Status 1 for active Output Port 6 Status 1 for active Output Port 7 Status 1 for active Output Port 8 Status 1 for active Output Port 9 Status 1 for active Output Port 10 Status 1 for active Output Port 11 Status 1 for active Output Port 12 Status 1 for active Output Port 13 Status 1 for active Output Port 14 Status 1 for active Output Port 15 Status 1 for active Output Port 16 Status 1 for active Table 17 Function Code 03H, 06H Item Description Output Port 1-16 Status Unsigned 2Byte Bytes DOUT16B-2 Digital Output Module User Manual Page 12 of 13 6 INSTALLATION Unit: mm Fig.2 Case Dimensions _________________________________ DOUT16B-2 Digital Output Module User Manual Page 13 of 13