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

  • 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 74
Using Explicit Messaging (PCP Communications) 6-13
Writing Pr. 6 [Comm Flt Action] to a 20-COMM-I
In the example ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP Write:
Message
Command word = 8 = PCP Write (bit 3 ON)
N23:10
Command
8
8
SLC Address
Description
Value (Hex)
N23:20
N23:13
N23:12
N23:11
N23:21
Reply
2
0
0
8
-32,760
CR# = 2 (Station 1.0)
Sub Index not used
Number of words following = 2
CR# = 2 (Station 1.0)
2FBB
2
0
8
8008
N23:16
0
Value (Dec)
Result = 0 (success)
N23:23
0
2
2
0
2
2
N23:22
N23:24
"8000" (bit 15 ON) indicates Reply message present
Status word:
"0008" (bit 3 ON) echo's the command (PCP Write)
2FB6h is the start of the 20-COMM-I parameters (Pr.1)
Index = 2FB5h+6h = Parameter 6 [Comm Flt Action
6 hex = 6 dec = Parameter 6 [Comm Flt Action]
Echo of the Command Word (PCP Write)
N23:14
N23:15
1
512
200
1
Data word 2 not used
Data Word 1 (upper byte) = 2 (Zero Data)
1 byte of data following
12219
Message
CR# = 2 (Station 1.0)
N23:0
Request
2
2
SLC Address
Description
Value (Hex)
N23:1
1
1= 20-COMM-I
1
Value (Dec)
N23:2
6
6
Parameter # = 6
N23:3
N23:4
N23:5
1
2
0
1
2
0
1 byte data write
Data Word 1 = 2 (Zero Data)
Data Word 2 not used
20COMM-UM007A-EN-P.book Page 13 Tuesday, January 22, 2002 10:52 AM
Vista de pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 117 118

Comentarios a estos manuales

Sin comentarios