日本語 English

Special Relay Comparison Table by Manufacturer

A cross-reference table that lines up devices with the same purpose or similar names: the special relays (SM) and special registers (SD) of the Mitsubishi MELSEC iQ-R, the control relays (CR) and control memory (CM) of the KEYENCE KV-8000, and the Auxiliary Area (A) and condition flags of the OMRON CJ2. Use it as a reference when migrating between models or writing programs for multi-vendor systems.

Date/time and day of week

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Clock data: yearSD210
(YYYY BIN)
CM0700
(YY BIN)
A353.08-15
(YY BCD)
Clock data: monthSD211CM0701A353.00-07
(BCD)
Clock data: daySD212CM0702A352.08-15
(BCD)
Clock data: hourSD213CM0703A352.00-07
(BCD)
Clock data: minuteSD214CM0704A351.08-15
(BCD)
Clock data: secondSD215CM0705A351.00-07
(BCD)
Clock data: day of weekSD216CM0706A354.00-070=Sun to 6=Sat

CPU status

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
RUN/STOP switch statusSD200
(0=RUN 1=STOP)
CR3904
(0=PRG 1=RUN)
—Opposite polarity
STOP contactSM203
(1=STOP)
——
PAUSE contactSM204
(1=PAUSE)
——
CPU firmware / function versionSD160CM0900
(HEX)
—

Scan time

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Current scan timeSD520 (ms part)
SD521 (μs part)
CM1000-CM1001
(μs 32bit)
A264-A265
(0.1ms)
Current scan timeA266-A267
(0.01ms)
Minimum scan timeSD522 (ms part)
SD523 (μs part)
CM1004-CM1005—
Maximum scan timeSD524 (ms part)
SD525 (μs part)
CM1006-CM1007
(μs 32bit)
A262-A263
(0.1ms)
END processing timeSD526 (ms part)
SD527 (μs part)
CM1002-CM1003
(μs 32bit)
—
Clear min/max scan timeSM522CR2307—

Always ON, always OFF, clock pulses

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Always ONSM400CR2002P_On
Always OFFSM401CR2003P_Off
ON for 1 scan only after RUNSM402CR2008P_First_Cycle
OFF for 1 scan only after RUNSM403CR2007—
0.1 ms clock——P_0_1ms
1 ms clock——P_1ms
10 ms clockSM409CR2004P_0_01s
20 ms clock——P_0_02s
100 ms clockSM410CR2005P_0_1s
200 ms clockSM411—P_0_2s
1 s clockSM412CR2006P_1s
2 s clockSM413——
1 min clock——P_1min
2n s clockSM414——
2n ms clockSM415——
0.1 μs free-running counter—CM1036-CM1037
(32bit)
—
1 μs free-running counter—CM1034-CM1035
(32bit)
—
10 μs free-running counter—CM1032-CM1033
(32bit)
—
1 ms free-running counter—CM1030-CM1031
(32bit)
—
10 ms free-running counter——A0
(16bit)
100 ms free-running counter——A1
(16bit)
1 s free-running counterSD412
(16bit)
—A2
(16bit)
2n s counterSD414——
2n ms counterSD415——
Scan counterSD420——

Operations and instructions

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Instruction execution error (operation error)SM56CR2012P_ER
Self-diagnostic error codeSD0——
Operation error details—CM0712—
Carry flag / operation result flagSM700—P_CY
Operation result negative or overflow—CR2009—
Operation result zero—CR2010—
Operation result positive—CR2011—
> flag——P_GT
= flag——P_EQ
< flag——P_LT
Negative flag——P_N
Overflow——P_OF
Underflow——P_UF
>= flag——P_GE
NOT= flag——P_NE
<= flag——P_LE

Errors

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Self-diagnostic error occurredSM0CR3905
(major error)
A401.xx
(fatal error)
Self-diagnostic error occurred
(minor error)
CR3906
(minor error)
A402.xx
(non-fatal error)
Latest error codeSD0CM5105
(major error)
A400
Time of latest errorSD1-SD7CM5100-CM5104
(major error)
A100-A199
(error log)
Latest error code
(minor error)
CM5155
(minor error)
Time of latest error
(minor error)
CM5150-CM5154
(minor error)
Error resetSM50CR3909FAL instruction
Clear major error history—CR3900—
Clear minor error history—CR3901—
Clear all error and event history—CR3910A500.14
Low batterySM51 (latched)
SM52
CR2306A402.04
Annunciator detection / alarm operationSM62CR3300-CR3415
(alarm relays)
CR3500
(alarm operation)
A360-A391
(FAL)
A402.15
(FAL error)
Inter-module synchronization errorSM480 / SM488CR3100A10101
(WORD)

Storage

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Memory card usable (recognition complete)SM600CR5403A343.15
Memory card write-protectedSM601CR5405A343.09
(write disabled)
Memory card insertedSM603CR5404A343.00-02
(4 = flash ROM)
Memory card in useSM604CR5402A343.13
Memory card unmountSM606
(ON = release request)
CR5401
(unmount request)
—
Memory card disabled stateSM607(CR5403 OFF)—
File access in progressSM753CR3214A343.14

Logging and tracing

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Logging start / executeSM1211
(ID2~ SM1220~)
CR0000
(ID2~ CR100~)
—
Data trace start——A508.15
Logging in progress (collecting)SM1212CR0001A508.13
(trace in progress)
Logging complete (file write finished)SM1213CR0002A508.12
(trace completed)
TriggerSM1214CR0011A508.14
(trace trigger)
Logging errorSM1216CR0008—
Logging processing overrunSD1215
(count)
CR0004
(occurrence bit)
—
Free space in internal bufferSD1214
(Kbyte)
CM1660 ID0
-CM1669 ID9
(Kbyte)
—
Saved file number / counterSD1210-SD1211CM1500 ID0
-CM1509 ID9
—
Logging ID 2 to 9SM1220~SM1309
SD1220~SD1307

Power supply

Device nameMitsubishi
iQ-R
KEYENCE
KV-8000
OMRON
CJ2
Remarks
Number of power interruptions (momentary)SD53—A514

Source

  • Mitsubishi Electric MELSEC iQ-R CPU Module User's Manual (Application), Appendix 4 List of Special Relay Areas / Appendix 5 List of Special Register Areas
  • KEYENCE KV-8000 Series User's Manual, A-10 to A-17 (CR/CM list)
  • OMRON CJ Series CJ2 CPU Unit Software User's Manual (SBCA-350), A-3 Auxiliary Area list

Check actual behavior in each manufacturer's manual.

Related pages

PLC

devices

Device Comparison by Manufacturer

Compares the device addresses 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.

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

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