This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:blox:examples-actuator [2024/08/21 17:12] admin |
docs:blox:examples-actuator [2024/08/27 12:28] (current) admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 6.4.1 BLOX with Linear Actuators ====== | + | ====== 6.4.2 BLOX with Linear Actuators ====== |
BLOX can be used with all the OpenBuilds Linear Actuators available at [[https:// | BLOX can be used with all the OpenBuilds Linear Actuators available at [[https:// | ||
Line 7: | Line 7: | ||
---- | ---- | ||
- | ===== 6.4.1.1 Initialization for Actuators ===== | + | ===== 6.4.2.1 Wiring ===== |
+ | |||
+ | See [[: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 6.4.2.2 | ||
Before you can use an actuator, you need to set it up so the controller knows how to control it correctly. Make use of the Initialization Blocks to configure them for use with the BLOX: | Before you can use an actuator, you need to set it up so the controller knows how to control it correctly. Make use of the Initialization Blocks to configure them for use with the BLOX: | ||
Line 17: | Line 23: | ||
Use the table below to find some default values to use for Current settings, Steps-per-mm and Acceleration | Use the table below to find some default values to use for Current settings, Steps-per-mm and Acceleration | ||
- | ^Linear Actuators^Details | + | ^ Linear Actuators |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
---- | ---- | ||
- | ===== 6.4.1.2 Initialization for XY Stages ===== | + | ===== 6.4.2.3 Initialization for XY Stages ===== |
Before you can also be used as a 2-axis system. You need to set it up so the controller knows how to control it correctly. Make use of the Initialization Blocks to configure them for use with the BLOX: | Before you can also be used as a 2-axis system. You need to set it up so the controller knows how to control it correctly. Make use of the Initialization Blocks to configure them for use with the BLOX: | ||
Line 40: | Line 46: | ||
Drag the "Set Stepper Motor max current to" and "Set up Linear Axis" blocks into the Initialize input of your BLOX Block, set it up for both axes | Drag the "Set Stepper Motor max current to" and "Set up Linear Axis" blocks into the Initialize input of your BLOX Block, set it up for both axes | ||
- | {{: | + | {{: |
Use the table below to find some default values to use for Current settings, Steps-per-mm and Acceleration | Use the table below to find some default values to use for Current settings, Steps-per-mm and Acceleration | ||
- | ^2 Axis Actuators^Details^Initialization Blocks| | + | ^ 2 Axis Actuators |
- | | **[[https:// | + | | **[[https:// |
- | | **[[https:// | + | | **[[https:// |
---- | ---- | ||
+ | |||
+ | ===== 6.4.2.4 Homing ===== | ||
+ | |||
+ | Its beneficial to add the "Home Stepper Motor" block to the initialization as well, that way later moves can make use of absolute positioning | ||
+ | |||
+ | > TIP: Remember to install a Limit switch at the minimum (Zero-end) of travel | ||
+ | |||
+ | During initialization, | ||
+ | |||
+ | ^ Single Axis Homing | ||
+ | |{{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 6.4.2.5 Moving ===== | ||
+ | |||
+ | Use the "Move Stepper Motor" blocks to move the actuator(s). You can do Relative moves (" | ||
+ | |||
+ | > The "Wait for move to complete" | ||
+ | |||
+ | ^ Absolute Positioning example | ||
+ | |{{: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== 6.4.2.6 Rotating ===== | ||
+ | |||
+ | You can also rotate the motor a number of partial and/or full rotations using the " | ||
+ | |||
+ | Initialization: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Moving a rotational axis: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||