日本語 English

KV/KV-X CR, CM and variable cross-reference

A list of the correspondence of control relays (CR), control memory (CM) and variable names between the KEYENCE KV-8000 series and the KV-X500/X300 series.

CR: control relays

113 items
Device comment KV-8000 Series KV-X500/X300 series Remarks
Devices Devices Variable name
Logging/trace 0 execute enable CR0000 CM1600.0 _LoggingTrace[0].ExecEnable
Logging/trace 0 in progress CR0001 CM1600.1 _LoggingTrace[0].InOperation
Logging/trace 0 file write finished CR0002 CM1600.2 _LoggingTrace[0].FileWriteEnd
Logging 0 buffer below 50% warning CR0003 CM1600.3 _LoggingTrace[0].BufferHalfAlm
Logging 0 buffer overflow CR0004 CM1600.4 _LoggingTrace[0].BufferOverflow
Logging 0 written during RUN while executing CR0005 CM1600.5 _LoggingTrace[0].WriteDuringRun
Logging/trace 0 logging/trace error CR0008 CM1600.8 _LoggingTrace[0].LoggingTraceError
Logging/trace 0 insufficient memory error CR0009 CM1600.9 _LoggingTrace[0].NoMemoryCapacity
Logging/trace 0 device/trigger setting error CR0010 CM1600.10 _LoggingTrace[0].DeviceTriggerSetError
Trace 0 file save trigger monitor CR0011 CM1600.11 _LoggingTrace[0].FileSaveTriggerMonitor
Trace 0 data acquisition complete CR0012 CM1600.12 _LoggingTrace[0].DataAcquireComplete
Logging/trace (ID1 to ID9) CR0100-0915 CM1610.0 _LoggingTrace[1].ExecEnable
Always ON CR2002 CR2002 _AlwaysOn
Always OFF CR2003 CR2003 _AlwaysOff
10 ms clock pulse (50% duty) CR2004 CR2004 _Clock10ms
100 ms clock pulse (50% duty) CR2005 CR2005 _Clock100ms
1 s clock pulse (50% duty) CR2006 CR2006 _Clock1s
OFF for 1 scan only at start of operation CR2007 CR2007 _FirstScanOff
ON for 1 scan only at start of operation CR2008 CR2008 _FirstScanOn
ON when the result is negative or overflows CR2009 No function
ON when the result is zero CR2010 No function
ON when the result is positive CR2011 No function
ON when an instruction execution error occurs CR2012 No function
Constant scan time operation CR2303 CM1024.3 _ProgramInfo.FixScanTimeEnable
Scan time setting exceeded CR2304 CM1024.4 _ProgramInfo.FixTimeExcess
Backup battery error CR2306 CM1024.6 _ProgramInfo.BackupBattError
Clear min/max scan time CR2307 CM1024.7 _ProgramInfo.ScanTimeMaxMinClear
END processing time setting CR2308 CM1024.8 _ProgramInfo.FixEndProcTimeEnable
RTC low voltage error CR2311 CM1024.11 _ProgramInfo.TimeError
Project password authentication prohibited CR2314 CM1024.14 _ProgramInfo.ProjectPasswordAuthDisabled
ASCII conversion zero suppression setting CR2814 No function
ASCII conversion omit + sign CR2815 No function
Inter-unit synchronization refresh time exceeded CR3100 CM2410.0 _UnitSynchronize.RefreshIntervalOver
CPU memory save request CR3200 CM1860.0 _Storage.CpuMemorySave.Request
CPU memory saving CR3201 CM1860.1 _Storage.CpuMemorySave.Busy
CPU memory save complete CR3202 CM1860.2 _Storage.CpuMemorySave.Complete
CPU memory save error CR3203 CM1860.3 _Storage.CpuMemorySave.Error
CPU memory instruction RAM mode CR3207 CM1861.7 _Storage.StorageFBIsRAMMode
Arbitrary logging/trace in progress CR3210 CM1861.10 _Storage.LoggingTraceBusy
Storage instruction executing CR3214 No function
Alarm relays CR3300-CR3415 No function
Alarm detected CR3500 No function
Alarm history setting CR3501 No function
Alarm history clear CR3502 No function
Logging internal buffer overflow CR3513 CM1861.11 _Storage.LoggingInternalBufferOverflow
HKEY instruction multiple keys prohibited CR3514 No function
HKEY instruction scan finished CR3515 No function
HKEY instruction information storage area CR3600-CR3615 No function
Clear major error history on OFF→ON CR3900
Clear minor error history on OFF→ON CR3901
Major error history at maximum number of entries CR3902 No function
Minor error history at maximum number of entries CR3903 No function
RUN/PRG switch status (ON: RUN side / OFF: PRG side) CR3904
Major error occurring CR3905 CM1050.5 _ErrorCtrl.Error
Minor error occurring CR3906 CM1050.6 _ErrorCtrl.Warning
Clear current error CR3909 CM1050.9 _ErrorCtrl.ClearCurrentError
Clear all error and event history CR3910 CM1050.10 _ErrorCtrl.ClearHistory
Expansion unit present (expansion units 1 to 48) CR4001-CR4300 CM2000.1 _ExpansionUnit.Connected[1]
AW Up key pressed CR4400 CM1720.0 _AccessWindow.UpKeyPressed
AW Down key pressed CR4401 CM1720.1 _AccessWindow.DownKeyPressed
AW Left key pressed CR4402 CM1720.2 _AccessWindow.LeftKeyPressed
AW Right key pressed CR4403 CM1720.3 _AccessWindow.RightKeyPressed
AW MENU key pressed CR4404 CM1720.4 _AccessWindow.MenuKeyPressed
AW ENT key pressed CR4405 CM1720.5 _AccessWindow.EnterKeyPressed
AW user message displayed CR4415 CM1720.15 _AccessWindow.UserMessageDisplayed
AW line 1 blink CR4500 CM1721.0 _AccessWindow.BlinkLine[1]
AW line 2 blink CR4501 CM1721.1 _AccessWindow.BlinkLine[2]
AW line 3 blink CR4502 CM1721.2 _AccessWindow.BlinkLine[3]
AW line 4 blink CR4503 CM1721.3 _AccessWindow.BlinkLine[4]
AW user messages 1 to 63 CR4601-CR4915 CM1722.1 _AccessWindow.DisplayUserMessage[1]
Memory card mount request CR5400 CM1800.0 _Storage.MemCardMountReq
Memory card unmount request CR5401 CM1800.1 _Storage.MemCardUnmountReq
Memory card in use CR5402 CM1800.2 _Storage.MemCardInUse
Memory card recognition complete CR5403 CM1800.3 _Storage.MemCardRecognized
Memory card present CR5404 CM1800.4 _Storage.MemCardExist
Memory card write protect CR5405 No function
CPU memory mount request CR5408 CM1800.8 _Storage.CpuMemoryMountReq
CPU memory unmount request CR5409 CM1800.9 _Storage.CpuMemoryUnmountReq
CPU memory in use CR5410 CM1800.10 _Storage.CpuMemoryInUse
CPU memory recognition complete CR5411 CM1800.11 _Storage.CpuMemoryRecognized
Project load execute request CR5500 CM1830.0 _Storage.ProjectLoad.Request
Project save execute request CR5502 CM1820.0 _Storage.ProjectSave.Request
Project load complete CR5504 CM1830.2 _Storage.ProjectLoad.Complete
Project load failed CR5505 CM1830.3 _Storage.ProjectLoad.Error
Project save complete CR5506 CM1820.2 _Storage.ProjectSave.Complete
Project save failed CR5507 CM1820.3 _Storage.ProjectSave.Error
Recipe load execute request CR5508 CM1850.0 _Storage.RecipeLoad.Request
Recipe load complete CR5510 CM1850.2 _Storage.RecipeLoad.Complete
Recipe load failed CR5511 CM1850.3 _Storage.RecipeLoad.Error
Recipe save execute request CR5512 CM1840.0 _Storage.RecipeSave.Request
Recipe save complete CR5514 CM1840.2 _Storage.RecipeSave.Complete
Recipe save failed CR5515 CM1840.3 _Storage.RecipeSave.Error
Operation recording 0 save request CR5600 CM6000.0 _OperationRecorder[0].SaveRequest
Operation recording 0 in progress CR5601 CM6000.1 _OperationRecorder[0].InAction
Operation recording 0 save trigger monitor CR5602 CM6000.2 _OperationRecorder[0].SaveTriggerMonitor
Operation recording 0 saving CR5603 CM6000.3 _OperationRecorder[0].SaveBusy
Operation recording 0 collecting CR5604 CM6000.4 _OperationRecorder[0].Collecting
Operation recording 0 setting error CR5605 CM6000.5 _OperationRecorder[0].SettingError
Operation recording 0 save complete CR5607 CM6000.7 _OperationRecorder[0].SaveComplete
Operation recording 0 save error CR5608 CM6000.8 _OperationRecorder[0].SaveError
Device recording 0 insufficient buffer CR5609 CM6000.9 _OperationRecorder[0].BufferShortage
Operation recording 0 save entire buffer mode CR5614 CM6000.14 _OperationRecorder[0].BufferAllSaveMode
Operation recording 1 save request CR5700 CM6200.0 _OperationRecorder[1].SaveRequest
Operation recording 1 in progress CR5701 CM6200.1 _OperationRecorder[1].InAction
Operation recording 1 save trigger monitor CR5702 CM6200.2 _OperationRecorder[1].SaveTriggerMonitor
Operation recording 1 saving CR5703 CM6200.3 _OperationRecorder[1].SaveBusy
Operation recording 1 collecting CR5704 CM6200.4 _OperationRecorder[1].Collecting
Operation recording 1 setting error CR5705 CM6200.5 _OperationRecorder[1].SettingError
Operation recording 1 save complete CR5707 CM6200.7 _OperationRecorder[1].SaveComplete
Operation recording 1 save error CR5708 CM6200.8 _OperationRecorder[1].SaveError
Device recording 1 insufficient buffer CR5709 CM6200.9 _OperationRecorder[1].BufferShortage
Operation recording 1 save entire buffer mode CR5714 CM6200.14 _OperationRecorder[1].BufferAllSaveMode
Operation recording (ID1 to 3) CR5800-CR5915 CM6400.0 _OperationRecorder[2].SaveRequest

