background image

Copyright

 

©

 

2014

 

ICP

 

DAS

 

Co.,

 

Ltd.

 

All

 

Rights

 

Reserved.

 

 

E

mail:

 

[email protected]

                                          ‐ 

20

 ‐ 

y

 

The

 

Modbus

 

ID

 

for

 

the

 

MDC

 

module

 

is

 

defined

 

in

 

Modbus

 

Connection

 

section.

 

y

 

By

 

setting

 

different

 

types

 

for

 

a

 

polling

 

definition

 

to

 

retain

 

register

 

space

 

mapped

 

for

 

specific

 

devices,

 

or

 

to

 

release

 

those

 

space

 

mapped

 

but

 

reserve

 

the

 

definition,

 

the

 

main

 

program

 

on

 

the

 

Modbus

 

master

 

device

 

can

 

be

 

applied

 

in

 

different

 

applications

 

where

 

users

 

would

 

like

 

to

 

change

 

or

 

stop

 

some

 

devices

 

without

 

modification

 

or

 

with

 

minimum

 

level

 

of

 

modification.

 

 

 
 

 

 

 

 

 

Summary of Contents for MDC-700 Series

Page 1: ...MDC 700 Series User Manual Nov 2015 Version 1 0 2 Written by Liam Lin Edited by Sunny Chiu Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 ...

Page 2: ...ime without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2014 by ICP DAS All rights are reserved Contact Us If you have any questions please feel free to contact us via email at Service ic...

Page 3: ...ooting 26 4 FAQ 29 Q1 What are the maximum numbers of polling definition and local register 29 Q2 What is the maximum number of registers can be accessed in one Modbus command 29 Q3 How are the local registers mapped to the polled data in a MDC 700 30 Q4 How to write data to output channels on a Modbus RTU slave device 32 Q5 How to read the status of each connection 33 Revision History 34 Copyrigh...

Page 4: ...p of a MDC 700 module the Modbus RTU slave devices can be accessed over Ethernet with better read and write performance The MDC 700 series module has the ability to perform up to 240 Modbus RTU commands to read write data from to Modbus RTU slave devices and allows up to 8 Modbus TCP masters to get the polled data The support for Modbus TCP protocol makes the MDC 700 well integrated into PC based ...

Page 5: ...ing definition The MDC firmware will skip the abnormal Modbus polling definition for a while to smoothly perform the whole polling without distribution Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 Great Capability of Shared Memory The MDC 700 series module can perform up to 240 polling definitions And the internal shared memory has four tables to store the polled A...

Page 6: ...ot of polling definitions is a hard work and it may be making mistakes A CSV format file can ease the work by using Excel Furthermore the built in web server allows users to import export the Config CSV via a simple mouse click action The MDC 700 can be accessed by Modbus TCP Master and Modus RTU Master Changing the mode for a COM port from Master to Slave allows a connected Modus RTU Master to re...

Page 7: ...ling Definition 240 definitions for all RS 232 485 ports Shared Memory 9600 registers for each of AI AO DI and DO Data System System 5 Digit 7 Segment LED Display Yes to display IP address System LED Indicator Yes to display heartbeat Mechanical Dimension W x H x D 102 mm x 125 mm x 28 mm Installation Wall Mount Power Required Supply Voltage 10 VDC 30 VDC non regulated Power Consumption 2 5 W Envi...

Page 8: ...1 2 Dimensions Left Side View Front View Top View Bottom View Rear View Unit mm Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 ...

Page 9: ...e flash per second Ethernet Port The MDC 700 is equipped with a RJ45 port for Ethernet LAN connection When 100BASE TX is operating the 10 100M LED is lit orange When 10BASE T is operating or the machine is not connected to the network it is turned off When an Ethernet link is detected and an Ethernet packet is received the Link Act LED is lit green Copyright 2014 ICP DAS Co Ltd All Rights Reserved...

Page 10: ...152 44444 1 801 2 801 55555 00 y The IP address for the MDC 700 192 168 255 1 y Modbus TCP communication settings Port 502 Net ID 1 y Baud rate setting for each COM port COM1 115200 bps COM2 115200 bps y Data format setting for each COM port COM1 8N1 COM2 8N1 y The count of TCP IP connection 0 No TCP IP connection Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 10 ...

