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

  • 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 193
Chapter
Call Routines 0–68
12
12 -4
Use this routine to set the number of words (1-64) to transfer from the PLC
processor to the BASIC module. The ladder logic program block-transfer
length must match the set value.
Important: Only use CALL 4 in your program once to set the
block-transfer-write block length.
Input and Output Arguments
This routine has one input argument and no output arguments. The input
argument is the number of words to BTW. If you do not use CALL 4 in
your program, the default block-transfer length is 5 words. This must
match the length of the PLC BTW instruction in the PLC ladder logic.
Syntax
PUSH number of words to BTW
CALL
4
Example
>
10 PUSH 10
>
20 CALL 4
Use this routine to set the number of words (1-64) to transfer from the
BASIC module to the PLC processor. The ladder logic program
block-transfer length must match the set value.
Important: Only use CALL 5 in your program once to set the
block-transfer-read block length.
Input and Output Arguments
This routine has one input argument and no output arguments. The input
argument is the number of words to BTR. If you do not use CALL 5 in
your program, the default block-transfer length is 5 words. This must
match the length of the PLC BTR instruction in the PLC ladder logic.
Syntax
PUSH
number of words to BTR
CALL
5
Example
>
10 PUSH 10
>
20 CALL 5
CALL 4: Set Block-
Transfer-Write Length
CALL 5: Set Block-
Transfer-Read Length
Vista de pagina 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 393 394

Comentarios a estos manuales

Sin comentarios