code: async def write_aldb(self, addr, mem_addr: int, mode: str, group: int,
                           target, data1=0x00, data2=0x00, data3=0x00):
          
          dev_addr = Address(addr)
          target_addr = Address(target)
          device = self.plm.devices[dev_addr.id]
          if device:
              _LOGGING.debug('calling device write_aldb')
              device.write_aldb(mem_addr, mode, group, target_addr,
                                data1, data2, data3)
              await asyncio.sleep(1, loop=self.loop)
              while device.aldb.status == ALDBStatus.LOADING:
                  await asyncio.sleep(1, loop=self.loop)
              self.print_device_aldb(addr)
docs: Write a device All-Link record.