EasyManua.ls Logo

Panasonic FP-E - Page 877

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 − 613
Outline Checks whether the specified ASCII data is correct or not.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S1 S2 N
F252 ACHK, D−16 , DT 10, DT20
R0
M
R0
1
R900B
F251 ATOB, D−16, DT 10, DT20, DT100
11
M
0
1
0
1
11
12
14
ST R 0
F252(ACHK)
MD−16
DT 10
DT 20
ST R 0
AN R 900B
F251(ATOB)
MD−16
DT 10
DT 20
DT 100
S1 Control string data or 16−bit are for storing control strings
S2 Starting 16−bit area for storing ASCII code
N 16−bit equivalent constant or
16−bit area for storing conversion method
Operands
Operand
Relay Timer/Counter Register
Index
register
SWR
SDT
Constant
M
Inde
x
Operand
WX WY WR WL SV EV DT LD
In
(*1)
SWR SDT
K H
M
Index
modifier
S1 A A A A A A A A A A A N/A N/A A A
S2 A A A A A A A A A A A N/A N/A N/A A
N A A A A A A A A A A A A A N/A A
(*1) I0 to ID
Operation
Checks whether the ASCII codes stored in the area specified by S2 can be converted correctly or not
using the conversion method of N according to 4 control characters specified by S1.
Checks whether the character strings can be converted by F251 (ATOB) instruction.
Checks data before converting the data by F251 (ATOB) instruction.
If an error is found in the data, controls not to execute F251 (ATOB) instruction.
Specify the same values for S1, S2 and N as F251 (ATOB) instruction.
If the results are correct, the special internal relay (R900B) turns on.
If the results are incorrect, the special internal relay (R900B) turns off.
Specifying the various items
The way to specify S1, S2 and N is the same as F251 (ATOB) instruction. Refer to the explanation described
in F251 (ATOB) ASCII Binary conversion.
FPΣ/FP−X/FP0R
ASCII data check
5
F252
(ACHK)
Availability
FP−X (V2.00 or more)
FPΣ 32k/FP0R
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com