Getting started

This tutorial gives you step by step instructions on how to create and issue your first event.
You will start with using the TcEventConfigurators Wizard to create an event source and the event itself.
Then you will use the Configurator to generate some code fragments which you can paste to a PLC project to issue the event.

  1. Start the TcEventConfigurator.
  2. If you start the Configurator for the first time, a Wizard will pop up.
    If not so, you may start the wizard through the toolbar.
    Follow the Wizards instructions to create a Source and an Event.
  3. If you want to create more events repeat step 2.
  4. Save your configuration using the TcXmlEventFormatter.
    Getting started 1:
  5. A PLC program is required to issue events. You may either use an existing program or create a new project.
    The TcEventConfigurator will create sample code and instruct you on how to use it.
    Expand the tree to the Event you want to issue.
    Right click on the event and select 'Sample Code' from the popup menu.
    A HTML page containing code fragments and further instructions will pop up.
    Getting started 2:
  6. Now paste the code samples to your PLC program, start it and run the TcEventBar ( Located in %TwinCAT%\EventLogger).
    Use the switches in your PLC program to issue events.
    Getting started 3: