Irai Automgen 8 Instruction Manual

N
E
A
R
E
N
T
O
I
G
N
U
A
M
O
T
G
T
X
E
N
AUTOMGEN
www.irai.com
8
ENVIRONMENT................................................................................................................................................. 13
INSTALLATION ................................................................................................................................................. 15
Configuration required..............................................................................................................................15
Installation in a network ............................................................................................................................ 15
NEW FEATURES OF AUTOMGEN8................................................................................................................... 16
Choice of “Beginner / Expert” mode......................................................................................................... 16
Increased integration of the Grafcet 60848 standard................................................................................ 16
Compatibility of files.................................................................................................................................. 16
Physical engine integrated to IRIS3D........................................................................................................ 16
Enhanced 3D object handling in IRIS3 D................................................................................................... 16
Improved links between AUTOMGEN and IRIS3D objects....................................................................... 16
Textured IRIS3D objects............................................................................................................................ 16
Drag and drop from IRIS3D to AUTOMGEN sheets................................................................................. 17
AUTOMSIM user-definable object ............................................................................................................ 17
Drag and drop from AUTOMSIM to AUTOMGEN sheets ........................................................................ 17
Improvements to the environment.............................................................................................................. 17
ENVIRONMENT ................................................................................................................................................. 18
Start............................................................................................................................................................ 18
General views ............................................................................................................................................ 19
Selecting targets in expert mode ................................................................................................................ 21
Selecting targets in beginner mode............................................................................................................ 21
Palettes in expert mode.............................................................................................................................. 22
Palettes in beginner mode.......................................................................................................................... 22
Displaying or hiding the project window or message window .................................................................. 24
Displaying the work space in full screen mode.......................................................................................... 24
Keyboard shortcuts .................................................................................................................................... 24
LICENSES.......................................................................................................................................................... 25
Registering a license.................................................................................................................................. 25
Sending a user code to IRAI....................................................................................................................... 26
Sending a file by e-mail (the best solution)............................................................................................................ 26
Copying the user code in an e-mail message......................................................................................................... 27
By fax (not recommended) .................................................................................................................................... 27
By telephone (highly unadvisable)......................................................................................................................... 27
Entering the validation/enable code .......................................................................................................... 27
Validating by a e-mail received file....................................................................................................................... 27
Validating for a code received in the text of an e-mail .......................................................................................... 27
Validating for a code received by fax or telephone................................................................................................ 27
Modifying a license.................................................................................................................................... 27
Moving a license from one computer to another........................................................................................ 28
Network licenses ........................................................................................................................................ 29
Adding a network license....................................................................................................................................... 30
Modifying a license ............................................................................................................................................... 30
Connecting to client stations.................................................................................................................................. 30
Additional information on installing AUTOMGEN in a network environment .......................................... 31
General information............................................................................................................................................... 31
Installing AUTOMGEN8 on a file server............................................................................................................... 31
Installing one or more AUTOMGEN8 licenses on a network license manager...................................................... 31
Installing the network license server as a service...................................................................................................33
Uninstallation ............................................................................................................................................ 34
Errors......................................................................................................................................................... 34
THE PROJECT.................................................................................................................................................... 35
Files generated with AUTOMGEN7........................................................................................................... 35
Importing an application from an earlier version of AUTOMGEN (version 6 or earlier)........................ 35
Generating a free distribution executable file............................................................................................ 35
Modifying project properties..................................................................................................................... 36
Modifying security options.................................................................................................................................... 36
Advanced options .................................................................................................................................................. 36
User interface......................................................................................................................................................... 36
Model..................................................................................................................................................................... 36
Automatic GO........................................................................................................................................................ 37
THE BROWSER.................................................................................................................................................. 38
Sheets......................................................................................................................................................... 39
Adding a new sheet................................................................................................................................................ 39
Importing old AUTOMGEN version sheets, importing CADEPA sheets............................................................. 40
Modifying the sheet compilation order.................................................................................................................. 40
Deleting a sheet from the list................................................................................................................................. 41
Exporting a sheet to a « .GR7 » file....................................................................................................................... 41
Copying, Cutting, Pasting a sheet.......................................................................................................................... 41
Renaming a sheet................................................................................................................................................... 41
Modifying sheet properties. ................................................................................................................................... 41
Symbols...................................................................................................................................................... 42
Creating a symbol table ......................................................................................................................................... 42
Importing a symbol table....................................................................................................................................... 42
Configuration............................................................................................................................................. 43
Post-processors ...................................................................................................................................................... 43
Compiler options.................................................................................................................................................... 43
Documentation........................................................................................................................................... 43
Generated files........................................................................................................................................... 44
Generating the instruction list in pivot code.......................................................................................................... 44
Generating the cross reference list......................................................................................................................... 44
Post-processors ...................................................................................................................................................... 44
Settings....................................................................................................................................................... 44
Viewing and modifying a variable or variable table.............................................................................................. 44
IRIS objects................................................................................................................................................ 46
Adding an IRIS 2D object...................................................................................................................................... 46
Deleting an IRIS 2D object.................................................................................................................................... 47
Displaying or hiding an IRIS 2D object................................................................................................................. 47
Cutting, copying, pasting an IRIS 2D object..........................................................................................................47
Adding a new IRIS 2D object on a console........................................................................................................... 47
Modifying the properties of an IRIS 2D object...................................................................................................... 47
Setting an object model accessible on the assistant................................................................................................ 48
Importing an IRIS 2D object in an earlier version of AUTOMGEN..................................................................... 49
Creating an IRIS 3D console ................................................................................................................................. 49
Resources................................................................................................................................................... 50
Adding a file to the resources ................................................................................................................................50
Deleting a file from the resources.......................................................................................................................... 50
Renaming a file in the resources............................................................................................................................ 50
Modifying a file in the resources........................................................................................................................... 50
Adding and converting 3D STUDIO files in the resources.................................................................................... 50
External modules ....................................................................................................................................... 50
DESIGNING PROGRAMS..................................................................................................................................... 52
Designing with the assistant ...................................................................................................................... 52
Designing with the shortcut menu.............................................................................................................. 53
Designing with the pallet ........................................................................................................................... 53
Enhancing and customizing the pallet.................................................................................................................... 53
Designing with the keyboard keys.............................................................................................................. 53
Delete block........................................................................................................................................................... 53
Link blocks............................................................................................................................................................ 53
Grafcet blocks ............................................................................................................................... ......................... 54
Flowchart blocks.................................................................................................................................................... 56
Ladder blocks......................................................................................................................................................... 56
Action blocks......................................................................................................................................................... 57
Test blocks............................................................................................................................................................. 58
Organization chart blocks...................................................................................................................................... 58
Function block blocks............................................................................................................................................ 58
Other blocks........................................................................................................................................................... 59
Documenting program elements................................................................................................................ 59
Adding symbols.......................................................................................................................................... 60
RUNNING AN APPLICATION ............................................................................................................................... 62
To run an application easily................................................................................................................................... 62
To end the run........................................................................................................................................................ 62
To compile only..................................................................................................................................................... 62
To stop the compilation ......................................................................................................................................... 62
To connect to a processor or install a PC............................................................................................................... 62
To disconnect a processor or uninstall a PC........................................................................................................... 62
To put the target in RUN mode.............................................................................................................................. 62
To put the target in STOP mode ............................................................................................................................ 62
To initialize the target............................................................................................................................................ 62
To run a program cycle on the target (generally not supported on processors)...................................................... 63
To activate the dynamic display.............................................................................................................................63
THE COMPILER ................................................................................................................................................. 64
Modifying compiler options ....................................................................................................................... 64
Displaying compilation messages.............................................................................................................. 64
Finding an error........................................................................................................................................ 64
RUNNING PROGRAMS ON A PC ......................................................................................................................... 66
Configuring the number of variables......................................................................................................... 66
PC system variables................................................................................................................................... 67
Modifying the run period ........................................................................................................................... 68
Driving inputs/outputs ............................................................................................................................... 68
IRIS 2D REFERENCES....................................................................................................................................... 70
Modifying object display............................................................................................................................ 70
Modifying object characteristics................................................................................................................ 71
Removing an object............................................................................................................................................... 71
Dimensioning an object ......................................................................................................................................... 71
Moving an object................................................................................................................................................... 71
Putting an object in « User » mode...................................................................................................................... 71
Putting an object in « Configuration » mode ....................................................................................................... 71
Modifying the characteristics of an object ............................................................................................................. 71
Block access to configuration for all objects ............................................................................................. 72
Basic objects, preset objects ...................................................................................................................... 72
List of basic objects.................................................................................................................................... 72
« Console » object.................................................................................................................................................. 72
The « Button and light » object............................................................................................................................. 72
The« Object » object.............................................................................................................................................. 72
The « Digital value » object................................................................................................................................... 72
The « Screen, keyboard, message list » object....................................................................................................... 72
The « Sound » object............................................................................................................................................. 73
The « Data archive » object................................................................................................................................... 73
The « Program » object.......................................................................................................................................... 73
The « Dialogue box » object.................................................................................................................................. 73
The « Analog value » object.................................................................................................................................. 73
Practical experience.................................................................................................................................. 73
Step 1..................................................................................................................................................................... 73
Step 2..................................................................................................................................................................... 74
Step 3..................................................................................................................................................................... 74
Step 4..................................................................................................................................................................... 74
Step 5..................................................................................................................................................................... 74
Step 6..................................................................................................................................................................... 75
Step 7..................................................................................................................................................................... 76
Creating an autonomous supervision application ..................................................................................... 77
Syntax for accessing the state of variables................................................................................................. 77
Boolean state.......................................................................................................................................................... 77
Numeric state......................................................................................................................................................... 78
Modifying the state................................................................................................................................................ 78
Special orders......................................................................................................................................................... 78
Interchanging objects............................................................................................................................................. 79
Details of a « Console » object.................................................................................................................. 79
« Aspect » tab ........................................................................................................................................................ 79
« Bitmap » tab........................................................................................................................................................ 80
« Links » tab .......................................................................................................................................................... 80
« Options » tab....................................................................................................................................................... 81
« Sisters » tab......................................................................................................................................................... 81
« External » ta b...................................................................................................................................................... 81
Details of an « Illuminated Button » object ............................................................................................... 82
« Aspect » tab ........................................................................................................................................................ 82
« Links » tab .......................................................................................................................................................... 82
« Options » tab....................................................................................................................................................... 83
Details of a « Digital value » object .......................................................................................................... 85
« Aspect » tab ........................................................................................................................................................ 85
« Texts » tab........................................................................................................................................................... 86
« Links » tab .......................................................................................................................................................... 86
Details of an « Analog value » object........................................................................................................ 86
« Aspect » tab ........................................................................................................................................................ 86
« Links » tab .......................................................................................................................................................... 87
« Limits» tab.......................................................................................................................................................... 87
« Graduations » tab................................................................................................................................................ 88
Details of « Screen, keyboard, message list » object ................................................................................. 89
Links with the application...................................................................................................................................... 89
Message classes ..................................................................................................................................................... 90
« Aspect » tab ........................................................................................................................................................ 90
This is used to set an object type. See chapter links with the application.............................................................. 90
« Links » tab .......................................................................................................................................................... 91
« List » tab ............................................................................................................................................................. 91
« Options » tab....................................................................................................................................................... 92
« Messages » tab.................................................................................................................................................... 93
Details of « Data archive » object ............................................................................................................. 93
« Aspect » tab ........................................................................................................................................................ 93
« Data » tab............................................................................................................................................................ 93
« Options » tab....................................................................................................................................................... 95
« Tables » tab......................................................................................................................................................... 95
« Graph» tab .......................................................................................................................................................... 96
« Graduations » tab................................................................................................................................................ 97
« Grid » tab............................................................................................................................................................ 98
Details of « Object » object...................................................................................................................... 100
« Aspect » tab ...................................................................................................................................................... 100
« Links » tab ........................................................................................................................................................ 101
« Formats » tab .................................................................................................................................................... 102
« Bitmap » tab...................................................................................................................................................... 102
« Wmf » tab ......................................................................................................................................................... 103
« Colors » tab....................................................................................................................................................... 103
« Gauge » tab............................................................................................................................... ........................ 104
« Sensor» tab........................................................................................................................................................ 104
« Options » tab..................................................................................................................................................... 105
Advanced techniques............................................................................................................................... ............ 105
Details of « Sound » object ...................................................................................................................... 106
« Aspect » tab ...................................................................................................................................................... 106
« Sounds » tab...................................................................................................................................................... 106
Details of « Dialogue box » object........................................................................................................... 106
« Aspect » tab ...................................................................................................................................................... 106
« Links » tab............................................................................................................................................. 107
« Messages » tab.................................................................................................................................................. 108
Details of « Program » object.................................................................................................................. 108
Run time distribution........................................................................................................................................... 108
Display................................................................................................................................................................. 108
Syntax .................................................................................................................................................................. 109
Stating variables................................................................................................................................................... 109
Writing a program................................................................................................................................................ 109
Constants ............................................................................................................................................................. 110
Assignment.......................................................................................................................................................... 110
Calculations ......................................................................................................................................................... 110
Tests..................................................................................................................................................................... 111
Loops................................................................................................................................................................... 111
Variable or variable table address........................................................................................................................ 112
List of functions................................................................................................................................................... 112
Error messages..................................................................................................................................................... 118
« Aspect » tab ...................................................................................................................................................... 119
« Program » tab.................................................................................................................................................... 120
IRIS 2D EXAMPLES ........................................................................................................................................ 121
Example of composed objects.................................................................................................................. 121
Example of using the « Screen, keyboard, message list » object as a message list.................................. 124
Example of using the « SCREEN KEY » object as a terminal................................................................. 125
Example of an application composed of multiple pages.......................................................................... 126
Example of using the «OBJECT » object................................................................................................. 126
Example of using the «ARCHIVE» object................................................................................................ 131
Example of using the «PROG » object..................................................................................................... 131
Examples of supervision application 1................................................................................................... 131
Examples of supervision application 2.................................................................................................... 132
Example of operating part simulation 1.................................................................................................. 133
Example of operating part simulation 2................................................................................................... 134
IRIS 3D REFERENCES..................................................................................................................................... 135
Tutorial.................................................................................................................................................... 136
Creating an IRIS 3D console ................................................................................................................... 136
Adding 3D files to the project.................................................................................................................. 137
Configuring the objects............................................................................................................................ 138
Adding objects to the 3D world................................................................................................................ 139
Removing a 3D file from the resources.................................................................................................... 139
Removing an object from a 3D world ...................................................................................................... 139
Importing an “enhanced” object ............................................................................................................. 139
Exporting an “Enhanced” object ............................................................................................................ 142
Example of creating a 3D simulation based on enhanced objects........................................................... 143
Applying a behavior to an object............................................................................................................. 154
Name of AUTOMGEN variables ........................................................................................................................ 155
Adding a translation............................................................................................................................................. 156
Adding a rotation................................................................................................................................................. 159
Adding a color change......................................................................................................................................... 160
Adding a link ....................................................................................................................................................... 161
Adding another behavior...................................................................................................................................... 162
Physical engine........................................................................................................................................ 163
IRIS 3D example ...................................................................................................................................... 165
LANGUAGE....................................................................................................................................................... 167
COMMON ELEMENTS ...................................................................................................................................... 169
Variables.................................................................................................................................................. 169
Booleen variables................................................................................................................................................. 169
Numeric variables................................................................................................................................................ 170
Time delay........................................................................................................................................................... 170
Actions ..................................................................................................................................................... 172
Assignment of a boolean variable........................................................................................................................ 172
Complement assignment of a boolean variable.................................................................................................... 173
Setting a boolean variable to one......................................................................................................................... 174
Resetting a boolean variable................................................................................................................................ 175
Inverting a boolean variable................................................................................................................................. 175
Resetting a counter, a word or a long................................................................................................................... 176
Incrementing a counter, a word or a long............................................................................................................. 177
Decrementing a counter, word or long................................................................................................................. 177
Time delays.......................................................................................................................................................... 178
Interferences among the actions........................................................................................................................... 178
IEC1131-3 standard actions................................................................................................................................. 179
Multiple actions................................................................................................................................................... 180
Literal code.......................................................................................................................................................... 180
Tests......................................................................................................................................................... 180
General form........................................................................................................................................................ 181
Test modifier........................................................................................................................................................ 181
Time delays.......................................................................................................................................................... 182
Priority of boolean operators................................................................................................................................ 182
Always true test ................................................................................................................................................... 182
Numeric variable test........................................................................................................................................... 182
Transitions on multiple lines................................................................................................................................ 184
Use of symbols......................................................................................................................................... 184
Symbol syntax ..................................................................................................................................................... 184
Automatic symbols.............................................................................................................................................. 184
Automatic symbol syntax .................................................................................................................................... 184
How does the compiler manage the automatic symbols ?.................................................................................... 185
Range of variable attribution................................................................................................................................ 185
Fixed-address symbols......................................................................................................................................... 185
Examples.................................................................................................................................................. 186
Grafcet..................................................................................................................................................... 188
Simple Grafcet..................................................................................................................................................... 188
Divergence and convergence in « And » ............................................................................................................ 191
Divergence and convergence in « Or »................................................................................................................ 193
Destination and source steps, destination and source transitions......................................................................... 195
Multiple actions, conditioned actions .................................................................................................................. 196
Conditional actions, event-based actions............................................................................................................. 197
Actions on activation or deactivation of a step.................................................................................................... 197
Actions on transition crossing.............................................................................................................................. 197
Synchronization................................................................................................................................................... 198
Grafcet setting...................................................................................................................................................... 199
Grafcet forcings (60848 standard) ....................................................................................................................... 206
Macro-steps.......................................................................................................................................................... 207
Encapsulating steps.............................................................................................................................................. 210
Grafcet / Ladder and Grafcet / Flow chars links.................................................................................................. 212
Counters............................................................................................................................................................... 213
Gemma..................................................................................................................................................... 214
Creating a Gemma............................................................................................................................................... 216
ontent of Gemma rectangles ................................................................................................................................ 216
Obtaining a corresponding Grafcet...................................................................................................................... 216
Printing Gemma................................................................................................................................................... 217
Exporting Gemma................................................................................................................................................ 217
Example of Gemma............................................................................................................................................. 217
Ladder...................................................................................................................................................... 220
Example of Ladder............................................................................................................................................... 221
Flow chart................................................................................................................................................ 222
Drawing flow charts............................................................................................................................................. 223
Example of a flow chart....................................................................................................................................... 224
Literal languages..................................................................................................................................... 226
How is a literal language used?............................................................................................................................ 226
Setting a code box................................................................................................................................................ 227
Low level literal language.................................................................................................................................... 228
Macro-instruction................................................................................................................................................. 285
Libraries............................................................................................................................................................... 286
Pre-defined macro-instructions............................................................................................................................ 286
Description of pre-defined macro-instructions..................................................................................................... 286
Example of low level literal language.................................................................................................................. 288
Extended literal language........................................................................................................................ 291
Writing boolean equations................................................................................................................................... 292
Writing numeric equations................................................................................................................................... 293
IF...THEN...ELSE...structure......................................................................................................................................... 294
WHILE ... ENDWHILE structure........................................................................................................................ 295
Example of a program in extended literal language............................................................................................. 295
ST literal language................................................................................................................................... 296
General Information............................................................................................................................................. 296
Boolean equations................................................................................................................................................ 297
Numeric equations............................................................................................................................................... 298
Programming structures....................................................................................................................................... 299
Example of a program in extended literal language............................................................................................. 300
Organization chart................................................................................................................................... 300
Creating an organizational chart.......................................................................................................................... 301
Rectangle content................................................................................................................................................. 302
Illustration ............................................................................................................................................... 302
Function blocks........................................................................................................................................ 304
Creating a function block..................................................................................................................................... 305
Drawing a block and creating a « .ZON » file ..................................................................................................... 305
Creating an « .LIB » file...................................................................................................................................... 307
Simple example of a function block..................................................................................................................... 307
Illustration............................................................................................................................................................ 308
Supplementary syntax.......................................................................................................................................... 311
Evolved function blocks........................................................................................................................... 312
Syntax .................................................................................................................................................................. 312
Differentiating between new and old function blocks.......................................................................................... 312
Example............................................................................................................................................................... 313
Predefined function blocks....................................................................................................................... 313
Conversion blocks................................................................................................................................................ 314
Time delay blocks................................................................................................................................................ 314
String blocks........................................................................................................................................................ 314
Word table blocks................................................................................................................................................ 314
Advanced techniques................................................................................................................................314
Compiler generated code ..................................................................................................................................... 314
Optimizing generated code.................................................................................................................................. 315
EXAMPLES...................................................................................................................................................... 317
Regarding examples................................................................................................................................. 317
Simple grafcet...................................................................................................................................................... 317
Grafcet with an OR divergence............................................................................................................................ 318
Grafcet with an AND divergence........................................................................................................................ 319
Grafcet and synchronization................................................................................................................................ 320
Step setting .......................................................................................................................................................... 321
Destination and source steps................................................................................................................................ 322
Destination and source steps................................................................................................................................ 323
Setting Grafcets ................................................................................................................................................... 324
Memorizing Grafcets........................................................................................................................................... 325
Grafcet and macro-steps ...................................................................................................................................... 326
Linked sheets....................................................................................................................................................... 327
Flow chart............................................................................................................................................................ 329
Grafcet and Flow Chart........................................................................................................................................ 330
Literal language box ............................................................................................................................................ 331
Organizational chart............................................................................................................................................. 332
Organizational chart............................................................................................................................................. 333
Function block..................................................................................................................................................... 334
Function block..................................................................................................................................................... 335
Ladder............................................................................................................................... ................................... 336
Example developed on a train model................................................................................................................... 337
Educational training manual for AUTOMGEN users.............................................................................. 343
Distribution.............................................................................................................................................. 345
Doctor R. in the home automation kingdom ............................................................................................ 345
First example: « which came first the bulb or the switch … »................................................................. 346
Solution 1: natural language of an electrician: ladder.......................................................................................... 347
Solution 2: the sequential language of the automation specialist: Grafcet........................................................... 347
It's your turn to play …............................................................................................................................ 349
Second example: « time frames, time-switches and other time fun… »................................................... 349
Solution 1: simplicity........................................................................................................................................... 350
Solution 2: improvement...................................................................................................................................... 351
Third Example: « variation on the the me of coming and going… »........................................................ 352
Fourth example: « And the push button became intelligent … » ............................................................. 356
The solutions … ....................................................................................................................................... 359
« which came first the switch or the bulb … »..................................................................................................... 359
« time delays, time switches and other time fun… » ........................................................................................... 359
« variation on the theme of coming and going …».............................................................................................. 361
AUTOMSIM....................................................................................................................................................... 363
INTRODUCTION............................................................................................................................................... 365
INSTALLATION ............................................................................................................................................... 366
Practical experience................................................................................................................................366
AUTOMGEN’S BEGINNER MODE............................................................................................................... 370
USING AUTOMSIM...................................................................................................................................... 371
Organizing applications........................................................................................................................... 371
Opening an existing application.............................................................................................................. 371
Creating an AUTOMSIM sheet................................................................................................................ 371
Adding an object onto an AUTOMSIM sheet........................................................................................... 372
Using the palette...................................................................................................................................... 374
Selecting one or more objects.................................................................................................................. 375
Selecting one or more objects.................................................................................................................. 376
Deleting one or more objects................................................................................................................... 376
Changing the orientation of one or more objects .................................................................................... 376
Copying/cutting one or more objects to the clipboard............................................................................. 376
Pasting one or more objects from the clipboard...................................................................................... 377
Modifying object properties..................................................................................................................... 377
Exporting one or more objects................................................................................................................. 377
ADVANCED FUNCTIONS.................................................................................................................................. 378
Interactions between objects.................................................................................................................... 378
Creating sensors associated with a cylinder............................................................................................ 378
Interactions between AUTOMSIM objects and the automaton program................................................. 380
Interactions between AUTOMSIM objects and the IRIS 3D operational unit simulator ......................... 381
Interactions between AUTOMSIM objects and the IRIS2D supervision objects ..................................... 382
How can a link be made between an IRIS2D pushbutton or switch and an AUTOMSIM pushbutton or switch?382
How can a link be made between an AUTOMSIM object and an IRIS2D indicator light?................................. 383
Drag and drop from an AUTOMSIM variable to an AUTOMGEN sheet................................................ 384
User-definable objects............................................................................................................................. 385
Designs .................................................................................................................................................... 387
List of design primitives........................................................................................................................... 388
Drawing primitive................................................................................................................................................ 388
Attribute primitives.............................................................................................................................................. 390
Other primitives................................................................................................................................................... 391
Program................................................................................................................................................... 392
List of programming primitives........................................................................................................................... 393
Connections ............................................................................................................................................. 395
Example ................................................................................................................................................... 396
POST-PROCESSORS........................................................................................................................................ 397
GENERAL INFORMATION ................................................................................................................................399
CONFIGURATION ............................................................................................................................................ 400
Configuration files ................................................................................................................................... 400
System ................................................................................................................................................................. 400
Variable functions................................................................................................................................................ 400
Start-up manufacturer code.................................................................................................................................. 400
End manufacturer code........................................................................................................................................ 400
Configuration by default.......................................................................................................................... 400
Modifying the default statements......................................................................................................................... 401
Using the default statements................................................................................................................................ 401
Displaying and modifying configuration elements................................................................................... 401
System...................................................................................................................................................... 401
Hardware configuration............................................................................................................................... ........ 401
Software configuration......................................................................................................................................... 402
Code generation options ...................................................................................................................................... 402
Stating the variables............................................................................................................................................. 402
Other elements..................................................................................................................................................... 402
See the « System » element in text format........................................................................................................... 402
Displaying system elements................................................................................................................................. 403
Variable functions.................................................................................................................................... 403
Single assignment................................................................................................................................................ 404
Linear assignment................................................................................................................................................ 404
Automatic assignment.......................................................................................................................................... 404
Types of AUTOMGEN elimination variables ..................................................................................................... 405
Modifying a variable function element................................................................................................................ 410
Adding a variable function element..................................................................................................................... 410
Deleting a variable function elemen t ................................................................................................................... 412
Associating an AUTOMGEN bit to a target system bit....................................................................................... 412
Associating a table of AUTOMGEN words to a table of fixed target words....................................................... 413
Associating AUTOMGEN words to target analog inputs or outputs................................................................... 414
Associating a table of AUTOMGEN bits to a table of target bits........................................................................ 414
See the variable functions in text format.............................................................................................................. 415
Start-up manufacturer code, end manufacturer code .............................................................................. 415
Reference to an AUTOMGEN variable............................................................................................................... 415
Referring to an AUTOMGEN application symbol.............................................................................................. 416
Setting and referring to a label............................................................................................................................. 416
Entering machine code in an application ................................................................................................ 416
Selecting connection options.................................................................................................................... 416
Selecting a connection mode.................................................................................................................... 417
Setting communication module parameters............................................................................................. 417
POST-PROCESSOR PL7.................................................................................................................................... 418
Communication module ........................................................................................................................... 418
Generating an executable file.................................................................................................................. 419
Direct generation of a binary file......................................................................................................................... 419
Generating an « .FEF » executable file................................................................................................................ 421
Using interrupt tasks................................................................................................................................423
Specific examples..................................................................................................................................... 423
Analog inputs/outputs.......................................................................................................................................... 424
Fast counter TSX 37-10....................................................................................................................................... 424
Fast counter TSX 37-10 used in counting ............................................................................................................ 424
Fast counter TSX 37-22....................................................................................................................................... 424
ASI....................................................................................................................................................................... 424
MAGELIS ........................................................................................................................................................... 424
POST-PROCESSOR PL72.................................................................................................................................. 425
Selecting processor type .......................................................................................................................... 425
Specific syntax elements........................................................................................................................... 425
Calling up PL72 function blocks ......................................................................................................................... 425
Using a fast task................................................................................................................................................... 427
Communication module ........................................................................................................................... 428
Specific examples..................................................................................................................................... 428
Analog inputs/outputs.......................................................................................................................................... 429
Fast counter.......................................................................................................................................................... 430
Text blocks and xbt.............................................................................................................................................. 430
UNITELWAY text blocks................................................................................................................................... 433
TOR extension module........................................................................................................................................ 435
Conversion............................................................................................................................... ............................ 435
Time/date............................................................................................................................................................. 435
POST-PROCESSOR S7200................................................................................................................................436
Selecting CPU type .................................................................................................................................. 436
Communication module ........................................................................................................................... 436
Specific example....................................................................................................................................... 436
POST-PROCESSOR ABB.................................................................................................................................. 437
Selecting processor type .......................................................................................................................... 437
Processor AC31 ................................................................................................................................................... 437
Processor CS31.................................................................................................................................................... 437
Communication module ........................................................................................................................... 437
Utility....................................................................................................................................................... 437
Specific examples..................................................................................................................................... 437
Analog inputs/outputs.......................................................................................................................................... 438
Interrupt............................................................................................................................................................... 438
POST-PROCESSOR GE-FANUC / ALSPA....................................................................................................... 439
Selecting processor type .......................................................................................................................... 439
Communication module ........................................................................................................................... 439
Utility....................................................................................................................................................... 439
POST-PROCESSOR STEP5............................................................................................................................... 440
Communication module ........................................................................................................................... 440
Application structure ............................................................................................................................... 440
Selecting program blocks to use .......................................................................................................................... 443
Selecting data blocks ........................................................................................................................................... 443
Selecting processor type .......................................................................................................................... 444
Associating code written on a sheet to a program block ......................................................................... 444
Specific syntaxes ...................................................................................................................................... 444
Setting blocks....................................................................................................................................................... 445
POST-PROCESSOR TSX 07.............................................................................................................................. 447
Communication module ........................................................................................................................... 447
POST-PROCESSOR PS3-PS4............................................................................................................................ 449
Communication module ........................................................................................................................... 449
POST-PROCESSOR PS4.................................................................................................................................... 450
Module de communication....................................................................................................................... 450
Transferring programs to MOELLER SUCOSOFT software .................................................................. 450
Proceed as follows to import the file generated by AUTOMGEN in the MOELLER software then inject it in the processor.
POST-PROCESSOR RPX................................................................................................................................... 455
Selecting processor type .......................................................................................................................... 455
Communication module ........................................................................................................................... 455
Utility....................................................................................................................................................... 455
POST-PROCESSOR PL71.................................................................................................................................. 456
Selecting processor type .......................................................................................................................... 456
Communication module ........................................................................................................................... 456
............................................................................................................................................................. 451
Fast counter task...................................................................................................................................... 456
Specific examples..................................................................................................................................... 456
Counting .............................................................................................................................................................. 457
Fast counter.......................................................................................................................................................... 457
POST-PROCESSOR PB...................................................................................................................................... 458
Selecting processor type .......................................................................................................................... 458
Communication module ........................................................................................................................... 458
Specific syntaxes ...................................................................................................................................... 458
POST-PROCESSOR SMC.................................................................................................................................. 460
Selecting processor type .......................................................................................................................... 460
Communication module ........................................................................................................................... 460
Specific syntaxes ...................................................................................................................................... 460
POST-PROCESSOR S7300................................................................................................................................461
Communication module ........................................................................................................................... 461
Specific syntaxes ...................................................................................................................................... 461
Setting block variables......................................................................................................................................... 462
Calling up blocks................................................................................................................................................. 462
Importing in SIEMENS SIMATIC software ............................................................................................. 463
Structure of generated code..................................................................................................................... 465
Selecting program blocks to use .......................................................................................................................... 469
Associating code written on a sheet to a program block ......................................................................... 469
Specific examples..................................................................................................................................... 469
Calling up a STEP7 block.................................................................................................................................... 470
Using an OB block............................................................................................................................................... 470
POST-PROCESSOR OMRON............................................................................................................................ 471
Select PLC model..................................................................................................................................... 471
Communication module ........................................................................................................................... 471
Transferring applications to the CX-PROGRAMMER software.............................................................. 471
Specific syntax.......................................................................................................................................... 474
Associating code written on a sheet to a program block ......................................................................... 474
Specific example....................................................................................................................................... 474
POST-PROCESSOR ALSPA.............................................................................................................................. 475
Communication module ........................................................................................................................... 475
POST-PROCESSOR ZELIO............................................................................................................................... 476
Communication module ........................................................................................................................... 476
POST-PROCESSOR FESTO.............................................................................................................................. 477
Communication module ........................................................................................................................... 477
Generating a binary file........................................................................................................................... 477
Importation in a FESTO software workgroup......................................................................................... 477
POST-PROCESSOR ALLEN-BRADLEY......................................................................................................... 479
Communication module ........................................................................................................................... 479
Transferring programs to ROCKWELL RS-Logix 500 Software............................................................. 479
POST-PROCESSOR TWIDO............................................................................................................................. 481
Processor configuration selection............................................................................................................481
Communication module ........................................................................................................................... 481
POST-PROCESSOR MITSUBISHI.................................................................................................................... 482
Selecting the type of processor................................................................................................................. 482
Communication module ........................................................................................................................... 482
Transferring programs to MITSUBISHI FX-WIN software.................................................................... 483
Transferring programs to MITSUBISHI GX-DEVELOPPER software.................................................. 483
POST-PROCESSOR MITSUBISHI-Q ............................................................................................................... 485
Communication module ........................................................................................................................... 485
Transferring programs to MITSUBISHI GX-DEVELOPPER software.................................................. 485
POST-PROCESSOR GEM.................................................................................................................................. 486
Communication module ........................................................................................................................... 486
POST-PROCESSOR ZELIO 2............................................................................................................................ 487
Initializing the automaton........................................................................................................................ 487
Configuring the module ........................................................................................................................... 487
Communication module ........................................................................................................................... 487
POST-PROCESSOR PANASONIC.................................................................................................................... 488
Selecting the configuration of the automaton.......................................................................................... 488
Communication module ........................................................................................................................... 488
Environment
Environment
Installation
If you are installing AUTOMGEN from the AUTOMGEN CD-ROM, place it in your CD-ROM drive.
The installation is launched automatically. If this does not occur, launch the “Setup.exe” executable which is in the
CD-ROM root.

