Getting Started
===============
General Usage
+++++++++++++
Pytmc's primary program can be invoked with the command ``pytmc``. This utility
takes the ``*.tmc`` file generated from a TwinCAT3 project and creates an epics
DB file. In order for pytmc to work properly, the TwinCAT project and its
libraries require annotation. The resulting IOC depends upon EPICS ADS driver. This
driver is provided by the `European Spallation Source
`_ and is hosted on their `bitbucket page
`_.
Marking the TwinCAT project
+++++++++++++++++++++++++++
Marking the TwinCAT project determines how the epics record will be generated.
The marking process uses custom attribute pragmas to designate variables for
pytmc to process. The pragma should be applied just above the declaration of
the variable you wish to mark. You can read more about the TwinCAT pragma
system `here
`_.
Python Usage
++++++++++++
Once installed pytmc and its components can be imported into a python program
or shell like any normal python package. Consult the source code documentation
for specifics.