Zaber X-MCB2 Series Manuel utilisateur

Simplifying Motion Control
Fri Nov 03 2017ZABER TECHNOLOGIES INC.
X-MCB2 Series User's Manual
Dual axis stepper motor controllers (chopper drive) with I/O

IZABER TECHNOLOGIES INC.
Table of Contents
1. Disclaimer ---------------------------------------------------------------------------------------------
2. Precautions -------------------------------------------------------------------------------------------
3. Conventions used throughout this document --------------------------------------------
4. Quick Tutorial -----------------------------------------------------------------------------------------
4.1. Initial Set-up -------------------------------------------------------------------------------------
4.2. Initialization --------------------------------------------------------------------------------------
4.3. Using the Device -------------------------------------------------------------------------------
4.3.1. Modifying Device Settings ------------------------------------------------------------
4.3.2. Built-In Help ------------------------------------------------------------------------------
5. Device Overview -------------------------------------------------------------------------------------
5.1. Connectors --------------------------------------------------------------------------------------
5.1.1. Power --------------------------------------------------------------------------------------
5.1.2. RS-232 Communications -------------------------------------------------------------
5.1.3. USB Communications -----------------------------------------------------------------
5.1.4. RS485 Communications --------------------------------------------------------------
5.1.5. Motor Interface --------------------------------------------------------------------------
5.1.6. Digital Inputs/Outputs ------------------------------------------------------------------
5.1.7. Analog Inputs ----------------------------------------------------------------------------
5.2. Indicators ----------------------------------------------------------------------------------------
5.3. Communications -------------------------------------------------------------------------------
6. Installation ---------------------------------------------------------------------------------------------
6.1. Daisy-Chaining Devices ----------------------------------------------------------------------
6.2. Physical Installation ---------------------------------------------------------------------------
7. Manual Control ---------------------------------------------------------------------------------------
7.1. Velocity Mode -----------------------------------------------------------------------------------
7.2. Displacement Mode ---------------------------------------------------------------------------
7.3. Summary of knob functionality -------------------------------------------------------------
8. Trajectory Control and Behaviour -------------------------------------------------------------
8.1. Software Position Limits ---------------------------------------------------------------------
1
1
1
2
2
3
3
4
4
5
5
5
6
6
7
8
8
10
11
12
12
13
14
16
17
17
17
17
18

IIZABER TECHNOLOGIES INC.
8.2. Movement Speed ------------------------------------------------------------------------------
9. Quick Command Reference ---------------------------------------------------------------------
9.1. ASCII Protocol ----------------------------------------------------------------------------------
9.1.1. Quick Commands ----------------------------------------------------------------------
9.1.2. Quick Device Settings -----------------------------------------------------------------
9.2. Binary Protocol ---------------------------------------------------------------------------------
10. I/O Usage and Examples ------------------------------------------------------------------------
10.1. Digital Inputs ----------------------------------------------------------------------------------
10.2. Digital Outputs --------------------------------------------------------------------------------
10.3. Analog Inputs ---------------------------------------------------------------------------------
11. Troubleshooting X-Series Motion Devices ------------------------------------------------
11.1. Front Panel Indicators ----------------------------------------------------------------------
11.2. Manual Control -------------------------------------------------------------------------------
11.3. Unexpected Behaviour ---------------------------------------------------------------------
11.4. Communication Errors ----------------------------------------------------------------------
11.5. Slipping and Stalling -------------------------------------------------------------------------
12. Warranty and Repair ------------------------------------------------------------------------------
12.1. Standard products ---------------------------------------------------------------------------
12.2. Custom products -----------------------------------------------------------------------------
12.3. How to return products ---------------------------------------------------------------------
13. Email Updates --------------------------------------------------------------------------------------
14. Contact Information ------------------------------------------------------------------------------
15. Appendix A - Available Communications Ports ----------------------------------------
15.1. Finding Installed Serial Ports --------------------------------------------------------------
15.1.1. Windows ---------------------------------------------------------------------------------
15.1.2. Linux --------------------------------------------------------------------------------------
15.1.3. OSX --------------------------------------------------------------------------------------
16. Appendix B - USB Driver Installation -------------------------------------------------------
16.1. Compatible Devices -------------------------------------------------------------------------
16.2. Windows ----------------------------------------------------------------------------------------
16.2.1. Download -------------------------------------------------------------------------------
16.2.2. Windows Vista, 7 & 8 ----------------------------------------------------------------
16.2.3. Windows XP ----------------------------------------------------------------------------
18
19
19
19
21
26
29
30
31
33
34
35
36
36
37
39
39
39
40
40
40
40
41
41
41
42
43
44
44
44
45
45
50

