Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Knowledge Base Articles
Please update this selection as the are no videos covering Scripting in the new reporting module, version 7.8.
The nested pages in this section have some examples and IU vidoes to start with, but we do want to add much more content here.
How does one send a message to a database about a tag changing?
By "sending a message" do you mean insert something? If so then you would most likely want to do this on either a Tag Change or Tag Event script with one of the system.db functions:
system.db.runPrepUpdate would handle the insert
Either of the following two events would effectly trigger the insert:
Tag Change Scripts
Tag Event Scripts
What is the syntax for addressing parameters from script?
StartDate is a Parameter in the Reporting Module
startTime is a local script variable
startTime = data['StartDate']