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.
- Start the TcEventConfigurator.
- 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. - If you want to create more events repeat step 2.
- Save your configuration using the TcXmlEventFormatter.
- 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. - 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.