def pportInAcknowledge():
 if (port.DlPortReadPortUchar(statusRegAdrs) & 64):
  return 1
 else:
  return 0

def pportInAcknowledge ( ) : if ( port . DlPortReadPortUchar ( statusRegAdrs ) & 64 ) : return 1 else : return 0
input from acknowledge pin .