code: def set_cpu_status(self, status):
          
          assert status in snap7.snap7types.cpu_statuses, 'unknown cpu state %s' % status
          logger.debug("setting cpu status to %s" % status)
          return self.library.Srv_SetCpuStatus(self.pointer, status)
docs: Sets the Virtual CPU status.