Denso RC5 Especificações Página 184

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 183
8-2
8.2 Program Name and Declaration
Declare the items required for program execution such as the program name
and variables prior to execution.
Especially if a program name is declared, it must be declared on the first valid
line of the program. This statement is called a PROGRAM declaration
statement.
The PROGRAM declaration statement can be ignored. If ignored the program
file name is used as the program name. For example, if the program file name
is PRO1.PAC, and another name is not designated with a PROGRAM
declaration statement, the program name is set to PRO1.
If a PROGRAM declaration statement is ignored, an argument cannot be
passed when a program is called. Moreover, it becomes hard to understand a
program when edited. Do not ignore a PROGRAM declaration statement
unless there is a special reason.
For calling a program, refer to “2.1 Calling a Program and Subroutine.”
Note (1): Programs that can be run by teach pendant operation are
limited to ones without any arguments. And programs that
can be called with an external device are limited to ones
with a program name using the format “PRO <number>”.
Programs that cannot be run with the teach pendant or an
external device can be called from other programs.
Note (2): When a program with a program name that uses the format
“PRO<number>” is called, an argument cannot be passed.
Note (3): If “PRO” is set for the first 3 letters of a program name, be
sure to add a number.
Since <Number> is interpreted as numerals, it may be
handled as PRO1 it may be handled as PRO1 even if it is
described as PRO01 or PRO001.
Vista de página 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 691 692

Comentários a estes Manuais

Sem comentários