machineOn()
Description
Switch the Machine object to MachineOn mode.
Before using any motion control related methods, you must first enter the MachineOn mode. After entering the MachineOn mode, you cannot configure config related methods. If you want to use config related methods after MachineOn, you must first enter the MachineOff mode to configure.
Syntax
machine.machineOn();
Parameters
machine
: Machine
object.
No parameters.
Return
No return value.
Example
Set the basic parameters of the machine, move after MachineOn, and then configure the settings again after MachineOff.
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 44 45 |
|
See also
Library Reference
The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.