With the new version 2.1 of the AnyViz Universal Cloud Adapter, AnyViz is taking functionality to a new level. The most important new feature: Lua scripts can now be created and executed directly in the cloud adapter.
More than just a data collector
Until now, the Cloud Adapter was primarily used to collect data from a wide variety of controllers, sensors and devices and transfer it securely to the AnyViz Cloud. With the new Lua scripting module, the adapter now also becomes a local control and pre-processing unit: it can process and calculate data directly or control local outputs based on logic – independently of a PLC.
Easy development in the web interface
The scripts are created easily via the Cloud Adapter’s web interface. Thanks to the integrated IntelliSense function, which data points and functions are available is displayed immediately during input. An output window provides additional support for development by:
- the current value of all tags used,
- the return value of the script and
- the cycle time
live. This makes testing and optimization simple.
Connected intelligence
A particular highlight is the ability to request variables from the cloud within a Lua script. This allows distributed, cross-location logics to be implemented – without a central PLC or external controller.
Extended functionality
In addition to the connection to local IOs and controllers, the Lua scripts provide access to:
- the current time of the operating system (e.g. for time controls),
- an extensive mathematical function library,
- conditions, loops, table structures and more.
Compact control solution for simple applications
For many smaller automation tasks, this eliminates the need for a traditional PLC. The cloud adapter handles both data collection and simple control tasks – all in one compact solution.