kia xcd-220rds

coded by diodes
have 9 diodes,3 in one line and 6 in other lines,used only d601,d603 and d607
how calculate code?have same calc, but cant search solution