- Getting started
- Creating projects
- OPC UA
- Graphic objects
- Predefined graphic objects
- Object and variable references
- Extending projects
- NetLogic
- Tutorials
- Dynamic links tutorial
- Graphic objects tutorial
- NetLogic tutorial
- OPC UA tutorial
Add MQTT Client
Configure an MQTT client node to enable connection with MQTT Broker.
- In Project view, right-clickMQTT, and select .
- InProperties, configure theMQTT Clientsettings:
- Broker address
- The address of the broker to connect to.
- Port
- Communication port number.
- ClientID
- The Client identifier that is unique on the server.
- SSL/TLS Enabled
- Enabling secure connection between FT Optix MQTT Client and MQTT Broker. If enabled, MQTTS protocol is used.
- Validate broker certificate
- Activates or deactivates validation process of MQTT broker certificate. During the SSL certificate verification process, theFactoryTalk OptixMQTT client checks the digital signature of the broker certificate to ensure that it has been issued by a trusted certificate authority (CA). The client also verifies that the certificate has not expired.
- CA certificate file
- A Certificate Authority certificate that has signed the server certificate on the MQTT Broker. It is required when SSL/TLS is activated to establish secure connection with the broker. It must be located in the directory:\FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs
- Client certificate file
- FactoryTalk OptixMQTT Client certificate. A client certificate identifies the client just like the server certificate identifies the server. If this property stays empty only broker certificate is user for authentication. It must be located in the directory:\FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs
- Client private key file
- FactoryTalk OptixMQTT Client private key. It must be located in the directory:\FactoryTalk Optix\Projects\ProjectName\ProjectFiles\PKI\Own\Certs
- User Identity type
- Specify user when accessing the MQTT Broker:
- Anonymous- No logon is required, access the server as an anonymous user
- Username/Password- Specify a username and password combination for logon.UsernameandPasswordmust match the username and password configured for MQTT Broker.
In
Project view
, in the MQTT
folder, the MQTT Client
object appears.- Add MQTT Publisher and MQTT Subscriber. See:
mqtt client
Provide Feedback