background image

I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)   

 

 

          Page: 25

 

 

Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]

 

<4> 

Delete

” button 

:

 

It will delete the CAN message of the assigned blue row in “CAN/CAN FD 
Message Send Area”. 
 

<5> 

Del Table

” button 

:

 

It will delete all the CAN messages in “CAN/CAN FD Message Send Area”. 
 

<6> 

Send

” button 

:

 

It will send the CAN message of the assigned green row in “CAN/CAN FD 
Message Send Area”. If the value in the “Timer” field is zero, it will just send 
once. If not, it will send continuously by PC timer. 
 

<7> 

HWSend

” button 

:

 

It will send the CAN message of the assigned blue row in “CAN/CAN FD 
Message Send Area”. If the value in the “Timer” field is zero, it will just send 
once. If not, it will send continuously by module hardware timer and it will be 
more precise than PC timer. If users want to send the CAN message with fixed 
number, then before clicking “HWSend” button, please check the “HWSendCnt” 
checkbox first and input the count in this field. 

 
<8> 

Clr Cnt

” button 

:

 

It will clear the “SendCnt” value to be zero in “CAN/CAN FD Message Send 
Area”. 
 

<9> 

SendCnt

” field 

:

 

Whenever the CAN message is sent out once, the “SendCnt” value will be 
added by 1 except “HWSend” function. 

Содержание I-7565M-FD

Страница 1: ...AN CAN FD converter User Manual version 1 0 0 Page 1 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com I 7565M FD User Manual Version 1 0 0 Dec 2019 Service and usage informa...

Страница 2: ...duct 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 IC...

Страница 3: ...iving Capability 14 4 Software Utility 15 4 1 Install the I 7565 FD Utility 15 4 2 Setting up the I 7565M FD 18 4 3 Start to use I 7565 FD Utility tool 19 4 3 1 Connect to the module 21 4 3 2 Send CAN...

Страница 4: ...Filter 55 5 5 11 CANFD_GetCANStatus 56 5 6 Communication Functions 58 5 6 1 CANFD_SetCANTxMsg 58 5 6 2 CANFD_GetCANRxMsg 60 5 6 3 CANFD_SetCANHWSendMode 63 5 6 4 CANFD_GetCANHWSendMode 64 5 6 5 CANFD_...

Страница 5: ...ase When connecting I 7565M FD to PC PC will load the relevant device driver automatically hot plug play Therefore users can make data collection and processing of CAN Bus network easier and quicker b...

Страница 6: ...00 VDC for DC to DC 2500 Vrms for photocoupler Specification ISO 11898 2 CAN 2 0 A B and FD CAN Filter Configuration Selectable via Utility tool Receive Buffer 128 data frames Max Data Flow 3000 fps f...

Страница 7: ...standards switchable CAN FD bit rates for data field from 100 kbps to 3000 kbps CAN bit rates from 10 kbps to 1000 kbps Support CAN Bus message filter configuration Time stamp resolution 1ms Voltage...

Страница 8: ...t 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Technical data 2 1 Block Diagram The following figure is the block diagram illustrating the functions of the I 7565M FD Figure 2 1...

Страница 9: ...4 CAN_H CAN_High bus line of CAN1 port 5 CAN_GND CAN ground of CAN2 port 6 CAN_L CAN_Low bus line of CAN2 port 7 F G Frame Ground 8 CAN_H CAN_High bus line of CAN2 port Electronic circuits are always...

Страница 10: ...escription LED Name Color Description Power Red Power status of USB port MS Red Module status OFF no error ON hardware malfunction CAN1_ST Red CAN Bus status OFF no error ON CAN1 Bus Off Flash CAN1 Bu...

Страница 11: ...s of these terminal resistors are shown as following figure Figure 2 4 CAN Bus network topology Each I 7565M FD includes one build in 120 terminal resistor for CAN1 CAN2 ports users can decide if it i...

Страница 12: ...P DAS Co Ltd All Rights Reserved E mail service icpdas com Generally if your application is as follows we recommend you to enable the terminal resistor Figure 2 6 Application 1 If your application is...

