User Guide for ICP DAS models including: tM-P4C4, 4-Channel Isolated DI and 4-Channel Isolated DO Module, tM-P4C4 4-Channel Isolated DI and 4-Channel Isolated DO Module
tM-P4C4 CR | ICPDAS-EUROPE
tM-P4C4 Quick Start Guide May 2010, Version 1.0.1 beta5 Congratulations on purchasing the tM-P4C4 - the most popular automation solution for remote monitoring and control applications. This Quick Start Guide will provide information needed to get started with the tM-P4C4. Please also consult the User Manual for detailed information on the setup and use of the tM-P4C4. In addition to this guide, the shipping box includes the following items: tM-P4C4 ICP DAS Website http://www.icpdas.com/ Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 1 tM-P4C4 Quick Start Guide ---------------------------------------------------------------------------------- 1 Understanding the Hardware Specifications and Wiring Diagrams Before installing the hardware, you should have a basic understanding of hardware specification and the wiring diagrams. System Specifications Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 2 tM-P4C4 Quick Start Guide I/O Specifications Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 3 tM-P4C4 Quick Start Guide Wire Connection Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 4 tM-P4C4 Quick Start Guide Pin Assignment Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 5 -------------------------------------------- 2 Booting the tM-P4C4 in Init Mode Make sure the switch placed in the "Init" position. 3 ---------------------------------------------------------------------------------Connecting to the PC and the Power Supply The tM-Series series is equipped with an RS-485 port for connection to a 232/USB converter to PC Connect to the PC using an RS-485 Converter PC RS-232 Connect to PC using a USB Converter Power Supply I-7520 PC USB RS-485 tM-Series tM-P4C4 Quick Start Guide Power Supply I-7561 RS-485 tM-Series Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 6 tM-P4C4 Quick Start Guide 4 --------------------------------------------------------------------------------Installing the DCON Utility The DCON Utility is an easy-to-use tool designed to enable simple configuration of I/O modules that use the DCON protocol. Step 1: Locate the DCON Utility The DCON Utility can be obtained from the companion CD or from the ICPDAS FTP site: CD:\Napdos\8000\NAPDOS\Driver\DCON_Utility\setup\ http://ftp.icpdas.com/pub/cd/8000cd/napdos/driver/dcon_utility/ Step 2: Follow the prompts to complete the installation After the installation has been completed, there will be a new shortcut to the DCON Utility on the desktop. ---------------------------------------------------------------------------------- 5 Using the DCON Utility to Initialize the tM-Series Module The tM-Series is an I/O module based on the DCON protocol, meaning that you can use the DCON Utility to easily initialize it. Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 7 Step 1: Run the DCON Utility Double-click the DCON Utility shortcut on your desktop. Step 2: Use the COM1 port to communicate with the tM-Series Click the "COM Port" option from the menu and a dialog box will be displayed that will allow you to set the communication parameters as described in the table below. tM-P4C4 Quick Start Guide Communication parameter Address Baud Rate Protocol Checksum Parity Factory default Value 00 9600 DCON Disabled N,8,1 Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 8 tM-P4C4 Quick Start Guide Step 3: Search for the tM-Series module Click "Start Search" button from the toolbox to search for the tM-Series module. After the tM-Series module is displayed in the list, click "Stop Search" button. Start Search Stop Search Step 4: Connect to the tM-Series After clicking on the name of the module in the list, a dialog box will be displayed. Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 9 tM-P4C4 Quick Start Guide Step 5: Initialize the tM-Series module Set the "Address" field in the dialog box to 1 and then click "Setting" button to save the settings. -------------------------------------------- 6 Rebooting the tM-Series Module in Normal Mode Make sure the INIT switch is placed in the "Normal" position. 7 ---------------------------------------------------------------------------------Starting the Module Operation After rebooting the tM-Series module, search for the module to make sure the settings have been changed. You can double click on the name of the module in the list to open the configuration dialog box. Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 10 8 --------------------------------------------------------------------------------Modbus Address Mapping tM-P4C4 Quick Start Guide Address 30001 ~ 30004 40481 40482 40483 40484 40485 40486 40488 40489 40492 10033 ~ 10036 10065 ~ 10068 10073 ~ 10076 10097 ~ 10100 10105 ~ 10108 00001 ~ 00004 00129 ~ 00132 00161 ~ 00164 00193 ~ 00196 00513 ~ 00518 00257 00258 00260 Description Attribute Counter value of digital input R Firmware version (low word) R Firmware version (high word) R Module name (low word) R Module name (high word) R Module address, valid range: 1 ~ 247 R/W Bits 5:0 R/W Baud rate, valid range: 3 ~ 10 Bits 7:6 00: no parity, 1 stop bit 01: no parity, 2 stop bit 10: even parity, 1 stop bit 11: odd parity, 1 stop bit Modbus response delay time in ms, valid range: 0 ~ 30 R/W Host watchdog timeout value, 0 ~ 255, in 0.1s R/W Host watchdog timeout count, write 0 to clear R/W Digital input value of channel 0 ~ 3 R High latched values of DI R High latched values of DO R Low latched values of DI R Low latched values of DO R Digital output value of channel 0 ~ 3 R/W Safe value of digital output channel 0 ~ 3 R/W Power on value of digital output channel 0 ~ 3 R/W Counter update trigger edge of channel 0 ~ 3 R/W Write 1 to clear counter value of channel 0 ~ 3 W Protocol selection, 0: DCON, 1: Modbus R/W 1: Modbus ASCII, 0: Modbus RTU R/W Modbus host watchdog mode R/W 0: same as I-7000 1: can use AO and DO command to clear host watchdog timeout status Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 11 Address Description Attribute 00261 1: enable, 0: disable host watchdog R/W 00264 Write 1 to clear latched DIO W 00265 DI active state, 0: normal, 1: inverse R/W 00266 DO active state, 0: normal, 1:inverse R/W 00270 Host watchdog timeout status, write 1 to clear host R/W watchdog timeout status 00273 Reset status, 1: first read after powered on, 0: not the R first read after powered on Note: For tM DIO modules, Modbus registers starting at 00033 or 10033 can be used to read the digital input values. For M-7000 DIO modules, they are 00033 or 10001. tM-P4C4 Quick Start Guide Copyright © 2009 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com 12PDFium PDFium