Rockwell-automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command Manual de usuario Pagina 123

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 251
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 122
7–36 Communication Commands
Publication
17706.5.16 - October 1996
The type/data parameter is a variable length field. The most
significant bit of each nibble determines additional bytes used. The
value of this field can be extended to a 7-byte unsigned integer. The
bytes are ordered least to most significant. All zero most-significant
bytes are permitted, but the fields generated by them are no different
than those that omit these insignificant bytes. The following three
descriptors are all permitted and equivalent:
Important: Your software must be able to handle all three cases.
Case 1 Case 2 Case 3
0100 0011
0100 1001
0100 1010
0100 0011 0100 1001 0100 1010
0100 0011
0000 0011
0000 0011
0100 0011 0000 0011
0000 0000
These all have an ID value of 4 and a size value of 3.
Example
1: T
ype/data parameter for writing or reading integer data
This example shows the type/data parameter for writing or reading integer (ID = 4)
data, with each element of data 2 bytes long.
01
type ID
data size contained
flag byte
01000 0
data size
type ID contained
in bits 6, 5, 4 in bits 2, 1, 0
PLC5 Type/Data
Parameter Examples
Vista de pagina 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 250 251

Comentarios a estos manuales

Sin comentarios