Rockwell-automation 20-COMM-I Interbus Adapter Manual de usuario Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 118
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
5-8 Using I/O Messaging
Figure 5.3 Example SLC Ladder Logic - Main Program
SLC Ladder Logic Example - Main Program
Execute LAD 3 - Station 1.0 Drive Logic (Logic Command / Status, Reference / Feedback and Datalinks).
Execute LAD 4 - Station 2.0 Drive Logic (Logic Command / Status, Reference / Feedback and Datalinks).
Can Read OR Write at any one time. B3:47/0 will be turned off by the subroutine when the reading is complete and signals that
Can only Write OR Read at any one time. B3:47/10 will be turned off by the subroutine when the writing is complete and
The following rung performs power-up initialization of the PCP Read and PCP Write routines.
0000
S:1
15
First Pass
U
B3:47
0
Execute
PCP Read
Subroutine
U
B3:47
1
PCP Read
Routine
1-shot
U
B3:47
2
PCP Read
Reply Msg
1-Shot
U
B3:47
10
Execute
PCP Write
Subroutine
U
B3:47
11
PCP Write
Routine
1-shot
U
B3:47
12
PCP Write
Reply Msg
1-Shot
0001
JSR
Jump To Subroutine
SBR File Number U:3
JSR
0002
JSR
Jump To Subroutine
SBR File Number U:4
JSR
Execute LAD 5 - PCP Read Subroutine (Explicit Messaging)
another read (or write) cycle can take place.
0003
B3:47
0
Execute
PCP Read
Subroutine
B3:47
10
Execute
PCP Write
Subroutine
JSR
Jump To Subroutine
SBR File Number U:5
JSR
Execute LAD 6 - PCP Write Subroutine (Explicit Messaging)
signals that another write (or read) cycle can take place.
0004
B3:47
0
Execute
PCP Read
Subroutine
B3:47
10
Execute
PCP Write
Subroutine
JSR
Jump To Subroutine
SBR File Number U:6
JSR
0005
END
20COMM-UM007A-EN-P.book Page 8 Tuesday, January 22, 2002 10:52 AM
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 117 118

Comentarios a estos manuales

Sin comentarios