Rockwell-automation 8520-GUM 9/Series CNC Grinder Operation and Progra Uživatelský manuál Strana 699

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 820
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 698
Paramacros
Chapter 20
20-55
Important: Your system installer can disable the use of AMP-defined G
and M-code macro calls when in MDI mode. See your system installers
documentation to determine if this feature is functional in MDI.
AMP-defined G-code macros can be executed as either modal or
non-modal macros as selected in AMP. If selected as modal, they can be
executed using either G66 modality (see page 20-50 for det ails) or G66.1
modality (see page 20-53 for details). This modality type for
AMP-defined G-codes is also determined by your system installer in AMP.
Optional argument statements following an AMP-defined G-code can
contain any valid parametric expression. For example:
G255A[12*6]B[SIN[#101]];
In a part program , if more than one digit is entered after the decimal point,
the value is truncated. For example:
231.18 is 231.1, and 231.14 is 231.1.
Important: Cert ain AMP-defined G-code Macro calls cannot be called by
other AMP-defined macro calls (see page 20-57 for details).
Use this format when calling an AMP-defined M-code macro:
M255 A_B_
Where: Programs:
M255
an AMP-definedM-codecommand.
A-Z
Optional argumentstatements. Maybe programmedusingany letterfromAto Z
excludingG,L, N, O,orP. Usedtoassign numericvalues toparametersin the
paramacro. Argumentsmaybespecifiedas any valid parametricexpression.
These macros are executed only as non-modal macro.
The term AMP-defined M-code macro comes from the fact that the
M-code that calls a specific macro program is specified in AMP by your
system installer. Your system installer can define M-codes that call
paramacro programs with program names ranging from 9001 to 9009. See
your system installer’s documentation to determine which M-codes call
which paramacro program name.
When one of these AMP-assigned M-codes is specified in a part program,
execution is transferred to the macro associated to that specific M-code.
M-code values for paramacro calls can range from -1 to 999. Your system
installer can define a maximum of 9 AMP-defined M-codes to call specific
paramacro programs.
20.6.5
AMP-Defined M-Code
Macro Call
Zobrazit stránku 698
1 2 ... 694 695 696 697 698 699 700 701 702 703 704 ... 819 820

Komentáře k této Příručce

Žádné komentáře