日本語 English

Motion Control Instruction Comparison (KEYENCE KV-X / OMRON NJ/NX)

A cross-reference table that lines up, by function, the motion control instructions of the KEYENCE KV-X300 series and the OMRON NJ/NX series. Both have instructions compliant with the PLCopen® function blocks for motion control
For the meaning of the symbols, see the legend at the end of the page.

Common Input/Output Variables

Input/output variables commonly used in PLCopen® function blocks for motion control. On both KV-X and NJ/NX they can generally be used with the same names and meanings.

CategoryVariable nameDescriptionDifferences between KV-X and NJ/NX
Target axisAxisAxis variableNJ/NX: in-out variable
AxisGroup / AxesGroupAxes group variableNJ/NX: in-out variable
Master / Slave / AuxiliaryMaster, slave and auxiliary axes for synchronized control (axis variables)
StartExecuteStarts execution on FALSE→TRUE
EnableExecutes the function only while TRUE
Status outputsDoneNormal end
BusyExecuting
ActiveControlling
CommandAbortedAborted
ErrorError end
ErrorIDError code
StatusBusy
EnabledControlling
Operation parametersPosition / DistanceTarget position / travel distance
VelocityTarget velocity
Acceleration / DecelerationAcceleration / deceleration rate
JerkS-curve ratio (jerk)
DirectionDirection
BufferModeBuffer mode
TransitionMode0: TMNone, 10: TMCornerRadius (auxiliary arc)
TransitionParameterAuxiliary arc radius
CoordSystemCoordinate system
VelFactorOverride value
UnitsCoordinate unitCoordinate unit (mm, inch, deg, PLS, etc.)Set in each tool
  • Execute type: execution starts on the rising edge of Execute; on normal completion Done becomes TRUE, while executing Busy, when aborted by another instruction CommandAborted, and on an error Error / ErrorID become TRUE (set).
  • Enable type: the function runs only while Enable is TRUE, and the state is output via Status / Enabled etc.

Instruction Comparison

Basic axis operations

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Servo ONPLCopenMC_PowerMC_Power
Axis error resetPLCopenMC_ResetMC_Reset
Enable operationKV onlyMC_OperationEnable—
HomingPLCopenMC_HomeMC_Home
Homing with parametersNJ only—MC_HomeWithParameter
High-speed homingSimilarMC_FastMoveToHomeMC_MoveZeroPosition
Move to base positionKV onlyMC_MoveToBasePosition—
Home sensor requestKV onlyMC_InternalHomeSensor—
Deceleration stopPLCopenMC_StopMC_Stop
Immediate stopSimilarMC_ImmediateStopMC_ImmediateStop
Immediate stop of all axesKV onlyMC_ImmediateStopAll—
Jog operationSimilarMC_JogMC_MoveJog
Change current positionPLCopenMC_SetPositionMC_SetPosition
OverridePLCopenMC_SetOverrideMC_SetOverride
Reset following error counterNJ only—MC_ResetFollowingError
Change axis usePLCopen—MC_ChangeAxisUse

Single-axis positioning, velocity and torque

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Absolute positioningPLCopenMC_MoveAbsoluteMC_MoveAbsolute
Relative positioningPLCopenMC_MoveRelativeMC_MoveRelative
PositioningNJ only—MC_Move
Velocity control (position control mode)PLCopenMC_MoveVelocityMC_MoveVelocity
Velocity control (CSV)SimilarMC_VelocityControlMC_SyncMoveVelocity
Torque controlPLCopenMC_TorqueControlMC_TorqueControl
Cyclic synchronous torque controlNJ only—MC_SyncTorqueControl
Cyclic synchronous absolute positioningSimilarMC_AbsolutePosFollowUpControlMC_SyncMoveAbsolute
Synchronous follow-up controlKV onlyMC_SyncTypeFollowUpControl—
Interrupt feedingNJ only—MC_MoveFeed
Torque limitSimilarMC_SetTorqueLimitMC_SetTorqueLimit MC_SetTorqueLimit2
Velocity feed-forwardKV onlyMC_SetVelocityFeedforward—
Torque feed-forwardKV onlyMC_SetTorqueFeedforward—
Stop sensor requestKV onlyMC_InternalStopSensor—
Stop sensor detection maskKV onlyMC_MaskStopSensor—

