ICP DAS CO., LTD.
Quick Start
For tM-AD4P2C2
August 2013, Version 1.00
Congratulations on purchasing the tM-AD4P2C2 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-AD4P2C2. Please
also consult the User Manual for detailed information on the setup and use of the
tM-AD4P2C2.
tM-AD4P2C2 Quick Start Guide
In addition to this guide, the shipping box includes the following items:
tM-AD4P2C2
y tM Series DIO User Manual
[Link]
User_Manual.pdf
y tM-SERIES Website
[Link]
[Link]
y ICP DAS Website
[Link]
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
1
ICP DAS CO., LTD.
----------------------------------------------------------------------------------
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:
tM-AD4P2C2 Quick Start Guide
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
2
ICP DAS CO., LTD.
I/O Specifications:
tM-AD4P2C2 Quick Start Guide
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
3
ICP DAS CO., LTD.
Wire Connection:
tM-AD4P2C2 Quick Start Guide
Pin Assignment:
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
4
ICP DAS CO., LTD.
--------------------------------------------
2 Booting the tM-AD4P2C2
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 PC
Using an RS-485 Converter
RS232
tM-AD4P2C2 Quick Start Guide
Connect to PC
Power Supply
Using a USB Converter
I7520
RS485
PC
USB tMSeries
Power Supply
I7561
RS485
tMSeries
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
5
ICP DAS CO., LTD.
---------------------------------------------------------------------------------
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 from the
ICPDAS FTP site:
[Link]
tM-AD4P2C2 Quick Start Guide
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-AD4P2C2 Module
The tM-AD4P2C2 is an I/O module based on the DCON protocol, meaning that
you can use the DCON Utility to easily initialize it.
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
6
ICP DAS CO., LTD.
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-AD4P2C2
tM-AD4P2C2 Quick Start Guide
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.
Communication Factory
parameter default Value
Address 00
Baud Rate 9600
Protocol DCON
Checksum Disabled
Parity N,8,1
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
7
ICP DAS CO., LTD.
Step 3: Search for the tM-AD4P2C2 module
Click “Start Search” button from the toolbox to search for the tM-AD4P2C2 module.
After the tM-AD4P2C2 module is displayed in the list, click “Stop Search” button.
Start Search
Stop Search
tM-AD4P2C2 Quick Start Guide
Step 4: Connect to the tM-AD4P2C2
After clicking on the name of the module in the list, a dialog box will be displayed.
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
8
ICP DAS CO., LTD.
Step 5: Initialize the tM-AD4P2C2 module
Set the “Address” field in the dialog box to 1 and then click “Setting” button to save
the settings.
--------------------------------------------
Rebooting the
6
tM-AD4P2C2 Quick Start Guide
tM-AD4P2C2 Module in
Normal Mode
Make sure the INIT switch is placed in the
“Normal” position.
----------------------------------------------------------------------------------
7 Starting the Module Operation
After rebooting the tM-AD4P2C2 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 © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
9
ICP DAS CO., LTD.
---------------------------------------------------------------------------------
8 Modbus Address Mapping
Address Description Attribute
30001 ~ 30004 Analog input value of channel 0 to 3 R
40001 ~ 40004
30129 ~ 30130 Counter value of digital input channel 0 to 1 R
40129 ~ 40130
40257 ~ 40260 Analog input type code of channel 0 to 3 R/W
40225 ~ 40226 High alarm limit of channel 0 to 1 R/W
40233 ~ 40234 Low alarm limit of channel 0 to 1 R/W
40481 Firmware version (low word) R
40482 Firmware version (high word) R
40483 Module name (low word), 0x4001 R
tM-AD4P2C2 Quick Start Guide
40484 Module name (high word), 0x0722 R
40485 Module address, valid range: 1 ~ 247 R/W
40486 Bits 5:0 R/W
Baud rate, 0x03 ~ 0x0A
Code 0x03 0x04 0x05 0x06
Baud 1200 2400 4800 9600
Code 0x07 0x08 0x09 0x0A
Baud 19200 38400 57600 115200
Bits 7:6
00: no parity, 1 stop bit
01: no parity, 2 stop bits
10: even parity, 1 stop bit
11: odd parity, 1 stop bit
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
40490 Channel enable/disable, 00h ~ 0Fh R/W
40492 Host watchdog timeout count, write 0 to clear R/W
00033 ~ 00034 Digital input value of channel 0 to 1 R
10033 ~ 10034
00065 ~ 00066 High latched value of DI R
10065 ~ 10066
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
10
ICP DAS CO., LTD.
Address Description Attribute
00073 ~ 00074 High latched value of DO R
10073 ~ 10074
00097 ~ 00098 Low latched value of DI R
10097 ~ 10098
00105 ~ 00106 Low latched value of DO R
10105 ~ 10106
00225 ~ 00228 Over/under range status of analog input channel 0 to 3 R
10225 ~ 10228 for 4 ~ 20mA or 0 ~ 20mA ranges
00001 ~ 00002 Digital output value of channel 0 to 1 R/W
00129 ~ 00130 Safe value of digital output channel 0 to 1 R/W
00161 ~ 00162 Power on value of digital output channel 0 to 1 R/W
00193 ~ 00194 Counter update trigger edge of digital input channel 0 R/W
to 1
00257 Protocol, 0: DCON, 1: Modbus RTU R/W
00258 Protocol, 0: determined by 00257, 1: Modbus ASCII R/W
tM-AD4P2C2 Quick Start Guide
00260 Modbus host watchdog mode R/W
0: same as I-7000
1: can use AO and DO command to clear host
watchdog timeout status
00261 1: enable, 0: disable host watchdog R/W
00264 Write 1 to clear latched DIO states W
00265 DI active state R/W
00266 DO active state R/W
00269 Modbus data format, 0: hex, 1: engineering R/W
00270 Host watch dog timeout status, write 1 to clear host R/W
watch dog timeout status
00271 1: enable, 0: disable fast mode R/W
00273 Reset status, 1: first read after powered on, 0: not the R
first read after powered on
00289 ~ 00290 Low alarm status of channel 0 to 1. Write 1 to clear low R/W
latched alarm of channel 0 to 1
00305 ~ 00306 High alarm status of channel 0 to 1. Write 1 to clear R/W
high latched alarm of channel 0 to 1
00321 ~ 00322 Enable/disable alarm of channel 0 to 1 R/W
00337 ~ 00338 Alarm type, momentary or latched, of channel 0 to 1 R/W
00513 ~ 00514 Write 1 to clear counter value of digital input channel 0 W
to 1
Copyright © 2013 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@[Link]
11