Table of Contents - TG Drives

Table of Contents - TG Drives Table of Contents - TG Drives

28.11.2012 Views

Software System GENERAL This section is intended to introduce the user to the fundamentals of the DMC 2 programming and software system. It contains the following parts: • Definitions Important terms are explained. • System architecture Overview of the DMC 2 software system. • Timing and execution flow Timing and flow aspects important to the programmer. • Event triggered programming The recommended programming technique for the DMC 2 . • Function block diagram Functionality blocks are described. • Load New Firmware Download new Firmware to DMC 2 . NEW FEATURES DMC 2 5.0 • Increased number of program lines , 8191. • Increased number of user registers , 4096. • Fieldbus support using Anybus-S modules from HMS. • Endat interface for absolute encoders. • Incremental encoder interface. • Counter function for external event counting. • Inverted conditional operators such as IfNot,IFAbsNot,added. • Indexed subroutine call added. • More connection possibilities for debug use. • Software definition of rotational direction. • Multiple commutation sources. REMARKS • The PL execution speed is much higher in a DMC2 (10 – 15 lines / servocycle), than in a DMC1, thus it is essential that PL2 program use explicit lines to wait for hardware, this may not have been a problem in the DMC1 because execution speed was between 4 and 1 PL lines/servo-cycle. • DMC1 and new DMC 2 can only be synchronized with respect to I/O. The resolver can not be interchanged between DMC1 and new DMC 2 , because the resolver system operates differently. DEFINITIONS PL2 The proprietary programming language for creating DMC 2 application programs. Consists of PL2 statements. The language is register-based and line oriented. Most functions are accessed by manipulation of register values. Resides in FLASHPROM Firmware The system software of the DMC 2 , performing hardware manipulation, interpretation of the PL2 code and execution of predefined functions. Function block Firmware functions that perform a certain predefined user function, e.g. creating a movement profile, based on preset User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001 11

S<strong>of</strong>tware System<br />

GENERAL<br />

This section is intended to introduce the user to the fundamentals <strong>of</strong> the DMC 2<br />

programming and s<strong>of</strong>tware system. It contains the following parts:<br />

• Definitions Important terms are explained.<br />

• System architecture Overview <strong>of</strong> the DMC 2 s<strong>of</strong>tware system.<br />

• Timing and execution flow Timing and flow aspects important to the<br />

programmer.<br />

• Event triggered programming The recommended programming technique for<br />

the DMC 2 .<br />

• Function block diagram Functionality blocks are described.<br />

• Load New Firmware Download new Firmware to DMC 2 .<br />

NEW FEATURES DMC 2 5.0<br />

• Increased number <strong>of</strong> program lines , 8191.<br />

• Increased number <strong>of</strong> user registers , 4096.<br />

• Fieldbus support using Anybus-S modules from HMS.<br />

• Endat interface for absolute encoders.<br />

• Incremental encoder interface.<br />

• Counter function for external event counting.<br />

• Inverted conditional operators such as IfNot,IFAbsNot,added.<br />

• Indexed subroutine call added.<br />

• More connection possibilities for debug use.<br />

• S<strong>of</strong>tware definition <strong>of</strong> rotational direction.<br />

• Multiple commutation sources.<br />

REMARKS<br />

• The PL execution speed is much higher in a DMC2 (10 – 15 lines / servocycle),<br />

than in a DMC1, thus it is essential that PL2 program use explicit lines to wait<br />

for hardware, this may not have been a problem in the DMC1 because<br />

execution speed was between 4 and 1 PL lines/servo-cycle.<br />

• DMC1 and new DMC 2 can only be synchronized with respect to I/O. The<br />

resolver can not be interchanged between DMC1 and new DMC 2 , because the<br />

resolver system operates differently.<br />

DEFINITIONS<br />

PL2 The proprietary programming language for creating DMC 2<br />

application programs. Consists <strong>of</strong> PL2 statements. The language<br />

is register-based and line oriented. Most functions are accessed<br />

by manipulation <strong>of</strong> register values. Resides in FLASHPROM<br />

Firmware The system s<strong>of</strong>tware <strong>of</strong> the DMC 2 , performing hardware<br />

manipulation, interpretation <strong>of</strong> the PL2 code and execution <strong>of</strong><br />

predefined functions.<br />

Function block Firmware functions that perform a certain predefined user<br />

function, e.g. creating a movement pr<strong>of</strong>ile, based on preset<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!