iSP I-7540D-MTCP Manuel utilisateur

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 1
User’s 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 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, or for any infringements of patents or other rights of third
parties resulting from its use.
Copyright
Copyright 2011 by ICP DAS. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks
of their respective companies.
I-7540D-MTCP
Ethernet/Modbus TCP/Modbus RTU to
CAN Converter

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 2
Table of Contents
1. Introduction..........................................................................................................4
1.1 Features ............................................................................................5
1.2 Specifications...................................................................................6
2. Hardware...............................................................................................................9
2.1 Block Diagram ................................................................................10
2.2 Pin Assignment ..............................................................................11
2.2.1 RS-232 & RS-485 & Power supply Interface ..................................12
2.2.2 Connect to CAN Bus.......................................................................13
2.2.3 Ethernet Connect............................................................................14
2.3 Terminator resistor settings..........................................................15
2.4 LED Indication ................................................................................17
2.4.1 Power LED .....................................................................................17
2.4.2 CAN bus indicator LED...................................................................17
2.4.3 5-digits 7-Segment LED Displays...................................................19
3. Software Utility...................................................................................................22
3.1 I-7540D-MTCP Utility ......................................................................23
3.1.1 Install the I-7540D-MTCP utility......................................................24
3.1.2 How to configure the module parameters.......................................27
3.1.3 Connect How to set the Bus Timing Registers................................30
3.1.4 Connect to the How to set the Acceptance Code and Mask...........30
3.1.5 Enable Error Response ..................................................................32
3.1.6 Enable Time-stamp Response........................................................33
3.1.7 How to change web ID/PASSWORD configuration.........................35
3.1.8 How to test the module transmission performance.........................36
3.1.9 How to use CAN Bus Pair Connection............................................39
3.1.10 How to set specific CAN ID table....................................................43
3.1.11 How to test Modbus TCP mode......................................................44
3.1.12 How to test Modbus RTU mode......................................................46
3.2 MiniOS7 Utility................................................................................48
3.2.1 Install the MiniOS7 Utility................................................................49
3.2.2 PC Diagnostic tools ........................................................................50
4. Support Command List .....................................................................................56
4.1 tIIILDD…<CR> .................................................................................58
4.2 TIIIL<CR>.........................................................................................59
4.3 eIIIIIIIILDD…<CR> ...........................................................................60
4.4 EIIIIIIIIL<CR>....................................................................................61

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 3
4.5 99S...................................................................................................62
4.6 99C...................................................................................................65
4.7 99RA................................................................................................66
4.8 99#P01.............................................................................................67
4.9 99#P02.............................................................................................69
4.10 99#P1...............................................................................................71
4.11 99#P1B ............................................................................................73
4.12 99$P0105BBDSP.............................................................................74
4.13 99$P0205BBDSP.............................................................................76
4.14 99$P114PBCC…MM…ET ...............................................................78
4.15 99$P1B04TTRR...............................................................................80
4.16 99#PWID..........................................................................................81
4.17 99#PWPW........................................................................................82
4.18 99$PWIDLLxxxxx… ........................................................................83
4.19 99$PWPWLLxxxxx… ......................................................................84
4.20 99#PPC............................................................................................85
4.21 99#PPIP ...........................................................................................86
4.22 99$PPCLLABC................................................................................87
4.23 99$PPIPxxx…..................................................................................88
4.24 General Error code for commands from port 10003....................89
5. Modbus Network (Only for Modbus TCP/ ModbusRTU mode).......................90
5.1 Supported Modbus Functions.......................................................92
5.2 Modbus TCP Address ....................................................................93
5.2.1 Using Modbus TCP command to get a CAN Message...................95
5.2.2 Using Modbus TCP command to Send a CAN Message................96
5.2.3 Using Modbus TCP command to get a Specific CAN Message......98
5.3 Modbus RTU Address....................................................................99
5.3.1 Using Modbus RTU command to get a CAN Message...................99
5.3.2 Using Modbus RTU command to Send a CAN Message .............100
5.3.3 Using Modbus RTU command to get a Specific CAN Message....102

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 4
1. Introduction
“Embedded Internet” and “Embedded Ethernet” are hot topics today.
Nowadays the Ethernet protocol becomes the de-facto standard for local
area network. Via Internet, connectivity is occurring everywhere, from
home appliances to vending machines to testing equipment to UPS…etc.
Using Ethernet for network in industrial area is appealing because the
required cabling is already installed. The I-7540D-MTCP from ICP DAS is
a solution that enables CAN networks to be coupled together over the
Internet/Ethernet, whereby remote monitoring and control is possible. The
I-7540D-MTCP controls networked communication and makes a
transparent CAN-based application interface available to the user.
The I-7540D-MTCP has supported a major function, convert Modbus
TCP and Modbus RTU to CAN. It allows a Modbus TCP/RTU master to
communicate with CAN devices on a CAN network. Furthermore, the I-
7540D-MTCP also supports a transparent, protocol-independent transfer
of the CAN messages (pair-connection), thus allowing its implementation
into a wide range of possible applications.
Figure1-1: Application of I-7540D-MTCP Modbus TCP mode

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 5
Figure1-2: Application of I-7540D-MTCP Pair Connection
The main features and specification of this are described as below:
1.1 Features
RDC 80186-80 Embedded CPU, or compatible
Ethernet Protocol, TCP,UDP, IP, ICMP, ARP, HTTP
COM driver support interrupt & 1K QUEUE Input & Output buffer
Provide 200 CAN frames buffer in CAN to Modbus Mode
NXP 82C 250 CAN Transceiver
Support both CAN specification 2.0A and 2.0B
Max transmission speed up to 1M bps for CAN and 115.2kbps for RS-
232 & RS-485
Max transmission distance of CAN over 1000m (follow CAN
specification)
7-segment LED display to Module IP, RS-232 baud rate, CAN
configuration…
CAN Error/Tx/Rx LED indicator
Software configurable CAN and RS-232 communication parameters
Firmware updated from COM1 or Ethernet port
Support Web Configuration
Support maximum 24 Ethernet clients connection
Support function code 0x03/0x04/0x10 of Modbus TCP/RTU
command for reading and writing CAN message
Provide the transparent communication between the CAN devices via
Ethernet
Support 30 specific CAN IDs in the Modbus TCP/RTU mode

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 6
1.2 Specifications
CPU
CPU
80186, 80MHz or compatible
SRAM
512K Bytes
Flash
512K Bytes
EEPROM
16K Bytes
NVRAM
31Bytes (battery backup, data valid up to 10 year)
Build-in Watchdog Timer
Yes
Communication Interface
COM1
RS-232 (TXD, RXD, RTS, CTS, GND)
COM2
RS-485 (D2+, D2-)
CAN
One CAN port with two CAN bus connector interfaces
(CAN_H, CAN_L)
Ethernet Port
10/100 Base-TX Ethernet Controller (Auto-negotiating,
Auto_MDIX, LED indicator)
COM Port Formats
Data bit
7, 8
Parity
Even, Odd, None
Stop bit
1
Baud-rate
115.2Kbps max.
CAN Port Formats
CAN Controller
Phillip SJA1000T CAN Controller
CAN Transceiver
Phillip 82C250 CAN Transceiver
Isolated
2500Vrms on CAN side
Baud-rate
1Mbps max.
Mechanism
Dimensions
123 x 72 x 33 mm (L x W x H)
Operating Environment
Operating Temperature
-25°C to +75°C
Storage Temperature
-40°C to +80°C
Power
Protection
Power reverse polarity protection
Frame Ground for ESD Protection
Yes
Required Supply Voltage
+10 to +30VDC (non-regulated)
Power consumption
2.5W

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 7
I-7540D-MTCP Software Utility tool:
Communication mode setting
CAN bus Baud Rate configuration;
CAN acceptance filter configuration;
CAN 2.0A or 2.0B specific selection;
Setting the IP, Gateway and Mask of the network status;
Setting the Web ID and password
RS-232/RS-485 baud rate and data bit setting;
CAN bus pair connection parameters configuration.
Provides a quick testing function for transmitting/receiving CAN
messages;
Modbus Specific ID Setting
Provides a quick testing function for Modbus TCP/Modbus RTU
command

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 8
Application:
Factory Automation
Building Automation
Home Automation
Control system
Monitor system
Vehicle Automation

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 9
2. Hardware

I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------
10
2.1 Block Diagram
Figure 2-1 is a block diagram illustrating the functions on the I-7540D-
MTCP module. It provides the 2500Vrms Isolation in the CAN interface
site. And hardware media in RS-232 interface is only adopted 5-wire
connection.
Figure 2-1: Block diagram of I-7540D-MTCP
Table des matières
