Страница 13: ...rter User Manual version 1 0 0 Page 13 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 Wire Connection The wire connection of the I 7565M FD is displayed below Figure 2...

Страница 14: ...Recommended DC parameter for CAN Bus Line Wire Cross Section mm2 Resistance km 0 25 AWG23 90 0 5 AWG20 50 0 8 AWG18 33 1 3 AWG16 20 Under the condition described above users can refer to the following...

Страница 15: ...for data analyzing conveniently 4 1 Install the I 7565 FD Utility Step 1 Get the I 7565 FD Utility The software is located at http ftp icpdas com pub cd fieldbus_cd can converter I 7565M FD softwar e...

Страница 16: ...rsion 1 0 0 Page 16 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Select the installation path of the I 7565 FD Utility and click the Next button 3 Confirm the installa...

Страница 17: ...7565M FD USB to CAN CAN FD converter User Manual version 1 0 0 Page 17 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Installation complete Click the Close button to exi...

Страница 18: ...FD After installing the utility tool please follow the following steps to set up the communication between the Utility and the I 7565M FD device Step 1 Connect the PC available USB port with the USB p...

Страница 19: ...565 FD Utility tool Figure 4 2 Main frame of the I 7565 FD Utility tool A Menu tool bar File Load Save configuration of the Send frame and save received messages on Receive frame Connect Connect Disco...

Страница 20: ...E mail service icpdas com B Send Receive frame This field will be divided into two parts after connect with module One is used for display received CAN CAN FD messages and the other is used for send...

Страница 21: ...odule information on Module Name location of the Utility Connect frame User can re connect to re scan the newer inserted I 7565M FD module Figure 4 3 Connect to screen of the I 7565 FD Utility Before...

Страница 22: ...nitoring mode the CAN port will just receive CAN CAN FD messages no CAN Ack command be sent to the CAN Bus Non ISO Non ISO operation If this parameter is checked the module uses the CAN FD frame forma...

Страница 23: ...to I 7565M FD is successful then the screen for CAN Bus communication function will show up like below picture Figure 4 4 Communication screen of the I 7565 FD Utility The above is the illustration f...

Страница 24: ...ans this frame is a remote frame FDF CAN FD frame Value 0 means this frame is a CAN frame Value 1 means this frame is a CAN FD frame DL CAN message data length For CAN frames this field can be set 0 8...

Страница 25: ...end once If not it will send continuously by PC timer 7 HWSend button It will send the CAN message of the assigned blue row in CAN CAN FD Message Send Area If the value in the Timer field is zero it w...

Страница 26: ...user review the received CAN meesages on the CAN Bus via I 7565M FD devices If the connection to I 7565M FD is successful then the screen for CAN Bus communication function will show up like below pi...

Страница 27: ...the CAN message data in CAN Message Receive Area and the RecvCnt value to be zero 4 Scrolling checkbox If the Scrolling checkbox is checked the received CAN message data in CAN Message Receive Area w...

Страница 28: ...the CAN ID filter of the module After clicking the Module Confiuration item user can set CAN Id filter setting The CAN1 CAN 2 tab is used to switch CAN1 CAN2 filter setting screen The Reject Remote Fr...

Страница 29: ...nded ID block 1 CAN ID HEX block Press the Add button to add a range of standard extended CAN ID into Standard Extended ID Fiter frame 2 Get CAN Standard IDs Get CAN Extended IDs button Get all the CA...

Страница 30: ...rved E mail service icpdas com 6 Load File button Load the CAN Standard Extended IDs setting from a selected ini file to Standard Extended ID Fiter frame 7 Delete Row button Delete a selected row CAN...

Страница 31: ...e Utility tool user can send other command to get the module information and reset the module From the Configuration Options block user can get the module information module firmware version CAN statu...

Страница 32: ...finition 3 CAN Buffer Status item 0x value in hexadecimal format Bit Symbol Value Description 0 RX CAN1 CAN2 receive software buffer status 0 Receive software buffer underrun 1 Receive software buffer...

