Junolane MotionPLC中文

Set Motor Speed

SET_MOTOR_SPEED · V4.23

Set the current-task speed override for the selected independent motor. Subsequent runs use the effective task speed; this instruction does not start the motor.

Hexadecimal notation is used for IDs, indexes, modes and sentinel values where applicable. Physical quantities (such as pulses, milliseconds and pulse/s) remain in their native units. Macro names are shown only when defined by the firmware.

Input parameters

ParameterInitial valueMeaning
Motor IDmotor_index0x04U (M4)M4–M7 in interpolation mode; M0–M7 in independent-motor mode. M0–M7 encode IDs 0x00U–0x07U.
Motor ratespeed_hzUse Current (CURRENT)Selected independent-motor rate: CURRENT, DEFAULT or 1–64000 Hz.

Initial values are editor defaults for a newly inserted instruction; configure them for the actual machine.

Execution and usage

← Back to instruction treeFull user manual (PDF)