EasyManua.ls Logo

Panasonic FP-E - Page 894

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 630
Explanation of example
Three characters are retrieved from the position byte 1 (second character) of the character string of DT0, and
are sent to DT20.
8
DT0
DT1
DT2
DT3
10
DT4
DT5
DT6
DT20
DT21
DT22
DT23
DT24
DT25
DT26
3
10
“C”
“B”
“D”
“B”
“A”
“D”
“C”
“E”
“1”
“2”
“3”
Higher
16 bits
Lower
16 bits
Higher
16 bits
Lower
16 bits
Area where operation results are stored
Designate with the user program
Description
The number of characters specified by “S3” is retrieved starting from the position specified by “S2” in the
character string specified by “S1”, and is sent to the character string specified by “D”.
At the starting address of the area for storing results “D”, designate the character string size using the user
program.
Precautions during programming
The character data from “D” prior to the operation is cleared.
If the number of characters specified by “S3” is larger than the number of characters in the character string
specified by “S1” from the position specified by “S2”, the number of characters of the character string
specified by “S1” is sent.
If the number of characters of the operation result is larger than the size of the character string of “D”, data
equal to the size of the character string specified by “D” is sent.
The position specified by “S2” 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 “S1” is larger than the number of characters of
“S2”
・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: info@clrwtr.com