Страница 33: ...Ltd All Rights Reserved E mail service icpdas com 1 The CAN is in the Bus_OFF state 31 7 Reserved Get CAN Rx FPS command 1 CAN Rx FPS item CAN1 CAN2 received CAN message frame per second Reset Module...

Страница 34: ...ckly and easily The CAN_FD library and demos can be downloaded from the ICP DAS web site The library is located at http ftp icpdas com pub cd fieldbus_cd can converter I 7565M FD software li brary win...

Страница 35: ...are used to set get the parameters or information of I 7565M FD Communication Function These functions are used to send receive CAN CAN FD messages through I 7565M FD Softeware Function All the transm...

Страница 36: ...ode in the assigned CAN port 3 CANFD_SetCANADBaudRate Set the arbitration data phase bit rate in the assigned CAN port 4 CANFD_GetCANADBaudRate Get the arbitration data phase bit rate in the assigned...

Страница 37: ...ed CAN port 5 CANFD_SetCANHWSendMsg Set the hardware cyclic sending a CAN CAN FD message content in the assigned CAN port 6 CANFD_GetCANRxFramePerSec Get the CAN Bus data flow in the assigned CAN port...

Страница 38: ...1 0 0 Page 38 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 API Library Flow Diagram The following is the basic control flow chart of user s CAN Bus program developm...

Страница 39: ...s com 5 4 Init Functions These functions are used to scan and open close the valid and necessary I 7565M FD device 5 4 1 CANFD_ScanDevice This function is used to scan all the valid I 7565M FD devices...

Страница 40: ...to list all the scanned I 7565M FD devices PID product ID and BID board ID Syntax C BYTE CANFD_ListDevice WORD o_wPID DWORD o_dwBID C Byte CANFD_ListDevice UInt16 o_wPID UInt32 o_dwBID Parameter o_wP...

Страница 41: ...on functions to send receive CAN messages via device ID Syntax C int CANFD_OpenDevice WORD o_wDevice_id WORD i_wpid DWORD i_wbid C Int32 CANFD_OpenDevice out UInt16 o_wDevice_id UInt16 i_wpid UInt32 i...

Страница 42: ...Device This function is used to close the I 7565M FD device After the device closed all the resoruces the API Library used will be released Syntax C int CANFD_CloseDevice WORD i_wDevice_id C Int32 CAN...

Страница 43: ...WORD i_wEnable WORD i_wBusMode WORD i_wISOMode C Int32 CANFD_SetCANOPMode UInt16 i_wDevice_id Byte i_byCANPort UInt16 i_wEnable UInt16 i_wBusMode UInt16 i_wISOMode Parameter i_wDevice_id in The assig...

Страница 44: ...CANFD_GetCANOPMode UInt16 i_wDevice_id Byte i_byCANPort out UInt16 o_wEnable out UInt16 o_wBusMode out UInt16 o_wISOMode Parameter i_wDevice_id in The assigned device ID of the I 7565M FD device i_byC...

Страница 45: ...wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of the I 7565M FD device i_dwArbitrBR in The bit rate configured for the CAN and CAN FD arbitration p...

Страница 46: ...Reserved E mail service icpdas com 87 50 Suggested Range 7500 8750 75 00 87 50 i_wDataBRSP in The sample point of CAN FD data phase bit rate in the assigned CAN port of the I 7565M FD device Unit 0 0...

Страница 47: ...2 o_dwArbitrBR out UInt32 o_dwDataBR out UInt16 o_wArbitrBRSP out UInt16 o_wDataBRSP Parameter i_wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of t...

Страница 48: ...0 Page 48 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 87 50 o_wDataBRSP out The sample point of CAN FD data phase bit rate in the assigned CAN port Unit 0 01 8750 means...

Страница 49: ...NGlobalFilter UInt16 i_wDevice_id Byte i_byCANPort Byte i_byRejectRFS Byte i_byRejectRFE Parameter i_wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port...

