Global power characteristics changed

From wiki.netio-products.com
Revision as of 16:09, 11 July 2019 by Phrych (talk | contribs) (Created page with "{{DISPLAYTITLE:Script trigger Global power characteristics changed}} Triggered by change of global power characteristics (voltage, frequency). Arguments are stored in table <c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Triggered by change of global power characteristics (voltage, frequency). Arguments are stored in table event.args

Arguments

  • frequency NETIO frequency [Hz] * 1000
  • voltage NETIO voltage [V] * 1000

Print arguments

-- print all arguments
for i, v in pairs(event.args) do
  logf("%s: %s",tostring(i),tostring(v))
end