docs: def pc_encode(index, function_code, extended_code, time):
      """pc: Control any PLC device."""
      return MessageEncode('11pc{hc}{fc:02d}{ec:02d}{time:04d}00'.
                           format(hc=index_to_housecode(index),
                                  fc=function_code, ec=extended_code,
                                  time=time), None)