Страница 50: ...wEXTFIDListSize C Int32 CANFD_GetCANGlobalFilter UInt16 i_wDevice_id Byte i_byCANPort out Byte o_byRejectRFS out Byte o_byRejectRFE out UInt16 o_wSTDFIDListSize out UInt16 o_wEXTFIDListSize Parameter...

Страница 51: ...CAN port of the I 7565M FD device This parameter is used for valid CAN ID filter ranges on CANFD_GetCANSTDIDFilter API function Valid Range 0 128 o_wEXTFIDListSize out The CAN filter function of exte...

Страница 52: ...Parameter i_wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of the I 7565M FD device i_wSTDFIDListSize in The CAN filter function of standard CAN ID...

Страница 53: ...r i_wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of the I 7565M FD device o_wSTDFID1 o_wSTDFID2 in out This point to arrays of the elements of sta...

Страница 54: ...Parameter i_wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of the I 7565M FD device i_wEXTFIDListSize in The CAN filter function of extended CAN ID...

Страница 55: ...ter i_wDevice_id in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of the I 7565M FD device o_wEXTFID1 o_wEXTFID2 in out This point to arrays of the elements of e...

Страница 56: ...in The assigned device ID of the I 7565M FD device i_byCANPort in The assigned CAN port of the I 7565M FD device o_dwCANStatus out The CAN Bus status in the assigned CAN port of the I 7565M FD device...

Страница 57: ...ounters are below the Error_Warning limit of 96 1 At least one of error counter has reached the Error_Warning limit of 96 5 EP CAN1 2 Error passive status 0 The CAN is in Error_Active state 1 The CAN...

Страница 58: ...int CANFD_SetCANTxMsg WORD i_wDevice_id BYTE i_byCANPort BYTE i_byMode DWORD i_dwID BYTE i_byRTR BYTE i_byFDF BYTE i_byDlen BYTE i_byData C Int32 CANFD_SetCANTxMsg UInt16 i_wDevice_id Byte i_byCANPort...

Страница 59: ...e CAN FD frame i_byDlen in CAN CAN FD frame data length parameter Normal CAN frame Valid range 0x0 0x8 CAN FD frame Valid range 0x0 0xF i_byDlen Hexadecimal Frame data length Decimal i_byDlen Hexadeci...

Страница 60: ...GetCANRxMsg UInt16 i_wDevice_id Byte i_byCANPort out Byte o_byType out Byte o_byMode out UInt32 o_dwID out Byte o_byRTR out Byte o_byFDF out Byte o_byDlen In Out Byte o_byData out UInt32 o_dw_TimeStam...

Страница 61: ...bit CAN ID CAN message 0x00000000 0x1FFFFFFF Event message 0xEEEEEEE o_byRTR out CAN message RTR Remote Transmission Request parameter 0 data frame 1 remote frame always 0 for CAN FD frame o_byFDF in...

Страница 62: ...pdas com o_byData in out This point to an user defined 64 bytes array buffer for saving CAN CAN FD message data parameter o_dw_TimeStamp_s out The timestamp of the received event message Unit second o...

Страница 63: ...WSendMode WORD i_wDevice_id BYTE i_byCANPort BYTE i_byMode C Int32 CANFD_SetCANHWSendMode UInt16 i_wDevice_id Byte i_byCANPort Byte i_byMode Parameter i_wDevice_id in The assigned device ID of the I 7...

Страница 64: ...e timer Syntax C int CANFD_GetCANHWSendMode WORD i_wDevice_id BYTE i_byCANPort BYTE o_byMode C Int32 CANFD_GetCANHWSendMode UInt16 i_wDevice_id Byte i_byCANPort out Byte o_byMode Parameter i_wDevice_i...

Страница 65: ...wCounter C Int32 CANFD_SetCANHWSendMsg UInt16 i_wDevice_id Byte i_byCANPort Byte i_byMode UInt32 i_dwID Byte i_byRTR Byte i_byFDF Byte i_byDlen In Out Byte i_byData UInt32 i_dwTimer UInt32 i_dwCounter...

