Table of Contents - TG Drives
Table of Contents - TG Drives
Table of Contents - TG Drives
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Table</strong> <strong>of</strong> <strong>Contents</strong><br />
<strong>Table</strong> <strong>of</strong> <strong>Contents</strong>...............................................................................3<br />
S<strong>of</strong>tware System..............................................................................11<br />
General................................................................................................................11<br />
New features DMC 2 5.0.......................................................................................11<br />
Remarks...........................................................................................................11<br />
Definitions............................................................................................................11<br />
System architecture.............................................................................................12<br />
DMC 2 s<strong>of</strong>tware development ...........................................................................12<br />
Timing and execution flow...................................................................................14<br />
Event Triggered Programming ............................................................................15<br />
DMC 2 PL2 SW Flow.........................................................................................15<br />
Function Block Diagram ......................................................................................16<br />
Load a new firmware release ..............................................................................21<br />
Boot mode command.......................................................................................22<br />
Startup message..............................................................................................22<br />
PL2 Native position language ..........................................................25<br />
Introduction..........................................................................................................25<br />
General ............................................................................................................25<br />
Argument types ...................................................................................................26<br />
Abbreviated argument types ...............................................................................26<br />
Expression Operators..........................................................................................26<br />
Arithmetic Operators; Performs an Arithmetic Operation (32 bit signed<br />
operations) .......................................................................................................27<br />
Equality and Relational Operators; Perform a Test Operation .......................27<br />
Relational Circular Operators; Perform a Test Operation................................27<br />
Binary Operators, Perform a Binary Operation................................................28<br />
Mnemonic Operators...........................................................................................28<br />
Scaling mnemonic operators ...........................................................................29<br />
Compiler Extensions............................................................................................29<br />
Compiler Symbols ...............................................................................................30<br />
Predefined compiler symbols...........................................................................31<br />
Special Compiler Functions.................................................................................31<br />
Compiler directives ..............................................................................................32<br />
Spline function compilation directives .................................................................36<br />
Conditional compilation directives .......................................................................37<br />
Multiline Macro ....................................................................................................37<br />
Macro Definition ...............................................................................................38<br />
Macro Arg Specifiers........................................................................................38<br />
Macro Call (Expansion) .......................................................................................39<br />
PL2 Mnemonics ...............................................................................41<br />
General................................................................................................................41<br />
Standard set Mnemonics.....................................................................................41<br />
Trace Related Mnemonics...................................................................................45<br />
LAN1/ LAN1 Related Mnemonics........................................................................45<br />
Anybus-S Related Mnemonics ............................................................................46<br />
Indexed Addressing Mnemonics .........................................................................47<br />
Text mode............................................................................................................49<br />
Text output .......................................................................................................49<br />
Text input .........................................................................................................51<br />
Extended register groups.................................................................53<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001 3