EasySync USB2-F-7001 User manual

EasySYNC Ltd
Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow, G41 1HH, United Kingdom
Tel.: +44 (0) 141 418 0181 Fax: + 44 (0) 141 418 0110
E-Mail (Support): support@easysync-ltd.com Web: http://easysync-ltd.com
Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced
in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are
supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. EasySYNC Ltd will
not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected.
This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product
might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to
change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document.
EasySYNC Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow, G41 1HH, United Kingdom. Scotland Registered Number:
SC224924
Copyright © 2008-2010 EasySYNC Limited
The USB2-F-7001 and USB2-F-7101 provide a simple method of adapting CANbus devices to USB.
The USB2-F-7101adds optical isolation for the CAN interface.
Flexible mounting options allow the USB2-F-7001 and USB2-F-7101 to be used in a variety of
applications. Indicator LEDs provide functional status.
EasySYNC Ltd
USB2-F-7x01 Full-Speed USB to 1-Port
CANbus Adapter
User Guide
Document Reference No.: ES_000005
Version 1.3
Issue Date: 2010-05-12

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 2
1Introduction .................................................................................4
1.1 Functional Description .................................................................................. 4
1.2 LED Description............................................................................................. 5
1.3 Block Diagram............................................................................................... 6
1.3.1 Block description ....................................................................................... 6
1.4 Features........................................................................................................ 7
1.5 Performance Figures ..................................................................................... 7
1.6 Ordering Information .................................................................................... 7
2Installation...................................................................................8
2.1 Hardware Installation ................................................................................... 8
2.1.1 Mounting.................................................................................................. 8
2.1.2 Wiring...................................................................................................... 8
2.2 Device Driver Installation ............................................................................. 9
2.2.1 Microsoft Windows..................................................................................... 9
2.2.2 Mac OS X, Linux, Windows CE ....................................................................11
2.3 Firmware Update ........................................................................................ 11
3Connections................................................................................ 13
3.1 External Connectors .................................................................................... 13
3.1.1 USB ........................................................................................................13
3.1.2 CANbus ...................................................................................................13
4Application Programming Interfaces ........................................... 14
4.1 ASCII commands ........................................................................................ 14
Help (H, h or ?) .....................................................................................................15
4.1.1 Set CAN Channel Timing –simple (S) .........................................................16
4.1.2 Set CAN Channel Timing –advanced (s)......................................................17
4.1.3 Set Acceptance Mask (m) ..........................................................................18
4.1.4 Set Acceptance Filter (M) ..........................................................................19
4.1.5 Enable Time Stamp (Z) .............................................................................20
4.1.6 Open CAN Channel (O)..............................................................................21
4.1.7 Open CAN Channel for Listen Only (L) .........................................................22
4.1.8 Close CAN Channel (C)..............................................................................23
4.1.9 Echo / Synchronize (E)..............................................................................24
4.1.10 Transmit Standard CAN Frame –11-bit ID (t) ..............................................25
4.1.11 Transmit Extended CAN Frame –29-bit ID (T) .............................................26
4.1.12 Get Status Flags (F)..................................................................................27
4.1.13 Get Hardware and Firmware Versions (V) ....................................................28

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 3
4.1.14 Get Serial Number (N) ..............................................................................29
4.1.15 Reset Microcontroller (R) ...........................................................................30
4.1.16 Prepare Bootloader (B)..............................................................................31
5Electrical details ......................................................................... 32
5.1 USB ............................................................................................................. 32
5.2 CANbus ....................................................................................................... 32
5.3 Optical Isolation (USB2-F-7101 only) ......................................................... 32
6Mechanical Details ...................................................................... 33
6.1 Module Mechanical Dimensions ................................................................... 33
6.2 UniClip™ Mechanical Dimensions ................................................................ 34
7Physical Environment Details ...................................................... 35
7.1 Storage ....................................................................................................... 35
7.2 Operating .................................................................................................... 35
8Environmental Approvals & Declarations ..................................... 36
8.1 EMI Compatibility........................................................................................ 36
8.2 Safety ......................................................................................................... 36
8.3 Environmental............................................................................................. 36
8.4 Reliability.................................................................................................... 36
8.4.1 Mean Time To Failure (MTTF) .....................................................................36
8.5 Import / Export Information....................................................................... 37
9Troubleshooting ......................................................................... 38
9.1 Hardware .................................................................................................... 38
9.2 Device Driver .............................................................................................. 38
Technical Support ................................................................................................. 39
10 Contact Information ................................................................... 40
Appendix A –References .................................................................. 41
Appendix B –List of Figures and Tables ............................................ 42
Appendix C –Revision History .......................................................... 43

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 4
1Introduction
1.1 Functional Description
The USB2-F-7001 and USB2-F-7101 are USB to CANbus adapters which incorporate the FTDI FT245R
USB to FIFO interface IC device. The USB2-F-7101adds optical isolation for the CAN interface. These
adapters provide a fast, simple way to CANbus devices to a host PC with a USB port. Throughout this
manual, both adapters will be identified as USB2-F-7x01 where common features are identified.
Each USB2-F-7x01 contains a small internal electronic circuit board mounted inside of a plastic case
capable of withstanding industrial temperature ranges. The FT245R datasheet, DS_FT245R, is available
at http://www.ftdichip.com. The integrated electronics include a Microchip PIC with the ECAN controller.
LEDs give a visual indication of the CANbus status.
The USB2-F-7x01 does not require a power supply. It is powered from the USB connection. The USB2-F-
7001 requires 150mA (450mA for the USB2-F-7101) and must be connected directly to a USB Host port,
or a self-powered USB hub (i.e. with an external power supply). Bus-powered USB hubs are not
supported since they cannot provide the required current.
Figure 1.1 –USB2-F-7x01
Flexible mounting allows the USB2-F-7x01 to be used in a variety of applications, from a portable adapter
to accompany a laptop to permanent installations in industrial and commercial locations.
The enclosure incorporates a standard USB-B device connector for connection to an upstream host or hub
port. CANbus signals are available on an industry-standard DE-9P connector conforming to the CAN-in-
Automation (CiA) DS102-2 pin-out. The maximum CANbus data rate is 1Mbps.
The USB2-F-7x01 adapter requires USB device drivers, available free from http://www.easysync-ltd.com,
which are used to make the USB2-F-7x01 appear as a Virtual COM port (VCP). Communications in VCP
mode are accomplished with ASCII commands to the CAN controller. ASCII commands are listed in
Section 4.1.
Another USB device driver included with the download, the D2XX driver, can also be used with
application software to directly access the FT245R, and used in conjunction with a CAN command
Application Programming Interface (API) through the use of DLLs. The high-level API is listed in the
USB2-F-7x01 API Guide.

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 5
1.2 LED Description
The USB2-F-7x01 uses three LEDs to indicate a valid link as well as CANbus status. The table below uses
the following LED definitions.
ON = LED constantly lit
OFF = LED is constantly not lit
Blinking = 2.5Hz, alternating ON and OFF
Single Flash = Short flash ON (200msec), followed by long off phase (1000msec)
Double Flash = Two short flashes on (200msec) separated by short off phase (200msec),
followed by long off phase (1000msec)
Triple Flash = Three short flashes on (200msec) separated by short off phases (200msec),
followed by long off phase (1000msec)
LED Colour
Function
Description
Yellow
USB
Enumerated
Active LED
State
Description
Off
Inactive
The USB2-F-7x01 has not been
enumerated by the host system.
On
Active
The USB2-F-7x01 has been
enumerated and is ready
Green
RUN
CAN Run LED
State
Description
Blinking
PREOPERATIONAL
The device initialized
Single flash
STOPPED
The device is in state STOPPED
(Channel is Closed)
On
OPERATIONAL
The device is in state OPERATIONAL
(Channel is Open)
Red
ERR
ERR LED State
Description
Category
Off
No error
The device is in working condition
Blinking
Invalid
Configuration
General configuration error
Single flash
Warning limit
reached
At least one of the error counters of
the CAN controller has reached or
exceeded the warning level (too many
error frames)
On
Bus off
The CAN controller is bus off, and not
involved in CANbus activities
Table 1.1 –LED Description
Upon initial power up, system reboot or executing the (R)eset command, the LEDs will be in the following
state: Green LED = Blinking, Red LED = Single Flash.

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 6
1.3 Block Diagram
USB Serial Bridge
FT245R
CANbus Controller
PIC18F2680
USB B
Client
Connector
CANbus
Transceiver
MCP2551
DE-9P
Connector
Optical Isolation
USB2-F-7101
Only
Figure 1.2 –USB2-F-7x01 Block Diagram
1.3.1 Block description
USB B Client Connector
This connector provides the interface for connection to a USB Host or Hub port. A standard “A to B”
cable is provided, though one of a different length may also be used. The maximum cable length is 5
meters, according to the USB 2.0 specification.
FTDI FT245R
The FTDI FT245R provides a USB-to-FIFO interface to the CANbus Controller. Operating system device
drivers are required in order to work with the FT245R to provide the Direct or Virtual COM Port
functionality.
CANbus Controller
The Microchip PIC18F2680 runs firmware that converts the communication from the FT245R to CANbus
protocol.
Optical Isolation (USB2-F-7101 only)
The USB2-F-7101 provides 2000V optical isolation between the CAN transceiver and the PIC18F2680.
CANbus Transceiver
The Microchip MCP2551 converts logic level signals from the CANbus controller to CANbus physical
signals. These signals consist of a differential pair, CAN_H and CAN_L.
DE-9P Connector (Male)
The DE-9P connector is configured in an industry standard (CiA DS102-2) pin-out to provide connection
to CANbus peripherals through standard cables. See section 3.1.2.

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 7
1.4 Features
•Adds one CANbus port by connecting to USB
•Easy plug & play installation and CANbus device connection
•Works with USB 1.1 & 2.0 Host and Hub ports
•Industry Standard FTDI chip set & drivers for maximum compatibility
•Installs as standard Windows COM port or USB Serial Device
•COM Port Number can be changed to COM1 to COM4 or any other COM port number required
•Supports Windows Server 2008, 2003, Vista, XP 2000, Linux, Mac OS X
•FIFO: 128 byte transmit buffer, 384 byte receive buffer
•Powered by USB port. No external power adapter required.
•CANbus speed up to 1Mbps
•One DE-9P male connector
•LEDs indicate Initialization and CANbus status for monitoring port status & easy diagnostics
•High-temperature plastic enclosure
•Operating temperature of -40°C to +85°C
•USB cable of 0.9 meter included
1.5 Performance Figures
Parameter
Performance
USB Interface
12Mbps USB 2.0 Full-Speed
CANbus Interface
10Kbps to 1Mbps
Table 1.2 –Performance Figures
1.6 Ordering Information
Part Number
Description
USB2-F-7001
CAN-Plus Full-Speed USB to 1-Port CANbus Adapter
USB2-F-7101
CAN-Plus Full-Speed USB to 1-Port CANbus Adapter with optical isolation
Table 1.3 –Ordering Information

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 8
2Installation
2.1 Hardware Installation
There are no switches or jumpers to configure on the USB2-F-7x01.
2.1.1 Mounting
The USB2-F-7x01 is provided with two mounting options: UniClip™ Wall/DIN rail mount or rubber feet.
The UniClip Wall/DIN rail mount allows the USB2-F-7x01 to be permanently mounted to a wall or
attached to a DIN rail. The rubber feet can be used when mobility or desktop use is desired.
NOTE: The UniClip provides a permanent mounting style. The USB2-F-7x01 case may be damaged if the
UniClip is removed.
The following figures indicate the mounting styles.
Figure 2.1 –USB2-F-7x01 with UniClip Brackets
Figure 2.2 –USB2-F-7x01 with Rubber Feet
2.1.2 Wiring
A standard 0.9m USB “A” to “B” cable is provided.
Insert the A-plug into an available USB Host or Hub port. Insert the B-plug into the B-receptacle on the
USB2-F-7x01.

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 9
The CANbus interface is provided through a DE-9P connector as defined by the CiA DS102-2 pin-out. Bus
termination is not provided. A CANbus network requires 120Ωtermination resistors at each end as noted
in Figure 2.3. Wiring to CANbus nodes through the middle of the network must ensure a short tap
length.
Figure 2.3 –CANbus network
2.2 Device Driver Installation
The USB2-F-7x01 adapter requires USB device drivers, available free from http://www.easysync-ltd.com,
which are used to make the USB2-F-7x01 appear as a Virtual COM port (VCP). Communications in VCP
mode are accomplished with ASCII commands to the CAN controller.
Another USB device driver included with the download, the D2XX driver, can also be used with
application software to directly access the FT245R, and used in conjunction with a CAN command
Application Programming Interface (API) through the use of DLLs. The API is defined in the USB2-F-7x01
API Guide.
The USB2-F-7x01 uses the USB Vendor ID of 0x0403 and Product ID of 0xFAC6.
2.2.1 Microsoft Windows
Installing Drivers
1) Login to your system as Administrator, or a user with Administrator rights.
2) The device drivers are WHQL-certified and available through the Windows Update service.
3) If you are unable to use the Windows Update service, download the EasySYNC drivers from the
website. Extract the files to a folder on your local hard drive.
4) Plug in the USB2-F-7x01. When the Hardware Wizard appears, select to browse your computer
and point the Wizard to the extracted folder.
5) Follow the on-screen instructions to complete the driver install.
Windows application software can access the USB2-F-7x01 through a COM port or D2XX direct function
calls. For software which uses a COM port, the assignment of the COM port number determined as noted
below.
120
CANNODE
CANNODE
CANNODE
CANNODE
TwistedPair
120

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 10
COM Port Assignment
To determine which COM port has been assigned, open the Windows Device Manager from the System
Control Panel.
Figure 2.4 –Device Manager
Click on the Plus “+” sign next to the Ports tree to list the available COM port. You will see “EasySYNC
USB COM Port”, followed by a COMn assignment. In the figure below, the USB2-F-7x01 is assigned to
COM3.
Figure 2.5 –COM Port Assignment
Use this COM port number in order to access the USB2-F-7x01 with application software that uses a COM
port.
If an application requires use of a different COM port number, the assignment may be changed through
the Advanced Driver Options settings.
From the Device Manager listing above, right-click on the USB Serial Port and select Properties.
Figure 2.6 –Access COM Port Properties

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 11
Next, click on the “Port Settings” tab.
Figure 2.7 –Settings Tab
Then click on the “Advanced…” button.
Figure 2.8 –Advanced Options
This will display the various advanced settings. Note the COM port assignment in the upper left. Clicking
on the drop-down list will display the available port numbers. Select one that is not in use and click OK
on each dialog box to activate the selection. A unique USB serial number is programmed into the USB2-
F-7x01. Windows will use this USB serial number to remember the assigned COM port number across
power cycles and if the USB2-F-7x01 is removed and inserted to any USB port on the same host
computer. This USB serial number is different from the CAN Firmware serial number described later in
this datasheet.
2.2.2 Mac OS X, Linux, Windows CE
Device drivers and FTDI installation guides for Mac OS X, Linux and Windows CE are available for
download on the EasySYNC web sites.
2.3 Firmware Update

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 12
The USB2-F-7x01 firmware can be updated for bug fixes and enhanced features. In order to update the
firmware, obtain the updated firmware from the EasySYNC web site and follow the instructions contained
in the readme file of the download.

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 13
3Connections
3.1 External Connectors
3.1.1 USB
The USB-F-7x01 is a downstream USB 2.0 Device. A standard USB Series “B” receptacle is mounted
inside the USB-F-7x01 to facilitate connection to an upstream USB Host or Hub.
Pin Number
Pin Type
Description
1
Power
VBUS –USB Power provided from upstream USB Host or Hub
2
Bidirectional
D–= USB data signal, negative polarity
3
Bidirectional
D+ = USB data signal, positive polarity
4
Ground
GND = USB signal ground
Shield
Case Ground
Drain = typically connected to the host PC case
Table 3.1 –USB “B”Receptacle Pin-Out
3.1.2 CANbus
The CANbus port conforms to the CiA DS102-2 pin-out through a 9-contact D-Sub Pin connector. Pin
assignments are noted below:
Pin Number
Pin Type
Description
1
n/a
Not Connected
2
Bidirectional
CAN_L –CANbus low-side signal of differential pair
3
Ground
Signal Ground
4
n/a
Not Connected
5
n/a
Not Connected
6
Ground
Signal Ground
7
Bidirectional
CAN_H –CANbus high-side signal of differential pair
8
n/a
Not Connected
9
n/a
Not Connected
Shield
Case Ground
Drain = typically connected to the host PC case
Table 3.2 –DE-9P DS102-2 CANbus Pin-Out

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 14
4Application Programming Interfaces
4.1 ASCII commands
The following ASCII commands provide a means of utilizing an interactive terminal program, or
communication through a standard COM or TTY port. Unrecognized commands return the ASCII BELL
character (0x07). Some useful settings for a terminal program to assist in the human readability of
command responses are:
-Echo typed characters locally –the USB2-F-7x01 does not echo characters.
-Append line feeds to incoming line ends.
-With the use of the FTDI FT245 USB-FIFO interface, serial port bit rate settings are not typically
necessary; however, some terminal programs may yield unpredictable results with slow rates.
Set the COM port to the highest available bit rate. The USB2-F-7x01 will maintain the most
efficient data rate available.
The CANbus messages are received at all times by default and sent to the host through the FTDI FT245
USB-FIFO interface immediately. Firmware version 2.2 supports sustained read of CAN messages sent
1ms apart as well as a bursts of up to 100 CAN messages sent 50us apart.

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 15
Help (H, h or ?)
Summary
Lists available commands.
Definition
H<CR>, h<CR> or ?<CR>
Parameters
None
Remarks
Example:
?<CR>
List available commands.
Return Codes
List of Supported Commands
O –Open CAN Channel
C –Close CAN Channel
t –Transmit Standard Frame
T –Transmit Extended Frame
F –Read Status Flag
V –USB2-F-7001 Version
N –Serial Number of USB2-F-7001
Z –TimeStamp Option On/Off
S –Set CAN Bit Rate
s –Set BRGCON Registers
m –Set Acceptance Mask
M –Set Acceptance Filter
B –Enter Bootload Mode
L –Set Listen Mode
E –Clear Buffers and Echo Char
R –Reset USB2-F-7001
H, ? or h –Help on USB2-F-7001 Commands<CR> = OK
<BELL> = ERROR

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 16
4.1.1 Set CAN Channel Timing –simple (S)
Summary
Configure CAN interface with a pre-configured channel transmission rate.
NOTE: The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
Srate_selector<CR>
Parameters
rate_selector = 0 = 10Kbps
1 = 20Kbps
2 = 50Kbps
3 = 100Kbps
4 = 125Kbps
5 = 250Kbps
6 = 500Kbps
7 = 800Kbps
8 = 1Mbps
Remarks
Example:
S5<CR>
Set CAN transmission rate to 250Kbps
Return Codes
<CR> = OK
<BELL> = ERROR

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 17
4.1.2 Set CAN Channel Timing –advanced (s)
Summary
Configure CAN interface with a custom channel transmission rate.
NOTE: The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
Saabbcc<CR>
Parameters
aa = contents of PIC 18F2680 BRGCON1 register (in hexadecimal)
bb = contents of PIC 18F2680 BRGCON2 register (in hexadecimal)
cc = contents of PIC 18F2680 BRGCON3 register (in hexadecimal)
Remarks
The USB2-F-7x01 utilizes a 24MHz clock for the PIC 18F2680. Use this value when referring to
the PIC datasheet if a custom transmission rate different from those provided with the “S”
command above is required.
Example:
s01BE07<CR>
Set CAN transmission rate to 250Kbps.
NOTE: With this command, multiple combinations of BRGCON1, BRGCON2 and BRGCON3 can
yield the same bit rate.
Return Codes
<CR> = OK
<BELL> = ERROR

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 18
4.1.3 Set Acceptance Mask (m)
Summary
The Acceptance Mask, in conjunction with the Acceptance Filter (M), defines which received
messages (i.e. of a specific ID or range of CAN IDs) will be passed to the USB interface. The
Acceptance Mask value corresponds to bits within a range of valid CAN IDs for either standard or
extended CAN messages.
Set Acceptance Mask (m) command should be executed prior to Set Acceptance Filter (M).
NOTE: The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
miii<CR> for standard 11-bit CAN messages
miiiiiiii<CR> for extended 29-bit CAN messages
Parameters
iii = standard 11-bit CAN mask (0x000 through 0x7FF)
iiiiiiii = extended 29-bit CAN mask (0x00000000 through 0x1FFFFFFF)
A value of “0” in a bit location indicates that the bit location ID value is to be ignored
when filtering messages.
Default is to pass all frames (Acceptance Mask = 0x000 for standard messages and
0x00000000 for extended messages)
Remarks
Example
m700<CR>
Set Acceptance Mask to check bits 10, 9 and 8 against the filter. Bits 7 thorugh 0 are ignored as
“don’t care”. Use the Acceptance Mask in conjunction with the Acceptance Filter, defined next.
Return Codes
<CR> = OK
<BELL> = ERROR

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 19
4.1.4 Set Acceptance Filter (M)
Summary
The Acceptance Filter, in conjunction with the Acceptance Mask (m), defines which received
messages (i.e. of a specific ID or range of CAN IDs) will be passed to the USB interface. The
Acceptance Filter value corresponds to a valid CAN ID for either standard or extended CAN
messages.
The Set Acceptance Mask (m) command should be executed prior to the Set Acceptance Filter
(M) command.
NOTE: The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
Miii<CR> for standard 11-bit CAN messages
Miiiiiiii<CR> for extended 29-bit CAN messages
Parameters
iii = standard 11-bit CAN ID (0x000 through 0x7FF)
iiiiiiii = extended 29-bit CAN ID (0x00000000 through 0x1FFFFFFF)
Default is to pass all frames (Acceptance Filter = 0x7FF for standard messages and
0x1FFFFFFF for extended messages).
Remarks
Example
M1FF<CR>
Set Acceptance Filter to receive standard messages with the CAN ID of 0x1FF. If used in
conjunction with the Acceptance Mask example above, frames of the range 0x100 through 0x1FF
will be passed and all other CAN IDs blocked.
Return Codes
<CR> = OK
<BELL> = ERROR

Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.3
Clearance No.: ES#02
©2008 - 2010 EasySYNC Ltd. 20
4.1.5 Enable Time Stamp (Z)
Summary
Sets or clears time stamp on received frames. This value is persistent in EEPROM across reset or
restart. Four (4) bytes are added to the end of a received frame. This value is a rolling 16-bit
counter that increments once every millisecond and rolls over at 60,000mS (1 minute). Valid hex
values are 0x0000 through 0xEA5F.
NOTE: The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
Zn<CR>
Parameters
n = 0 = disable time stamp feature
1 = enable time stamp feature
Remarks
Default is OFF (disable time stamp)
Only use when required to change functionality.
Example:
Z1<CR>
Enable time stamp.
Return Codes
<CR> = OK
<BELL> = ERROR
Other manuals for USB2-F-7001
1
This manual suits for next models
1
Table of contents
Other EasySync Adapter manuals