Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
...
Now select the 'Script' tab near the top. In it, type the following line
system.cirruslink.engine.publish("Chariot SCADA", "a/b/c", str("hello world").encode(), 0, 0)
Note, the form of the publish method is as follows. You may need to change the method arguments based on your configuration:
system.cirruslink.engine.publish(String serverName, String mqttTopic, byte[] payload, int qos, boolean retain)
Where:
When complete, the script should look something like this. Now click OK.
At this point every time this tags value, quality, or timestamp changes it will result in a MQTT message being published on topic 'a/b/c' with a payload of 'hello world'.