|
Agent |
Top Previous Next |
|
The AggreGate Agent is one of the most complex and versatile concepts in the AggreGate universe. In this part of the manual, we will attempt to explain its purpose, function, and importance.
Plugin-Driven Devices vs. Agent-Driven Devices The LinkServer can communicate with a device in one of two principal ways:
Let's discuss this second modus operandi a bit further: When using an Agent, data conversion is done in hardware. The Tibbo device running the Agent BASIC application receives a stream of data from the hardware device using the device's own native protocol. It then converts this stream into a LinkServer generic protocol, and sends it to the LinkServer. When receiving instructions from the LinkServer, the Agent converts them back into the device-specific protocol and sends them to the device. In effect, the Agent BASIC application is composed of two primary parts:
You may think of the AggreGate as a hardware-based driver. If you have a hardware device you wish to plug into AggreGate so it would exploit all of the power and benefits of the system, all you have to do is just modify one specific Tibbo BASIC file, and voila - you've got complete AggreGate connectivity for your device! Agent application provides AggreGate operators several methods to control, monitor and configure hardware devices connected to it:
In addition, one AggreGate hardware platform can be connected to several different devices. For example, you could use a 4-port EM1000 programmable module manufactured by Tibbo as your hardware platform, and connect it to 4 serial devices (time clocks, for example). Your Agent application will allow access to each of these time clocks as if it were individually connected to the network. Agent has a counterpart on LinkServer -- Data Transfer/Device Plugin called AggreGate Agent Device Plugin. This plugin is responsible for all communications between LinkServer and Agent. Using Agent As a Core Hardware Component Since Tibbo BASIC and the hardware running it are powerful solutions, another option would be to build your system around a Tibbo processor running the Agent application. In such a case, you could hook the peripheral components of your system (LCD, keypad, etc.) directly to the Tibbo processor and use it as the main CPU for your system. You would then code your device logic in Tibbo BASIC, as part of the Agent application. This would provide your new device with native AggreGate functionality. Sorting Out The Terminology When referring to AggreGate, several different yet similar terms are used: A Device, or Data Terminal is the end-of-the-line hardware device. This is the actual machine doing the work - your Time Clock or PLC, etc. A Device Server is a hardware platform connecting the Device to the LinkServer. The Device Server connects to LinkServer, logs on, and transfers data packets between the Device and the LinkServer. Sometimes the Device Server is built into the Device, making it seem like one unit in the real world. Yet for LinkServer, these are always two distinct units. Agent Software is a program written in Tibbo BASIC, customized to communicate with certain type(s) of devices. This software can be installed on numerous physical <%AGENT%>s. Customizing Agent For Your Devices The Agent application may be customized to connect any existing or newly created device to AggreGate. You just have to modify a single BASIC source file and provide:
This requires you to be proficient in Tibbo BASIC, which is well documented. For more information and consulting services contact Tibbo. |