Configuration required

PC compatible computer, with:
- WINDOWS 98 SE or WINDOWS ME or WINDOWS 2000 or WINDOWS XP or WINDOWS 2003 or WINDOWS VISTA operating system,
- 256 MB memory (depending on the operating system: the operating system itself may require more memory),
- graphics board with a resolution of at least 1024 x 768 in 65536 colors.

Installation in a network

AUTOMGEN can be installed in a network environment. Execute the installation procedure on the “server” PC (make sure you
have all of the access rights when you carry out the procedure). To launch AUTOMGEN, on the client PCs, create a shortcut to the
“autom8.exe” executable of the AUTOMGEN installation directory on the server PC.
Refer to the chapter “additional information on installing AUTOMGEN in a network environment” for more information about installing AUTOMGEN and licenses in a network environment.
AUTOMGEN8 15 ©opyright 1988-2007 IRAI
Environment
8
New features of AUTOMGEN

Choice of “Beginner / Expert” mode

“Beginner” mode allows beginners to use a “simplified” environment that is extremely easy to use.

Increased integration of the Grafcet 60848 standard

The new elements of this standard can now be accessed in the contextual program editing menus.

Compatibility of files

The files generated by all of the AUTOMGEN8 versions can be re-read by all of the AUTOMGEN
8
versions.

