Allen-Bradley ControlLogix Specifikace Strana 77

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 133
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 76
Allen-Bradley ControlLogix Ethernet Driver Help
PLC Model Max. Word
MicroLogix 999
SLC 500 Fixed I/O 96
SLC 500 Modular I/O 999
PLC-5 Series 999
The maximum word location is one less when accessing as a 32-bit data type (such as Long, DWord, or Long
BCD).
Examples
Example Description
S:0 Word 0
S/26 Bit 26
S:4/15 Bit 15 word 4
S:10 [16] 16 element array starting at word 10
S:0 [4] [8] 4 by 8 element array starting at word 0
Binary Files
To access binary files, specify a file number, a word and optional bit in the word. The default data types are
shown in bold.
Syntax Data Type Access
B<file>:<word> Short, Word, BCD, DWord, Long, LBCD Read/Write
B<file>:<word> [rows][cols] Short, Word, BCD, DWord, Long, LBCD (array type) Read/Write
B<file>:<word> [cols] Short, Word, BCD, DWord, Long, LBCD (array type) Read/Write
B<file>:<word>/<bit> Boolean Read/Write
B<file>/bit Boolean Read/Write
The number of array elements (in bytes) cannot exceed the block request size specified. This means that array
size cannot exceed 16 words given a block request size of 32 bytes.
Ranges
PLC Model File Number Max. Word
MicroLogix 3, 9-999 999
SLC 500 Fixed I/O 3, 9-255 255
SLC 500 Modular I/O 3, 9-999 999
PLC-5 Series 3-999 1999
The maximum word location is one less when accessing as a 32-bit data type (such as Long, DWord, or Long
BCD).
Examples
Example Description
B3:0 Word 0
B3/26 Bit 26
B12:4/15 Bit 15 word 4
B3:10 [20] 20 element array starting at word 10
B15:0 [6] [6] 6 by 6 element array starting at word 0
Timer Files
Timer files are a structured type whose data is accessed by specifying a file number, an element and a field. The
default data types are shown in bold.
Syntax Data Type Access
T<file>:<element>.<field> Depends on field Depends on field
The following fields are allowed for each element. For the meaning of each field, refer to the PLC's documentation.
www. kepware.com
77
Zobrazit stránku 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 132 133

Komentáře k této Příručce

Žádné komentáře