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

# This table defines the compatibility rules for different AKD models

# The AKD model (e.g. AKD-P00306-NAEC-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]

# An NB drive is compatible with an old NA drive. But not the opposite.
[11:12]
NA NA NB
NB NB
MC MC M1
M1 M1

# 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
