# AKD MODEL FORMAT
# ----------------

# This table defines the compatibility rules for different AKD models

# The AKD model (e.g. AKD-P00306-NBEC-0000) fields are:
#                     01234567890123456789
# [0:2]   Family
# [4:4]   Drive version (M=Motion Control, P=Position indexer)
# [5:7]   Current
# [8:9]   Voltage
# [11:12] Extension options (NA=None rev7, NB=None rev8+)
# [13:14] Connectivity options (EC=EtherCAT, CC=EtherCAT&CANOpen)
# [16:19] Customization


# COMPATIBILITY TABLE SYNTAX
# --------------------------

# We check only the fields that are listed in this table. We don't care about the other fields.
# The list of rules defined for a field must be exhaustive.
# If no special rules are defined for a field, that means the value for this field must be exactly the same.


# COMPATIBILITY TABLE
# -------------------

# Do not replace an AKD with another device
[0:2]

# The drive version must be the same
[4:4]

# Current must be the same
[5:7]

# Voltage must be the same
[8:9]

[11:12]
NB NB NC ND
NC NC NB ND
ND ND
MC MC M1 KC K1
M1 M1 K1
KC KC K1
K1 K1
CB CB
DB DB EB
DF DF EF
DS DS ES
EB EB
EF EF
ES ES

# An EC drive is compatible with a CC drive. And a CC drive is compatible with an EC drive.
[13:14]
EC EC CC
CC CC EC
