SSI and Quadrature Versions Available
Dual Encoder USB Converter
SPECIFICATIONS (Module)
Supply Voltage:
5 V ± 5% (powered by USB port)
Supply Current:
100 mA Max
Input Devices:
2 SSI Absolute or 2 Incremental Encoders
Output Format:
USB 2.0
Note: Encoders powered separately by external supply.
Operating Temperature:
0 to 70 C
o
o
SPECIFICATIONS (Encoder)
SSI Absolute Encoder
Input Format:
Serial Synchronous Interface (SSI)
Clock/Data Signal Levels:
Differential TTL (RS-422/485)
Clock Speed:
100 kHz
# of bits:
8 to 32 (programmable)
Incremental Encoder
Input Format:
A/B Quadrature with Index
Signal Levels:
5V, 12-15V, 24V (select in model number)
Signal Input Current:
10 mA nom.
Input Frequency Response:
1.0 MHz Max
# of bits:
8 to 32 (programmable)
The Dual Encoder to USB Converter translates
encoder position to industry standard USB 2.0 format
that can be read by a computer. Each module can
handle signals from two encoders. Modules are
available for SSI absolute encoders, as well as
quadrature incremental encoders.
The module can be programmed through the USB
interface for number of bits with absolute encoders. For
incremental encoders, count mode (X1, X2, X4), reset,
preset, and preset/reset on index are programmable
through the USB input. Incremental encoder counter
register length is programmable, up to 32 bits. The
Encoder to USB Converter is ideal for system setup and
debugging, data acquisition and PC based control
applications. 3-meter USB cable included.
*Optional programmable data sample function allows
module to automatically capture readings on an accurate
time clock. See -S in Ordering Options below.
MECHANICAL SPECIFICATIONS
Package dimensions are 114.4 mm high by 99 mm wide by 22.5
mm thick. The package mounts to a DIN rail type EN 50 022
(35mm X 7.5mm). A length of DIN rail is supplied with each
module. The module simply snaps directly to the DIN rail and is
ready to use.
4.45 inches
22.5 mm
(0.89 inches)
114.5 mm
(4.51 inches)
...
.
..
.
Incremental
Front View
USB
Connector
..
.
..
SSI
Front View
USB
Connector
99 mm
ENCODER USB CONVERTER ORDERING OPTIONS
For assistance, call 800-350-2727(ASAP)
Use this diagram to construct your model number (example: EM-DR1-SS-S3-TB-USB).
EM
Type:
EM = Electronic Module,
DIN Rail Mount
DR1
Function:
SS = Serial-Serial (SSI to
USB)
QS = Quadrature-Serial
(Quadrature to USB)
TB
Output Termination:
TB = Standard Terminal Block
Output Voltage from Encoder:
S3 = SSI (used with SS function only)
5 = 5 VDC
15 = 12-15 VDC
24 = 24 VDC
USB
Special Features:
S = Special Features
specified on purchase
order (consult factory)
*For
data sample, add
-S to model and specify
this function on purchase
order.
Output Interface Format:
USB = USB 2.0
Package Style:
DR1 = 114.5 mm x 99 mm x 22.5 mm
Tel:805-968-0782
/ 800-350-2727 |
Fax:
805-968-3154 / 800-960-2726
7230 Hollister Ave., Goleta, CA 93117 |
www.beisensors.com
Specification No. 02109-001 Rev. 06/11
CONNECTION INSTRUCTIONS #1
Differential Line Driver
Encoder signals from 5 VDC to 24 VDC (must specify the voltage when ordering)
This is the preferred type of encoder output as it has the best noise immunity. Connect each encoder signal to its like USB Converter
input (A to A, A/ to A/, etc).
Z
Figure 1
Z/
No Connection
No Connection
Standard Connection to
Encoder USB Converter
Encoder USB Converter
A
A/
B
B/
Z
Z/
A
A/
B
B/
Z
Z/
▼
▼
▼
ENCODER
B/
B
A/
+V
0V
+V
0V
Typical Connections for Each Encoder
A
Encoder Differential Line Driver Output
CONNECTION INSTRUCTIONS #2
Single Ended Line Driver
Encoder signal from 5 VDC to 24 VDC (must specify the voltage when ordering)
Connect encoder output A to optical isolator module input channel A, B to B and Z to Z. Connect the A/, B/, and Z/ inputs of the USB
Converter to circuit common of the encoder supply. Single ended operation is limited to shorter cable runs and is more susceptible to
noise.
Figure 2
Z
Connection Diagram
Single Ended Line
Encoder USB Converter
No Connection
No Connection
Connect A/, B/, Z/ to
Encoder Circuit
Common
A
A
A/
B
B
B/
ENCODER
B
Z
Z
Z/
+
+
0
A
0
Encoder Single Ended Line Driver
Encoder
Supply
Typical Connections for Each Encoder
Tel:805-968-0782
/ 800-350-2727 |
Fax:
805-968-3154 / 800-960-2726
7230 Hollister Ave., Goleta, CA 93117 |
www.beisensors.com
Specification No. 02109-001 Rev. 06/11
CONNECTION INSTRUCTIONS #3
Open Collector with or without Internal Pull-up Resistors
Encoder NPN (sinking) outputs.
Connect encoder output A/ to optical isolator module input A/, B/ to B/ and Z/ to Z/. Connect the A, B, and Z
inputs of the optical isolator to the encoder positive supply. Specify the input logic to the module the same as
the encoder power supply voltage.
Figure 3
Z
Connection Diagram
A
A or A/
A/
B
B or B/
B/
Z
Encoder USB Converter
Encoder Supply
ENCODER
B/
A/
Typical Connections for Each Encoder
Z or Z/
Z/
+V
+V
Encoder Supply
0V
Encoder Open Collector Output
0V
Additional Modules and Accessories
ENCODER SIGNAL BROADCASTER MODULE
Accepts standard incremental encoder inputs and can broadcast up to four
encoder signals to four independent devices. Each of the broadcast signals
are optically isolated eliminating ground loops.
POWER SUPPLY
With a wide range of acceptable input voltages (AC and DC) this DIN Rail
mountable power supply is usable in virtually all industrial applications
worldwide. It has built in surge protection to reduce faults due to transients and
it has 100% reserve capacity for startup and overload conditions.
CABLE AND CABLE ASSEMBLIES
Cable reels for your own custom wiring requirements or cable assemblies are
available, using high quality custom BEI standard cable consisting of four, low
capacitance shielded twisted pairs with an overall shield, extra large
conductors for power, and signal ground; all within an abrasion-resistant PVC
jacket.
Cable Reels
100 ft. reel
Part No. 37048-003-100
500 ft. reel
Part No. 37048-003-500
Cable Assemblies
Part Nos. for MS3106F14S-6S Mating Connector
10 ft. # 31186-1410
│
20 ft. # 31186-1420
│30ft.
# 31186-1430
Part Nos. for MS3106F16S-1S Mating Connector
10 ft. # 31186-1610
│
20 ft. # 31186-1620
│30ft.
# 31186-1630
Part Nos. for MS3106F18S-1S Mating Connector
10 ft. # 31186-1810
│
20 ft. # 31186-1820
│30ft.
# 31186-1830
Tel:805-968-0782
/ 800-350-2727 |
Fax:
805-968-3154 / 800-960-2726
7230 Hollister Ave., Goleta, CA 93117 |
www.beisensors.com
Specification No. 02109-001 Rev. 06/11
MODULE PINOUT
Absolute Encoder Connections
PIN Description
Notes
D
Data
Data Line From encoder
D/
Data/
Data/ Line From Encoder
C
Clock
Clock Line From Encoder
C/
Clock/
Clock/ Line From Encoder
+V from external
V+
+V
power supply*
0V (Circuit
Connect 0V from external
0V
common)
power supply
*Not internally connected in Module
PIN
A
A/
B
B/
Z
Z/
V+
0V
Incremental Encoder Connections
Description
Notes
Channel A
Channel A Line From Encoder
Channel A/
Channel A/ Line From Encoder
Channel B
Channel B Line From Encoder
Channel B/
Channel B/ Line From Encoder
Channel Z
Channel Z Line From Encoder
Channel Z/
Channel Z/ Line From Encoder
+V from external
V+
power supply*
0V(Circuit
0V from external
Common)
power supply*
MODULE USB COMMANDS
ABSOLUTE ENCODER COMMANDS
(see page 4)
Set Data Length of Encoder (8 to 32 bits)
Read Encoder Position
INCREMENTAL ENCODER COMMANDS
(see page 3)
GENERAL COMMANDS
(see page 4)
Read module Part Number and Serial Number
Set Encoder Count Mode, Pulse/Dir, X1, X2, X4 and
Counter Width
Set Encoder Counter to Preset/Zero on Z Channel
Trigger
Set Encoder Counter to Value XXXX
Read Encoder Counter Value
Read Encoder Status Flags
USB COMMUNICATION PROTOCOL
Download the appropriate driver package for your operating system from:
http://www.beisensors.com
and install the USB to serial link drivers. When you plug in the module via the supplied USB cable, you
should notice an additional serial port becomes active on your PC (for example, COM3). You can check
which port it is by going into the device manager in windows (right-click MyComputer, select Properties, go
to Hardware/Device Manager, expand the Ports item.). You can now communicate with the device with any
serial communication program (such as HyperTerminal, which comes with Windows). The serial port
settings are 115200 baud, 8 data bits, no parity bit, 1 stop bit, no flow control.
The general formats of the commands are as follows:
$<address><command><Encoder #><data><cr>
Commands that return data will respond according to their command description.
Successful commands that do not return data will respond with an ACK:
*<address>ACK<cr>
Unsuccessful commands will respond with a NACK:
*<address>NACK<cr>
The dollar sign ($) is the start of packet character. The <address> field is a one-character field, which
specifies the address of the module that the command is intended for (at this time, only address 0 (zero) is
supported). The <command> field specifies the command being sent. All commands contain an <Encoder
#> field. Valid encoder values are 1 or 2. The <data> field is any data required by the specific command
being sent, if any. The <cr> field is a carriage-return character (0Dh). For this document, commands are
designated as UPPER-CASE characters and data fields are designated in lower-case characters.
Tel:805-968-0782
/ 800-350-2727 |
Fax:
805-968-3154 / 800-960-2726
7230 Hollister Ave., Goleta, CA 93117 |
www.beisensors.com
Specification No. 02109-001 Rev. 06/11
INCREMENTAL ENCODER COMMAND SET
F - Read Encoder Status Flags
This command reads the three encoder status flags: Carry, Borrow and Power-up. The “c” field is the Encoder # (1 to 2). The Carry flag
is set whenever a carry rollover occurs (counter rolls from max value to zero) in the quadrature counter. Likewise, the Borrow flag is set
whenever a borrow occurs (counter rolls form zero to max value). The Power-up bit is set only upon initial power application to the unit.
This can be used to detect loss of power to the unit. Each flag will return a single character (either 0 or 1) representing the current state
of the flag. All three flags are reset to zero after the response is sent.
Send:
$0Fc<cr>
Success:
*0Fcxxx<cr>
Failure:
*0NACK<cr>
Example:
$0F1<cr>
*0F1101
For channel 1, the Carry flag is set, Borrow is cleared, and Power-up is set.
I - Set Encoder Index Configuration
This command sets the index configuration for each encoder channel. The “c” field is the Encoder # (1 to 2). The index can either be
enabled or disabled by sending a 1 or a 0 respectively for data field 'e'. If set to disabled, the <value> field is omitted. If enabled, the
<value> field is a number that the counter will be preset to when the index occurs. To zero the counter on index, set this value to 0. The
length of the <value> field will depend on the currently selected counter width (see Quadrature Configuration command 'Q'). For an 8,
16, 24 or 32 bit counter the <value> field will be 3, 5, 8 or 10 characters long respectively. Power on default configuration is index
disabled.
Send:
$0Ice<value><cr>
Success:
*0ACK<cr>
Failure:
*0NACK<cr>
Example:
$0I2100123<cr>
Enables encoder channel 2 index, with a preset value of 00123 (setup for 16 bit counter width)
Q - Set Quadrature Configuration
This command sets the quadrature configuration for each encoder channel. The “c” field is the Encoder # (1 to 2). The "m" field sets the
count mode, which can be set to one of four values. A value of 0 is Pulse/Dir mode, where a count pulse is input on input A and count
direction is input on input B. Values 1, 2 and 3 are quadrature count modes X1, X2 and X4 respectively. The "w" field sets the counter
width. Either 8 bit, 16 bit, 24 bit or 32 bit widths can be selected by sending a value of 0, 1, 2 or 3 respectively. The “s” field sets the
counter style. A value of 0 is free running counter a value of 1 is moulo-n counter (n = current index value from I command). Power on
default configuration is quadrature X1, 24 bit, free running counter.
Send:
$0Qcmws<cr>
Success:
*0ACK<cr>
Failure:
*0NACK<cr>
Example:
$0Q131<cr>
Sets channel 1 to quadrature X4 mode, 16 bit width.
R - Read Encoder Count Value
This command reports back the current count value of the encoder channel. The “c” field is the Encoder # (0*, 1 to 2). The length of the
<value> field will depend on the currently selected counter width (see Quadrature Configuration command 'Q'). For an 8, 16, 24 or 32 bit
counter the <value> field will be 3, 5, 8 or 10 characters long respectively.
Send:
$0Rc<cr>
Success:
*0Rc<value><cr>
Failure:
*0NACK<cr>
Example:
$0R2<cr>
*0R200004095<cr>
Reads the current count value of encoder channel 2, which is configured for 24 bits (8 character length).
The reported value is 00004095.
* If zero is sent as the encoder number, it will perform a read of both encoder channels. Each channel’s value will be sent
back in the data format specified by the encoder type (quadrature or SSI) with a comma between each data field. In the
following example, channels 1 and 2 are quadrature and set for 16 bit, with a count value of 12345 for each.
Example:
$0R0<cr>
*0R012345,12345<cr>
S - Set Encoder Counter Value
This command sets the encoder's counter to a specific value. The “c” field is the Encoder # (1 to 2). The length of the <value> field will
depend on the currently selected counter width (see Quadrature Configuration command 'Q'). For an 8, 16, 24 or 32 bit counter the
<value> field will be 3, 5, 8 or 10 characters long respectively.
Send:
$0Sc<value><cr>
Success:
*0ACK<cr>
Failure:
*0NACK<cr>
Example:
$0S1210<cr>
Sets encoder channel 1 counter to a value of 210, which is configured for 8 bits (3 character length).
Tel:805-968-0782
/ 800-350-2727 |
Fax:
805-968-3154 / 800-960-2726
7230 Hollister Ave., Goleta, CA 93117 |
www.beisensors.com
Specification No. 02109-001 Rev. 06/11