Physical engine integrated to IRIS3D

The TOKAMAK motor is integrated to IRIS3D. This enables an extremely realistic simulation of the 3D operational units to be obtained.

Enhanced 3D object handling in IRIS3D

The saving and re-reading of objects and behaviors allows you to manage libraries of easily reusable objects. Predefined objects (cylinders, conveyor belts, etc) are proposed as standard. A 3D operational unit simulation application can now be created in just a couple of mouse clicks.

Improved links between AUTOMGEN and IRIS3D objects

Enhanced modes allow you to easily handle displacements of complex objects between AUTOMGEN and IRIS3D. An AUTOMGEN variable can, for example, give the speed of an object directly. Position reporting can also be simulated in the manner of an absolute encoder.

Textured IRIS3D objects

Textured objects now provide IRIS3D with extraordinarily realistic rendering.
AUTOMGEN8 16 ©opyright 1988-2007 IRAI
Environment

Drag and drop from IRIS3D to AUTOMGEN sheets

A right click on the IRIS3D objects allows you to access the list of variables and “drag” a reference over to a programming sheet.

AUTOMSIM user-definable object

AUTOMSIM users will appreciate the new user-definable object, which will allow you to create your own objects. (see the section of this manual devoted to AUTOMSIM)

Drag and drop from AUTOMSIM to AUTOMGEN sheets

