|MQTT_CONFIG Index, Config_string|
|Purpose||To config the MQTT parameters that enables the PLC to connect to the MQTT broker(server)
MQTT_CONFIG 2, "MyName" ' username needed to connect to MQTT broker. MQTT_CONFIG 3, "MyPassword" ' password needed to connect to MQTT broker.
With this command you can define the parameters necessary for the PLC to successfuly connect to the MQTT broker.
Not all indices are needed. E.g. if you are not using SSL connection, then you do not need to define the certs
and key filenames (index = 9,10,11, and 12)
If the PLC is using SSL for connection, then the cert files must be uploaded into the PLC's file system via FTP.
If you are connecting using the simulator, then the cert and key files should be copied to the folder C:\TRiLOGI\certs\
Basic to TBASIC Reference Manual