Changes during operation and position offsets

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Change positioning target positionKV onlyMC_ChangeTargetPosition—
Change positioning velocityKV onlyMC_ChangeTargetVelocity—
Change interpolation target positionKV onlyMC_ChangeTargetGroupPositions—
Position offset compensationNJ only—MC_OffsetPosition
Cyclic synchronous position offset compensationNJ only—MC_SyncOffsetPosition

Point operation (KV-specific)

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Positioning control (point parameters)KV onlyMC_MoveToPoint—
Resume positioning operationKV onlyMC_ResumePositioning—
Force execution of next pointKV onlyMC_MoveToNextPoint—
Interrupt continuous operationKV onlyMC_SuspendNextPositioning—
Stop at specified positionKV onlyMC_StopAtTargetPosition—
M code OFFKV onlyMC_MCodeOff—
Release waitKV onlyMC_ReleaseStandby—
TeachingKV onlyMC_Teach—

Synchronized control (cam and gear)

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Start synchronized controlPLCopenMC_SyncControlMC_CamIn MC_GearIn
Start cam operationPLCopen—MC_CamIn
Start cam operation with specified curveNJ only—MC_CamInCurve
End cam operationPLCopen—MC_CamOut
Cam monitorNJ only—MC_CamMonitor MC_CamMonitorCurve
Synchronous cam switchingKV onlyMC_SwitchCam—
Start gear operationPLCopen—MC_GearIn
Positioning gear operationNJ only—MC_GearInPos MC_GearInPos2
End gear operationPLCopen—MC_GearOut
Trapezoidal pattern camNJ only—MC_MoveLink
Addition/subtraction positioningNJ only—MC_CombineAxes
Master axis phase shiftPLCopenMC_MainAxisPhasingMC_Phasing
Auxiliary axis phase shiftKV onlyMC_AuxAxisPhasing—
Main clutch controlKV onlyMC_MainClutch—
Auxiliary clutch controlKV onlyMC_AuxClutch—
Synchronous torque limit clutch controlKV onlyMC_TorqueLimitClutch—
Pseudo mechanical synchronized stopKV onlyMC_StopSimMechanicalSync—
Set external reference command value for synchronized controlKV onlyMC_SetSyncExternalReference—
Change synchronous contact output parametersKV onlyMC_UpdateSyncContactParameter—
Monitor deviation between axesNJ only—MC_AxesObserve

Cam data

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Read cam dataKV onlyMC_CamRead—
Write cam dataPartialMC_CamWriteMC_SetCamTableProperty MC_SetCamTableEndPointIndex
Generate cam dataSimilarMC_CamGenerateMC_GenerateCamTable
Save cam tableNJ only—MC_SaveCamTable

Latch, monitoring and digital output

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Enable external latchPLCopen—MC_TouchProbe
Disable external latchPLCopen—MC_AbortTrigger
Zone monitorNJ only—MC_ZoneSwitch
Digital cam switchPLCopen—MC_DigitalCamSwitch
Calculate axis position from time stampNJ only—MC_TimeStampToPos

Parameters and system

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Save parametersKV onlyMC_SaveParameter—
Write axis parametersNJ only—MC_WriteAxisParameter
Read axis parametersNJ only—MC_ReadAxisParameter
Write MC settingsNJ only—MC_Write
Read servo parametersKV onlyMC_SV3_ReadServoParameter—
Write servo parametersKV onlyMC_SV3_WriteServoParameter—
Update motion variablesPartialMC_RefreshMotionVariableMC_PeriodicSyncVariables
Clear maximum processing timeKV onlyMC_ClearMaxCycleTime—

Axes groups (interpolation)