A click on the AUTOMSIM objects allows you to “drag” a reference over to a programming sheet.

Improvements to the environment

Finally, numerous improvements to the environment, such as the magnifying glass in the design palette, the simplified palettes in “beginner” mode, or personalizing menus make AUTOMGEN even more user-friendly.
AUTOMGEN8 17 ©opyright 1988-2007 IRAI
Environment

Environment

Start

When AUTOMGEN is launched, a choice of mode for the environment is proposed. “Beginner” modes make it possible to start using AUTOMGEN in a “simplified” configuration, with a reduced number of options in the menus and simplified palettes. This mode is especially suited to people using AUTOMGEN for the first time. Expert mode offers all of the applications. You could create your own models (see “
project models”).
AUTOMGEN8 18 ©opyright 1988-2007 IRAI
Environment

General views

Tool bars
Workspace
Browser
Tabs
Message window
AUTOMGEN’s main window in “Expert” mode
The environment is fully customizable. The tool bars can be moved (by dragging their moving handle
) and parameterized (menu
“Tools/Customize the environment”). The state of the environment is saved when you quit it. This state can
also be saved in a project file (see the project options).
AUTOMGEN8 19 ©opyright 1988-2007 IRAI
Environment
p
Tool bars
Simplified
alettes
Workspace
AUTOMGEN’s main window in “Beginner” mode
AUTOMGEN8 20 ©opyright 1988-2007 IRAI
Environment

