Home

ICP DAS USA I-7540D Network Card User Manual

image

Contents

1. Mice and other pointing devices Services and Applications Monitors GL Network adapters i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 118 Step 4 Select the Non Plug and Play Drivers Ynsernet item m Computer Management E Fie Action view Window Help e Am EiS z a m Computer Management Local H E Network adapters i System Tools Non Plug and Play Drivers fag Event Viewer Q AFD 2 Shared Folders X Beep Local Users and dmboot s aprenem Step1 Scion 8 Device Manager Y Fips ra lt Y Generic Packet Classifier E E Removable Storage Q HTTP Disk Defragmenter IP Network Address Translator Disk Management Vv IPSEC driver Ta Services and Applications Dv NDIS System Driver lt Y NDIS Usermode I O Protocol X NDProxy lt NetBios over Tcpip Null Q PartMgr lt Parv dm Y VaaSave Step 5 Right click the mouse button on the Ynsernet item and click the Properties re me S Pi meet is x r lt Fips lt Generic Packet Classifier lt HTTP lt IP Network Address Translator lt IPSEC driver lt gt NDIS System Driver lt NDIS Usermode I O Protocol lt gt NDProxy l lt NetBios over Tcpip Null lt PartMar lt Parvdm I Y VaaSave Disable Uninstall i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 119 Step 6 Check that the message This
2. 101 5 4 Removing an i 7540D Step 1 Open the VxComm Utility Step 2 Click the server name you want to remove and then click the Remove Server button VxComm Utility v2 8 12 Beta Aug 17 2007 File Server Port Tools 7188E 8000E Internet Ethernet Controller IP 192 168 0 127 Port 10000 Timeout ms 5000 g nena N Check Duplicated IP M Connect to Server a Gaa COM Baudrate 7186E3 192 168 0 127 Reserved N A UnMap Dynamic UnMap Dynamic UnMap Dynamic Web Configuration Configure Port ri GparchiSercers Name Alias MAC Address IPAddress Sub net Gateway DHCP Configure Server UDP Step 3 The following window will be displayed make sure of your choice and then click the Yes button to remove it xComm Utility X Server 7186E3 192 168 0 127 Remove this server Yes No i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 102 Step 4 Click the Exit button to finish this utility VxComm Utility v2 8 12 Beta Jun 27 2007 Fle Server Port Took 71838E78000E InterneyEthernet Controller P MARSA Por 10000 Timeout ms 5000 g EEREN V Check Duplicated IP Connect to Server Y xComm Servers 1 Baudrate Web Configuration System Infomation Alias MAC Address IP Address Sub net Gateway DHCP i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 103 5 5 Uninstalling the VxComm Driver Step 1 Sel
3. 232 03 600 bps baud rate of RS 232 04 1200 bps baud rate of RS 232 05 2400 bps baud rate of RS 232 06 4800 bps baud rate of RS 232 07 9600 bps baud rate of RS 232 08 19200 bps baud rate of RS 232 09 38400 bps baud rate of RS 232 0A 57600 bps baud rate of RS 232 OB 115200 bps baud rate of RS 232 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 67 gt Example Command 99 P01 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 s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 68 4 9 99 PO2 Description Read the RS 485 configuration gt Syntax 99 P02 99 P02 gt Response Command character Valid Command 062BBDSP Invalid command ERROR 062 BB D Delimiter for valid command RS 485 Baud rate Data bit 0 7 bits data formation 1 8 bits data formation Stop bit 0 1 stop bit 1 2 stop bits Parity bits 0 None 1 Even 2 Odd RS 485 Baud rate list BB Description 00 110 bps baud rate of RS 485 01 150 bps baud rate of RS 485 02 300 bps baud rate of RS 485 03 600 bps baud rate of RS 485 04 1200 bps baud rate of RS 485 05 2400 bps baud rate of RS 485 06 4800 bps baud rate of RS 485 07 9600 bps baud rate of RS 485 08 19200 bps baud rate of RS 485 09 3840
4. 24 Therefore the i 7540D allows 24 clients link to it Indicator 6 LED 2 4 Con for connect to server or not LED 5 0 not connect to server 1 already connect to server i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 22 3 Software Utilities We support some software utilities for users to set and test the status of the i 7540D 1 i 7540D Utility The i 7540D 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 2 MiniOS7 Utility MiniOS7 Utility is a tool for configuring uploading files to all products embedded with ICPDAS MiniOS7 3 VxComm Utility Using the Virtual COM application one PC can control 256 COM ports including real COM ports The i 7540D will become a RS 232 RS 485 CAN to Ethernet Internet converter i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 23 3 1 i 7540D Utility The i 7540D 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 Utility please install the i 7540D Utility setup file and run the i 7540D exe file The screenshot of the startup screen for this Utility is given in the below figure Connect t
5. 7540D COMS CAN i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 93 5 2 Step 1 Step 2 Installing the VxComm Driver The installation software can be obtained from the following location http ftp icodas com pub cd 8000cd napdos 7188e tcp vxcomm driver pc 8000cd Napdos 7188e TCP vxcomm driver pc Please choose the version that suits your Windows operation system vxcomm2K_vNNNNN exe for Windows 2000 XP vxcommnt_vNNNNN exe for Windows NT e vxcomm98 exe for Windows 98 Go the where you download the installation file and then double click the file in Windows to execute it Earn Dihree Senp xComm Driver y2 08 12 Beta 3 for Windows 2000 XP 2003 OLD sSTIOAL A Supports 71 sese Dermeser re erse i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 94 Step 3 Select the Yes option and click the Finish button to restart your computer xLonen Urever Setup Insti hinid Wiroed Complete Step 4 After rebooting the computer the VxComm Utility will ask you to configure the virtual COM port s Please refer to the next section 5 3 for more information i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 95 5 3 Adding an i 7540D and configuring the VxComm Driver Step 1 Obtain the IP address of the i7540D The MiniOS7 Utility can help you in obtaining the IP address of the i 7540D Note The default IP addre
6. AR 93 5 2 Installing the VxComm Driver eesssesssecssocesooessocsssecssocesocesoosssocesocessocesocssooseso 94 5 3 Adding an i 7540D and configuring the VxComm Driver ssscsese 96 5 4 Removing an 1 7 54 OD ie ssisccssciasccacssasssvdennsdincentestvaensessadascessassncdeiasiatestasencticiads 102 5 5 Uninstalling the VxComm Drivel ccssccsssscsssssccsssscesssccssssccsssssscsssssees 104 Application with PISO CAN 200 400 T csssssssssssssssssssssssssessssssnsssessseees 106 Diagnostics and Troubleshooting ccssccssrsccssrsccssssccssscccssscccsssccesssccsessees 109 7 1 Di gnostitS ossssssicsssssscsoscossiossosssscsssosiussoss tosses is osseo scosso nason sses iesise osea iosi 109 7 2 Trouble SHOOUNS sssrinin oetoesan e ea eras aaa Easela cobeses seise 117 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 3 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 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 contr
7. Click Add Remove Programs Step 4 Select the Remove option button and press the Next button to remove i 7540D Utility See figure 3 10 i 7540D Utility Setup Welcome Modify repair or remove the program Welcome to the i 7540D Utility Setup Maintenance program This program lets you modify the current installation Click one of the options below C Modify Select new program components to add or select currently installed components to remove C Repair SF Reinstall all program components installed by the previous setup Remove Remove all installed components Cancel Figure 3 10 Modify repair or remove the program dialog i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 29 Step 5 Click the button Yes to remove the software as shown in figure 3 11 i 7540D Utility Setup Do you want to completely remove the selected application and all of its components Figure 3 11 Click the button Yes to remove the software Step 6 Finally click the Finish button to finish the uninstall process i 7540D Utility Setup Maintenance Complete InstallShield Wizard has finished performing maintenance operations on i 540D Utility Cancel Figure 3 12 Maintenance Complete dialog i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 30 3 1 2 How to configure the module parameters The following procedure will gui
8. Condition Description Off No data is being received Flashing red Data is being received Solid red Receive error messages i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 2 4 3 5 digits 7 Segment LED Displays The 5 digits 7 SEG LED will show as figure 2 6 Connect to Server or not 0 not connected 1 connected Total socket number 24 No client connect to this 7540 The IP is 192 168 255 1 destination IP address of CAN bus pair connection 192 168 255 2 1 Enable CAN pair connection 0 using TCP IP protocol 0 act as a server DHCP function disable Com3 CAN specification 2 0A Com2 data 7 even parity stop 2 Com1 data 8 no parity stop 1 Baud rate of COM 1 2 9600 Baud rate of CAN 125K Figure 2 6 7 SEGLED Displays The important information of i 7540D can be divided as follows Group ID 11111 IP information of this i 7540D Group ID 22222 baud rate of all ports Group ID 33333 configuration of all ports Group ID 44444 CAN bus pair connection information and client connected information of this i 7540D The IP information format of i 7540D is given as follows Group ID of 5 digit LED 11111 LED 1 indicator can be 1 or 2 or 3 or 4 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 20 LED 2 5 IP The LED will show Group ID first and then show its IP as the above diagram
9. Select the Device Manager icon from the Computer Management program Computer Management E File Action view Window Help e ams mj Computer Management Local i System Tools HOME Computer Event Viewer Hs Disk drives Shared Folders E 2 Display adapters 2 Local Users and Groups 4 DYD CD ROM drives Performance Logs and Alerts 4 Floppy disk controllers 4 Floppy disk drives Si Storage gy Human Interface Devices Removable Storage IDE ATAJATAPI controllers Disk Defragmenter ae Keyboards Disk Management Mice and other pointing devices Fa Services and Applications Monitors HM Network adapters Other devices E g Ports COM amp LPT mR Processors e o e a9 Sound video and game controllers a a Step 3 Click Show hidden devices from the View menu Computer Management E Fie Action Window Help e gt a Devices by type Devices by connection mj Computer Mane Resources by type iG System Toc Computer te Resources by connection i Eve Disk drives Shaged y Show hidden devices play adapters E Loc Mi WDiCD ROM drives 4 Perform Floppy disk controllers Device Manager Floppy disk drives aj Storage gy Human Interface Devices Removable Storage Sy IDE ATA ATAPI controllers Disk Defragmenter ae Keyboards Disk Management
10. TCP up C Server Cert L j L Connect to 192 168 255 2 Connect to 192168 255 1 j _ N D S Ethernet UDP IR Z v v Z Z nan n 3 faa m zZ Zz S S v i 7540D i 7540D IP 192 168 255 1 IP 192 168 255 2 After setting CAN Bus Pair connection Status of the two i 7540D and re start the system of them CAN messages between CAN 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 CAN Ethernet Gateway User s Manual Version 1 4 April 2008 46 Application 02 one to many communication broadcast CAN Bus Pair Connection by using UDP method port 57540 r CAN Bus Pair Connection Status IV CAN Bus Pair Connection Set CAN Bus Network 03 C TCP UDP Server cieni onneft to 255 255 255 255 et CAN Bus Pair Connection Status IV CAN Bus Pair Connection Set i 7540D IP 192 168 255 1 TCP UDP Sever Cieni i 7540D IP 192 168 255 3 Comectto 1921682551 CAN Bus Pair Connection Status IV CAN Bus Pair Connection Set CAN Bus Network 01 C TCP UDP C Sewer Chen i 7540D IP 192 168 255 2 Connectto 192 168 255 1 CAN Bus Network 02 1 After setting CAN Bus Pair connection Status of these i 7540D and re start the system of them CAN messages on CAN Network 01 wi
11. activate the 120Q terminator resistor built in the system as in the figure 2 5 Note that the default setting is active And about the J3 jumper setting please refer the table 2 5 XC 100 JP1 t LEDO 2 e Z P LEDI bad O g clock S LED2 Figure2 5 XC100 I O expansion board LAYOUT Table 2 5 J3 Jumper Selection Apply the termination Don t apply the termination resistor 120Q resistor i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 16 2 4 LED Indication The i 7540D provides the Converter function between the Ethernet port and the RS 232 amp RS485 amp CAN port It can handle both 11 bits and 29 bits ID format according to whether it is a CAN 2 0A or 2 0B It also provides some LEDs to indicate to users what situation the i 7540D is in 2 4 1 Power LED There is a red indicator LED in the i 7540D as follow Firmware is running flashing red The default shipping of i 7540D will be firmware inside so the red indicator LED of i 7540D will be ON 0 5 second then OFF 0 5 second periodically i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 17 2 4 2 CAN bus indicator LED The i 7540D includes three single color LED displays to indicate the status of module network and I O device They are ER LED it is red TX LED it is green and RX LED it is red The Indicators assist maintenance personnel in quickly identifying a problem unit The LED test
12. again Users can set the Keep Alive Time and Connection Broken time to 0 to disable this mechanism The System Timeout will have to be set to 0 to disable the reset mechanism Connect Timeout ms field The timeout value will be passed into MS TCP IP driver for reference when connecting and disconnecting Command TCP Port field By default setting the i 7540D use TCP port 10000 as the Command Configuration port If you change the setting of i 7540D you must assign the correct one in the field So the VxComm Driver can connect to the right TCP port This TCP port is used to configure the Baud rate data format CTS RTS control mode and Break etc Port7000 Port field By default setting the i 7540D use TCP port 9999 as the Port7000 port This TCP port is reserved i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 100 Step 8 Click the Exit button to exit the VxComm Utility Before exiting the Re starting the Driver dialog window will automatically display Click the Re start button to stop start the driver Web Configuration System Infomation VxComm Utility Re starting the Driver Search Device To use the new configuration please close all virtual COM ports first and then click the Re start button to stop start the driver Status Driver is running Cresta TJ Cancel 7186EX 10000 v3 2 25 06 21 2007 Found i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008
13. module through the power terminal 3 The i 7540D module s Power LED will flash approximately once per second And the 5 digits 7 segment LED will scroll to display some messages That means the i 7540D is working in the operation mode 4 Run the i 7540D Utility software after they have made a wire connection between the PC and the i 7540D via the network cable 5 Click the Connect icon on the i 7540D Utility tool bar The setting frame will be popped up Key in the IP of the i 7540D and press the Connect button in order to connect with it As shown in the following figure Settings CAN Parameters Network Status CAN Specification Gateway N A n Vag Nd CAN Bus Baug Acceptance O Acceptance Timeout 5000 ms Connect Error Resp TimeStamp Resp CAN Bus Pair Connection Status Pees Po S e COM Status com Na o COM2 Na t Connect to Na Not Connected Copyright c 2005 ICP DAS Co LTD i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 42 6 Select the Test tab in order to test the function of transmission and reception via the i 7540D module In Send CAN Message frame user can send the necessary CAN message to Ethernet port 10003 of 7540D Then 7540D will transfer and transmit this message to CAN bus In the Send Command to 7540D frame users can send command to 7540D for getting or setting the status or parameters of 7540D Timer mode to s
14. transmission distance of CAN over 1000m follow CAN specification Built in self tuner ASIC controller on RS 485 port 7 segment LED display Software configurable CAN and Ethernet communication parameters Program download port COM1 or Ethernet Port Support CAN bus pair connection Provide the transparent communication between the CAN devices via Ethernet network i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 5 1 2 Specifications CPU CPU 80186 80MHz or compatible SRAM 512K Bytes Flash 512K Bytes EEPROM 16K Bytes NVRAM 31 Bytes battery backup data valid up to 10 year RTC Real Time Clock Yes 64 bit Hardware Serial Number Yes Build in Watchdog Timer Yes Communication Interface COM1 RS 232 TXD RXD RTS CTS GND COM2 RS 485 D2 D2 Gan One CAN port with two CAN bus connector interfaces Ethernet Port CAN_H CAN_L 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 Dimensions i 7540D 123 x 72 x 33 mm Operating Environment Operating Temperature 25 C to 75 C Storage T
15. 0 bps baud rate of RS 485 0A 57600 bps baud rate of RS 485 OB 115200 bps baud rate of RS 485 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 69 gt Example Command 99 P02 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 s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 70 4 10 99 P1 Description Read the CAN configuration gt Syntax 99 P1 99 P 1 gt Response Command character Valid Command 14PBCCCCCCCCMMMMMMMMET Invalid command ERROR 14 P B CCCCCCCC MMMMMMMM E Delimiter for valid command CAN specification 0 2 0A 1 2 0B CAN Baud rate 32 bits Acceptance Code Register 00000000 FFFFFFFF 32 bits Acceptance Mask Register QOQOOO000 FFFFFFFF Error response or not 0 Disable 1 Enable Timestamp response or not 0 Disable 1 Enable CAN baud rate list Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 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 O OINID A A IN gt o User Defined i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 71 gt Example Command 99 P1 Response 1404000
16. 00000FFFFFFFFOO The response will show the following results CAN specification 2 0A CAN baud rate 125Kbps acceptance code register 00000000 acceptance mask register FFFFFFFF disable error response disable timestamp response Note This command can only be accepted by 7540D s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 72 4 11 99 P1B Description Read the CAN Bus Timing Register gt Syntax 99 P1 99 P1B Command character gt Response Valid Command O6PBTTRR Invalid command ERROR 06 Delimiter for valid command P CAN specification 0 2 0A 1 2 0B B CAN Baud rate TT CAN Bus Timing Register 0 00 FF RR CAN Bus Timing Register 1 00 FF CAN baud rate list Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 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 O OINI OD OA A INJ o User Defined i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 73 gt Example Command 99 P1B Response 06090014 The response will show the following results CAN specification 2 0A CAN baud rate User defined BTRO 00 BTR1 14 Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 04 or later i 7540D CAN Ethernet Gateway User s Manual Version
17. 1 4 April 2008 74 4 12 99 P0105BBDSP Description Change the RS 232 configuration of the i 7540D gt Syntax 99 P0105BBDSP 99 P0105 Command character BB RS 232 Baud rate D Data bit 0 7 bits data formation 1 8 bits data formation S Stop bit 0 1 stop bit 1 2 stop bits P Parity bits 0 None 1 Even 2 Odd RS 232 Baud rate list BB Description 00 110 bps baud rate of RS 232 01 150 bps baud rate of RS 232 02 300 bps baud rate of RS 232 03 600 bps baud rate of RS 232 04 1200 bps baud rate of RS 232 05 2400 bps baud rate of RS 232 06 4800 bps baud rate of RS 232 07 9600 bps baud rate of RS 232 08 19200 bps baud rate of RS 232 09 38400 bps baud rate of RS 232 OA 57600 bps baud rate of RS 232 OB 115200 bps baud rate of RS 232 gt Response Valid Command OK Invalid command ERROR i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 75 gt Example Command 99 P01050B100 Response OK Set the setting of RS 232 baud rate 115 2Kbps data bits 8 stop bit 1 none parity bit into the i 7540D and the 7540D response OK command to mean that the configuration of RS 232 has been changed Note This command can only be accepted by 7540D s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 76 4 13 99 P0205BBDSP Description Change the RS 485 configuration of the i 7540D gt Syntax 99 P020
18. 12 2 2 2 Connect to CAN Bus In order to provide an easy CAN bus wiring the i 7540D supplies one CAN port with two CAN bus connector interfaces Each connecter built on the i 7540D looks like as figure 2 3 and table 2 2 Table 2 2 CAN bus Connector Pin Assignment Pin No Signal Description 1 N A Not Connected 2 CAN_L CAN_L bus line dominant low 3 N A Not Connected 4 CAN_H CAN_H bus line dominant high 5 N A Not Connected Note that the bypass CAN bus connector is not another CAN channel It is designed for connecting to another CAN device conveniently The structure of the inside electronic circuit is displayed as figure 2 4 I Z lt O J No Use v A gt o r Zz 9 zZ lt J No Use J No Use Figure 2 3 Electronic circuit of CAN bus connector i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 13 2 2 3 Ethernet Connect 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 it will auto negotiate the network speed and connection Table 2 3 Ethernet Connector Pin Assignment Pin Name Description 1 TX Transmit Data 2 TX Transmit Data 3 RX Receive Data 4 N C Not Connected 5 N C Not Connected 6 RX Receive Data 7 N C Not Connected 8 N C Not Connected i 75
19. 12233445566 lt CR gt 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 s port 10003 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 59 4 2 THIIL lt CR gt Description Send or receive a standard CAN remote frame gt Syntax TIIIL lt CR gt T Represents a standard 2 0A remote frame III 11 bits Identifier 000 7FF L Data length 0 8 gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the i 7540D Utility in order to receive Syntax and or communication error information at the host PC gt Example Command T2E88 lt CR gt Send a CAN message with a standard remote frame ID 2E8 DLC 8 Note This command can only be accepted by 7540D s port 10003 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 60 4 3 ellllllliILDD lt CR gt Description Send or receive an extended CAN data frame gt Syntax ellllIIIILDD lt CR gt e Stands for the extended 2 0B data frame TTT 29 bits Identifier QO0O00000 1FFFFFFF L Data length 0 8 DD Input data frame value according to the data length 00 FF gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Er
20. 188E S000E Diagnostics amp Config TCPAP Send Command To 7188E p Network Status 192 168 255 1 Gateway 192 168 0 1 Set Comeet Disconnect _ Send _ Clear Result _ Mask 25525500 Set _ FI88E3 is connected MAC 00 80 31 00 01 14 Select Port Send Data with C None CR C LFC LECRO CR_LFO CS_CR Modify IP Send Data T188E COM Status sa oo 9600 8 N 1 Set Fw Ver Receive 3 0 01 f1171972001 _Chear_ MiniOs Version v1 0 14 0010871 Close i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 53 Step 3 Send command 10 to the i 7540D And it will response 7188E3 message Send TCP 7188E S000E Diagnostics App 2 01 Config TCP IP Send Command To 7188E _ Network Status 192 168 255 1 fio Gateway 192 168 0 1 Set comed Disconnect peng Clear Result PEN 55535500 Set 188E3 is connected 188E3 l MAC 00 80 31 00 01 14 Select Port Send Data with j Pot1 C None CR C LF LF CRO CR_LFC CS_CR Modify IP Send Data 7188E COM Status saj ooo 9600 8 N 1 Set Fw Ver Receive 3001 11 19 2001 _Clear_ Seiad fri 0 14 001 8 1 Close Step 4 Select Port 2 and CR Then send 02M to read 7000 module s ID which is connected to i 7540D s COM2 If you enable 7000 mod
21. 40D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 14 2 3 Terminator resistor settings In order to minimize reflection effects on the CAN bus line the CAN bus lines have to be terminated at both ends by two terminal resistances Based on the ISO 11898 2 spec each terminal resistance is 120Q or between 1080 132Q The length related resistance should have 70 mQ m Users should check the resistances of their CAN bus before they install a new CAN network as figure 2 4 Device Device 27 I e 0 U CAN_L Figure 2 4 Terminator resistor Moreover to minimize the voltage drop on long distance the terminal resistance should be higher than the value defined in the ISO 11898 2 Table 2 4 may be used as a reference Table 2 4 Relation between bus cable and length Bus Cable Parameters Bus Terminal L th Related i Length ia i ciate Cross Section Resistance meter esistance Type Q mQ m 0 25 23AWG 0 40 70 z 124 0 1 0 34mm 22AWG 0 34 22AWG 40 300 lt 60 2 127 0 1 0 6mm 20AWG 0 5 0 6mm 300 600 lt 40 150 300 20AWG 600 1K lt 20 0 5 0 emm 150 300 18AWG i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 15 Therefore the i 7540D 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 cover and use the JP3 jumper to
22. 40D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 113 E Example 3 External Devices Testing Connect 7000 series modules to COM2 of the i 7540D Set COM2 of the as virtual COM10 of the Host PC using the VxComm Utility Thus we can use the DCON Utility to search the 7000 series module through COM10 Note The DCON Utility has to be installed on your Host PC The installation software can be obtained from the following location http ftp icpdas com pub cd 8000cd napdos driver dcon_utility setup CD Napdos Driver DCON_Utiltiy Setup Step 1 Run the DCON Utility 7188E gt amp icppas gt eS Windows Catalog fa DAQPro faa DCON Utility E DCON Utility i Internet Explorer M DCONPC_ActiveX 8 DCON_Support_Module_List W Windows Upd te Outlook Express EZDataLogger gt EB Uninstall DCON Utility s Remote Assistance fan Programs HH eas Windows Movie Maker Set Program Access and Defaults Version Information Log Off vic o Turn OFF Computer J A Documents p Startup gt pe y A Z a Settings gt 2 2 Search gt Help and Support 9 E Run 9 28 o ki i eg Start i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 114 Step2 Establish connection as follows COM1 Path 1 Real COM Ga ioe m m ee m oe ep TX a Labels of CA0910 7000 series module Step 3 C
23. 5 windows Installer 3 1 KB893803 Step 4 Click the button Yes to remove the software xComm Driver 2K Uninstall i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 105 6 Application with PISO CAN 200 400 T In this chapter we describe the i 7540D application in CAN network On the CAN bus side the device is the PISO CAN200 400 T of ICP DAS And here the i 7540D is a CAN Ethernet gateway device It allows users to send specific commands from It s Ethernet port10003 to CAN bus Receive response message form CAN bus and then convert these CAN messages to specific commands After converting it sent these specific commands to those who establish connection with it from port 10003 The architecture is depicted as figure 5 1 RS 232 PISO CAN Demo Program a o Demo Program VxComm Technology PISO CAN200 400 S 1 7540 CAN Ethernet Gateway Figure 6 4 Architecture of the demo in PISO CAN200 400 PCI card The information of devices and software in this application is below Hardware CAN bus side PISO CAN 200 400 T Ethernet side PC with VxComm technology CAN Ethernet Gateway i 7540D Software CAN bus side the utility in PISO CAN200 400 PCI card Ethernet side send232 tool in MiniOs7 Utility i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 106 Please do the following steps to setup the system before you
24. 540D responses that destination IP address is 192 168 255 2 Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 06 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 87 4 22 99 PPCLLABC Description Change the CAN bus pair connection configuration After setting successfully all parameters will take effective after system restart gt Syntax 99 PPCLLABC 99 PPC Command character LL number of parameters here fix to 03 A Enable CAN bus pair connection flag 0 Disable 1 Enable B Using TCP or UDP connection 0 TCP 1 UDP Cc Act as a server or client 0 server 1 client Note 1 When A 0 B and C take no effective 2 When using UDP connection B 1 C take no effective 3 When acting as a TCP client or using UDP method users need to set the destination IP address section 4 23 so that the 7540D can work correctly gt Response Valid Command OK Invalid command ERROR gt Example Command 99 PPC03101 Response OK Change the CAN bus pair connection configuration of the 7540D to enable CAN bus pair connection and act as a TCP client Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 06 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 88 4 23 99 PPIPxxx Description Change the CAN bus pair connection destination IP address Af
25. 5BBDSP 99 P0105 Command character BB RS 485 Baud rate D Data bit 0 7 bits data formation 1 8 bits data formation S Stop bit 0 1 stop bit 1 2 stop bits P Parity bits 0 None 1 Even 2 Odd RS 485Baud rate list BB Description 00 110 bps baud rate of RS 485 01 150 bps baud rate of RS 485 02 300 bps baud rate of RS 485 03 600 bps baud rate of RS 485 04 1200 bps baud rate of RS 485 05 2400 bps baud rate of RS 485 06 4800 bps baud rate of RS 485 07 9600 bps baud rate of RS 485 08 19200 bps baud rate of RS 485 09 38400 bps baud rate of RS 485 OA 57600 bps baud rate of RS 485 OB 115200 bps baud rate of RS 485 gt Response Valid Command OK Invalid command ERROR i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 77 gt Example Command 99 P02050B100 Response OK Set the setting of RS 485 baud rate 115 2Kbps data bits 8 stop bit 1 none parity bit into the i 7540D and the 7540D response OK command to mean that the configuration of RS 485 has been changed Note This command can only be accepted by 7540D s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 78 4 14 99 P114PBCC MM ET Description Change the CAN configuration of the i 7540D gt Syntax 99 P114PBCCCCCCCCMMMMMMMMET 99 P114 P B CCCCCCCC MMMMMMMM E Command character CAN specification 0 2 0A 1 2 0B CAN B
26. 8 44 3 1 9 How to use CAN Bus Pair Connection The firmware v1 06 or later and Utility v1 04 or later support CAN bus pair connection UDP TCP function 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 via Ethernet port 10003 will become no effective And the VxComm port of 7540D s COM3 CAN port will become no effective i 7540D Utility File Actions Help Settings m CAN Parameters m Network Status CAN Specification Gateway INZA Set CAN Bus Baud rate bits ec Mask N A Set_ MAC N A BTRO O Hex BTRI OO Hex wep M __Set Acceptance Code 00 oo oo foo Hex Web Passwd INZA t Acceptance Mask 00 oo oo foo Hex Reset System Error Resp Y TimeStamp Resp Y CAN Bus Pair Connection Status CAN Bus Pair Connection Cor CAN Pair Status j tcp Cupp Sewer C Client m COM Status COM1 INZA set aie ma rar Connect to INZA Set Not Connected Copyright c 2005 ICP DAS Co LTD i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 45 Application 01 one to one communication CAN Bus Pair Connection by using UDP method port 57540 m CAN Bus Pair Connection Status r CAN Bus Pair Connection Status IV CAN Bus Pair Connection Set IV CAN Bus Pair Connection Set al C TCP uop C Serer Cien C
27. D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 109 Step 3 On the Tools menu of the MiniOS7 Utility and then click the Send232 to open the Send232 application P MiniOS7 Utility Verion 3 1 1 build 3 1 1 1 3l File Connection Command Z Configuratio E Tools G Help X 7188x Look in fa MiniS7_Utilty F188EU Lock in Disk amp Name Size Type CI bin File Folde FIRMWARE File Folde SendTCP D 0S_IMAGE File Folde xComm Utilit icpdas B Internet load232 dll 88KB Applica Send232 Y 2 0 1 COM1 EY MiniQ S 7_Utility 1 025KB Compile E Mini0S7 Utility 2 094KB Applica COM status r Send string with MiniOS7_Utility 3KB f CONT xj s600 x None C LF_CR S uatt dl 56KB Applica i C 5 C LF E unins000 SKB DAT Fil Ta ae Bar A ioe j5 unins000 662KB Applica oen Lowe Auto send Sting 7 z j Send mn mn Send Receive Step 4 Select the COM4 and then click the Open button to open COM4 of the Host PC COM status i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 110 Step 5 Type any characters in the Send text box and then click the Send button The characters will be sent from COM4 of the Host PC to COM1 of the i 7540D via Path 1 and will be immediately returned from COM1 of the i 7540D to COM4 of the Host PC via Path 2 then displayed on the Receive text box of the Send232 Send232 V 2 0 1 COM4 COM status Lin
28. D responses the Web password setting is icopdas7540D Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 05 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 83 418 99 PWIDLLxxxxx Description Change the Wed ID configuration gt Syntax 99 PWIDLLxxxxx 99 PWID Command character LL Web ID data length in hexadecimal format XXXXX Web ID data at most 30 ASCII characters gt Response Valid Command OK Invalid command ERROR gt Example Command 99 PWID047540 Response OK Change the Web ID data setting of the 7540D to 7540 and the 7540D responses OK command to mean that the configuration of Web ID data has been changed Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 05 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 84 4 19 99 PWPWLLxxxxx Description Change the Wed password configuration gt Syntax 99 PWPWLLXxxxxx 99 PWPW Command character LL Web password data length in hexadecimal format XXXXX Web password data that you want to configure At most 30 ASCII characters gt Response Valid Command OK Invalid command ERROR gt Example Command 99 PWID0512345 Response OK Change the Web password data setting of the 7540D to 12345 and the 7540D responses OK command to mean that the configur
29. ID PASSWOR D configuration The i 7540D module has a built in web server that allows user to easily configure the module from a remote location using a regular 7540D Setup Page Microsoft Internet Explorer File Edit View Favorites Tools Help o O AAG web browser Hor JO Search She Favorites 2 amp A LJ H as Address http 192 168 0 122 yo ims Osam py GY Device Information Modulename mw Fimwareversion osnonsron TCPIIP library version TCPIIP library date Aug 22 2007 Subnet Mask 255 255 0 0 25525500 When users want to modify the configuration of i 7540D via Setup web page they need to fill these two fields ID and PASSWORD with correct values Or they can view the configuration of i 7540D and can t modify the configuration Z 1 7540D Setup Page Microsoft Internet Explorer File Edit View Favorites Tools Help Q ix 2 G Asah she Favorites oO F Ad ress wepins2ta0 12 O OOOO O O D Daa Bo Uins snoot tet Sa se a Bus Timing Register 0 00 Hex Bus Timing Register 1 00 Hex COM Port Setting COM1 115200 N 8 1 COM2 115200 N 8 1 Baud rate Data bits Stop bits 7540D SET TCP IP and COM CAN PORT i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 40 If users want to change the ID and PASSWORD they n
30. R1 configuration PWID Read Web ID configuration PWPW Read Web Password configuration SPWIDLLXxxxx Change Web ID configuration SPWPWLLxxxxx Change Web Password configuration PPC Read CAN Pair Connection configuration PPIP Read CAN Pair Destination IP PPCLLABC Change CAN Pair Connection configuration PPIPxxx Change CAN Pair Destination IP Note 1 More detailed information related to of the each command will be described in the following sub sections The P1B and P1B04TTRR commands just can be used on the firmware version v1 04 or later The PWID PWPW PWIDLLxxxxx PWPWLLxxxxx commands just can be used on the firmware version v1 05 or later The PPC PPIP PPCLLABC PPIPxxx commands just can be used on the firmware version v1 06 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 4 1 tIIILDD lt CR gt Description Send or receive a standard CAN data frame gt Syntax tiIILDD lt CR gt t Represent a standard 2 0A data frame lll 11 bits Identifier 000 7FF L Data length 0 8 DD Input data frame value according to the data length 00 FF gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the i 7540D Utility in order to receive Syntax and or communication error information at the host PC gt Example Command t03F61
31. S Ee Litn Copyeshilc 2005 ICP DAS Co LTD Application Factory Automation Building Automation Home Automation Control system Monitor system Vehicle Automation i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 1 3 VxComm Technology The i 7540D is designed as a RS 232 RS 485 CAN to Ethernet Gateway So it follows that they can be used to link these RS 232 RS 485 CAN devices to central computer as follows i 7540D CAN bus d Devices RS 232 Devices RS 485 Devices Ethernet Ethernet 10 100M 10 100M i CAN bus i 7540D Devices Ethernet i 10 100M Mos RS 232 Devices RS 485 Devices Figure 1 2 Application of i 7540D Compared to the RS 485 network these Ethernet network hubs are already in existence for system network Therefore the RS 232 devices can find the closest hub and link to the central computer with the help of the i 7540D The Ethernet network is extremely popular and already existing for most applications hence this approach is a very successful In general it is more difficult to write a TCP IP program than a COM 1 2 program Therefore the VxComm technology is developed to simulate COM ports of the i 7540D to become COM 3 4 5 256 of the central computer Then users can write a COM port program to link these RS 232 RS 485 CAN devices and need not to concern themselves with any TCP IP problem i 7540D CAN Ethernet Gateway User s Manual Version 1 4 Ap
32. S IP P Port Connect to a device by using TCP protocol Q Quit program and disconnect C Program Files 7188E PCDiag gt 7188e s 192 168 30 24 p 1000 Connect to 192 168 36 24 16666 61 Fei t 7188E2 q C Program Files 7188E PCDiag gt i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 55 3 3 VxComm Utility The VxComm Virtual Comm Driver and VxComm Utility are very easy to install and use This document shows how to install and configure the driver correctly For more information please refer to section 5 VxComm application VxComm Utility v2 8 12 Beta Aug 17 2007 File Server Port Tools 7188E 8000E Internet Ethernet Controller IP 192 168 255 1 Port 10000 Timeout ms 5000 g PERT N Check Duplicated IP M Connect to Server xComm Servers Port COM Baudrate Remove Server 9 Configure Server y Web Configuration Configure Port ri REENE Name Alias MAC Address IPAddress Sub net Gateway DHCP Configure Server UDP 7186E3 10000 v3 2 25 06 21 2007 Found i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 56 4 Support Command List For easy application we provide 4 command strings to allow users to send specific commands from i 7540D s Ethernet port10003 to CAN bus And receiving response message form CAN bus Also we provide several commands for i 7540D s Ethernet port10000 to set and get the status of 7540D It c
33. The 1 7540D CAN Ethernet Gateway 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 2005 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 1 L Table of Contents Introd cti ss ciscssusdvsvestsagsivdaSeaescinesusi setaniienecvenpsadsuia sis eneseccusvdguvesvaisvsedseieceianthsvter 4 1 1 F AUIRES ss2eicts iceceaiceteccenscuncteesdivtenkccduusesceinceetadsusebuecbetuis ccamesecuswcentad decebuccbedeseadenese 5 1 2 Specifications 5 55c5i 555k ce Sosicepecacancesecovecuoectaxeaeceeascguasanenenainesrancaneiestrieeseeramtennns 6 1 3 VxComm Technolopy siccvassvsiicissccsnncoscuvsvdsinsveceesesvecesosaesceesesousecsvencacssussdsonstesvanese 8 VELIL EG PERPER ENEE E E tines 10 2 1 Block Tree anaes cass Gaia Gaetan pact
34. air Connection Set f IER ge UDP e Server Client CAN Pair Status COM Status COM1 115200 8 N 1 Set Connect to 192 168 0 102 Set COM2 E 9600 8 N 1 S Connected Configuration Mode 1 0 6 xx xx 2008 Copyright c 2005 ICP DAS Co LTD Figure 3 15 Network status COM status and CAN pair status i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 34 3 1 3 How to set the Bus Timing Registers BTRO BTR1 Set the special user defined baud rate Users can set arbitrary baud with these parameters But users need to have the background of SJA1000 CAN controller and 82C251 CAN transceiver and calculate the values of BTO and BT1 by themselves The clock frequency of CAN controller is 16MHz i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 35 3 1 4 How to set the Acceptance Code and Mask Acceptance Code AC The CAN ID bits that you want to get Acceptance Mask AM The CAN ID bits that you want to filter In the acceptance code the bit value 1 means that you want to get this CAN ID bit And in the acceptance mask the bit value O means that you want to filter this CAN ID bit For 11 bit ID Message Register bits of register Filter Target AccCode 0 and AccMask 0 bit7 bitO bit10 bit3 of ID AccCode 1 and AccMask 1 bit7 bit5 bit2 bitO of ID AccCode 1 and AccMask 1 bit4 RTR AccCode 1 and AccM
35. allation file in the included CD The directory is gt 8000cd napdos 7188e tcp vxcomm driver pc nt for Windows NT 4 0 or gt 8000cd napdos 7188e tcp vxcommi driver pc 2k for Windows 2000 Windows XP This document shows how to install and configure the driver correctly The first part instructs users how to install the software The second part shows how to add an i 7540D server and configure a COM port Finally the third part teaches you how to remove an i 7540D i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 91 5 1 1 Architecture The VxComm Driver creates COM port s and maps them to the COM port s of the i 7540D The user s RS 232 client programs need only to change to the different COM port to access the serial devices that are allocated to the Internet or Ethernet network via the i 7540D Internet Ethernet Internet 7 00000 HUB i 7540D i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 92 5 1 2 Ports mapping Vxcomm Driver Utility supports Port 1 to Port 3 in accessing COM1 to COM3 of the i 7540D Another Port I O is designed to access the I O boards mounted on i 7540D but it doesn t use now With the help of the VxComm Driver Utility uses can map remote COM port to become a virtual COM port of PC One PC can control maximum number of 256 COM ports including COM1 and COM2 Local COM Port Remote COM port VxComm Driver Utility PC P PC i
36. an cover most applications of different requests The general format of the i 7540D s commands are given below Port 10003 Command Format lt Command gt lt CR gt lt Command gt The commands of the i 7540D lt CR gt All commands from this port must end with the character lt CR gt The ASCII value is 13 Table 4 1 Command list table port 10003 Command Description tlIILDD lt CR gt Send or receive a standard data frame TIIL lt CR gt Send or receive a standard remote frame ell MINLDD lt CR gt Send or receive an extended data frame EVM MIL lt CR gt Send or receive an extended remote frame Note The i 7540D s COM3 CAN port can only accept these 4 commands i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 57 Port 10000 Command Format 99 lt Command gt Specific command for getting or setting the status of the ji 7540D Table 4 2 Command list table port 10000 Command Description S Read the status value of i 7540D C Clear CAN error flag and FIFO RA Reboot the i 7540D module P01 Read the RS 232 configuration P02 Read the RS 485 configuration P1 Read the CAN configuration P1B Read the BTRO and BTR1 configuration P0105BBDSP Change the RS 232 configuration P0205BBDSP Change the RS 485 configuration P114PBCC MM ET Change the CAN configuration P1B04TTRR Change the BTRO and BT
37. and can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 04 or later 3 Users need to have the background of SJA1000 CAN controller and 82C251 CAN transceiver and calculate the values of BTO and BT1 by themselves The clock frequency of CAN controller is 16MHz i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 81 4 16 99 PWID Description Read the Wed ID configuration gt Syntax 99 PWID 99 PWID Command character gt Response Valid Command LLxxxxx Invalid command ERROR LL Web ID data length in hexadecimal format XXXXX Web ID saved in the EEPROM the default Web ID setting is 7540D gt Example Command 99 PWID Response 057540D Read the Web ID setting of the 7540D and the 7540D responses the the Web ID setting is 7540D Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 05 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 82 4 17 99 PWPW Description Read the Wed Password configuration gt Syntax 99 PWID 99 PWPW Command character gt Response Valid Command LLxxxxx Invalid command ERROR LL Web password data length in hexadecimal format XXXXX Web password saved in the EEPROM the default Web password setting is icpdas7540D gt Example Command 99 PWPW Response OBicpdas7540D Read the Web password setting of the 7540D and the 7540
38. ask 1 bit3 bitO no use AccCode 2 and AccMask 2 bit7 bitO bit7 bitO of 1st byte data AccCode 3 and AccMask 3 bit7 bitO bit7 bitO of 2nd byte data For 29 bit ID Message Register bits of register Filter Target AccCode 0 and AccMask 0 bit7 bitO bit28 bit21 of ID AccCode 1 and AccMask 1 bit7 bitO bit20 bit13 of ID AccCode 2 and AccMask 2 bit7 bitO bit12 bit5 of ID AccCode 3 and AccMask 3 bit7 bit3 bit4 bitO of ID AccCode 3 and AccMask 3 bit2 RTR AccCode 3 and AccMask 3 bit1 bitO no use i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 36 Note 1 AccCode 0 means the most significant byte of AccCode and AccCode 3 means the least significant byte of AccCode 2 AccMask 0 means the most significant byte of AccMask and AccMask 3 means the least significant byte of AccMask 3 Bit10 is most significant bit and BitO is least significant bit For example In 29 bit ID message AccCode 00h OOh OOh AOh AccMask 00h OOh OOh 1Fh ID Value Ah and Bh will be accepted don t care Note The mark h behind the value means hex format i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 37 3 1 5 Enable Error Response i 7540D Utility File Actions Help CAN Parameters Network Status CAN Specification 0B v Gateway f 92 168 0 1 Set CAN Bus Baud rate 1000K SS fee Mask 255 255 0 0 Set MAC 00 0d
39. ation of Web ID data has been changed Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 05 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 85 4 20 99 PPC Description Read the CAN bus pair connection configuration Here support three parameters enable can pair TCP or UDP and Server or Client gt Syntax 99 PPC 99 PPC Command character gt Response Valid Command LLABC Invalid command ERROR LL number of parameters A Enable CAN bus pair connection flag 0 Disable 1 Enable B Using TCP or UDP connection 0 TCP 1 UDP Cc Act as a server or client 0 server 1 client gt Example Command 99 PPC Response 03100 Read the CAN bus pair connection configuration of the 7540D and the 7540D responses that enable can bus pair connection and act as a TCP server Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 06 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 86 4 21 99 PPIP Description Read the destination IP of CAN bus pair connection gt Syntax 99 PPIP 99 PPIP Command character gt Response Valid Command XXX XXX XXX XXX Invalid command ERROR XXX XXX XXX XXX Destination IP address gt Example Command 99 PPIP Response 192 168 255 2 Read the CAN bus pair connection destination IP of the 7540D and the 7
40. aud rate 32 bits Acceptance Code Register 00000000 FFFFFFFF 32 bits Acceptance Mask Register 00000000 FFFFFFFF Error response or not 0 Disable 1 Enable Timestamp response or not 0 Disable 1 Enable CAN baud rate list Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 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 olonia A INJ o User defined gt Response Valid Command OK Invalid command ERROR i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 79 gt Example Command 99 P1140400000000FFFFFFFFO0O Response OK Set the setting of CAN specification 2 0A CAN baud rate 125 Kbps acceptance code 00000000 acceptance mask FFFFFFFF disable error response disable timestamp response into the 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 s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 80 4 15 99 P1BO04TTRR Description Change the CAN Bus Timing Register of the i 7540D gt Syntax 99 P1B04TTRR 99 P1B04 Command character TT Bus Timing Register 0 00 FF RR Bus Timing Register 1 OO FF gt Response Valid Command OK Invalid command ERROR Note 1 This comm
41. ctions Help x P Gi Disconnect Exit About i 7540D s AN Sta Network Status CAN Specification 2 08 Gateway 192 168 0 1 Set CAN Bus Baud rate 1000K Lii Mask 255 255 0 0 Set MAC foa Od e0 d0 a2 49 BTRO 00 Hex BTRI 0 Hex WebID 7540D Set PERPER ye def 00 foo oo oo Hex Web Passwd icpdas7540D Set Acceptance Maskl FF FF FF FF Hex Reset System Modify IP CAN Bus Pair Connection Status Setting Defaults V CAN Bus Pair Connection Set Time Stamp v l response or np C TCP UDP C Server Client Status COM1 115200 8 N 1 Set Connectto 192 168 0 102 Set COM2 9600 8 N1 Set Se Connected Configuration Mode v1 0 6 xx xx 2008 Copyright c 2005 ICP DAS Co LTD Figure 3 14 Connect to the configuration mode of the i 7540D 6 Choose the Settings tab to open the configuration window for the CAN and the Network status parameters of the i 7540D Once users have finished changing the CAN parameter settings please click the Setting button on the CAN Parameters frame to store the communication parameters into the EEPROM on the i 7540D i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 32 Note If users click the Defaults icon all of the CAN communication parameters in the i 7540D will be set to the default values which are CAN Specification 2 0B CAN bus Baud rate 1Mbps BTRO 00 BTR1 00 Acceptance Code 00 00 00 00 Acc
42. d For example 2 Invalid length lt Error 0013112233 Right t0013112233 lt CR gt The CAN identifier bits depend on CAN specification Invalid CAN 3 identifier CAN 2 0A total 11 bits 0x000 Ox7FF CAN 2 0B total 29 bits 0x00000000 0x1FFFFFFF The data byte of the CAN Message does not match the data Invalid CAN length of the CAN Message For example data length lt Error t001512345 lt CR gt Right t00150102030405 lt CR gt If the i 7540D CAN baud rate is not the same as the CAN baud rate on the CAN network the ER LED on the i 7540D will be flash with a constant frequency and the TX LED will solid green because the i 7540D cannot send any CAN messages to the CAN network Therefore users will need to read the i 7540D status by using the command 99S in the section 4 5 to help users understand what is going in the module In general the following errors could occur CAN media connection problem terminal resistor problem different baud rate configuration with CAN network and so on i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 121
43. d click Finish button to exit See figure 3 5 i 7540D Utility Setup Ready to Install the Program The wizard is ready to begin installation Click Install to begin the installation If you want to review or change any of your installation settings click Back Click Cancel to exit the wizard lt Back inset gt Cancel Figure 3 5 Successful Completion of the Installation dialog Step 7 After finishing the installation of the i 7540D Utility users can find it as shown in figure 3 6 fm CAN_Gateway C Snaatt 7 A Minios utility Ver 3 16 amp Startup amp _ Modbus Utility Quick 7188e A CAN_Slave 4 i 7540D Utility t e SS 3 Internet Explorer Readme E WhatNew l Microsoft Access amp PSPad editor a All Programs Figure 3 6 You can find i 7540D Utility at the Start in the task bar i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 27 Uninstall i 7540D Utility You can uninstall i 7540D Utility software by the following means described below Step 1 Click Start in the task bar then click the Control Panel as shown in figure 3 7 CYP Control Panel Set Program Access and Defaults ka Printers and Faxes Help and Support pP Search All Programs gt IT Run 2 Log Off fo Turn OFF Computer gt fe 75400 Ff _News Eri Figure 3 7 Select settings St
44. de you on how to configure the communication parameters for the CAN and Ethernet interface The configuration steps are depicted as below Connect the power source the 10 30 DC volts into the i 7540D module The i 7540D module s Power LED will flash approximately once per second And the 5 digits 7 segment LED will scroll to display some messages please refer to section 2 4 3 That means the i 7540D module is working normally 3 The user must run the i 7540D s Utility software after they have made a wire connection between the PC and the i 7540D via the network cable 4 Click the Connect icon on the i 7540D Utility tool bar The setting frame will be popped up Key in the IP of the i 7540D and press the Connect button in order to connect with it As shown in the following figure N i 7540D Utility Network Status Gateway N A Acceptance O Acceptance Timeout 5000 ms Connect Error Resp TimeStamp Resp CAN Bus Pair Connection Status ass ee e COM Status COM1 IN A ma COM2 ma 7A Connectto NAA Se Not Connected Copyright c 2005 ICP DAS Co LTD Figure 3 13 i 7540D s IP setting i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 31 5 Then the i 7540D configuration window will be brought out The i 7540D Utility will show the communication information from the i 7540D module in the window as shown in the following figure i 7540D Utility File A
45. device is working properly is displayed If the driver is shown as not working properly remove it and then re install and reconfigure the driver Ynsernet Properties General Driver Details x Ynsernet Device type Non Plug and Play Drivers Manufacturer Unknown Location Unknown Device status This device is working properly If you are having problems with this device click Troubleshoot to start the troubleshooter Troubleshoot Device usage Use this device enable v Problem 3 The client programs successfully open the COM port but fail to access the device Solution 3 Check the power supply and wiring RS 232 RXD TXD RS 485 D D GND of the device i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 120 Error Code Only For i 7540D s COM3 CAN port If the Error response function on the i 7540D module is set to be Yes that mean enable via the i 7540D Utility during the configuration period the i 7540D will send the error code to the device of the host PC through the Ethernet port 10003 when the i 7540D produces an error message automatically during the operation mode The meanings of these error codes are given below Table 7 1 Error code table Error d Description Possible causes amp solutions code 1 Invalid header The RS 232 command string header is not t T e E The length of command string is invali
46. e control N er Close Auto send Interval 500 Set Send Send Virtual COM Send string with None C LF_CR ICA f JCR UF LF Virtual COM CT Virtual COM Clear Clear Exit Program i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 111 E Example 2 Close Loop Testing Step 1 Establish a connection as follows COM1 Real COM COM4 Virtual CO Path 1 ee set ee er Path 2 CA0910 Cable Step 2 On the Tools menu of the MiniOS7 Utility and then click the Send232 to open the Send232 application Step 3 Select the COM1 and then click the Open button to open COM4 of the Host PC Step1 COM status as Step 4 Set COM1 of the i 7540D as virtual COM4 of the Host PC using the VxComm Utility Step 5 Execute another Send232 application and open the virtual COM4 of the Host PC COM status CD ow Gor i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 112 Step 6 Type COM1 in left hand window and then click Send button Data will be sent from COM1 of the Host PC through Pathi to COM1 of the i 7540D and will be immediately returned through Path2 to COM4 of the Host PC Step 7 Type Virtual COM in right hand window and then click Send button Data will be sent from COM1 of the Host PC through Path1 to COM1 of the i 7540D and will be immediately returned through Path2 to COM4 of the Host PC i 75
47. e setting of CAN FF CAN register TT CAN transmit error counter RR CAN receive error counter O CAN FIFO Overflow flag gt Note Furthermore all response results are shown in the ASCII format Users need to make an ASCII to hex format transformation in order to understand what the meaning is based on the 4 2 4 3 4 4 tables Table 4 3 CAN baud rate list AsciiToHex C Description 0 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 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 O O N IO O R oO NM gt i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 63 Table 4 4 CAN status register list AsciiToHex FF Name Value Function Bit 7 MSB Bus Status 1 Bus off the SJA100 is not involved in bus activities 0 Bus on the SJA1000 is involved in bus activities Bit 6 Error Status Error at least one of the error counter has reached or exceeded the CPU warning limit Ok both error counters are below the warning limit Bit 5 Transmit Status Transmit the SJA1000 is transmitting a message Idle no transmit message is in progress Bit 4 Receive Status Receive the SJA1000 is receiving a message Idle no receive message is in progress Bit 3 Transmission Complete Sta
48. e0 d0 a2 49 BTRO 00 Hex BTRI OO Hex WebID 7540D Set ih t ERE del 00 oo foo oo Hex Web Passwd icpdas7540D _Se Acceptance Mask FF FF FF FF Hex Reset System Modify IP TimeStamp Resp CAN Bus Pair Connection Status Setting Defaults V CAN Bus Pair Connection Set G amp e Cli COM Status Deea AUDE Server Client COM1 ji 15200 8 N 1 Set Connectto 192 168 0 102 Set COM2 9600 8 N1 Set _Set_ Error Resp Connected Configuration Mode v1 0 6 xx xx 2008 Copyright c 2005 ICP DAS Co LTD Figure 3 16 Error Response When the i 7540D receives a command that it doesn t accept it will response syntax and or communication error information to the host These general error codes are shown in below table AsciiToHex ae Description Error code 1 The head character of the command string is invalid The length of the command string is invalid 3 The value of CAN identifier is invalid 4 The value of CAN data length is invalid 5 Reserved i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 38 3 1 6 Enable Time stamp Response E i 7540D utility File Actions Help Conne Disconnect Exit 12 2 About CAN Parameters Network Status CAN Specification 2 08 z Gateway 192 168 0 1 set CAN Bus Baud rate 1000K v bitsec Mask Jnc _Set_ Mac 00 0d e0 d0 a249 BTRO O0O Hex BTRI 00 Hex wei 7D sa Accep
49. ect the Control Panel ba Printers and Faxes Help and Support Step 2 Click the Add or Remove Programs to open the dialog amp Control Panel File Edit View Favorites Tools Help sec i P Search Folders Ei x EE G l XxX Address Control Panel Vg Control Panel x Accessibility Add Hardware Add or G Switch to Category view Options Remove Programs E v amp Automatic BDE Date and Time Display Windows Update Updates Administrator Help and Support wee a Folder Options Fonts Game InterBase Controllers Manager gt De i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 104 Step 3 Find out the VxComm Driver and click the Remove button Add or Remove Programs Currently installed programs 7 Show updates Sort by Name v Change or Virtual CE Pro Client Al Remove Size 0 36M6 A Programs B visual J NET Redistributable 1 1 Chinese T Size Language Pack gt xComm Driver 2 8 12 for WinNT 4 0 Size 2 27MB RE 2K XP 2003 and ista32 Click here for support information Used rarely Last Used On 2007 8 30 m To remove this program from your computer click Remove Base d Add Remove jB Web Tunneling Gateway 0 15MB Windows Components ip WinconSDK_dotNet_20050527 18 77MB Add New Programs iB WinconSDK_EVC_20050617 154 00MB Windows CE NET Utilities For Visual Studio NET 0 82MB Set Program 2003 v1 1 gea j
50. eed to modify these two parameters by using Utility tool The default setting of ID is 7540D and default PASSWORD is icpdas7540D i 7540D Utility File Actions Help x P Connect Disconnect Exit About Test CAN Parameters Network Status J CAN Specification 2 08 Gateway 192 168 0 1 Set CAN Bus Baud rate 1000K v bitec Mask 255 255 0 0 _Set_ MAC 00 0d e0 d0 a249 BTRO OO Hex BTRI 00 Hex wem SMD Sa Acceptance Code 00 joo foo o0 Hex Web Passwd icpdas7540D pe Acceptance Maskl FF FF FF FF Hex J Reset System Modify IP Error Resp No z TimeStamp Resp No X CAN Bus Pair Connection Status Setting Defaults V CAN Bus Pair Connection Set G TCP UDP C Server Client COM Status comi 1752008 N1 Set Connectto 192 168 0 102 Set cOM2 9600 8 N 1 Set Se Connected Configuration Mode 1 0 6 xx 2008 Copyright c 2005 ICP DAS Co LTD i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 41 3 1 8 How to test the module transmission performance The following procedure will guide you to learning how to transmit receive CAN messages to from other devices PCs by using the i 7540D converter 1 Connect the i 7540D s CAN port into the CAN network which must at least have one CAN device on the network 2 Supply the 10 30 volts DC source into the i 7540D
51. emperature 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 CAN Ethernet Gateway User s Manual Version 1 4 April 2008 i 7540D Software Utility tool 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 end Mets fo lo ie Timer mode ved period CAN Dur Baud rate 10005 bitter Mok o Set 1 1 CELI Di D2 D3 DA DS D D7 DE i Mac rrr 1 DL Da i TAO he OTAI gt He ap Ra ii augu foo fo foo foo interval S00 i pn Wooo Sat 1 o Send Acceptance Code 00 00 OO 00 mey Web Posmd endas7s400 Sa i Acceptance Mas FF FF FF FF H I Reset System I 1 Avorotance Masi FF FF FF FF Hen oo 11 Send Command To 78400 Receive Eno Rep No gt i I T Resp fN CAN Bun Par Connection Statue mesmo Rew No x z Setting Coleus FF CAN Bus Par Correction Set 1 _ set p 1 j 1 i con Staus TEP UDP C Server Cent i com MEENT Set i Connectto Maia I fener S sees i Dienble Chew 1 ee _ E
52. end CAN message i 7540D Utility File Actions Help Start time Time Start Disconnect P Stop time Time Stop Settings Timer mode fixed period Used to send ID Hex Mode RTR DLC CAN message ia fo o Interval 500 ms D2 D3 D4 D5 D6 D D8 Foo foo foo foo foo foo foo foo Received CAN Clear Result Disable Clear Connected Operation Mode 1 0 5 10 15 2007 Copyright c 2005 ICP DAS Co LTD Used to Send Command to 7540D Figure 3 18 Send and receive CAN messages i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 43 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 Utility File Actions Help oe of imer mode PS Timer mode Date Time V G Start time Time Start Connect Disconnect P About Stop time Time Stop m Send CAN Message gt Timer mode fixed period F DHe Mode RIR DLC sand CAN mess308 o 0 0 0 Interval 500 ms g eee ea a Send m Send Command To 7540D Send Clear Result Disable Clear Connected Operation Mode 1 0 5 10 15 2007 Copyright c 2005 ICP DAS Co LTD Figure 3 19 Timer mode to send CAN message i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 200
53. ep 2 Click the Add or Remove Programs button icon to open the dialog See figure 3 8 amp Control Panel DE File Edit View Favorites Tools Help sec t P Search Folders E x H B la gt Address Control Panel Mj Vg Control Panel a 4 4a Accessibility Add Hardware Add or Administrative GB Switch to Category View Options Remove Programs G amp y amp Automatic BDE Date and Time Display Windows Update Updates Administrator Help and Support E ia g Folder Options Fonts Game InterBase Controllers Manager Pe Nic See Also Figure 3 8 Add Remove Programs i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 28 Step 3 Find out the i 7540D Utility and click the Change Remove button See figure 3 9 F Add or Remove Programs lt Currently installed programs O Show updates Sort by Name Change or z Remove B I 7243D utility Size 11 07MB Programs i 7540D Utility Size 15 08MB Click here for support information Used rarely R Last Used On 2007 8 31 Add New 81 Programs To change this program or remove it From your computer click Change Remove gt Change Remove m GH ICP DAS Utilities For ISaGRAF Size 42 06MB Add Remove ah InduSoft Web Studio v6 0 Service Pack 5 Size 320 00MB Windows Components j Instrumentation ActiveX Library gJ InterBase 6 5 Size 14 55MB 1S Iv5 255 Size 4 22MB S Figure 3 9
54. eptance Mask FF FF FF FF Error Response No Timestamp Response No 7 The Network Status frame displayed the IP Gateway Mask and MAC address of the i 7540D Users can change these network parameters by click the Set button and Modify IP button And the Reset System checkbox is used to reset the system of i 7540D Note After modify the network status of the i 7540D the setting value will become effective after resetting the system 8 The COM Status frame showed the parameters of RS 232 and RS485 ports User also can modify it by click the Set button 9 The CAN Bus Pair Connection Status frame showed the parameters of CAN pair connection Note After modify the CAN bus pair connection status of the i 7540D the setting value will become effective after resetting the system i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 33 i 7540D Utility File Actions Help D P About CAN Parameters Network Status CAN Specification 2 08 Gateway 192 168 0 1 Set CAN Bus Baud rate 1000K il ae Mask 255 255 0 0 Set MAC 00 Od e0 d0 a2 49 BTRO 00 Hex BTR1 00 Hes wem a Set Acceptance Code 00 00 00 00 Hex Web Passwd licpdas 540D _ Set_ Acceptance Mask FF FF FF FF Hex M Reset System Modify IP Error Resp No ka TimeStamp Resp N No CAN Bus Pair Connection Status gt RS 232 RS4 5 setting Defauts CAN Bus P
55. execute this application program Step 1 Setup the VxComm Utility And the virtual COM port of PC is setting as following figure The installing steps about the VxComm Utility tool please see section 5 2 VxComm Utility v2 8 12 Beta Aug 17 2007 File Server Port Tools 7188E 8000E InternetfEthernet Controller IP 192 168 0 127 Port 10000 Timeout ms 5000 g Add Server Check Duplicated IP M Connect to Server xComm Servers COM Baudrate xX Remove Server 7186E3 192 168 0 127 Reserved N A UnMap Dynamic Configure Server UnMap Dynamic COM5 Dynamic Web Configuration Configure Port Name Alias MAC Address IPAddress Sub net Gateway DHCP Figure 6 2 VxComm Utility tool Step 2 Install the PISO CAN200 400 PCI card For more information please see PISO CAN user manual Step 3 Setup the system of i 7540D by using the i 7540D s utility tool Here the parameters of i 7540D are setting as following figure i 7540D Utility File Actions Help Settings CAN Parameters Network Status CAN Specification f2oe z Gateway 19216801 _ Set_ CAN Bus Baud rate 1000K bisse Mask 255 255 0 0 sa a MAC 00 0d e0 d0 42 49 BTRO oo Hex BTR1 Hex Web ID 7 msc Acceptance Code 00 00 00 00 Hex Web Passwd fiepdas75400 _Set_ Acceptance Mask FF FF FF FF Hex Reset System Modify IP Error Resp No i TimeStamp Resp No zi CAN Bus Pair Connection S
56. f device before adding it to the server window left hand window It is automatically checked by default The following alert will be displayed if the Connect to Server option is not checked before clicking the Add Server button Choose the correct i 7540D Model Number and then click the OK button Here the i 7540D model number is 7186E3 Selecting correct model number Model Number 7186E3 v Cancel Timeout ms field This timeout value is used for Connecting disconnecting and sending receiving data in the VxComm Utility and is used for Connecting and Disconnecting in the VxComm Driver Command Port field By default the Command Configuration TCP port is 10000 If you change the setting of UPAC 7186E then you must assign the correct one in this field to let the VxComm Utility and Driver to get access to the device i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 97 Step 4 And then it will display the name of 7186E3 and it s IP Select one of the i 7540D devices and configure the virtual COM port s by double clicking Port 1 Port 2 or Port 3 xComm Servers COM Baudrate 7186E3 192 168 0 127 Reserved N A UnMap Dynamic UnMap Dynamic UnMap Dynamic Step 5 Select an appropriate COM port number and then click the OK button Port Configuration Server 7186E3 10 0 8 136 Port 1 Select COM vV Re assig M Skip baudii Note Re assign COM number for all s
57. he i 7540D s Ethernet port with the PC s Ethernet port via a standard CAT 3 or CAT 5 network cable Then the user can connect the CAN interface into the CAN network based on the CAN specifications For further information related to this please refer to section 2 2 2 and 2 2 3 of this manual on how to make a hardware connection i 7540D Utility File Actions Help G About CAN Parameters Network Status CAN Specification Gateway N A _Set_ CAN Bus Baud rate xf hitsSec Man WA MAC NAA CAN BTRO 00 Hex BTRI 00 Hex web MEE _set parameters Acceptance Code 00 J oo joo oo Hex Web Passwd INA ooo Acceptance Mask 00 oo oo foo Hex Error Resp TimeStamp Resp CAN pair connection Sem Deas parameters COM status COM Status COM1 INZA ma COM2 Na A Connectto NAA _ set Not Connected Copyright c 2005 ICP DAS Co LTD Figure 3 1 i 7540D Utility i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 24 3 1 1 Install amp uninstall the i 7540D Utility Install i 7540D Utility Step1 Download the i 7540D Utility setup file from the web site http Awww icpdas com products Remote 1O 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 Utility Step 3 A Welcome window pops up to prompt user to begin the installation See figure 3 2 i 7540D Util
58. hernet Gateway User s Manual Version 1 4 April 2008 48 3 2 MiniOS7 Utility 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 and other controllers Supported connection ways COM Port Connection Ethernet UDP amp TCP Connection Maintenance Upload file s Update MiniOS7 image Delete file s Configure Date amp Time IP Address COM port Check Product information i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 49 3 2 1 Step 1 Step 2 Install the MiniOS7 Utility The installation software can be obtained from the following location 8000cd Napdos MiniOS utility MiniOS 7_utility or http ftp icpdas com pub cd 8000cd napdos minios7 utility minios7_utility Go to where you downloaded the file and double click on the installation file in Windows to execute it ie Setup MiniOS7 Utility Ver 3 11 Welcome to the MiniOS7 Utility Ver 3 11 Setup Wizard This will install Mini0 S7 Utility Yer 3 11 on your computer It is recommended that you close all other applic ons before continuing Click Next to continue or Cancel to exit Setup Step 3 To finish the installation of the MiniOS7 Utility click the Finish button to exit the setup process ie Setup MiniOS7 Utility Ver 3 11 Completing
59. indicates If users change IP the value shown will change immediately The default shipping IP 192 168 255 1 gt the LED show sequence is given as above diagram The DHCP function formats are given as follows dHCP 0 gt DHCP function disable dHCP 1 gt DHCP function enable and get an IP dHCP 2 gt DHCP function enable but not get an IP using default setting If the DHCP function is enable the i 7540D 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 Group ID of 5 digit LED 22222 LED 1 COM port number LED 2 5 value of baud 100 The baud rate format of CAN port is given as follows LED 1 CAN port number LED 2 5 value of baud 1000 The COM port and CAN port number are shown in LED 1 and their baud rate is shown in the LED 2 5 The COM port baud rate value of LED 2 5 100 Therefore shown value 1 96 means baud rate of COM1 9600BPS shown value 2 1152 means baud rate of COM2 115200 BPS It s the same as the CAN port baud rate The CAN port baud rate value of LED 2 5 1000 Therefore shown value 3 10 means baud rate of CAN 10KBPS shown value 3 1000 means baud rate of CAN 1MBPS All baud rate of i 7540D s port will be shown one by one The configuration of COM ports are given as follows Group ID of 5 digit LED 33333 LED 1 COM port number LED 3 data bit 7 or 8 LED 4 parity bit O no par
60. is to be performed at power up When the CAN communication events occur these indicators will be triggered to glitter with different conditions ERLED This LED provides device status and indicates whether or not the device is operating properly Table 2 6 shows the conditions of ER status Therefore when the device is operated normally the ER LED must be turned off If this led flashing red users can use the 99S command in section 4 5 to read the status of the i 7540D Table 2 6 ER LED conditions Condition Description Off Device is normal no error occurs Red Device has unrecoverable fault Flashing red Device has recoverable fault To recover Reset device or perform error recovery TXLED This LED indicates the status of message transmitted Table 2 7 shows the conditions of TX status Therefore when the device transmits messages to the CAN bus the TX LED is normally flashing green Table 2 7 TX led conditions Condition Description Off No data is being transmitted to the CAN side Flashing green Data are transmitting to the CAN side Solid green Transmit data error i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 18 RXLED This LED indicates the status of message received Table 2 8 shows the conditions for RX status Therefore when the device receives CAN messages the RX LED would be flashed Table 2 8 RX led conditions
61. ity 1 even parity 2 odd parity LED 5 stop bit 1 or 2 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 21 The configuration of CAN port is given as follows LED 1 CAN port number LED 2 5 CAN specification 2 0A or 2 0B The connection client and CAN bus pair connection information are given as follows Group ID of 5 digit LED 44444 LED 1 indicator can be 0 or 1 or2or3or4or5 Indicator 0 LED 2 P for CAN bus pair connection LED 3 Enable CAN pair parameter 0 Enable 1 Disable LED 4 TCP or UDP parameter 0 TCP 1 UDP LED 5 Server or Client parameter 0 act as a server 1 act as a client Indicator 1 or 2 or 3 or 4 The CAN bus pair destination IP information format of i 7540D is given as follows LED 2 5 IP The LED will show Group ID first and then show its IP as the above diagram indicates If users change can bus pair destination IP and reset the system the value shown will change The default shipping IP 192 168 255 2 the LED show sequence is given as above diagram Indicator 5 LED 2 3 numbers of free sockets are available default 24 LED 4 5 numbers of sockets are used by clients default 0 If any one client connects to this i 7540D 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 The default number of free sockets is
62. ity Setup Welcome to the InstallShield Wizard for i 7540D Utility The InstallShieldR Wizard will install 7540D Utility on your computer To continue click Next Cancel Figure 3 2 Welcome dialog i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 25 Step 4 Click the Next button and a Choose Destination Location window will pop up for deciding the installation path i 7540D Utility Setup Choose Destination Location Select folder where setup will install files Install i 7540D Utility to C ICPDAS CAN_ Gateway lt Back Next gt N Cancel Figure 3 3 Choose Destination Location dialog 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 i 7540D Utility Setup Ready to Install the Program The wizard is ready to begin installation Click Install to begin the installation IF you want to review or change any of your installation settings click Back Click Cancel to exit the wizard Figure 3 4 Ready to Install the Program dialog i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 26 Step 6 Click Install button and start to install the i 7540D Utility to the system After finishing the process a Complete window will pop up to prompt users that the successful completion of the installation An
63. lick the COM Port to choose the COM port number baud rate and checksum For example COM10 115200 19200 9600 and No Checksum These settings depend on the settings of 7000 series module E DCON_UTILITY_YER 43 The Found Ont I 7000 8000 moda Eile COM Port Search Rur Terminal Help eGEZDM E Module Address _ Baudrate Checksum Status d i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 115 y 460800 M zaoo v a d E File COM Port Search Rin Terminal Help Module Address _ Baudrate Checksum Status d Step 5 If the VxComm Driver works properly the DOCN Utility can search the module s connected to COM2 of the i 7540D E DCON_UTILITY_ ER 443 The I O Modules Found _ File COM Port Search Run Terminal Help 9600 Disable i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 116 7 2 Trouble Shooting Problem 1 The client program fails to open the COM port that was created by the VxComm Driver Solution 1 Check the power supply network cable IP address subnet mask and gateway of the i 7540D Problem 2 The client program still fails to open the COM port Solution 2 Step1 Right click the My Computer icon and select the Manage option j aa putes Open Explore Disconnect Network Drive Create Shortcut Delete Rename Properties i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 117 Step 2
64. lid command ERROR gt Note After sending this command the CAN receive and transmit FIFO will be clear The error counter of reception and transmission will be set to zero And the TX and RX LEDs will turn OFF gt Example Command 99C Note This command can only be accepted by 7540D s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 65 4 7 99RA Description Reboot the i 7540D module Users can use this command to reboot the module in order to allow it to work in order again gt Syntax 99RA 99RA Command character gt Response Valid Command Reboot the i 7540D module Invalid command ERROR gt Example Command 99RA The i 7540D module will reboot after it had received this command Note This command can only be accepted by 7540D s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 66 4 8 99 PO1 Description Read the RS 232 configuration gt Syntax 99 P01 99 P01 gt Response Command character Valid Command 061BBDSP Invalid command ERROR 061 BB D Delimiter for valid command RS 232 Baud rate Data bit 0 7 bits data formation 1 8 bits data formation Stop bit 0 1 stop bit 1 2 stop bits Parity bits 0 None 1 Even 2 Odd RS 232 Baud rate list BB Description 00 110 bps baud rate of RS 232 01 150 bps baud rate of RS 232 02 300 bps baud rate of RS
65. ll be sent to CAN Network 02 and CAN Network 03 by using UDP IP protocol via Ethernet network 2 All CAN message on CAN Network 02 will sent to CAN Network 01 by using UDP IP protocol via Ethernet network 3 All CAN message on CAN Network 03 will sent to CAN Network 01 by using UDP IP protocol via Ethernet network 4 By using this broadcast method users need to know how to set the network mask of the i 7540D Note When setting to use UDP method the Server Client parameters will be no effective i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 47 Application 03 One acts as a server the other acts as a client CAN Bus Pair Connection by using TCP method port 10003 CAN Bus Pair Connection Status r CAN Bus Pair Connection Status CAN Bus Pair Connection Set CAN Bus Pair Connection Set TCP Cue sd e oe TCP vol E seve Connect to 192 168 255 2 Connect to 192 168 255 1 Ethernet TCP IR CAN Bus Network 01 CAN Bus Network 02 i 7540D i 7540D IP 192 168 255 1 IP 192 168 255 2 After setting CAN Bus Pair connection Status of the two i 7540D and re start the system of them CAN messages between CAN 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 CAN Et
66. ly and periodically send commands to keep the i 7540D alive The timer will be reset after each send receive command data success The Keep Alive mechanism will not work until the next timeout The default setting of Keep Alive time is about 7000 ms Its recommended setting is i 7540D s System Timeout 1 3 or smaller value Connection Broken ms field The VxComm Driver will try to re connect if the connection is broken When the client is sending a message to the uPAC 7186E the Internet TCP IP i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 99 layer may respond with a Disconnect event to the VxComm Driver if it fails to send the message after 20 seconds or more Users can set a smaller Connection Broken time for example 10000 ms to force the VxComm Driver to re connect again and get a quicker response If the connection has no sending receiving signal before the Connection Broken time has timed out the connection will be marked as broken The VxComm Driver will also re connect it again Thus the Keep Alive Time should be smaller than the Connection Broken time to make the connection come on line The default System Timeout STxxx value of the i 7540D is about 300 seconds After client programs have connected to the uPAC 7186E clients have to send command to keep the i 7540D alive before it times out otherwise the UPAC 7186E will reset itself and clients will have to reconnect to the i 7540D
67. mmand List http ftp icpdas com pub cd 8000cd napdos minios 7 utility document i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 51 Send232 uses serial port RS 232 interface to communicate with devices And it can be used to test the Virtual COM technology Set the Com port parameters of PC i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 Send string with On coma x fasoq x None C LF_CR C CR C CRLF a ee NE CLF z Key in the 0n __Close_ string that you Auto send rng SSS want to send Interval 500 Set Receive Exit Program The send receive messages will be displayed over here 52 SendTCP uses TCP protocol to communicate with the 7188E 8000E 7540D and other devices from Ethernet Step 1 Run SendTCP in host PC S Send TCP 7188E S000E Diagnostics App v2 01 Config TCP IP 1 Send Command To 7188E _ Network Status Gateway NC Set Send Clear Result mac MNC Select Port r Send Data vith x C None CR C LFC LF CRO CR_LFC CS a Modify IP Send Data 7188E COM Status Send Ne Set Fw Ver J m Receive nc ca MiniOs Version n Step 2 Input the IP of i 7540D and press the Connect button to connect with i 7540D And then it will display 7188E3 is connected gt Send TCP 7
68. mo ff AC1 0 AM1 E aca o ama f aca 0 amaf f CAN Part 1 Transmit ID Hexl 7EF RTR DLC D2 D3 D4 D1 Mz D5 34 s 78 o aB cD EF COM status Send string with Function coms E f None DIECA Transmit Nel CR CR_LF R REVENE Line control J i Status Open Close Enable C Disable Auto send i Interval 50 Set Send E bp ba Send Stop Send EEE EEE t7EF812345678904BCDEF t ae See TE eMS OE a ira 5 E Se 7EF812345678904BCDEF i io i a ff i i e i ion i a i i ee ipo ff i fy a Exit Program Send messages from CAN card Send Messages from RS 232 to CAN Figure 6 4 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 RS 232 port received messages 108 7 Diagnostics and Troubleshooting 7 1 Diagnostics After configuring the VxComm Driver by using the VxComm Utility the VxComm Driver should work without error However users can use a simple test to make sure it s working properly Note The test method depends on the user s devices and client programs E Example 1 Loop Back Testing Step 1 Connect the TXD1 to the RXD1 of the i 7540D i gt 5 COM1 Ai Real COM Virtual CO w Path 2 a Connect by a wire Step 2 Set COM1 of the i 7540D as virtual COM4 of the Host PC using the VxComm Utility i 7540
69. nce oes os ecm 10 22 gt Pin ASSHB MIO TIG soci pede cece tevcennsiaiatossanseronsededueshes cxoevsauousuuedcdencedassedevsseravessntes 11 2 2 1 RS 232 amp RS 485 amp Power supply Interface eee eeeeeeeeeeeeeteeeeeteees 12 222 Connect to CAN Buss ic s icgsiccssanccaasasussacevesdocecs a E R 13 2 2 3 Eth rnet Connect neii a a E santo aeetias 14 2 3 Terminator resistor settingsS sssessseessocesocessocesoccssocesocesoosesoessscessocesocessoseose 15 24 EED Mdic ti hssscessscrssescsenio sristi 17 2 4 1 Pow r LED wy iccivstavcrstvesavelaisngeaieasbapatei E a EEA ETETEA A EEE 17 2 4 2 CAN bus indicator LED uie diresa i i E wah E A 18 2 4 3 5 digits 7 Segment LED Displays ssssssessseeesssesssressesssseesseeesseessseesseese 20 Software Utilities ernen aaia ee EE a EEEE 23 JL 1 7540 D Utility siess sviccscscatanvesevessenseucosantcdecdavsasienssdiesvcnbaccasnnscbevsedesdeddeseaesoadsecass 24 3 1 1 Install amp uninstall the i 7540D Utility ssseeeeeeesessesessrssseesessrssreesresseeeresee 25 3 1 2 How to configure the module parameters sssseseseeeeseeesseesseesseeesseeesseee 31 3 1 3 How to set the Bus Timing Registers lt s c0s35 ssceoccasaqcegedseccassereeedectonsdavasaeees 35 3 1 4 How to set the Acceptance Code and MasK snssesessseessesssessserssesesseee 36 25 Enable Error Respos nioe e E E E EA RE 38 3 1 6 Enable Time stamp Response je ccsscejevanssassesssasiansstedsutotdedecaseands gacei ee Maes 39 3 1 7 Ho
70. nestiiseadicnceeaaass comenn easeatdctennaeienrcsen 75 4 13 DOSPOZOSBBDSP sicesvacsincsnsinscossaasiiobaccon covsacodssasdavssoteacbosonianea onesibivewaeonsetonasass 77 4 14 99 P114PBCC MM ET scccccssscensedcnnsieenssvonssacedcoeanscdooesusanserostreadechonsetovaceers 79 AAS DOSPLBOL IC RR nrinn hunen ASAA S SELS eaea 81 416 lt DORE WALD oi seed ceudscadscevsseeds sdutatecvoutaviadseacsdssveadsedeboavssvant couddavacuessocseviedsbecdsssusbeks 82 4 17 99 PWPW ciapibvussdsussausnyssiculesn savecs py tveh ces usounecobebeksebovndeaspl Guebitsosouessbovekinsnavenepiens 83 4 18 SOSP WUD LT KxK KK in isisaidanvsiidoserecacossecelincdeseascunsccoincecesoswcencusaveanseaauooncdeincnceanss 84 4 19 DOS PW PW UTR RIN aca haslvsgvsshans treier iosita iita chau nas saeann ranean EEE NES 85 BQO QORP PC nnise sneons e se oeae assasi eosa sasas E senhs saas 86 C ROA DORE a D E EEE E A E EE 87 4 22 D9OSPPCELA BG vi sscscvsicconsesiiscaecesuveasesuansbedecedons besnonedeccdouextusnessenssreavepesnescavcceels 88 ADS DOS PP UP 9 E AAA E AEE EE 89 4 24 General Error codes for commands from port 10003 sesssosssocesoosssssssse 90 VxComm Applications sessseesseosssossssesssessseessecssoosssoessseesseesseceseosseosssoessseesseess 91 5 1 CPVEEVICW ai sia lidiecscsdeniasocss istacciapisnusisunsscesauscvocatineas teaueuontadandusniantoucusisensdessedbesse 91 5 1 1 Architecture sas eccasueccascecnathict aae 92 5 1 2 Ports Mapping ierre ai aen EEA E
71. ols networked communication and makes a transparent CAN based application interface available to the user The device supports a transparent protocol independent transfer of the CAN messages thus allowing its implementation into a wide range of possible applications Furthermore the i 7540D can be used with various higher layer CAN protocols e g CANopen DeviceNet or other proprietary protocols The following figure shows the application architecture for the i 7540D F aS PISO DNM100 YA CAN 8x24 W 8xx1 Series 1 72x1D o RS 232 CAN Network PC Figure 1 1 Application of i 7540D i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 4 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 Reloadable Operating Software Remote Configuration Data transmitted by using TCP protocol Diagnostics COM driver support interrupt amp 1K QUEUE Input amp Output buffer 10 100 Base TX Ethernet Controller Auto negotiating Auto_MDIX LED indicator Support one RS 232 port one RS 485 port and one CAN port 2500Vrms photo isolation protection on CAN side Jumper select 1200 terminator resistor for CAN channel Phillip 82C250 251CAN Transceiver Support both CAN specification 2 0A and 2 0B Max transmission speed up to 1M bps for CAN and 115 2K bps for RS 232 amp RS 485 Max
72. ril 2008 ee In some factories there are old systems still running and in case These old systems only support COM port applications Therefore the Vxcomm technology can be used to upgrade these old systems to support Ethernet network To recap the VxComm technology is useful as follows Provides a much easier interface for software programmers Keeps the old systems going without program modification The block diagram of VxComm technology for the i 7540D is given as follows Command protocol depend on serial devices Specific command protocol VxComm Technique The VxComm technology can be used to simulate COM CAN ports of the i 7540D to become a COM port of PC With the help of VxComm driver users can access the remote COM CAN ports of the i 7540D just as them would access the PC s COM port i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 9 2 Hardware 2 1 Block Diagram Figure 2 1 is a block diagram illustrating the functions on the i 7540D module It provides the 2500Vrms Isolation in the CAN interface site And hardware media in RS 232 interface is only adopted 5 wire connection SRAM 512K Flash ROM 512K RTC amp NVSAMR COMI RS 232 COM2 RS 485 80186 80 CAN port Watchdog timer Support CAN 2 0A amp 2 0B EEPROM 16K 5 digit LED El 10 100 Base T 10V 30V Power converter Figure 2 1 Block diagram of i 7540D i 7540D CAN Ethe
73. rnet Gateway User s Manual Version 1 4 April 2008 10 2 2 Pin Assignment CAN Bus Connector Power LED 7 segment LED displays Ethernet 10 100 Base T RS 232 Port S SSSSSHSSNSSS X ce O f 7540D OR CAN Ethernet Gateway CPU 80186 80 El Ethernet 10 100 Base T COMI RS 232 COM2 RS 485 COM3 CAN Supports CAN 2 0A 2 0B 5 8 8 8 8 1K Vde isolation on CAN side oz A o RTS1 RXDI TS ug 0 JRX l L 0 p2 0 0S Inc 0 Q WTxb1 OAR Figure 2 2 Pin assignment on the i 7540D Bypass CAN Bus Connector INIT pin i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 2 2 1 RS 232 amp RS 485 amp Power supply Interface The I 7540D provides one RS 232 interface and one RS 485 interface with hardware flow control The GND signal of COM1 is shared with pin 9 GND The pin assignment is shown in table 2 1 Table 2 1 COM Connector Pin Assignment Pin Name Description 1 CTS1 CTS pin of COM1 RS 232 2 RTS1 RTS pin of COM1 RS 232 3 RXD1 RXD pin of COM1 RS 232 4 TXD1 TXD pin of COM1 RS 232 5 INIT Initial pin for enable disable AUTOEXEC BAT 6 D2 Data pin of COM2 RS 485 7 D2 Data pin of COM2 RS 485 3 VS V of power supply 10V to 30V DC unregulated 9 GND GND of power supply i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008
74. ror Response function in the i 7540D Utility in order to receive Syntax and or communication error information at the host PC gt Example Command e1234567851122334455 lt CR gt 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 s port 10003 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 61 4 4 EINIHHIL lt CR gt Description Send or receive an extended CAN remote frame gt Syntax EVIINIL lt CR gt E Stands for the extended 2 0B CAN remote frame I 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the i 7540D Utility in order to receive Syntax and or communication error information at the host PC gt Example Command E010156786 lt CR gt Send a CAN message with an extended remote frame ID 01015678 DLC 6 Note This command can only be accepted by 7540D s port 10003 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 62 4 5 99S Description Read the i 7540D CAN Baud Rate and error flag message gt Syntax 99S 99S Command character gt Response Valid Command CFFTTRRO lt CR gt Invalid command ERROR Delimiter for valid command Cc current baud rat
75. ss of the i 7540D is 192 168 255 1 Step 2 From the Winsows Start Menu go to Program 7188e Vxcomm2K and locate the VxComm Utility S Set Program Access and Defaults eo Windows Catalog a Windows Usdate ww Programs gt Accessories gt n Startup gt T Documents gt SRS amp nios utiity ver 3 11 gt x fa xComm_Driver_2K Settings gt gt YxComm Utility Search J Help and Support Run Log Off vic Windows XP Professional Turn Off Computer Step 3 Before adding an i 7540D ensure that the Check Duplicated IP and Connect to Server options are both checked Type the IP address of the i 7540D and then click the Add Server button to add a new server VxCornm Utility v2 8 1 Bota Jun 27 2007 Gihernet Controller rt 110000 VeComm Servers Web Configuration System Infomation Scorch Device Name Alias MAC Address IP Address Subnet Gateway DHCP i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 96 Note Check Duplicated IP option This option checks whether the IP address is already listed in the server window left hand window It is automatically checked by default The following alert will be displayed if an IP address is duplicated amp This device IP and Tep PortCMD is already in the list Connect to Server option This option connects to the i 7540D and retrieves the name o
76. tance Code 00 foo foo foo Hex Web Passwd jicpdas 540D sa Acceptance Mask FF FF FF FF Hex I Reset System Modify IP TimeStamp Resp No v CAN Bus Pair Connection Status Setting Defaults IV CAN Bus Pair Connection Set E ic Cli COM Status TER UDP Server Client COM1 fi 115200 8 N 1 Set Connectto 192 168 0 102 Set com2 9600 8 N 1 Se Zsa Configuration Mode v1 0 6 xx xx 2008 Copyright c 2005 ICP DAS Co LTD Figure 3 17 Time Stamp Response When the time stamp response is enabled the i 7540D will send CAN message with it s time tick vale hexadecimal eight ASCII chars for a unit of microsecond to the host as it receive a CAN message For example E i 7540D Utility Fie Actions Help m Timer mode Date Time f Start time Time Start Connect Disconnect P 2 eee time TimeStop Time Time Stop Send CAN Message m m Timer mode fixed sg D Hex Mode RTR DLC 500 Interval 000 0 0 0 o Lo E Start Receive the first D2 D3 D4 DS D6 D D8 CAN message at a oo foo foo foo foo foo foo Reveive 33B7AA17h us t12334ABBCC 33B7AA17 Send 45621122 33E054EB Send Command To 75400 ET ne Receive the second Send Clear Result me 4 ae a ie Disable Connected Operation Mode v1 0 4 08731 2007 Copyright c 2005 ICP DAS Co LTD i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 39 3 1 7 How to change web
77. tatus Setting Defaults COM Status COM1 115200 8 N 1 COM2 9600 8 N 1 Connectto 192 168 255 2 Connected Configuration Mode v1 0 6 xx xx 2008 Copyright c 2005 ICP DAS Co LTD Figure 6 3 i 7540D Utility tool i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 107 Step 4 Now start to send and receive message between PC s RS 232 port and CAN port by the i 7540D The following figures display the sending and receiving messages EA ICPDAS PIO CAN400 200 Utility Port 1 Port2 Port3 Port Baud Rate 125k C 250K r CAN Port 1 Configuration 2 0 1 COM5 zaxi Acceptance code Acceptance Mask acof o amo ff ACI 0 AM1 ff ac2 0 amaf ff Aca o amaf ff COM status Send string with Function Exit coms 7 C None C LF_CR Transmit CR C CR_LF G REVENE Line control N81 CLF Open Close Auto send Interval 50 Set oo op cD o CO OD CO o0 oO 12381122334455667788 t 12381122334455667788 t 12381122334455667788 t 12381122334455667788 J Figure 6 4 AN400 200 Utility Port 1 Port 2 Port3 Port 4 CAN Port 1 Configuration Baud Rate 125K 250K 500K 800k GiM t12381122334455667788 Messages sent from RS 232 port by VxComm technology Send Messages from RS 232 to CAN Acceptance code Acceptance Mask aco o a
78. ter setting successfully all parameters will take effective after system re start gt Syntax 99 PPIPxxx 99 PPIP Command character XXX IP address iii ppp III PPP 3 digits number Note This IP address is effective when enable CAN bus pair connection and acting as TCP client or using UDP connection method gt Response Valid Command OK Invalid command ERROR gt Example Command 99 PPIP192168255002 Response OK Change the CAN bus pair connection destination IP of the 7540D Note 1 This command can only be accepted by 7540D s port 10000 2 Supported by the firmware v1 06 or later i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 89 4 24 General Error codes for commands from port 10003 Table 4 6 Error code table AsciiToHex Error code Description 1 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 on Bi wl hd Reserved i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 90 5 VxComm Applications Overview Installing the VxComm Driver Adding a i 7540D and configuring the VxComm Driver Removing a i 7540D Uninstalling the VxComm Driver 5 1 Overview The VxComm Virtual Comm Driver and VxComm Utility are very easy to install and use The first thing to do is to find the inst
79. the MiniOS7 Utility Ver 3 11 Setup Wizard Setup has finished installing Mini0S7 Utility Yer 3 11 on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 50 3 2 2 PC Diagnostic tools The MiniOS7 Utility provides serial PC diagnostic tools These PC diagnostic tools can be opened from the Tools menu of MiniOS7 Utility MiniOS7 Utility Verion 3 1 1 build 3 1 1 1 GJ File p Connection 4 Command Z Configuration T Tools amp Help 7188xW 7188EU 7188E Send232 SendTcP xComm Utility Console F10 The PC Diagnostic tools include 7188XW is the PC side utility for modules using the ICPDAS MiniOS7 It is the Win32 version of 7188x exe For 7188x exe just can use the standard COM PORT RS 232 of PC But on Win32 systems WIN95 98 ME NT 2K XP also have RS 232 port use PCMCIA or USB interface 7188x exe can not use these devices so need the program 7188xw exe Using RS 232 ports of PC link to the modules using MiniOS7 7188xw exe in basically is a terminal program It send out the data that user key in to 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 Please download related files from our FTP site http ftp icpodas com tw pub cd 8000cd napdos minios7 utility 7188XW co
80. tus Complete the previously requested transmission is not yet completed Incomplete the previously requested transmission is not yet complement Bit 2 Transmit Buffer Status Released the CPU may write a message into the transmit buffer Locked a message is waiting for transmission or is already in process Bit 1 Data Overrun Status Overrun a message was lost Absent no data overrun has occurred Bit 0 LSB Receive Buffer Status Full one or more messages are available in the RXFIFO O O gt O Empty no message is available Table 4 5 CAN Error flag list AsciiToHex O Description Bit 3 1 CAN Transmit Error Bit 2 1 CAN Receive Error Bit 1 1 CAN FIFO Overflow Bit 0 1 Initial CAN Chip Error gt Example Command 99S Receive 40C00000 lt CR gt Obtain some current information on the i 7540D module The response will show the following results CAN baud rate 125K CAN status register transmission complete and transmit buffer is released CAN transmit error counter 0 CAN receive error counter 0 and CAN FIFO normal Note This command can only be accepted by 7540D s port 10000 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 64 4 6 99C Description Clear the CAN error flag and FIFO on the module gt Syntax 99C 99C Command character gt Response Valid Command No response Inva
81. ubsequent ports option This option automatically sequentially assigns the ports with the available COM port numbers Use 7188E 8000E current setting Fixed Configuration If using this Port Configuration function you will not be able to dynamically change the Baud Rate and data format i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 98 Step 6 Select one of the i 7540D modules and then click the Server Options button to configure the server options gt VxCornm Utility v2 8 12 Beta Aug 17 2007 7188E 8000E InterneYEthernet Controller 192 168 0 127 10000 5000 IP 192 168 0 12 Port 10 Timeout ms 5000 g PoP Server Check Duplicated IP M Connect to Server Server Configuration Server 718663 192 168 0 127 Server Options PC Device Information The following items are all PC side settings not device settings Keep Alive Time Seconds 120 Recommend 718BE 8KE s System Timeout 1 3 Connection Broken Seconds 180 Connect Timeout Seconds 5 Command Port TCP 10000 Virtual YO Port TCP 9999 IP Address 192 168 0127 Exit 7186E3 10000 v3 2 26 06 21 2007 fo Step 7 Enter the new configuration settings The new settings will replace any text already in the Server Options window text boxes Click the OK button to save the new settings Notes Keep Alive Time ms field After connecting to the uPAC 7186E the VxComm Driver will automatical
82. ule s checksum function select CS_CR The CS_CR option will add two checksum bytes then adds CR Send TCP 7188E S000E Diagn Config TCP IP Send Command To 7188E m Network Status 192 168 255 1 fio Gateway 192 168 0 1 Set comed Disconnect Send Clear Result T 25535500 Set 7I88E3 is connected MAC 00 80 31 00 01 14 Modify IP 7188E COM Status 9600 8 N 1 Set Fw er f3 0001 1 1 19 2001 MiniOs Version 21 30 32 37 30 3231 fri 0 14 0018 1 Close i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 54 Step 5 If you want to change the 7540D s COM ports settings click Set to change them The 7540D 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 Config TCP IP Send Command To 7188E Network Status 192 168 255 1 fio Gateway 9216801 set armet Dissonnect Send Clear Result heeassog Set 7188E COM Port Setting 188E3 is connected 31 00 01 1d Band 115200 a odify IP DatsBit f x Send 02M Eni None 24 30 32 4d StopBit f 7 Receive Clear 1027021 MiniOs Version 21 30 32 37 30 32 31 vi O0 14 2001 8 15 Close 7188E Command prompt mode program used to send data to specific machines using TCP protocol Usage 7188e
83. w to change web ID PASSWORD configuration eeeeeeeeeeeee 40 3 1 8 How to test the module transmission performance ceseceeeeeeeeeteeees 42 3 1 9 How to use CAN Bus Pair Connection ccccccccssssseceesssseceessseeeeeeeeaes 45 32 MMOS7T UOY siccsiectecidsvencsessladesesislacccouessncsdivesenusicupe cubavendessvisesesseaveceoanencoonss 49 3 2 1 Install the MiniOS7 Utility sseessenesessesesseeesseesseessessseeesseeessresseesseesseeesseee 50 3 2 2 PC Diagnostic 1001S sisagcaiivapacseessedeercnavevascisasenesaspaedeaseeeadenssneadeascaeadeacpanaces 51 Ded VxComm Utility sso aceencssasehexes torosi seaesnnnceeonasacesnannpseesanonsesnevpsoanrarnaconennnss 56 Support Command List ssessscpscsacandscsansassassesscasseuiacsssndesdensevsintostussivsuansoansbevevines 57 4 1 ATPL DD pCR nnan iesi S 59 4 2 W i A I EES O i E EEEE AIE ENEE NEREA OENE 60 4 3 eMMMILDD lt CR gt ossssssessssisssssessssosssssssesessssrossoscsrossossssevesssssssssess ossssssssss 61 4 4 JAUUOURUN IE ORS E T ET 62 4 5 JOS sssi a s aa ease r ie a ae ee iaaa 63 i 7540D CAN Ethernet Gateway User s Manual Version 1 4 April 2008 2 4 6 D d d OPERE EE 65 4 7 D i Sa E EE OAE O EE 66 i i s i ANE EEA AETAT IEN TONENE NERT 67 AD ORE P E E EE AE E E E AE EE 69 ALO DORI EEEE TE T TT 71 AD DORE LU weesdssess scesdscksssivsivdsosevaderssuts sendsseved sinsevadasasobedscseivucsssouvesiisversdasessbessobedvers 73 4 12 S9SPOLOSBBDSP vessciesicstiecenci

Download Pdf Manuals

image

Related Search

Related Contents

Altoparlante Christie Vive Audio LS3S      Biblioteca Museu Etnològic Manual de usuario  B-EX4T1 - General de Etiquetaje  

Copyright © All rights reserved.
Failed to retrieve file