CM: control memory

129 items
Device comment KV-8000 Series KV-X500/X300 series Remarks
Devices Devices Variable name
Read from RTC (year) CM700 CM700 _CurrentDateTime[0]
Read from RTC (month) CM701 CM701 _CurrentDateTime[1]
Read from RTC (day) CM702 CM702 _CurrentDateTime[2]
Read from RTC (hour) CM703 CM703 _CurrentDateTime[3]
Read from RTC (minute) CM704 CM704 _CurrentDateTime[4]
Read from RTC (second) CM705 CM705 _CurrentDateTime[5]
Read from RTC (day of week) CM706 CM706 _DayOfWeek
ファイルレジスタカレントバンク CM0710 No function
Operation error details CM0712 CM1023 _ProgramInfo.ProgramErrorDetail
CPU function version CM0900 CM1788 _ProjectInfo.CpuFuncVersion
Project version CM0907 CM1795 _ProjectInfo.ProjectVersion
Measured scan time (1 μs) CM1000 CM1000 _ProgramInfo.ScanTime
Measured END processing time (1 μs units) CM1002 CM1002 _ProgramInfo.EndProcTime
Minimum scan time (1 μs units) CM1004 CM1004 _ProgramInfo.MinScanTime
Maximum scan time (1 μs units) CM1006 CM1006 _ProgramInfo.MaxScanTime
Set value for constant scan time operation (1 μs units) CM1008 CM1008 _ProgramInfo.FixScanTimeSet
END processing time setting (1 μs units) CM1010 CM1010 _ProgramInfo.EndProcTimeSet
Scan time when the setting is exceeded (1 μs units) CM1012 CM1012 _ProgramInfo.ExcessConstantScanTime
END processing time overrun value (1 μs units) CM1014 CM1014 _ProgramInfo.ExecssEndProcTime
1 ms free-running counter CM1030 CM1030 _FreeRunCounter1ms
10 μs free-running counter CM1032 CM1032 _FreeRunCounter10us
1 μs free-running counter CM1034 CM1034 _FreeRunCounter1us
0.1 μs free-running counter CM1036 CM1036 _FreeRunCounter100ns
Logging/trace (ID0 to ID9) file save counter CM1500-CM1509
Logging/trace 0-9 minimum free buffer space CM1630-CM1639 CM1601 _LoggingTrace[n].MinBufferSpace CM1601+10×n
Number of sensor setting instructions executed CM1650 CM1784 _Project.Info.SensorInstExecCount
Consecutive project password authentication failures CM1658 CM1785 _Project.Info.PrjPasswordCertFailCount
Cumulative project password authentication failures CM1659 CM1786 _Project.Info.PrjPasswordCertFailTotal
Logging/trace: free ring buffer space (ID0 to ID9) CM1660-CM1669 CM1602 _LoggingTrace[n].LoopBufferSpace CM1602+10×n
Logging/trace: file save counter (ID0 to ID9) CM1680-CM1689 CM1603 _LoggingTrace[0].FileSavingCounter CM1603+10×n
Digital trimmer 0-7 upper limit (32-bit) CM1700-CM1715 No function
AW user message display number CM1720 CM1730 _AccessWindow.UserMessageDisplayID
AW initial display language setting CM1736 CM1731 _AccessWindow.InitialDispLangSetting
AW initial display comment number CM1737 CM1732 _AccessWindow.InitialCommentNumberSetting
AW operation prohibit setting CM1738 CM1733 _AccessWindow.WindowOperationDisable
Ladder project name (max. 32 characters + terminator) CM1740-CM1772 CM1750-CM1783 _ProjectInfo.ProjectName STRING[64]
AW initial screen setting enabled CM1780 CM1734 _AccessWindow.InitScreenSetValid
AW initial screen setting: device type CM1781 CM1735 _AccessWindow.InitScreenSetDeviceType
AW initial screen setting screen ID CM1782 CM1736 _AccessWindow.InitScreenSetScreenID
AW initial screen setting: device number CM1784 CM1738 _AccessWindow.InitScreenSetDeviceNumber
AW initial screen setting display format CM1786 CM1740 _AccessWindow.InitScreenSetDisplayFormat
AW initial screen setting: device name notation CM1787 CM1741 _AccessWindow.InitScreenSetDeviceDisplay
AW initial screen setting: key lock status CM1788 CM1742 _AccessWindow.InitScreenSetKeyLockStatus
Auto load folder number (request) CM1790 CM1804 _Storage.AutoLoad.FolderNumber
Auto load completion code CM1791 CM1807 _Storage.AutoLoad.FinCode
Auto load folder number (complete) CM1792 CM1806 _Storage.AutoLoad.CompleteFolderNumber
Run load folder number (request) CM1794 CM1811 _Storage.RunLoad.FolderNumber
Run load completion code CM1795 CM1814 _Storage.RunLoad.FinCode
Run load folder number (complete) CM1796 CM1813 _Storage.RunLoad.CompleteFolderNumber
Number of connected expansion units CM1869 CM2075 _ExpansionUnit.UnitNumber
Recipe load drive number CM1870 CM1851 _Storage.RecipeLoad.DriveNumber
Recipe load folder number CM1871 CM1852 _Storage.RecipeLoad.FolderNumber
Recipe save completion code CM1873 CM1855 _Storage.RecipeLoad.FinCode
Recipe load drive number CM1875 CM1841 _Storage.RecipeSave.DriveNumber
Recipe save completion code CM1878 CM1845 _Storage.RecipeSave.FinCode
Drive number for project load (request) CM1880 CM1831 _Storage.ProjectLoad.DriveNumber
Folder number for project load (request) CM1881 CM1832 _Storage.ProjectLoad.FolderNumber
Drive number for project load (complete) CM1882 CM1833 _Storage.ProjectLoad.CompleteDriveNumber
Folder number for project load (complete) CM1883 CM1834 _Storage.ProjectLoad.CompleteFolderNumber
Project load completion code CM1884 CM1835 _Storage.ProjectLoad.FinCode
Drive number for project save (request) CM1888 CM1821 _Storage.ProjectSave.DriveNumber
Folder number for project save (request) CM1889 CM1822 _Storage.ProjectSave.FolderNumber
Drive number for project save (complete) CM1890 CM1823 _Storage.ProjectSave.CompleteDriveNumber
Folder number for project save (complete) CM1891 CM1824 _Storage.ProjectSave.CompleteFolderNumber
Project save completion code CM1892 CM1825 _Storage.ProjectSave.FinCode
Device recording 0 average sampling period CM2000 CM6002 _OperationRecorder[0].AverageSamplingPeriod
Device recording 0 average number of changed devices CM2002 CM6004 _OperationRecorder[0].AverageChangedDeviceNum
Device recording 0 maximum collection period CM2004 CM6006 _OperationRecorder[0].MaxCollectingPeriod
Device recording 1 average sampling period CM2010 CM6202 _OperationRecorder[1].AverageSamplingPeriod
Device recording 1 average number of changed devices CM2012 CM6204 _OperationRecorder[1].AverageChangedDeviceNum
Device recording 1 maximum collection period CM2014 CM6206 _OperationRecorder[1].MaxCollectingPeriod
Device recording 2 average sampling period CM2020 CM6402 _OperationRecorder[2].AverageSamplingPeriod
Device recording 2 average number of changed devices CM2022 CM6404 _OperationRecorder[2].AverageChangedDeviceNum
Device recording 2 maximum collection period CM2024 CM6406 _OperationRecorder[2].MaxCollectingPeriod
Device recording 3 average sampling period CM2030 CM6602 _OperationRecorder[3].AverageSamplingPeriod
Device recording 3 average number of changed devices CM2032 CM6604 _OperationRecorder[3].AverageChangedDeviceNum
Device recording 3 maximum collection period CM2034 CM6606 _OperationRecorder[3].MaxCollectingPeriod
Error code for storage instructions CM2390 No function
Power OFF during storage access CM2391 CM1870 _Storage.PowerOffDuringStorageAccess
Memory card retry count CM2392 CM1871 _Storage.MemoryCardRetryCount
Memory card verify error count CM2393 No function
Memory card timeout count CM2394 No function
Reset delay time on memory card error CM2395 CM1874 _Storage.MemoryCardResetDelay
Inter-unit synchronization refresh start time (0.1 μs) CM2400 CM2400 _UnitSynchronize.RefreshStartTimeDelay
Inter-unit synchronization refresh end time (0.1 μs) CM2402 CM2402 _UnitSynchronize.RefreshFinishTimeDelay
Inter-unit synchronization maximum refresh start time (0.1 μs) CM2404 CM2404 _UnitSynchronize.RefreshStartTimeMaxDelay
Inter-unit synchronization maximum refresh start time (0.1 μs) CM2406 CM2406 _UnitSynchronize.RefreshFinishTimeMaxDelay
Inter-unit synchronization refresh execution time (0.1 μs) CM2408 CM2408 _UnitSynchronize.RefreshExecutionTime
Latest major error details: year/month CM5100 CM5100 _NewestError.YearMonth
Latest major error details: day CM5101 CM5101 _NewestError.Day
Latest major error details: hour CM5102 CM5102 _NewestError.Hour
Latest major error details: minute CM5103 CM5103 _NewestError.minite
Latest major error details: second CM5104 CM5104 _NewestError.Second
Latest major error details: error number CM5105 CM5105 _NewestError.ErrorNumber
Latest major error details: number of valid data CM5106 CM5106 _NewestError.ValidCount
Latest major error details: detail information 01-20 CM5107-CM5126 CM5107-CM5126 _NewestError.Detail[n]
Latest minor error details: year/month CM5150 _NewestWarning.YearMonth
Latest minor error details: day CM5151 _NewestWarning.Day
Latest minor error details: hour CM5152 _NewestWarning.Hour
Latest minor error details: minute CM5153 _NewestWarning.minite
Latest minor error details: second CM5154 _NewestWarning.Second
Latest minor error details: error number CM5155 _NewestWarning.WarningNumber
Latest minor error details: number of valid data CM5156 _NewestWarning.ValidCount
Latest minor error details: detail information 01-20 CM5157-CM5176 _NewestWarning.Detail[n]
CPU memory usage (32-bit, bytes) CM5872 CM1880 _Storage
Operation recording 0 save completion code CM6000 CM6020 _OperationRecorder[0].SaveFinCode
Operation recording 0 save counter CM6002 CM6022 _OperationRecorder[0].SaveCounter
Operation recording 0: save progress detail 1 CM6004 CM6024 _OperationRecorder[0].SaveProgressInfo1
Operation recording 0: save progress detail 2 CM6005 CM6025 _OperationRecorder[0].SaveProgressInfo2
Operation recording 0: save progress CM6006 CM6026 _OperationRecorder[0].SaveProgress
Operation recording 0 save path CM6010-CM6171 CM6030 _OperationRecorder[0].SavePath
Operation recording 1 save completion code CM6200 CM6220 _OperationRecorder[1].SaveFinCode
Operation recording 1 save counter CM6202 CM6222 _OperationRecorder[1].SaveCounter
Operation recording 1 save progress detail 1 CM6204 CM6224 _OperationRecorder[1].SaveProgressInfo1
Operation recording 1 save progress detail 2 CM6205 CM6225 _OperationRecorder[1].SaveProgressInfo2
Operation recording 1 save progress CM6206 CM6226 _OperationRecorder[1].SaveProgress
Operation recording 1 save path CM6210-CM6371 CM6230 _OperationRecorder[1].SavePath
Operation recording 2 save completion code CM6400 CM6420 _OperationRecorder[2].SaveFinCode
Operation recording 2 save counter CM6402 CM6422 _OperationRecorder[2].SaveCounter
Operation recording 2 save progress detail 1 CM6404 CM6424 _OperationRecorder[2].SaveProgressInfo2
Operation recording 2 save progress detail 2 CM6405 CM6425 _OperationRecorder[2].SaveProgressInfo2
Operation recording 2 save progress CM6406 CM6426 _OperationRecorder[2].SaveProgress
Operation recording 2 save path CM6410-CM6571 CM6430 _OperationRecorder[2].SavePath
Operation recording 3 save completion code CM6600 CM6620 _OperationRecorder[3].SaveFinCode
Operation recording 3 save counter CM6602 CM6622 _OperationRecorder[3].SaveCounter
Operation recording 3 save progress detail 1 CM6604 CM6624 _OperationRecorder[3].SaveProgressInfo3
Operation recording 3 save progress detail 2 CM6605 CM6625 _OperationRecorder[3].SaveProgressInfo3
Operation recording 3 save progress CM6606 CM6626 _OperationRecorder[3].SaveProgress
Operation recording 3 save path CM6610-CM6771 CM6630 _OperationRecorder[3].SavePath

Source

Transcribed from each model's user's manual, with reference to the "CR/CM conversion difference table" CR_CM_SystemVariableConvertTableInChangeModel.xlsx in KEYENCE's manual replacement material for the KV series.

Related pages

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

FUN/FB Comparison by Manufacturer

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

PLC

SystemVariable

System Variable Comparison by Manufacturer

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

PLC

motion

Motion Control Instruction Comparison by Manufacturer

Compares the motion control instructions 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

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