MQTT Client (JSON) - iX script module
Description
An iX script module that shows how to connect to a Mosquitto MQTT Broker and publish a JSON object “MachineData” containing 10 Tags, DeviceId and TimeStamp to the subscribed topic. Tag.
Target device: X2 series, C2 series and iX PC RT (iX Runtime)
Update information
This is an enhancement to give iX users the possibility to connect to a MQTT Broker via MQTT protocol. The MQTT client subscribes to 1 topics and writes a JSON object to the topic.
The JSON object (class “MachineData”) consists of 10 iX Tags + TimeStamp and DeviceId.
The MQTT client can optionally work with certificates and different encryption protocols (SSLv3, TLSv1.0, TLSv1.1, TLSv1.2). MQTT version 3.1.1 is used.
Version history
• Package V1.0.0 is the first version.
Developed and supported for:
• iX Developer 2.40 SP5 / SP6
• X2 baseV2/pro/marine/control/extreme series, C2 series, iX PC RT (iX Runtime)
Package file:
• SER0053_V1.0.0_package.zip
The zip file contains a iX sample project with script module and a quick start guide:
• SER0053_V1.0.0_iX_MQTT_Client_JSON.zip (iX application)
• SER0053_QS_iX_MQTT Client-JSON_V1.0.0-EN.pdf
Free for
United Extended level and above.
Read more about the UNITED partner program:
click here
Note! If you previously downloaded the package file from SmartStore, find the download link in submenu My account > My apps, when logged in!
Related documents
SER0053_QS_iX_MQTT Client-JSON_V1.0.0-EN.pdf