Skip to content

MTConnect ​

The EMQX Neuron MTConnect driver accesses devices installed with MTConnect Agent through the HTTP protocol.

MTConnect is a read-only collection protocol: an MTConnect Agent exposes an HTTP read interface only, so this driver does not support writing back to the device.

For the generic steps, see Create a Southbound Driver and Groups and Tags.

Parameter Configuration ​

ParameterDescription
hostTarget Device IP address
portTarget Device port, default 5000
ns_prefixnamespace prefix
ns_urinamespace uri

Support Data Type ​

  • uint8
  • int8
  • uint16
  • int16
  • uint32
  • int32
  • uint64
  • int64
  • float
  • double
  • bool
  • string

MTConnect Agent ​

For detailed information on the installation and usage of MTConnect Agent, please visit this link cppagent.

ADDRESS ​

The driver address is in the form of XML XPATH.

node-name: Prefix ​

For self-closing tags where the value is represented by the element name (e.g., CONDITION-type data items), prepend node-name: to the address. When this prefix is used and the matched element has no child content, the driver extracts the element's tag name instead of its text content.

Address PrefixBehavior
node-name:Extract element tag name from self-closing tags.
(no prefix)Extract element text content (default).

Address Examples ​

AddressTypeDes
//m:Angle[@dataItemId='Babs']floatAbsolute angle of rotation axis B
//m:DeviceStream[@uuid='Mazak']/m:ComponentStream[@componentId='LYI1']/m:Samples/m:Position[@dataItemId='LYI1actm']doubleMechanical coordinates of linear axis Y
//m:DeviceStream[@uuid='Mazak']/m:ComponentStream[@componentId='Lct1']/m:Events/m:InputOutputSignal[@dataItemId='LPlcMonitorIO_1']bitIO signal
node-name://m:*[@dataItemId='DMGlogic1']stringElement name of self-closing tag (e.g., Normal, Warning, Fault)