Machine systems

class pytm4srv.connectors.systems._common.System

Determines how the proxy communicates with a machine.

classmethod description() → str

User-facing description of this system.

Names that do not consist entirely of vendor names may be translated.

abstract classmethod key() → str

Unique identifier for this system.

It may take one of two forms: protocol or protocol:model.

abstract classmethod name() → str

User-facing name of this system.

Names that do not consist entirely of vendor names may be translated.

classmethod properties() → dict[NCProperty, str]

Map of configuration options available for this system to their default values.

class pytm4srv.connectors.systems._common.NCProperty
API_KEY = 'api_key'

API key for authenticating with the control.

DATASTORE = 'datastore'

Name of the MiConnect datastore to read the variables representing the state of the machine from.

HOST = 'host'

Hostname such as 10.0.0.42 or my-machine.local.

MAPPS_NAME = 'mapps_name'

Name of the machine in Mori Seiki’s MAPPS application.

PASSWORD = 'password'

Password for authenticating with the control.

PATH_NUM = 'path_num'

Control path number to read.

Defaults to 1.

PORT = 'port'

Port number, such as 5000.

Default depends on the specific system.

Q_PORT = 'q_port'

Port number for Haas Ethernet Q Commands.

Defaults to 5051.

URL = 'url'

Full URL, like http://10.0.0.42:5000/Endpoint.

Required.

USERNAME = 'username'

Username for authenticating with the control.