Page 11: ...in over 3 seconds can reset the IP Subnet Mask Gateway addresses to the factory default settings RS 232 Wiring 3 wire Connection Wiring 5 wire Connection Wiring Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 11 ...

Page 12: ...Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 12 RS 485 Wiring ...

Page 13: ...ave device the output channel needs be mapped with a local register address in the MDC 700 by editing the polling definition with using corresponding read function code 01 or 03 Refer to Q4 in the 4 FAQ section for more detailed information The following section will help you to set up your MDC 700 module and show you how to use the web interface to obtain configuration and other information relat...

Page 14: ...t cable STEP 2 Set the IP configuration on your computer If the MDC module is new with using the default IP address of 192 168 255 1 you must chose an IP address for the computer in the range of 192 168 255 2 192 168 255 253 that is not already in use NOTE Details on how to change the IP address on your computer depend upon the type architecture and operating system you are using Use the Help and ...

Page 15: ...ke sure that the IP address you pick is not currently in use by another device on the network NOTE The IP Subnet mask Gateway modified in a MDC 700 can be reset to factory defaults by shorting the RESET pin to GND pin over 3 seconds The LED display will show RESET as below and the IP address set previously will be cleared and returned to the factory default Copyright 2014 ICP DAS Co Ltd All Rights...

Page 16: ... Configuration and 4 Polling Definition Each section starts with a character follows are names for parameters in this section A row starting with a character is a set of settings in a section NOTE y The name for each parameter can not be changed y You can make a copy of the config csv file in three ways and modify it to meet your requirements 1 Export the config csv file in your MDC 700 See 2 3 Im...

Page 17: ...le set to 1 Module Information The Module Information section is used to record relative information for the MDC module It will be displayed on the main page of the MDC 700 and can be used to one MDC module from the others ModuleInfo this is my data concentrator TCPPort ModbusID 502 1 ModuleInfo Define the relative information for the MDC module The string constant has a maximum length of 32 chara...

Page 18: ...nd the RTU slave devices The BaudRate can be set to 1200 2400 4800 9600 19200 34800 57600 115200 bps depending on the RTU slave device being used DataBit Defines the number of data bits in each character It is fixed to 8 and the RTU slave devices need be set to 8 bit data too Parity Defines the Parity bit The parity bit can be set to 0 none 1 even or 2 odd StopBit Defines the Stop bits It is fixed...

Page 19: ...ister for data defined in the definition but will not poll data Empty means that this is a null polling definition The MDC 700 will neither assign local register for data defined in the definition nor poll data UseComPort Defines the COM port number to which the slave device is connected The COM port number can be 1 or 2 for MDC 711 and can be 1 2 3 4 or 5 for MDC 714 and MDC 741 SlaveModbusID Def...

Page 20: ...setting different types for a polling definition to retain register space mapped for specific devices or to release those space mapped but reserve the definition the main program on the Modbus master device can be applied in different applications where users would like to change or stop some devices without modification or with minimum level of modification ...

Page 21: ...s in the MDC module refer to 2 1 Assigning an IP address to MDC 700 to configure it Importing a CSV file to MDC STEP 1 Open the Import and Export interface by clicking the Import Export Configuration button STEP 2 Choose a CSV file from your computer by clicking the Choose File button STEP 3 Click on the Import button to import the config csv file to the MDC NOTE After the import process is finish...

Page 22: ...e Import Export Configuration button STEP 2 Click the Export button to export the config csv file from the MDC module The config csv file will be exported to the download directory configured in the web browser Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 22 ...

Page 23: ...Flash Player can be downloaded by accessing the Adobe Systems Incorporated website The following instructions will help you to install the Adobe Flash Player in your web browser STEP 1 Go to the Adobe Flash Player Download Center The address for Adobe Flash Player Download Center is http get adobe com flashplayer NOTE The Adobe Flash Player is subject to change without notice refer to http www ado...

