
Simatic/TI 505 Ethernet Driver Help
enough addresses are found to fill the output buffer. The search will cycle through all address types (C then X/Y
for discretes, WX/WY for words) for the command given.
If the search responds with the maximum number of addresses, then another request, beginning with the
address following the last forced address returned, must be issued to continue the search. This must be
repeated until the original starting address is reached to produce the complete list if a large number of addresses
are forced.
Find Forced Search Notes
1. X/Y points reside in the same memory space (i.e. X1=Y1, X2=Y2, etc). The PLC will preferentially express
X/Y points using Y addresses unless the search is explicitly started using an X address. Using FFX versus
FFY lets users choose whether to have the results returned using an "X:address" format or a "Y:address"
format.
2. WX/WY words reside in the same memory space (i.e. WX1=WY1, WX2=WY2, etc). The PLC will
preferentially express WX/WY words using WY addresses unless the search is explicitly started using a
WX address. Using FFWX versus FFWY lets users choose whether to have the results returned using an
"WX:address" format or a "WY:address" format.
Examples
1. Write a value of 600 to a tag named 'ffstart', with an address of FFSTART.
2. Read a tag named 'ffc', with an address of FFC. Value returned in data type of string:
"<Start Address 00600>C:00600,C:00601,Y:00001,Y:01024,C:00001,C:00002"
This example illustrates the algorithm by which the Find Forced search is performed. The search was started at
address C:00600 and it found two discretes forced at addresses C:00600,C:00601. It then proceeded to search
X/Y discretes where it found Y:00001,Y:01024 forced. Next, it looped back around to the start of C discretes and
found C:00001,C:00002 forced. Finally, it ended its search at C:00599 without finding any further forced
discretes.
Output Formats
1. None (No Forced addresses found).
2. <Start Address SSSSS>Type1:Address1... up to ... Type15:Address15
where
SSSSS: value of FFSTART
Type: one of: C, X, Y, WX, WY
Address: fixed at five characters (00001 -> 65536)
Notes:
1. A minimum of 1 address is returned.
2. A maximum of 15 addresses are returned if each returned address uses a one word format.
3. If an address consumes two words (due to the address not being within the first page), then the
maximum output will be reduced by one for each two-word address. Users can determine if an address
will consume one word or two by using the following:
C - Addresses
1 through 512 = one word
Addresses 513 through 65536 = two words
X,Y,WX,WY - Addresses
1 through 1024 = one word
Addresses 1025 through 65536 = two words
4. A maximum of seven addresses are returned if each returned address consumes two words.
5. The final output is independent of the address being returned in a one word or two word format.
6. The maximum string length is internally set to 256.
www. kepware.com
30
Comentarios a estos manuales