Страница 66: ...ecimal Frame data length Decimal 0x0 0 0x8 8 0x1 1 0x9 12 0x2 2 0xA 16 0x3 3 0xB 20 0x4 4 0xC 24 0x5 5 0xD 32 0x6 6 0xE 48 0x7 7 0xF 64 i_byData in out This point to an user defined 8 Normal CAN frame...

Страница 67: ...5M FD device Syntax C int CANFD_GetCANRxFramePerSec WORD i_wDevice_id BYTE i_byCANPort WORD o_wRxFPS C Int32 CANFD_GetCANRxFramePerSec UInt16 i_wDevice_id Byte i_byCANPort out UInt16 o_wRxFPS Paramete...

Страница 68: ...et the count of received CAN CAN FD messages in the software received buffer in the assigned CAN port of the I 7565M FD device Syntax C int CANFD_GetCANRxMsgCount WORD i_wDevice_id BYTE i_byCANPort DW...

Страница 69: ...FD messages in the software received buffer in the assigned CAN port of the I 7565M FD device Syntax C int CANFD_ClearCANRxBuf WORD i_wDevice_id BYTE i_byCANPort C Int32 CANFD_ClearCANRxBuf UInt16 i_...

Страница 70: ...FD messages in the software transmitted buffer in the assigned CAN port of the I 7565M FD device Syntax C int CANFD_ClearCANTxBuf WORD i_wDevice_id BYTE i_byCANPort C Int32 CANFD_ClearCANTxBuf UInt16...

Страница 71: ...get the CAN_FD library information or helpful for users program 5 8 1 CANFD_GetDllVersion This function is used to get the version of CAN_FD library Syntax C DWORD CANFD_GetDllVersion void C UInt32 C...

Страница 72: ...e firmware version of the I 7565M FD device Syntax C Int CANFD_GetFwVer WORD i_wDevice_id WORD o_wFwVer C Int32 CANFD_GetFwVer UInt16 i_wDevice_id out UInt16 o_wFwVer Parameter i_wDevice_id in The ass...

Страница 73: ...N This function is used to set the BID board ID of the I 7565M FD device Syntax C Int CANFD_SetSN WORD i_wDevice_id DWORD i_dwSN C Int32 CANFD_SetSN UInt16 i_wDevice_id UInt32 i_dwSN Parameter i_wDevi...

Страница 74: ...ail service icpdas com 5 8 4 CANFD_ResetModule This function is used to reset the I 7565M FD device Syntax C Int CANFD_ResetModule WORD i_wDevice_id C Int32 CANFD_ResetModule UInt16 i_wDevice_id Param...

Страница 75: ...n command error 0x3 DL field of the configuration command error 0x4 Fail to write data into device 0x10001 Invalid device 0x10002 Device already in used 0x10003 Device not exist 0x10004 Get device inf...

Страница 76: ...com 6 Firmware Upgrade Please refer to the following steps to upgrade the firmware of module Step 1 Set the Init dip switch of the I 7565M FD to ON and connect the PC available USB port with the USB p...

Страница 77: ...ers can upgrade the firmware of the I 7565M FD module via USB and the module will become a USB Mass Storage Device and also shows a folder like following picture automatically Step 3 Get the Firmware...

Страница 78: ...FD USB to CAN CAN FD converter User Manual version 1 0 0 Page 78 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Press the the Browser button and select the firmware...

Страница 79: ...rmware Update button to update the firmware After successfully to upgrade the firmware the Firmware Update Success Please Reboot Module information will be display on the 3 Firmware Update frame Step...

Страница 80: ...opyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 Appendix 7 1 Revision History This chapter provides revision history information to this document The table below shows the...

Страница 81: ...I 7565M FD USB to CAN CAN FD converter User Manual version 1 0 0 Page 81 Copyright 2019 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 Dimension...

Страница 82: ...d to send a dominant level data or identifier bit logical value 0 but the monitored bus value was recessive During Bus_Off recovery this status is set each time a sequence of 11 recessive bits has bee...

Страница 83: ...escription 7 0 TEC Transmit error counter Current value of the transmit error counter maximum value 255 14 8 REC Receive error counter Current value of the receive error counter maximum value 127 15 R...

Отзывы: