Do you have a question about the I-7540D-MTCP and is the answer not in the manual?
Questions and answers
Summary of Contents for iSP I-7540D-MTCP
Page 1
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 to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 1...
Install the MiniOS7 Utility ..............49 3.2.2 PC Diagnostic tools ................ 50 Support Command List ..................56 tIIILDD…<CR> ................. 58 TIIIL<CR> ..................59 eIIIIIIIILDD…<CR> ................60 EIIIIIIIIL<CR>..................61 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) ------------- 2...
Page 3
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) ------------- 3...
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) ------------- 4...
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) ------------- 5...
-25°C to +75°C Storage Temperature -40°C to +80°C Power Protection Power reverse polarity protection Frame Ground for ESD Protection 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) ------------- 6...
Page 7
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) ------------- 7...
Page 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) ------------- 8...
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 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
LED displays 1K Vdc isolation on CAN side COM1 COM2 Power Input Ethernet 10/100 Base T RS-485 Port RS-232 Port INIT * pin Figure 2-2: Pin assignment on the I-7540D-MTCP I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Initial pin for enable/disable INIT* AUTOEXEC.BAT Data+ pin of COM2 (RS-485) Data- pin of COM2 (RS-485) V+ of power supply (+10V to +30V DC unregulated) GND of power supply I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
In order to provide an easy CAN bus wiring, the I-7540D-MTCP supplies one CAN port with two CAN bus connector interfaces. Each connecter built on the I-7540D-MTCP looks like as figure 2-3 and table 2- Table 2-2: CAN bus Connector Pin Assignment Pin No.
The Ethernet (10/100 Base-TX) signals are routed to an RJ45 socket for easy connection using a standard CAT 3 or CAT 5 network cable. On power on of the I-7540D-MTCP, it will auto-negotiate the network speed and connection. Table 2-3: Ethernet Connector Pin Assignment...
Page 16
Therefore, the I-7540D-MTCP module supplies a jumper for users to connect the terminator resistor or not. If users want to use this terminator resistor, please open the I-7540D-MTCP cover and use the JP3 jumper to activate the 120Ω terminator resistor built in the system, as in the figure 2- 5.
There is a red indicator-LED in the I-7540D-MTCP as follow: ◊Firmware is running: flashing red The default shipping of I-7540D-MTCP will be firmware inside, so the red indicator-LED of I-7540D-MTCP will be ON 0.5 second then OFF 0.5 second periodically. 2.4.2...
Page 18
RX-LED would be flashed. Table 2-8 RX led conditions Condition Description No data is being received Flashing Red Data is being received Solid Red Receive error messages I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
The IP information format of I-7540D-MTCP is given as follows: Group-ID of 5-digit LED: 11111. LED-1: indicator, can be 1 or 2 or 3 or 4 LED-2~5: IP I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 20
dHCP.2DHCP→ function enable but not get an IP, using default setting If the DHCP function is enable, the I-7540D-MTCP will get it’s IP from the DHCP server. Otherwise, it will use the IP in the EEPROM. The baud-rate format of COM ports are given as follows: ...
Page 21
If any one client connects to this I-7540D-MTCP, free-sockets will be decreased and used-sockets will be increased. If the free-sockets number is reduced to 0, then no extra client can link to this I-7540D-MTCP. The default number of free-sockets is 24. Therefore, the I-7540D-MTCP allows 24 clients link to it.
We support some software utilities for users to set and test the status of the I-7540D-MTCP. 1. I-7540D-MTCP Utility The I-7540D-MTCP Utility tool can be used to configure the operation condition between the CAN and Ethernet communications. Also it can be used to transmit or receive a CAN message for simple testing of the module’s functions.
3.1 I-7540D-MTCP Utility The I-7540D-MTCP Utility tool can be used to configure the operation condition between the CAN and Ethernet communications. Also it can be used to transmit or receive a CAN message for simple testing of the module’s functions. To start the “I-7540D-MTCP Utility”, please install the I-7540D-MTCP Utility setup file and run the I-7540D-MTCP.exe file.
3.1.1 Install the I-7540D-MTCP utility Install I-7540D-MTCP Utility Step1: Download the I-7540D-MTCP Utility setup file from the web site http://www.icpdas.com/products/Remote_IO/can_bus/I-7540.htm Or the CD-ROM disk following the path of Fieldbus_CD:\\CAN\Converter\I-7540D\Utility Step 2: Execute the setup.exe file to install I-7540D-MTCP Utility. Step 3: A “Welcome” window pops up to prompt user to begin the installation.
Page 25
Step 5: Click “Next” button and a “Ready to Install the Program” window will pop up to prompt user that the wizard is ready to begin the installation See figure 3-4. Figure 3-4: “Ready to Install the Program” dialog I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 26
Step 6: Click “Install” button and start to install the I-7540D-MTCP Utility to the system. After finishing the process, a “Complete” window will pop up to prompt users that the successful completion of the installation. And click “Finish” button to exit. See figure 3-5.
2.4.3. That means the I-7540D- MTCP module is working normally. 3. The user must run the I-7540D-MTCP’s Utility software after they have made a wire connection between the PC and the I-7540D-MTCP via the network cable 4.
Page 28
5. Then the I-7540D-MTCP configuration window will be brought out. The I-7540D-MTCP Utility will show the communication information from the I-7540D-MTCP module in the window, as shown in the following figure. 6. Choose the “Settings” tab to open the configuration window for the CAN and the Network status parameters of the I-7540D-MTCP.
Page 29
“Reset System” checkbox is used to reset the system of I-7540D- MTCP. Note: After modify the network status of the I-7540D-MTCP, the setting value will become effective after resetting the system. 8. The “COM Status” frame showed the parameters of RS-232 and RS485 ports.
~ bit13 of ID AccCode[2] and AccMask[2] bit7~bit0 bit12 ~ bit5 of ID AccCode[3] and AccMask[3] bit7~bit3 bit4 ~ bit0 of ID AccCode[3] and AccMask[3] bit2 AccCode[3] and AccMask[3] bit1~bit0 No use I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 31
Byte 1 (h) Byte 0 (h) High High High High Accepted value (Note: The mark “x” means don’t care. And the mark “h” behind the value means hex format.) I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
The head character of the command string is invalid. The length of the command string is invalid. The value of CAN identifier is invalid. The value of CAN data length is invalid. Reserved I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
When the time-stamp response is enabled, the I-7540D-MTCP will send CAN message with its time-tick vale, hexadecimal eight ASCII chars for a unit of microsecond, to the host as it receive a CAN message. For example: I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 34
I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
3.1.7 How to change web ID/PASSWORD configuration The I-7540D-MTCP module has a built-in web server that allows user to easily configure the module from a remote location using a regular web browser. When users want to modify the configuration of I-7540D-MTCP via Setup web page, they need to fill these two fields, ID and PASSWORD, with correct values.
PC and the I-7540D-MTCP via the network cable 5. Click the “Connect” icon on the I-7540D-MTCP Utility tool bar. The setting frame will be popped up. Key-in the IP of the I-7540D- MTCP and press the “Connect” button in order to connect with it.
Page 37
7. Users also can use the timer mode to send CAN message in fixed period. And the start/stop time would be displayed in Date/Time format. And when receiving correct CAN message, these CAN message will be displayed on the “Receive” box. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 38
I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
TCP method (port: 10003). User can refer the following application to use this function. Note: After setting “Enable CAN Bus Pair Connection”, all data send to this I- 7540D-MTCP via Ethernet port 10003 will become no effective. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 40
Network 01” and “CAN Network 02” can be exchanged by UDP/IP protocol through Ethernet network. Note: When setting to use UDP method, the “Server/Client” parameters will be no effective. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 41
4. By using this broadcast method, users need to know how to set the network mask of the I-7540D-MTCP. Note: When setting to use UDP method, the “Server/Client” parameters will be no effective. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 42
Network 01 and CAN Network 02 can be exchanged by TCP/IP protocol through Ethernet network. Note: When setting to act as a TCP server, the “Connect to (Destination IP)” will be no effective. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
In Modbus TCP/ RTU mode, users need to communicate the I- 7540D-MTCP with Modbus TCP/RTU command. The I-7540D-MTCP only supports function code 0x03/0x04/0x10 of Modbus TCP/RTU commands for reading and writing CAN messages. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
In addition, users can click the “Save” button to save the “Receive” text into “I-7540D- messages MTCP_MT_yyyyMMddmmss.txt ” file. The indication of the file name is described below. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 45
I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
In addition, users can click the “Save” button to save the messages “Receive” text into “I-7540D- MTCP_MR_yyyyMMddmmss.txt ” file. The indication of the file name is described below. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 47
I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
MiniOS7 Utility is a tool for configuring, uploading files to all products embedded with ICPDAS MiniOS7. And it provides some PC diagnostic tools which can help users to diagnose the status of the I-7540D-MTCP and other controllers. Supported connection ways ...
Go to where you downloaded the file, and double-click on the installation file in Windows to execute it. Step 3: To finish the installation of the MiniOS7 Utility, click the Finish button to exit the setup process. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
COM port, and show the data received from COM port on the screen of PC. The main function for 7188xw.exe is to DOWNLOAD files to the MiniOS7 system. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 51
Send232: Send232 uses serial port (RS-232) interface to communicate with devices. And it can be used to test the Virtual COM technology. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 52
7188E/8000E/7540D/7540D-MTCP and other devices from Ethernet. Step 1: Run SendTCP in host-PC. Step 2: Input the IP of I-7540D-MTCP and press the “Connect” button to connect with I-7540D-MTCP. And then it will display “7188E3 is connected”. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 53
Step 4: Select “Port 2” and “CR”. Then send “$02M” to read 7000 module’s ID which is connected to I-7540D-MTCP’s COM2. If you enable 7000 module’s checksum function, select “CS_CR”. The “CS_CR” option will add two checksum bytes, then adds “CR”. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 54
“Set” to change them. The 7540D-MTCP’s COM port that you want to configure is specified by “Select Port” combo list. Port 2 means you want to configure the 7188E’s COM2. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 55
Command-prompt mode program, used to send data to specific machines using TCP protocol. Usage: 7188e [-S:IP] [-P:Port]: Connect to a device by using TCP protocol. *Q: Quit program and disconnect. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Send or receive a standard remote frame. eIIIIIIIILDD…<CR> Send or receive an extended data frame. EIIIIIIIIL<CR> Send or receive an extended remote frame. Note: The I-7540D-MTCP’s COM3 (CAN port) can only accept these 4 commands. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 57
4. The #PPC, #PPIP, $PPCLLABC, $PPIPxxx…commands just can be used on the firmware version v1.06 or later. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Send a CAN message with a standard data frame. ID=03F, DLC=6, data1=11, data2=22, data3=33, data4=44, data5=55 and data6=66. Note: This command can only be accepted by 7540D-MTCP’s port 10003 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
PC. Example: Command: T2E88<CR> Send a CAN message with a standard remote frame. ID=2E8, DLC=8. Note: This command can only be accepted by 7540D-MTCP’s port 10003 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Command: e1234567851122334455<CR> Send a CAN message with an extended data frame. ID=12345678, DLC=5, data1=11, data2=22, data3=33, data4=44 and data5=55. Note: This command can only be accepted by 7540D-MTCP’s port 10003 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
PC. Example: Command: E010156786<CR> Send a CAN message with an extended remote frame. ID=01015678, DLC=6. Note: This command can only be accepted by 7540D-MTCP’s port 10003 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 62
100K baud rate of CAN 125K baud rate of CAN 250K baud rate of CAN 500K baud rate of CAN 800K baud rate of CAN 1000K baud rate of CAN User defined I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 63
Table 4-5: CAN Error flag list AsciiToHex(O) Description CAN Transmit Error Bit 3 =1 CAN Receive Error Bit 2 =1 CAN FIFO Overflow Bit 1 =1 Initial CAN Chip Error Bit 0 =1 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 64
CAN transmit error counter=0, CAN receive error counter=0 and CAN FIFO = normal. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 65
And the TX and RX LEDs will turn OFF. Example: Command: 99C Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 66
Invalid command: ERROR Example: Command: 99RA The I-7540D-MTCP module will reboot after it had received this command. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 67
9600 bps baud rate of RS-232 19200 bps baud rate of RS-232 38400 bps baud rate of RS-232 57600 bps baud rate of RS-232 115200 bps baud rate of RS-232 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 68
Response: 0610B100 The response will show the following results: RS-232 baud rate=115.2K bps, data bits=8, stop bits=1, none parity. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 69
9600 bps baud rate of RS-485 19200 bps baud rate of RS-485 38400 bps baud rate of RS-485 57600 bps baud rate of RS-485 115200 bps baud rate of RS-485 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 70
Response: 06207111 The response will show the following results: RS-485 baud rate=9600 bps, data bits=8, stop bits=2, even parity. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 71
100K baud rate of CAN 125K baud rate of CAN 250K baud rate of CAN 500K baud rate of CAN 800K baud rate of CAN 1000K baud rate of CAN User Defined I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 72
The response will show the following results: CAN specification=2.0A, CAB baud rate=125Kbps, acceptance code register=00000000, acceptance mask register=FFFFFFFF, disable error response, disable timestamp. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 73
The response will show the following results: CAN specification = 2.0A, CAN baud rate = User defined, BTR0=00, BTR1=14. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
115200 bps baud rate of RS-232 Response: Valid Command: OK Invalid command: ERROR Example: Command: 99#P01050B100 Response: OK Set the setting of RS-232 baud rate= 115.2Kbps, data bits=8, stop I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 75
I-7540D-MTCP and the 7540D- MTCP response “OK” command to mean that the configuration of RS-232 has been changed. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
115200 bps baud rate of RS-485 Response: Valid Command: OK Invalid command: ERROR Example: Command: 99#P02050B100 Response: OK Set the setting of RS-485 baud rate= 115.2Kbps, data bits=8, stop I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 77
I-7540D-MTCP and the 7540D- MTCP response “OK” command to mean that the configuration of RS-485 has been changed. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
500K baud rate of CAN 800K baud rate of CAN 10K baud rate of CAN User defined Response: Valid Command: OK Invalid command: ERROR Example: Command: 99#P1140400000000FFFFFFFF00 Response: OK I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 79
I- 7540D and the 7540D response “OK” command to mean that the configuration of CAN has been changed. Note: This command can only be accepted by 7540D-MTCP’s port 10000 I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
2. Users need to have the background of SJA1000 CAN controller and 82C251 CAN transceiver, and calculate the values of BT0 and BT1 by themselves (The clock frequency of CAN controller is 16MHz.). I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Read the Web ID setting of the 7540D-MTCP, and the 7540D- MTCP responses the Web ID setting is “7540D”. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Command: 99#PWPW Response: 0Bicpdas7540D Read the Web password setting of the 7540D-MTCP, and the 7540D-MTCP responses password setting “icpdas7540D”. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
7540D-MTCP responses “OK” command to mean that the configuration of Web ID data has been changed. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
“12345” and the 7540D-MTCP responses “OK” command to mean that the configuration of Web ID data has been changed. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Read the CAN bus pair connection configuration of the 7540D- MTCP, and the 7540D-MTCP responses that enable can bus pair connection and act as a TCP server. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Read the CAN bus pair connection destination IP of the 7540D- MTCP, and the 7540D-MTCP responses that destination IP address is “192.168.255.2”. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Change the CAN bus pair connection configuration of the 7540D- MTCP to “enable CAN bus pair connection” and act as a TCP client. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Example: Command: 99#PPIP192168255002 Response: OK Change the CAN bus pair connection destination IP of the 7540D- MTCP. Note: This command can only be accepted by 7540D-MTCP’s port 10000. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
The head character of the command string is invalid. The length of the command string is invalid. The value of CAN identifier is invalid. The value of CAN data length is invalid. Reserved I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
“Normal CAN Message Field”, “Specific CAN Message Field” and “Module Status Field”. When a CAN message received from the CAN network, the I-7540D-MTCP will check if the Specific CAN Message filed is used or not. If it is not used, this CAN message will be stored into the “Normal CAN Message”...
Page 91
Figure 5-1: CAN message Format of I-7540D-MTCP Modbus mode. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
CAN messages with specific the CAN IDs. When the I-7540D-MTCP receives the CAN messages whose CAN IDs are defined in the Specific CAN Message Field by the I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
Page 94
No used 0x0819( low Byte) No used 0x081A ~ 0x081E Table5-4: Modbus address of “Modbus Status” field. Note: The meaning of the register values can refer to section 4.5. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
5.2.1 Using Modbus TCP command to get a CAN Message When the I-7540D-MTCP is set to the Modbus TCP mode, each CAN message (except the CAN message whose CAN IDs are defined in the Specific CAN Message field) received from the CAN network will be stored into the “Normal CAN Message”...
If users need to send CAN messages via the Modbus TCP commands, users need to send the Modbus TCP command with the “TX CAN message“ format to the Output Register of the I-7540D-MTCP. Then the I-7540D-MTCP will transfer this command to a CAN message format and send it to the buffer of the CAN controller.
Page 97
) to read the transmitted CAN message format from the Output Register: Figure 5-5: Use the Modbus TCP command (function code 03 ) to read the transmitted CAN message format. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
CAN messages. When receiving a CAN message whose CAN ID is defined in the Specific CAN Message by the Utility tool, the I-7540D-MTCP will save this CAN message to the “Specific CAN Message” field. Users can use the Modbus TCP command (function code 04 ) to directly read the CAN message from this field.
5.3 Modbus RTU Address 5.3.1 Using Modbus RTU command to get a CAN Message When the I-7540D-MTCP is set to the Modbus RTU mode, each CAN message (except the CAN message whose CAN IDs are defined in the Specific CAN Message field) received from the CAN network will be stored into the “Normal CAN Message”...
If users need to send CAN messages via the Modbus RTU commands, users need to send the Modbus RTU command with the “TX CAN message“ format to the Output Register of the I-7540D-MTCP. Then the I-7540D-MTCP will transfer this command to a CAN message format and send it to the buffer of the CAN controller.
Page 101
) to read the transmitted CAN message format from the Output Register: Figure 5-9: Use the Modbus RTU command (function code 03 ) to read the transmitted CAN message format. I-7540D-MTCP Ethernet/Modbus to CAN Converter User’s Manual (Version 1.0, Dec/2011) -------------...
CAN messages. When receiving a CAN message whose CAN ID is defined in the Specific CAN Message by the Utility tool, the I-7540D-MTCP will save this CAN message to the “Specific CAN Message” field. Users can use the Modbus RTU command (function code 04 ) to directly read the CAN message from this field.
Need help?
Do you have a question about the I-7540D-MTCP and is the answer not in the manual?
Questions and answers