Rockwell-automation 1771-DB BASIC MODULE Manual de usuario Pagina 248

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 394
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 247
Chapter
Call Routines 0–68
12
12 -58
Undefined. If you execute an undefined call, you receive the error
message, “ERROR–UNSUPPORTED
CALL
.”
Use CALL 52 to retrieve the current date in a string (dd/mm/yy).
Input and Output Arguments
This routine has one input argument and no output arguments. The input
argument is the number of the string to receive the date. You must use the
STRING statement (see page 11 -37) to allocate a minimum of 9 characters
for the string.
Syntax
PUSH number of string to receive the date
CALL
52
Example
>
10 STRING 100,9
>
20 PUSH 1: CALL 52: REM PUT DATE IN STRING 1
>
30 PRINT $(1)
>
40 END
>
RUN
30–JAN–94
Undefined. If you execute an undefined call, you receive the error
message, “ERROR–UNSUPPORTED
CALL
.”
CALL
51
CALL 52: Retrieve Date
String
CALL 53 – 59
Vista de pagina 247
1 2 ... 243 244 245 246 247 248 249 250 251 252 253 ... 393 394

Comentarios a estos manuales

Sin comentarios