Event Formatting
An event formatter is used to load event specific messages in a certain language from a database.
Beckhoff provides a set of standard EventFormatter implementations. Anyhow, the EventFormatter programming interface is documented so that customers can implement specific Formatters to suport proprietary file or database formats.
When an event is issued in the PLC, a formatter ProgId must be given. The TcEvenlogger will then try to create an instance of the COM Object with that ProgId. If such an object exists and implements the ITcLogFormatterC interface the eventlogger will query it for the certain message text.
![Event Formatting 1:](Images/gif/12333114379__Web.gif)
TwinCAT standard formatters:
Formatter | Description | Supported Platforms |
---|---|---|
TcEventFormatter | Load data from the Project Storage. | NT/2000/XP/Vista. |
Load data from XML files. | NT/2000/XP/Vista/CE. |