Table of contents |

Console Screen and List of Commands (alphabetical)

The Console Screen displays messages from the DSP and the PC. The Console window retains the last 1000 lines of text. After more than 1000 lines are displayed the earliest messages scroll off into a permanent text file (LogFile.txt) in the KMotion\Data subdirectory.

To Send a command to the DSP enter the text string in the bottom command cell and press the Send button.

Selecting the Check box changes from a single command line to multiple command lines, see below. This allows several commands to be entered and then easily sent with a single push button.

Multiple commands may be entered on a single line by separating the commands with a semicolon. For example: SetBit46;SetBit47

Console Screen

See the alphabetical list for available commands below or see commands grouped by category here.

Commands (alphabetical):

0-9

3PH<N>=<M> <A>

4PH<N>=<M> <A>

A

Accel<N>=<A>

ADC<N>

Arc<XC> <YC> <RX> <RY> <θ0> <dθ>
<Z0> <A0> <B0> <C0>
<Z1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

ArcEx<XC> <YC> <RX> <RY> <θ0> <dθ>
<Z0> <A0> <B0> <C0> <U0> <V0>
<Z1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

ArcP<XC> <YC> <RX> <RY> <θ0> <dθ>
<Z0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<Z1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

ArcZX<ZC> <XC> <RX> <RY> <θ0> <dθ>
<Y0> <A0> <B0> <C0>
<Y1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

ArcXZEx<XC> <ZC> <RX> <RY> <θ0> <dθ>
<Y0> <A0> <B0> <C0> <U0> <V0>
<Y1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

ArcXZP<XC> <ZC> <RX> <RY> <θ0> <dθ>
<Y0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<Y1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

ArcYZ<YC> <ZC> <RX> <RY> <θ0> <dθ>
<X0> <A0> <B0> <C0>
<X1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

ArcYZEx<YC> <ZC> <RX> <RY> <θ0> <dθ>
<X0> <A0> <B0> <C0> <U0> <V0>
<X1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

ArcYZP<YC> <ZC> <RX> <RY> <θ0> <dθ>
<X0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<X1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

ArcHex<XC> <YC> <RX> <RY> <θ0> <dθ>
<Z0> <A0> <B0> <C0>
<Z1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

ArcHexEx<XC> <YC> <RX> <RY> <θ0> <dθ>
<Z0> <A0> <B0> <C0> <U0> <V0>
<Z1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

ArcHexP<XC> <YC> <RX> <RY> <θ0> <dθ>
<Z0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<Z1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

ArcHexZX<ZC> <XC> <RX> <RY> <θ0> <dθ>
<Y0> <A0> <B0> <C0>
<Y1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

ArcHexZXEx<ZC> <XC> <RX> <RY> <θ0> <dθ>
<Y0> <A0> <B0> <C0> <U0> <V0>
<Y1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

ArcHexZXP<ZC> <XC> <RX> <RY> <θ0> <dθ>
<Y0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<Y1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

ArcHexYZ<YC> <ZC> <RX> <RY> <θ0> <dθ>
<X0> <A0> <B0> <C0>
<X1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

ArcHexYZEx<YC> <ZC> <RX> <RY> <θ0> <dθ>
<X0> <A0> <B0> <C0> <U0> <V0>
<X1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

ArcHexYZP<YC> <ZC> <RX> <RY> <θ0> <dθ>
<X0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<X1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

B

BacklashAmount<N>=<A>

BacklashMode<N>=<M>

BacklashRate<N>=<R>

BegRapidBuf

C

CheckDone<N>

CheckDoneBuf

CheckDoneGather

CheckDoneXYZABC

CheckThread<N>

ClearBit<N>

ClearBitBuf<N>

ClearFlashImage

CommutationOffset<N>=<X>

ConfigSpindle<T> <A> <U> <W> <C>

D

D<N>=<M>

DAC<N> <M>

DeadBandGain<N>=<M>

DeadBandRange<N>=<M>

DefineCS<X> <Y> <Z> <A> <B> <C>

DefineCSEX<X> <Y> <Z> <A> <B> <C> <U> <V>

DefineCSP=<XP><YP><ZP><AP><BP><CP><UP><VP>

Dest<N>=<M>

DisableAxis<N>

E

Echo<S>

EnableAxis<N>

EnableAxisDest<N> <M>

Enabled<N>

EndRapidBuf

EntryPoint<N> <H>

ExecBuf

ExecTime

Execute<N>

F

FlushBuf

FFAccel<N>=<M>

FFVel<N>=<M>

Flash

FPGA<N> <M>

FPGAW<N> <M>

G

GatherMove<N> <M> <L>

GatherStep<N> <M> <L>

GetAllDestHex

GetAllDestVelHex

GetBitDirection<N>

GetGather<N>

GetGatherDec<N>

GetGatherHex

GetInject<N> <M>

GetIpAddr