NameCategoryKEYENCE
KV-X
OMRON
NJ/NX
Enable axes groupPLCopen—MC_GroupEnable
Disable axes groupPLCopen—MC_GroupDisable
Axes group error resetPLCopen—MC_GroupReset
Linear interpolation (absolute)PLCopenMC_MoveLinearAbsoluteMC_MoveLinearAbsolute
Linear interpolation (relative)PLCopenMC_MoveLinearRelativeMC_MoveLinearRelative
Linear interpolationNJ only—MC_MoveLinear
Circular interpolationSimilarMC_MoveCircularAbsolute MC_MoveCircularRelativeMC_MoveCircular2D
Axes group deceleration stopPLCopenMC_GroupStopMC_GroupStop
Axes group immediate stopNJ only—MC_GroupImmediateStop
Axes group overridePLCopen—MC_GroupSetOverride
Get axes group positionNJ only—MC_GroupReadPosition
Write axes group composition axesNJ only—MC_ChangeAxesInGroup
Axes group cyclic synchronous absolute positionNJ only—MC_GroupSyncMoveAbsolute

No matching instructions found.

Legend

PLCopenInstructions defined in the PLCopen® function blocks for motion control. Common input/output variables can be used with the same meanings (including when an instruction exists on only one model)
SimilarProprietary instructions of each manufacturer with equivalent functions. Instruction names and argument structures differ
PartialFunctions that partly overlap, or can be substituted by a combination of instructions
KV only / NJ onlyProprietary instructions available on only one of the models
—No corresponding instruction

How rows are organized

  • Each function is one row.
  • Breakdown by category: PLCopen 27, similar 8, partial 2, KV only 33, NJ only 24 (94 rows in total).

Scope

  • KV-X: covers the motion control FBs (MC_...) in chapter 3 of the Instruction Reference Manual.
  • NJ/NX: covers the Instructions Reference Manual, Motion Control volume (axis command, axes group command and common command instructions).
  • Instruction specifications and availability vary by CPU model and version. Check each manufacturer's manual before actual use.

Sources

  • KEYENCE: KV-X500/X300 Series Instruction Reference Manual 084A06 (March 2026)
  • OMRON: NJ/NX-series Instructions Reference Manual, Motion Control, SBCE-434N (July 2026)

Related pages

PLC

plcopen

PLCopen

An overview of PLCopen and its standardized function blocks.

PLC

devices

Device Comparison by Manufacturer

Compares the device addresses of major PLC manufacturers such as Mitsubishi, OMRON and KEYENCE.

PLC

relay

Special Relay Comparison by Manufacturer

Compares the special relays of major PLC manufacturers such as Mitsubishi, OMRON and KEYENCE.

PLC

function

Application Instruction Comparison by Manufacturer

Compares the application instructions of major PLC manufacturers such as Mitsubishi, OMRON and KEYENCE.

PLC

systemvar

System Variable Comparison by Manufacturer

Compares the system variables of OMRON NX and KEYENCE KV-X.

PLC

systemvar

FUN/FB Comparison by Manufacturer

Compares the functions and function blocks of OMRON NX and KEYENCE KV-X.

MITSUBISHI

Special Relay (SM) and Special Register (SD) List

SM / SD List

Special relays (SM) and special registers (SD) for Q series / L series / iQ-R series PLCs

KEYENCE

CR/CM Comparison by Model

CR/CM Comparison by Model

CR/CM comparison across KV-X, KV-8000, KV-7000, KV-5000 and KV-3000

KEYENCE

CR/CM Comparison by Model

CR/CM Cross-Reference: KV / KV-X

CR/CM and variable name correspondence between the KEYENCE KV-8000 series and the KV-X500/X300 series

OMRON

CJ to NJ Instruction Replacement Guide

CJ to NJ Instruction Replacement Guide

A guide to replacing CJ instructions with NJ instructions

PC Tools

Converter from KV series to CJ series

KVtoCJ

An application that converts KEYENCE KV series ladder programs into OMRON CJ series ladder programs

PC Tools

Converter from CJ series to KV series

CJtoKV

An application that converts OMRON CJ series ladder programs into KEYENCE KV series ladder programs

Comments