Selecting targets in expert mode

At the bottom of the browser window there is a “Targets” tab, allowing access to the list of post-processors installed.
The active target is indicated with a red tick. Access to targets displayed in grey is not authorized for the license installed (see the “Licenses” chapter for more details). To change the current target, double­click on the corresponding line. The targets shown in this list are the ones selected at installation time. If the target you want to use is not shown in this list, re-launch the AUTOMGEN installation and install it.

Selecting targets in beginner mode

In beginner mode, the following window is opened to allow the target to be selected each time a program is run.
AUTOMGEN8 21 ©opyright 1988-2007 IRAI
Environment

Palettes in expert mode

At the bottom of the browser window there is a “Palette” tab, allowing access to program design elements.
The palette gives a set of elements that can be selected and placed on the sheets. To select an element, left-click with the mouse in the palette, expand the selection, release the mouse button, click in the area selected and move the area towards the sheet.
The palette also contains the list of symbols for the project. You can grab them and drag them onto a test or an action on a sheet.
A magnifying glass is automatically shown when the elements displayed are small.

Palettes in beginner mode

In beginner mode, the palette contains a reduced group of the simplest tools for designing programs. Left-click with the mouse over a category to “open up this category” like a tree structure.
The palette in “beginner” mode
” elements allow access to sub-elements.
AUTOMGEN8 22 ©opyright 1988-2007 IRAI
Environment
The palette in “beginner” mode showing the “Grafcet” category open
The “ ” element allows a category to be closed.
AUTOMGEN8 23 ©opyright 1988-2007 IRAI
Environment

