Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Kotva
symbolic_name
symbolic_name
Symbolic name - a symbolic name. It can be simple (Test) or contain the address of a specific item of a one-dimensional array (Test [3]), multidimensional (Test [1] [2]), item of a structure (Test.MyItem1), or item of an array of structures (Test[2].MyItem1).
If the PCCC Max Data Length parameter is set to a non-zero value, the symbolic address of the I/O tag starts to be interpreted as an address in SLC-500 format - see Allen-Bradley CSP/PCCC protocol (e.g. N:3 or $T4:0/ACC). Other settings (Fragmented read) are unused. Item count setting and reading items into the structure are supported (except for Input and Output file types). Writing values is not supportedalso supported, and it is not necessary to set the Attribute type (and if it is set, it is ignored).

Kotva
item_count
item_count
Item count - number of elements in the case of an array of values.This number may be less than or equal to the actual size of the array in the device.If it is not specified, one element is read.

...

By clicking the Browse button, a browse dialog can be opened and a list of symbolic names retrieved as long as the communication with the device is established. For each symbolic name, its type is also read. In the case of structures or arrays of structures, the type is identified as "STRUCTURE (---)". D2000 cannot presently use such complex types - it is necessary to specify an address of a particular item as a symbolic name (e.g. MyStruct.MyItem or MyArr [1] .MyItem).
The Auto option is used to set the NONE/AUTO attribute type (autodetect). If this option is off, the attribute type is copied to the I/O tag along with the symbolic name after double-click clicking on a specific line in the list of symbolic names.
The Refresh button is used to repeatedly retrieve the list from the device. The KOM process caches a list of symbolic names, so the second and subsequent opening of the browse dialog is significantly faster than the first one during which the data is being read from the device.
Note: symbolic names beginning with the underscore are related to system objects of the Rockwell device, other names are user-defined.

...

Atribute type - the type of attribute. In the case of standard addressing, it is necessary to enter a specific type. In the case of symbolic addressing, it is possible to leave the type of the attribute as NONE/AUTO (autodetect), since proprietary Rockwell messages contain both the value and the attribute type. An exception is if the I/O tag is write-only - then the attribute type must be specified.

Note:  not not all types of attributes from the offered list have readreading/write writing implemented. All numeric types, time types, strings (SHORT_STRING, STRING, STRING2), and numeric and time array types are supported. International string (STRINGI) type is supported for reading.

...

  • Ver. 1.0 - November 28, 2018 - Creating of the document.
  • Ver. 1.1 - January 2, 2019 - Improved browsing, testing with 1769 CompactLogix 5370 Controller
  • Ver. 1.2 - September 6, 2021 - Support for encapsulated PCCC mode (read-only)
  • Ver. 1.3 - December 21, 2021 - Support for reading items into the structure for PCCC mode
  • Ver. 1.4 - January 4, 2021 - Support for writing in encapsulated PCCC mode 


Info
titleRelated pages:

Communication protocols

...