GetKognaPWMEne<N>=<N>

GetKognaPWMlength<N>=<N>

GetPersistDec<N>

GetPersistHex<N>

GetSerialNumber

GetSpindleRPS

GetStatus

GetStopState

GetVirtualBits

H

HRPWMSetMode<N>=<N>

I

I<N>=<M>

IIR<N> <M>=<A1> <A2> <B0> <B1> <B2>

Inject<N> <F> <A>

InputChan<M> <N>=<C>

InputGain<M> <N>=<G>

InputMode<N>=<M>

InputOffset<M> <N>=<O>

InvDistPerCycle<N>=<X>

J

Jerk<N>=<J>

Jog<N>=<V>

JogAtAccel<N>=<V><A>

K

Kill<N>

L

Lead<N>=<M>

LED<N>=<B>

LimitSwitch<N>=<H>

LimitSwitchNegBit<N>=<B>

LimitSwitchPosBit<N>=<B>

Linear<X0> <Y0> <Z0> <A0> <B0> <C0>
<X1> <Y1> <Z1> <A1> <B1> <C1>
<a> <b> <c> <d> <tF>

LinearEx<X0> <Y0> <Z0> <A0> <B0> <C0> <U0> <V0>
<X1> <Y1> <Z1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

LinearP<X0> <Y0> <Z0> <A0> <B0> <C0> <U0> <V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<X1> <Y1> <Z1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

LinearHex<X0> <Y0> <Z0> <A0> <B0> <C0>
<X1> <Y1> <Z1> <A1> <B1> < C1>
<a> <b> <c> <d> <tF>

LinearHexEx<X0> <Y0> <Z0><A0> <B0> <C0> <U0><V0>
<X1> <Y1> <Z1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

LinearHexP<X0> <Y0> <Z0><A0> <B0> <C0> <U0><V0>
<XP0> <YP0> <ZP0> <AP0> <BP0> <CP0> <UP0> <VP0>
<X1> <Y1> <Z1> <A1> <B1> <C1> <U1> <V1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

LinHex1<X1> <Y1> <Z1> <A1><B1> <C1>
<a> <b> <c> <d> <tF>

LinHexEx1<X1> <Y1> <Z1> <A1> <B1> <C1> <U1> <V1>
<a> <b> <c> <d> <tF>

LinHexP1<X1> <Y1> <Z1> <A1><B1> <C1>
<XP1> <YP1> <ZP1> <AP1> <BP1> <CP1> <UP1> <VP1>
<a> <b> <c> <d> <tF>

LinHex2<a> <b> <c> <d> <tF>

LinHexP2<a> <b> <c> <d> <tF>

LoadData<H> <N>

LoadFlash<H> <N>

M

MasterAxis<N>=<M>

MaxErr<N>=<M>

MaxFollowingError<N>=<M>

MaxI<N> <M>

MaxOutput<N>=<M>

Move<N>=<M>

MoveAtVel<N>=<M><V>

MoveAtVelAccel<N>=<D><V><A>

MoveAtVelAccelSoft<N>=<D><V><A>

MoveExp<N>=<D> <T>

MoveRel<N>=<M>

MoveRelAtVel<N>=<M<V>

MoveRelAtVelAccel<N>=<D> <V><A>

MoveRelAtVelAccelSoft<N>=<D> <V><A>

MoveXYZABC<X> <Y> <Z> <A><B><C>

O

OpenBuf

OutputChan<M> <N>=<C>

OutputGain<N>=<G>

OutputMode<N>=<M>

OutputOffset<N>=<O>

P

P<N>=<M>

Pos<N>=<P>

ProgFlashImage

PWM<N>=<M>

PWMC<N>=<M>

PWMR<N>=<M>

R

ReadBit<N>

ReadDiskData<S><N>

Reboot!

S

SetBit<N>

SetBitBuf<N>

SetBitDirection<N>=<M>

SetFRO<F>

SetFROTemp<F>

SetFROwRate<F> <R>

SetFROwRateTemp<F> <R>

SetGatherDec<N> <M>

SetGatherHex<N> <M>

SetIpAddr<D><D><D><<D>

SetKognaPWMEne<N>=<N>

SetKognaPWMLength<N>=<N>

SetPersistDec<O> <D>

SetPersistHex<O> <H>

SetRapidFRO<F>

SetRapidFROwRate<F> <R>

SetSerialNumber<N>

SetStartupThread<N> <M>

SetStateBit<N>=<M>

SetStateBitBuf<N>=<M>

SlaveGain<N>=<G>

SoftLimitNeg<N>=<G>

SoftLimitPos<N>=<G>

SPISetMode<N>=<N>

StepperAmplitude<N>=<M>

StopImmediate<M>

T

TrigThread<S>

U

USB

V

Vel<N>=<V>

Version

W

WaitBitBuf<N>

WaitNotBitBuf<N>

Z

Zero<N>