MQTT Client

MQTT Client

Allows to create connection with MQTT Broker. For publishing and subscribing to MQTT Broker it is needed to create MQTT Publisher node and/or MQTT Subscriber node
BrowseName
MQTTClient
SuperType
Object(BaseObjectType)

Properties

Name
BrowseName
DataType
Description
Broker address
BrokerAddress
Address of the server to connect to
Port
BrokerPort
Communication port number
Client Id
ClientId
Client identifier that is unique on the server being connected to
Status
Status
Connection status with a server
CA certificate file
CACertificateFile
A Certificate Authority certificate, with either the .PEM or the .CRT extension, that has signed the server certificate on the MQTT Broker.
Client certificate file
ClientCertificateFile
Use a SSL certificate, with either the .PEM or the .CRT extension, of a client. It must be located in '\FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs' folder
Client private key file
ClientPrivateKeyFile
Use a SSL private key file with either the .PEM or the .KEY extension, of a client. It must be located in '\FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs' folder
User identity type
UserIdentityType
This is the method for identification of the user. Anonymous = no information on the user available. User/Password = user identified by username and password. Certificate = user identified by a certificate
SSL/TLS enabled
SSLTLSEnabled
Enabling secure connection between FT Optix MQTT Client and MQTT Broker. Once activated 'mqtts' protocol is being used
Validate broker certificate
ValidateBrokerCertificate
Activates / deactivates validation process of MQTT Broker certificate
Username
Username
Username for logging to the broker
Password
Password
Password for logging to the broker

Methods

Publish
BrowseName
Publish
Publish data to the Broker
InputArguments
Name
DataType
Description
Config
Publisher config
Payload
Payload
OutputArguments
Name
DataType
Description
Status
Status
Subscribe
BrowseName
Subscribe
Subscribe to a topic on a Broker
InputArguments
Name
DataType
Description
SubscriberNodeId
Subscriber NodeId
Config
Subscriber config
OutputArguments
Name
DataType
Description
Statuses
Statuses
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal