Rockwell-automation 8520-GUM 9/Series CNC Grinder Operation and Progra Manual de usuario Pagina 705

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 820
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 704
Paramacros
Chapter 20
20-61
The output from Example 20.23 would be:
COMMENT HERE X0.409 Y1638.400 Z12.
If the output went to a punched paper tape, it would be formatted in ISO
code.
DPRNT
This command initiates the outputting of a variable number of parameter
values in decimal format. An end of block character is output at the
completion of outputting all of the specified values. This command is not
executed if t he POPEN command has not been issued.
The format for the DPRNT block is:
DPRNT [ s #p[id]...];
Where: Is :
s
anyalpha-numeric stringofcharacters, including all letters,+, -,*, and /symbols.
Notethatthe* is outputas a space character. This stringi s optional and does
notneed to be programmedin the block.
#p
anyvalidparameternumber. Notethattheparameternumbermusthave the#
signbeforeit.
i
thenumber ofdigitsbeforethedecimal pointto be output.
d
thenumber ofdigitsafterthe decimalpoint tobeoutput.
Important: The sum of i + d cannot exceed 8.
There can be as many s and #p in a block as you want provided that the
length of the block does not exceed the maximum block size.
Example 20.24
Sample of a DPRNT block
DPRNT[INSTALL*WHEEL*#123[53]*PRESS*CYCLE*STOP**#234[20]];
Example 20.24 would yield an output equal to the character strings with
the * symbols being converted to spaces and the parameter values for
parameters #123 and #234. The value of the parameter is output as a string
of decimal digits. A decimal point is not output if there are no decimal
digits. The most significant digit is output first.
The output can be either ASCII/ISO or EIA format as determined in AMP
by your system installer. Leading zero suppression, and/or a leading plus
sign can also be set by AMP parameters.
Vista de pagina 704
1 2 ... 700 701 702 703 704 705 706 707 708 709 710 ... 819 820

Comentarios a estos manuales

Sin comentarios