config_HomePins()
Description
Set the pins of the machine's hardware limit switches to define the machine's Home point.
Syntax
machine.config_HomePins(xLimit, yLimit, zLimit);
Parameters
machine
: Machine
object.
Machine machine(0)
: There are three Machines available, 0, 1, and 2.
xLimit, yLimit, zLimit
: The pins of the hardware limit switches corresponding to the x, y, and z axes of the group of machines.
Return
true: Setting is successful.
false: Setting error, which means that the machine does not exist or the setting is made after the machine is started.
Please make sure that the machine exists and make sure that the machine settings must be made before starting the machine.
Example
Set the basic parameters of the machine and move the machine to the Home point.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|
See also
home()
setHomeSpeed()
config_PosLimit()
Library Reference
The text of the 86Duino reference material is licensed under the Creative Commons Attribution-Share Alike 3.0 License. The code examples in the reference material have been released into the public domain.