
Simatic/TI 505 Ethernet Driver Help
DWord, Float
System Status
Bit Access
STW<address>.<bit>
STW<address>:<bit>
STW<address>,<bit>
1-65536
Bit 0/1-15/16
0/1-Based Bit
Addressing
Boolean,
Short, Word
Read/Write
Timer/Counter Preset TCP<address> 1-65536
1-65535
Short, Word
Long,
DWord, Float
Read/Write
Timer/Counter Current TCC<address> 1-65536
1-65535
Short, Word
Long,
DWord, Float
Read/Write
Drum Step Preset DSP<address> 1-65536
1-65535
Short, Word
Long,
DWord, Float
Read/Write
Drum Step Current DSC<address> 1-65536
1-65535
Short, Word
Long,
DWord, Float
Read/Write
Drum Count Preset** DCP<drum>.<step>
DCP<drum>:<step>
DCP<drum>,<step>
drum 1-65536
step 1-16
Short, Word Read/Write
Drum Current Count DCC<address> 1-65536
1-65535
Short, Word
Long,
DWord, Float
Read Only
*X, Y, and C memory types are supported on the 565 model controller by setting the TI565 checkbox in
Communications Parameters.
**DCP registers must be accessed in groups of 16 words. Therefore, when writing to a DCP register, the driver
performs a read to obtain the current values of all 16-word values (DCP00001.01 - DCP00001.16). The driver
modifies the one register that is being written to and sends the 16 values to the device. Since the driver performs
this read/modify/write procedure, it could be possible for any one of the registers to change between the read
and write transaction. The result would be a new value being written over by an older value. It is recommended
that users write to another type of memory location (such as Vxxxxx). If using a ladder, transfer the value to a
DCP register.
***For more information, refer to String Support.
Array Support
Non-Boolean addresses accept array notation. To view data as an array, append '[rows][cols]' to an address
(e.g., V500 [2][2], V100 [12]).
String Support
Standard String
The Simatic/TI 505 Ethernet driver supports reading and writing V registers as an ASCII string. When using V
registers for string data, each register will contain two bytes of ASCII data. The order of the ASCII data within a
given register can be selected when the string is defined. The length of the string can be from 2 to 250 bytes and
is entered in place of a bit number. The length must be entered as an even number. The byte order is specified
by appending either a "H" or "L" to the address.
Null Terminated
This type of string is a Standard String with LoHi byte order that is null terminated at all times. This means the
last byte will always be a null terminator, essentially losing one character place when compared to a Standard
String with LoHi byte order.
Length + String
This type of string is also a Standard String with LoHi byte order except the MSB of the first word contains the
desired length of the string to follow. This means one character place is lost when compared to a Standard String
with LoHi byte order. Based on this length, a string is formed up to the maximum size set by the address range
(ie. (<last word> - <first word>) / 2 - 1 bytes). The maximum length of the string can vary between the length
byte value and (<last word>-<first word>) / 2 - 1 bytes.
Note: Any null terminators in the string can cut the length short of these maximum lengths. If a string to be
written is less than this maximum length, it will be padded on the right with blank-spaces until all maximum
bytes contain a non-NULL value.
Blank-Padded on Right
www. kepware.com
14
Kommentare zu diesen Handbüchern