
High
−
level Instructions
3
−
632
Explanation of example
Three characters are retrieved from the character string of DT0, and are sent to the position byte 1 (second
character) of the character string block of DT20.
8
DT0
DT1
DT2
DT3
10
“B”
“A”
“D”
“C”
“E”
DT4
DT5
DT6
“F”
“G”
“H”
Higher
16 bits
Lower
16 bits
8
DT20
DT21
DT22
DT23
10
“2”
“1”
(Byte 1)
DT24
DT25
DT26
Higher
16 bits
Lower
16 bits
(Byte 2)
(Byte 0)
(Byte 3)
(Byte 4)
(Byte 5)
(Byte 6)
(Byte 7)
(Byte 8)
(Byte 9)
3
DT20
DT21
DT22
DT23
10
“A”
“1”
“C”
“B”
(Byte 1)
DT24
DT25
DT26
Higher
16 bits
Lower
16 bits
(Byte 2)
(Byte 0)
(Byte 3)
(Byte 4)
(Byte 5)
(Byte 6)
(Byte 7)
(Byte 8)
(Byte 9)
“6”
“8”
“5”
“7”
“5”
“6”
“4”
“3”
“7”
“8”
Area where operation results are stored
Designate with the user program
Description
The number of characters specified by “S2” is retrieved from the character string specified by “S1”, and is sent
to the “n” position of the character string specified by “D”.
Precautions during programming
The character data from “D” prior to the operation is not cleared (it is overwritten).
If the number of characters specified by “S2” is larger than the number of characters in the character string
specified by “S1”, the number of characters of the character string specified by “S1” is sent.
If the position of “n” is larger than the number of characters of the character string of “D”, an operation error
occurs.
If the number of characters in the operation result is larger than the size of the character string in “D”, then
replacement is done only within a range the size of the character string in “D”.
The position specified by “n” sets the least significant byte as K0 (byte 0), and the positions are counted in the
order of 0, 1, 2, etc., starting from the least significant byte.
Flag conditions
・
Error flag (R9007): Turns on and stays on when:
・
Error flag (R9008): Turns on for an instant when:
−
The specified range is exceeded when an index is modified.
−
The number of characters is larger than the character string size
−
The number of characters of “D” is larger than the number of characters of “n”
・
Carry flag (R9009): Turns on for an instant when the result of the operation is larger than the size
of the character string specified by “D”
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP-E
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 110: ...Relays Memory Areas and Constants 1 86 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 111: ...Chapter 2 Basic Instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 112: ...Basic Instructions 2 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 184: ...Basic Instructions 2 74 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 264: ...Basic Instructions 2 154 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 265: ...Chapter 3 High level Instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 266: ...High level Instructions 3 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 288: ...High level Instructions 3 24 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 406: ...High level Instructions 3 142 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 483: ...High level Instructions 3 219 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 537: ...High level Instructions 3 273 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 838: ...High level Instructions 3 574 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 862: ...High level Instructions 3 598 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1052: ...High level Instructions 3 788 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1053: ...Chapter 4 Precautions Concerning Programs Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1054: ...Precautions Concerning Programs 4 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1088: ...Precautions Concerning Programs 4 36 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1089: ...Chapter 5 Appendix Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1332: ...5 244 5 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...