BEI Sensors Dual Encoder to USB Converter Module User Manual
Page 6

L - Set SSI Data Read Length
This command sets the expected data length for each attached SSI encoder. Valid data length values are from 08 to 32 bits. “c” is the
Encoder # (1 to 2). “p” is the parity select, where a value of 0 = parity off and 1 = parity on. The power-up default value is 12 bit for
both encoders.
Send:
$0Lcxxp
Success:
*0ACK
Failure:
*0NACK
Example:
$0L1160
In this example, the data length for SSI encoder #1 is set to 16 bits, no parity
R - Read SSI Encoder Data
This command reads each SSI encoder’s current position value along with the encoder’s parity bit (optional). “c” is the
Encoder # (0*, 1 to 2). The length of the
an 8, 16, 24 or 32 bit read length the
delimiting character and the “p” is the parity bit read from the encoder.
Send:
$0Rc
Success:
*0Rc
Failure:
*0NACK
Example:
$0R2
*0R204095,0
In this example, a read command is sent to encoder #2. A decimal value of 4095 counts, the maximum
reading from a 12 bit encoder, is reported back with a parity bit of 0.
* 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 SSI and set for 12 bit no parity, with a value of 4095 for both.
Example:
$0R0
*0R04095,04095
ABSOLUTE ENCODER SSI COMMAND SET
GENERAL COMMAND SET
V - Read Part Number and Serial Number
This command reads the part number and serial number of the encoder converter. The part number is 13 characters
long, while the serial number is 8 characters.
Send:
$0V
Success:
*0Vppppppppppppp,ssssssss
Failure:
*0NACK
Example:
$0V
*0V924-60013-001,HH123456
In this example, the part number is 924-60013-001 and the serial number is HH123456.
A – Automatic Data Sample Readings (Special feature)
This command starts the automatic reading of all encoder channels with an accurate timing between readings. Field
'xxxxx' is a five digit number that sets the number of milliseconds between readings (between 5 and 65535mS).
Send a '$' character to stop automatic reading mode. Allow at least 5mS after exiting auto mode before sending
another command.
Send:
$0Axxxxx
Success:
*0ACK
Failure:
*0NACK
Example:
$0A00100
*0ACK
*0R012345678,12345678
*0R012345678,12345678
*0R012345678,12345678
...
...
...
In this example, automatic data readings are enabled every 100mS (00100). The ACK is sent
back, followed by readings every 100mS until stopped.
These commodities, technology or software if exported from the United States must be in accordance with the Bureau of Industry and Security,
Export Administration Regulations. Diversion contrary to U.S. law is prohibited.
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