Page 24: ...ls y Polling Definition In the Polling Definition section of the page information about the current configuration for the Polling Definition is displayed including the Com Port SlaveModbusID Function Code Starting Address of Register and Count of Register details TCPPort ModbusID 502 1 ModuleInfo this is my data concentrator ComPortNo BaudRate 1 115200 2 115200 y Module Information The Module Info...

Page 25: ... ILLEGAL FUNCTION it indicates that the connection was successfully established but the parameter is invalid To resolve this issue check whether the Function Code listed in the Polling Definition match the settings of the Modbus RTU slave device When the state is shown as ERROR ILLEGAL DATA VALUE it indicates that the connection was successfully established but one or more of the parameters are in...

Page 26: ...ber that the slave device is connected to Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 26 Situation 3 The wiring for communication is wrong Solution Exchange the D and D wiring of RS 485 connection or exchange the Rx and Tx wiring of RS 232 connection and check the GND wiring is correct between the slave device and the MDC 700 module Situation 4 The Baud Rate or and ...

Page 27: ...rity StopBit Timeout PollDelay Operating Mode 1 9600 8 0 1 120 100 Master 2 9600 8 0 1 3000 1000 Master 3 9600 8 0 1 3000 1000 Master 4 9600 8 0 1 120 100 Master 5 9600 8 0 1 120 100 Master Possible causes of ERROR messages Situation 1 ERROR ILLEGAL FUNCTION The FunctionCode used in the polling definition is not an allowable action for the slave Copyright 2014 ICP DAS Co Ltd All Rights Reserved E ...

Page 28: ...2 2 3 178 2 2 2 3 124 1 2 3 3 178 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 28 Situation 3 ERROR appeared only The slave device is abnormal you have to check the responses from the device Solution Step 1 Power cycle the slave device Step 2 Use third party communication software to get the error code responded by the slave device and follow the instructions in th...

Page 29: ...s DI DO AI DO can store up to 9600 registers for polled data Q2 What is the maximum number of registers can be accessed in one Modbus command from a Modbus master device A2 By following the Modbus protocol the maximum amount of registers that one command can access is 255 of function code 01 and 02 and 126 of function code 03 and 04 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service ...

Page 30: ...ng data by COM port number and the sequence of polling definition and then map the local registers corresponding to the data type DI DO AI AO by the order of polling data So the data comes from different slave devices with the same type will be saved in continuous registers and a Modbus mater device and read the data on a variety of slave devices with one Modbus command Read DO 00000 00007 00008 0...

Page 31: ...ter for data defined in the definition and save the polled data to the mapping local register Minus sign means that this is a disabled polling definition The MDC 700 will assign local register for data defined in the definition but will not poll the data Empty means that this is a null polling definition The MDC 700 will neither assign local register for data defined in the definition nor poll dat...

Page 32: ... 1 1 2 0 8 2 1 1 0 4 2 2 2 0 4 2 3 3 0 4 2 4 4 0 4 Step 2 Import the config csv file into the MDC 700 wait the MDC 700 reboot in 5 seconds and then check the addresses for the local registers mapped to the output channels Step 3 Write data with corresponding function code 05 06 15 16 on your Modbus master device to the local registers mapped for the output channels the MDC 700 will process writing...

Page 33: ...n in the following table Def number Address Status Status display on web page Def 001 39600 0 GOOD Def 002 39601 0 GOOD Def 003 39602 0xFFFF TIMEOUT Def 004 39603 0x8201 ERROR ILLEGAL FUNCTION Def 005 39604 0 GOOD Def 006 39605 0x8402 ERROR ILLEGAL DATA ADDRESS The value of status 0 Good 0xFFFF Timeout 0x8XYY Exception Rresponse X Modbus Function Code YY Exception Code Exception Code Name Meaning ...

Page 34: ... Reserved E mail service icpdas com 34 Revision History Revision Date Description 1 0 0 2014 11 First released 1 0 1 2015 07 Added description for MDC 741 1 0 1 2015 11 Added dimensions appearance information and Troubleshooting FAQ sections ...

Reviews: