Ge GEFanuc Automation Programmable Control Products T Manuel d'utilisateur Page 123

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 268
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 122
4
4-35
GFK-1004B
Chapter 4 Programming Communications Requests
The ladder program segment below illustrates how to incorporate these important
points in your program.
Note
The input values for the Block Move Functions in this example are taken
from the Establish Read Channel Command example in Section 3 of this
chapter.
Nicknames have used in this example to make the ladder program
easier to follow. LANIFOK is bit 16 of the LAN Interface Status bits. All
other nicknames can be assigned as you desire.
| << RUNG 1 >>
|
|LANIFOK HEALTHY
+——] [—————————————————————————————————————————————————————————————————————( )——
|
| << RUNG 2 >>
|
|BEGREAD READREQ
+——] [—————————————————————————————————————————————————————————————————————()——
|
| << RUNG 3 >>
|
|HEALTHY READREQ +—————+ CMRQFLT
+——] [—————] [———+MOVE_+———————————————————————————————————————————————————(R)——
| |WORD |
| | |
| CONST —+IN Q+—%R00010
| +0000 | LEN |
| |00001|
| | |
| +—————+
| << RUNG 4 >>
|HEALTHY READREQ +—————+ +—————+ +—————+
+——] [—————] [———+BLKMV+—————————————————+BLKMV+—————————————————+BLKMV+
| | INT | | INT | | WORD|
| | | | | | |
| CONST —+IN1 Q+—%R00301 CONST —+IN1 Q+—%R00308 CONST —+IN1 Q+—%R00315
| +00017 | | +00005 | | +00008 | |
| | | | | | |
| CONST —+IN2 | CONST —+IN2 | CONST —+IN2 |
| +00000 | | +00010 | | +00050 | |
| | | | | | |
| CONST —+IN3 | CONST —+IN3 | CONST —+IN3 |
| +00008 | | +00003 | | +00008 | |
| | | | | | |
| CONST —+IN4 | CONST —+IN4 | CONST —+IN4 |
| +00009 | | +00004 | | +00001 | |
| | | | | | |
| CONST —+IN5 | CONST —+IN5 | CONST —+IN5 |
| +00000 | | +00050 | | +00004 | |
| | | | | | |
| CONST —+IN6 | CONST —+IN6 | CONST —+IN6 |
| +00000 | | +00008 | | +00003 | |
| | | | | | |
| CONST —+IN7 | CONST —+IN7 | CONST —+IN7 |
| +02003 +—————+ +00100 +—————+ +00000 +—————+
|
|
Vue de la page 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 267 268

Commentaires sur ces manuels

Pas de commentaire