Displaying or hiding the project window or message window

Select the « Project » or « Messages » option from the « Window » menu.

Displaying the work space in full screen mode

Select the « Full screen » option from the « Display » menu. Click on to exit full screen mode.

Keyboard shortcuts

Keyboard shortcuts are written in the menus. « Masked » shortcuts can also be used:
CTRL + ALT + F8 Save the project in executable
format CTRL + ALT + F9 Save the project CTRL + ALT + F10 Access project properties CTRL + ALT + F11 Display or hide AUTOMGEN
window
Parameters can be set for the entire environment, its state is saved when you close AUTOMGEN. Environment windows can be hidden. The « Windows » menu is used to display them again. The work space can be displayed in full screen mode. The tabs at the bottom of the browser window are used to access selection for the current post­processor and the graphics palette.
AUTOMGEN8 24 ©opyright 1988-2007 IRAI
Environment

Licenses

A license establishes AUTOMGEN user rights. The following elements are established by license:
- the number of all or none inputs/outputs that can be used,
- post-processors that can be used,
- the number of users (only for network licenses).

Registering a license

When you install AUTOMGEN, you can use it for free for a period of 40 days.
You must register your license within 40 days. To register your license, send IRAI:
- the serial number printed on the label glued to the software box, or the reference of your delivery note or order form,
- the user code provided with the software indicating the PC where you have installed the product.
You will then receive an enable code (also called validation code). The « License » option in the AUTOMGEN « File » menu can be used to
display the status of your license and obtain a user code (click on « Registering the license »).
License status.
AUTOMGEN8 25 ©opyright 1988-2007 IRAI
Environment
A user code is valid for a period of 10 days. So a maximum period of 10 days can pass from when you send a user
code to IRAI and when you receive an enable code provided by IRAI.