IIIZABER TECHNOLOGIES INC.
16.3. Linux ---------------------------------------------------------------------------------------------
16.4. OS X ---------------------------------------------------------------------------------------------
17. Product Drawing -----------------------------------------------------------------------------------
18. Specifications --------------------------------------------------------------------------------------
54
55
56
57

1ZABER TECHNOLOGIES INC.
1. Disclaimer
Zaber's devices are not intended for use in any critical medical, aviation, or military applications or
situations where a product's use or failure could cause personal injury, death, or damage to
property. Zaber disclaims any and all liability for injury or other damages resulting from the use of
our products.
2. Precautions
The X-MCB2 controller is intended to drive a wide variety of stepper motors. If you are controlling
a third-party motor, you will need to configure settings to match the motor you are driving,
especially driver.current.run (T:38) and driver.current.hold (T:39). For a Zaber peripheral, simply
set the peripheralid (T:66) with the peripheral's ID number. See the detailed usage examples for
more information on how to modify the settings, particularly for non-Zaber peripherals. Damage to
the device may result if the settings are not correct.
WARNING: Serious damage can occur to stepper motor products when operated with
significantly higher-than-rated current. The X-MCB2 controller can provide up to 2A of current to a
peripheral. BEFORE CONNECTING A NEW DEVICE to the X-MCB2 controller, it is important to
set the correct motor parameters in the controller. Please check the rated current for any
peripheral device before changing the current settings on the X-MCB2 from the default values. To
put the X-MCB2 controller into safe-mode (low current) settings, configure the peripheralid (T:66)
setting to 0. If you have any questions, please contact Zaber Technical Support
3. Conventions used throughout this document
• Fixed width type indicates communication to and from a device. The symbol indicates
a carriage return, which can be achieved by pressing enter when using a terminal program.
• An ASCII command followed by (T:xx) indicates a legacy T-Series Binary Protocol
command that achieves the same result. For example, move abs 10000 (T:20:10000) shows
that a move abs ASCII command can also be achieved with Binary command number 20.
Not all ASCII commands have an equivalent Binary counterpart.

2ZABER TECHNOLOGIES INC.
4. Quick Tutorial
We recommend using Zaber Console to communicate with the device(s). For other software
options, see the Software page. Please refer to the ASCII Protocol Manual and/or Binary Protocol
Manual for more detailed information on the available commands.
4.1. Initial Set-up
NOTE: Ensure no motors are connected to the controller before applying power for the first time. It
is important that the controller is set to control the correct peripheral ID in order to avoid sending
too much current to the motor. We try to set controllers for the peripherals they ship with, but it's
good to check that they are correct, especially if you receive multiple peripherals of different
models.
1. Power up all integrated devices and controllers and daisy chain them together using the
RS-232 "Prev" and "Next" connectors (see Daisy-Chaining Devices for more details). Many
products share power through the daisy-chain cables. The power indicator on each should
light up.
2. Download and install Zaber Console. Start Zaber Console and select the communications
port the first controller is connected to. For instructions on how to find the available
communication ports on your system, please refer to: Appendix A - Available Communications
Ports.
3. From the Console, issue a renumber (T:2) command to all devices (Zaber Console may

3ZABER TECHNOLOGIES INC.
prompt you to do this also). The first device in the chain (closest to the computer) will become
Device 1, the next will become Device 2, and so on.
4. On the new unit, configure the peripheralid (T:66) setting of each axis in Zaber Console
with either the peripheralid setting in ASCII or the Peripheral Id setting in Binary. The
Peripheral ID for a Zaber peripheral can be found on it's label as the PID. Alternatively a full
list of Peripheral IDs can be found at: Zaber Support - Peripheral IDs. This step needs to be
performed whenever a new model of motorized peripheral is connected to the controller. If a
third-party peripheral is being driven, please contact Zaber Technical Support for assistance.
5. Connect the motorized peripherals.
6. Turn the knob to move a device. Most devices will only move in one direction until they
reach a home sensor at one limit of travel. Then they will move in both directions over full
travel.
4.2. Initialization
Every time the controller is powered up or reset, the motorized peripheral(s) should be returned to
the home position. This is achieved by sending the home (T:1) command to the individual unit or
all units. Until this is done, most devices will only allow motion in one direction, towards the
sensor.
If it is not possible in your application to home the device after every power-up, see the tools
parking (T:65) command. Parking allows the device to be turned off and then used at a later time
without first having to home the axes.
4.3. Using the Device
Several commonly used ASCII commands, and their Binary equivalents, are shown below. For a
full list of available commands, please refer to the Command Reference section below.
Command Description
/1 1 get pos (T:60) Query the current position of Device #1 Axis
#1.
/1 1 move abs 10000 (T:20:10000) Move Device #1, Axis #1 to position 10000 microsteps.
/2 1 move rel -12800 (T:21:-12800) Move Device #2, Axis #1 in the negative direction by
12800 microsteps.
/1 stop (T:23) Decelerate and stop ALL axes on Device 1. An axis
number of 0 or no axis number implies all axes on the
device, or the device itself.
/move vel 153600 (T:22:153600) Move ALL devices and ALL axes in the positive direction
at the speed 153600. A device address of 0 or no device
address implies all devices in the chain.

