Description Switch the Machine object to MachineOff 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 macine.machineOff(); Parameters […]
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 […]
Description Deconstruct the Machine class. Syntax ~machine(); Parameters machine: for the Machine object. See Also machine() 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..
Description Constructs the Machine class. Syntax Machine machine(axis_group); Parameters machine: is the Machine object. axis_group: the machine number to be used. See Also ~machine() 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 […]
Description Whether the machine exists and is created successfully. Syntax machine.isValid(); Parameters machine: Machine object. No parameters. Return bool: true: The machine exists and was created successfully. false: The machine does not exist or creation failed. See also isDirectionReversed() isMoving() Library Reference The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike […]
Description Whether the machine is moving. Syntax machine.isMoving(); Parameters machine: Machine object. No parameters. Return bool: true: The machine is moving. false: The machine is not moving. Or the setting is wrong, which means the machine does not exist or the setting is made after the machine is started. Please make sure the machine exists […]
Description Whether the machine is set to move in the reverse direction on the specified axis. Syntax machine.isDirectionReversed(axis); Parameters machine: Machine object. axis: The axis of motion for which information is to be obtained, which can be AXIS_X, AXIS_Y or AXIS_Z. Return bool: true: The axis is in reverse motion. false: The axis is not […]
Description Get the Servo Module control mode of the machine on the specified axis. Syntax machine.getPulseMode(axis); Parameters machine: Machine object. axis: The motion axis for which the Servo Module control mode is to be obtained, which can be AXIS_X, AXIS_Y or AXIS_Z. Return pulseMode_t: The control mode set for the machine on the specified axis. […]
Description Get the PPU value of the machine on the specified axis. The PPU (Pulse per Unit) relationship is as follows: 86Duino sends pulse to the stepper motor driver board, and the driver board will send step to make the stepper motor rotate. micro_stepping: – Parameters on the stepper motor driver board. To generate one […]
Description Get the maximum acceleration limit of the machine. Syntax machine.getMaxAcc(); Parameters No parameters. Return double: Returns the maximum acceleration of the machine. See also getActualPos() getMaxVelocity() 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. […]