Sending a user code to IRAI

There are various methods you can use. Exchanging codes by e-mail is highly recommended as it limits the risk of error.
A single error in the code will prevent the license from being registered.

Sending a file by e-mail (the best solution)

License registration dialogue box
To generate a file containing your user code, click on « Save user code in a file ». You can then transmit the file with « .a8u » extension as an attachment and send it to the address
contact@irai.com.
AUTOMGEN8 26 ©opyright 1988-2007 IRAI
Environment
Copying the user code in an e-mail message By clicking on « Copy user code to clipboard », you can then paste the
code in the body of the message and transmit it to the e-mail address
contact@irai.com.
By fax (not recommended) By clicking on « Copy user code to clipboard », you can then paste the
code in a document and send it by fax to 00 33 4 66 54 91 33. If possible avoid writing the code by hand and print it using a font which differentiates between the letter « O » and the number zero.
By telephone (highly unadvisable) By telephoning 00 33 4 66 54 91 30. Be sure to differentiate between the
letter « O » and number zero. Be careful of consonants which are difficult to tell apart on the telephone (for example « S » and « F »).

Entering the validation/enable code

Validating by a e-mail received file If you have received an « .a8v » file by e-mail, save the file on your hard
disk, click on « Read a validation code from a file » and select the file. Validating for a code received in the text of an e-mail
Select the code in the message text (make sure you only select the code and do not add any spaces to the end). Click on « Paste a validation code from the clipboard ».
Validating for a code received by fax or telephone Enter the code in the spaces under the title « Validation code ».

Modifying a license

Modification of a license Involves changing the elements authorized by the license (for example adding a post-processor). The license modification procedure is identical to registration.
AUTOMGEN8 27 ©opyright 1988-2007 IRAI
Environment

Moving a license from one computer to another

This procedure is more complex. The instructions below must be scrupulously followed to obtain good results. In the instructions below, « source » PC indicates the computer with the license and the « target » PC is the PC where the license needs to be moved.
1- if it has not already been done, install AUTOMGEN on the target
PC,
2- generate an « .a8u » user code file on the target PC and move this
file to the source PC (for example on a floppy disk),
3- on the source PC, select the « Move the license to another place »
option,
Dialogue box for moving a license
4- on the source PC, click on « Read a user code from a file » and
select the « .a8u » file that came from the target PC,
5- on the source PC, click on « Move the license », 6- on the source PC, click on « Save the validation code in a file »,
recopy the generated « .a8v » file to the target PC,
7- on the target PC, click on « Read a validation code from a file »
and select the « .a8v » file that came from the source PC.
AUTOMGEN8 28 ©opyright 1988-2007 IRAI
Loading...
+ 460 hidden pages