4ZABER TECHNOLOGIES INC.
4.3.1. Modifying Device Settings
Here are some examples if you would like to customize particular device settings. Refer to the
ASCII Settings or Command Reference section for detailed descriptions of each setting.
Command Description
/1 set maxspeed 100000 (T:42:100000) Set the speed of all axes on the device.
/1 get maxspeed (T:53:42) Query the axes' speed.
/1 system restore (T:36) Restore all the settings of Device 1 to the default.
4.3.2. Built-In Help
Zaber X-Series devices feature a built-in help guide, providing a quick and easy reference for all
Commands and Settings that the device has. To access the help, send: /1 help (for help with
Device 1). The device number must be specified in the help command. This feature is only
available in the ASCII protocol.
The device will respond with a detailed description on how to access specific information about
commands and replies, as shown below:
@01 0 OK IDLE WR 0
#01 0 COMMAND USAGE:
#01 0 '/stop' stop all devices
#01 0 '/1 stop' stop device number 1
#01 0 '/1 2 stop' stop device number 1 axis number 2
#01 0
#01 0 Type '/help commands' for a list of all top-level commands.
#01 0 Type '/help reply' for a quick reference on reply messages.
#01 0 Visit www.zaber.com/support for complete instruction manuals.
To access help for a specific command, for example the move command, send:

5ZABER TECHNOLOGIES INC.
/1 help move
@01 0 OK IDLE -- 0
#01 0 move abs {x} Move to absolute position
#01 0 move rel {x} Move by relative position
#01 0 move vel {x} Move at constant velocity
#01 0 move min Move to minimum position
#01 0 move max Move to maximum position
5. Device Overview
5.1. Connectors
All images are shown looking into the device.
5.1.1. Power
Pin Description
1 24 - 48V
2 GND (Note: Zaber's power supplies ground this pin to AC Earth)
Note: To prevent damage to the device due to static buildup, the device should be properly
grounded. The power supplies Zaber provides for X-Series devices are non-isolated and thus
ground the device chassis to Earth via the negative terminal of the power supply. If for any reason
you are using an isolated power supply, please ensure your device is grounded by connecting the
negative terminal of the power connector to AC Earth.

6ZABER TECHNOLOGIES INC.
5.1.2. RS-232 Communications
Pin Previous Next
1 Power Power
2 Ground Ground
3 Receive Transmit
4 Transmit Receive
Default Settings:
• Baud Rate: 115200
• Protocol: Zaber ASCII
Specifications
• Supported Protocols: Zaber ASCII, Zaber Binary
• Supported Baudrates: 9600, 19200, 38400, 57600, 115200
• Bits: 8
• Parity: None
• Stop Bits: 1
• Flow Control: None
5.1.3. USB Communications
Specifications
Table des matières
Autres manuels Zaber Contrôleurs



















