Skip to content

Nutek Laser Setup#

This section describes the setup and configuration required for the Nutek Laser equipment.

Setup#

To establish communication with the equipment, configure the following automation parameters with valid values. Additional infrastructure configurations may also be required, such as firewall inbound and outbound rules, antivirus exclusions, network switch port availability, and any other settings necessary to allow data traffic between MES and the equipment.

Connection Configurations#

The following configuration parameters can be defined in the IoTMetaDataDefinition Smart Table.

Name Description
ServerAddress IP address on which the server listens for incoming connections. Leave empty to listen on all network interfaces (0.0.0.0).
ServerPort Port number on which the server listens. The default value is 80.
ServerProtocol Protocol used for data exchange. The default value is HTTP.
ServerCertificateAuthority Certificate Authority. Can be specified either as a file path or as the certificate content in plain text.
ServerCertificate Server certificate. Can be specified either as a file path or as the certificate content in plain text.
ServerKey Private key associated with the server certificate. Can be specified either as a file path or as the key content in plain text.
GetProgramNameDEE DEE executed for requests to /getprogramname. If not specified, the default value is SMTLaserMarkerRequestOrder.
GetMarkingDataDEE DEE executed for requests to /getmarkingdata. If not specified, the default value is SMTNutekRequestSerialNumber.
SendResultDataDEE DEE executed for requests to /sendresultdata. If not specified, the default value is SMTNutekCreateMaterials.

Driver Definition#

The Automation Driver referenced by the Automation Controller as RestServer is NutekLaser_Driver.

Protocol#

The following Automation Driver protocol is used by the Automation Controller:

  • RestServerProtocol, implemented using the custom package @criticalmanufacturing/connect-iot-driver-restserver.

NutekLaser_Driver#

Properties#

The following table describes the properties available in the NutekLaser_Driver.

Name Property Device Id Type Request Component Type
MESSAGEID MESSAGEID Integer Body
USERNAME USERNAME String Body
WORKORDER WORKORDER String Body
MACHINEID MACHINEID String Body
DEFPRODFILENAME DEFPRODFILENAME String Body
PCBPERBOARD PCBPERBOARD Integer Body
PRODUCTS PRODUCTS Object Body
MARKINGRETURN MARKINGRETURN Object Body
RequestID RequestID String RequestId

Events#

The following table describes the events defined in the NutekLaser_Driver.

Name Property Device Id Request Method
getmarkingdata /getmarkingdata POST
getprogramname /getprogramname POST
sendresultdata /sendresultdata POST

Event Properties#

The following table describes the event properties available in the NutekLaser_Driver.

Event Name Property Name
getprogramname RequestID
getprogramname MESSAGEID
getprogramname MACHINEID
getprogramname USERNAME
getprogramname WORKORDER
getmarkingdata RequestID
getmarkingdata MESSAGEID
getmarkingdata MACHINEID
getmarkingdata USERNAME
getmarkingdata WORKORDER
getmarkingdata PCBPERBOARD
getmarkingdata PRODUCTS
sendresultdata RequestID
sendresultdata MESSAGEID
sendresultdata MACHINEID
sendresultdata USERNAME
sendresultdata WORKORDER
sendresultdata MARKINGRETURN

Commands#

The following table describes the commands available in the NutekLaser_Driver.

Name Command Device Id
RequestReplyCommand RequestReplyCommand

Command Parameters#

The following table describes the command parameters available in the NutekLaser_Driver.

Name Type Reply Parameter Type Is Mandatory Command Name
RequestId String RequestId Yes RequestReplyCommand
StatusCode Integer StatusCode Yes RequestReplyCommand
Body Object