ACC Utilities Reference Guide

TTGEN - ZCOM System Table Generator
Creating the TTGEN Configuration File
Chapter 232
Creating the TTGEN Configuration File
Overview
The TTGEN configuration file is an ASCII text file that describes the
size and configuration information of a ZCOM system. TTGEN compiles
this file and generates a corresponding binary “memory image file,”
which will be used by ZMON to initialize and start up the run-time
ZCOM sub-system with the specified configuration.
The first statement in the configuration file (aside from compiler
directives {#include or #define} or C-style comments) must be the string
“TTGEN” (without the quotation marks). This may be followed by a list
of options; see “Running TTGEN” for the various options available. The
configuration file is organized into sections; each section having its own
section header and subparameters. The section headers are indicative of
the information required to configure the ZCOM sub-system. The
headers are case-insensitive and are as follows:
TTGEN (TTGEN file control line)
Configuration (Global parameters)
Interface-Definition (ACC card specification)
Port-Definition (All ports on the system)
Terminal-Definition (All terminals on the system)
Node-Definition (All remote nodes on the system)
End$
The sections must occur in the order as given above. Text enclosed with a
slash-asterisk (/*) and asterisk-slash (*/), or lines commencing with a
semi-colon (;) or an asterisk (*), are treated as comments and ignored.
The tilde character (~) at the end of a line is used as a continuation
character, indicating that the next line is a continuation of this line. The
lines may be in free format - the number of spaces between each
parameter is variable. Fields are separated by tabs, spaces, comma (,), or
colon (:). Multiple tabs or spaces collapse to one (this is not true for
commas and colons). Strings are quoted by single quote (’) or double
quote (”). Numeric fields may be in the following formats:
1234 for decimal
01234 for decimal (not octal)