Post-processor manual
GENERAL INFORMATION .............................................................................................................................. 7
CONFIGURATION.............................................................................................................................................. 8
CONFIGURATION FILES ........................................................................................................................................ 8
System............................................................................................................................................................ 8
Variable functions ......................................................................................................................................... 8
Start-up manufacturer code........................................................................................................................... 8
End manufacturer code ................................................................................................................................. 8
CONFIGURATION BY DEFAULT............................................................................................................................. 8
Modifying the default statements................................................................................................................... 9
Using the default statements.......................................................................................................................... 9
DISPLAYING AND MODIFYING CONFIGURATION ELEMENTS ................................................................................. 9
SYSTEM............................................................................................................................................................... 9
Hardware configuration................................................................................................................................ 9
Software configuration .................................................................................................................................. 9
Code generation options................................................................................................................................ 9
Stating the variables .................................................................................................................................... 10
Other elements............................................................................................................................................. 10
See the « System » element in text format.................................................................................................... 10
Displaying system elements......................................................................................................................... 11
VARIABLE FUNCTIONS ...................................................................................................................................... 11
Single assignment ........................................................................................................................................ 12
Linear assignment ....................................................................................................................................... 12
Automatic assignment.................................................................................................................................. 12
Types of AUTOMGEN elimination variables .............................................................................................. 13
Modifying a variable function element........................................................................................................ 17
Adding a variable function element............................................................................................................. 17
Deleting a variable function element........................................................................................................... 19
Associating an AUTOMGEN bit to a target system bit ............................................................................... 19
Associating a table of AUTOMGEN words to a table of fixed target words ............................................... 20
Associating AUTOMGEN words to target analog inputs or outputs........................................................... 20
Associating a table of AUTOMGEN bits to a table of target bits................................................................ 21
See the variable functions in text format ..................................................................................................... 21
START-UP MANUFACTURER CODE, END MANUFACTURER CODE ........................................................................ 22
Reference to an AUTOMGEN variable ....................................................................................................... 22
Referring to an AUTOMGEN application symbol....................................................................................... 22
Setting and referring to a label.................................................................................................................... 22
ENTERING MACHINE CODE IN AN APPLICATION ................................................................................................. 22
SELECTING CONNECTION OPTIONS .................................................................................................................... 22
SELECTING A CONNECTION MODE ..................................................................................................................... 23
SETTING COMMUNICATION MODULE PARAMETERS ........................................................................................... 23
POST-PROCESSOR PL7 .................................................................................................................................. 24
COMMUNICATION MODULE ............................................................................................................................... 24
GENERATING AN EXECUTABLE FILE .................................................................................................................. 25
Direct generation of a binary file ................................................................................................................ 25
Generating an « .FEF » executable file....................................................................................................... 27
USING INTERRUPT TASKS .................................................................................................................................. 29
SPECIFIC EXAMPLES .......................................................................................................................................... 29
Analog inputs/outputs.................................................................................................................................. 29
Fast counter TSX 37-10............................................................................................................................... 29
Fast counter TSX 37-10 used in counting.................................................................................................... 29
Fast counter TSX 37-22............................................................................................................................... 29
ASI ............................................................................................................................................................... 30
MAGELIS .................................................................................................................................................... 30
POST-PROCESSOR PL72 ................................................................................................................................ 31
SELECTING PROCESSOR TYPE ............................................................................................................................ 31
SPECIFIC SYNTAX ELEMENTS............................................................................................................................. 31
AUTOMGEN
7
3 (C)opyright 2004 IRAI