Rockwell-automation 1203 Serial Communications Module Series A Manual de usuario Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
Chapter 5
Configuration and Interfacing
5-11
530 PUSH 2 : REM Data Source (2 = Internal String)
540 PUSH 0 : REM Offset in M0 file (Not used in this example)
550 PUSH 1 : REM Internal String Number
560 CALL 123
570 POP S
580 IF (S<>0) THEN PRINT ”Unsuccessful PLC2 Unprotected Write”
590 PUSH 123
600 CALL 29
610 REM DF1 PLC REMOTE READ COMMAND
620 PUSH 2 : REM PLC2 Unprotected Read
630 PUSH 1 : REM Communications Module Node Address
640 PUSH 10 : REM File Number (ignored in this example)
650 PUSH ASC(N) : REM Communications Module File Type
660 PUSH 623 : REM Starting Word in File
670 PUSH 10 : REM Number of Words to Transfer
680 PUSH 50 : REM Command Time–out (x100ms)
690 PUSH 2 : REM Data Source (2 = Internal String)
700 PUSH 0 : REM Offset in M0 file (Not used in this example)
710 PUSH 1 : REM Internal String Number
720 CALL 122
730 POP S
740 IF (S<>0) THEN PRINT ”Unsuccessful PLC2 Unprotected Read”
750 PUSH 122
760 CALL 29
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 67 68

Comentarios a estos manuales

Sin comentarios