Panasonic FP-E Programming Manual page 877

Fp series
Table of Contents

Advertisement

FPΣ/FP−X/FP0R
5
F252
(ACHK)
Outline
Checks whether the specified ASCII data is correct or not.
Program example
R0
0
F252 ACHK,
R0
R900B
11
1
F251 ATOB,
S1
S2
N
Operands
Relay
Operand
Operand
WX WY WR WL
S1
A
A
S2
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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
ASCII data check
Ladder Diagram
Ladder Diagram
M
D−16 , DT 10, DT20
S1
S2
M
D−16, DT 10, DT20, DT100
Control string data or 16−bit are for storing control strings
Starting 16−bit area for storing ASCII code
16−bit equivalent constant or
16−bit area for storing conversion method
Timer/Counter Register
SV
EV
DT
A
A
A
A
A
A
A
A
A
A
A
A
N
1
Index
register
SWR SDT
SWR SDT
In
LD
(*1)
A
A
A
A
A
A
A
A
A
A
A
A
High−level Instructions
Availability
FP−X (V2.00 or more)
FPΣ 32k/FP0R
Boolean
Address
Instruction
0
ST
R
1
F252(ACHK)
M
DT
DT
11
ST
R
12
AN
R 900B
14
F251(ATOB)
M
DT
DT
DT
Constant
Index
Index
M
M
modifier
K
H
A
N/A
N/A
A
A
N/A
N/A N/A
A
A
A
N/A
A:
Available
N/A: Not Available
3 − 613
0
D−16
10
20
0
D−16
10
20
100
A
A
A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents