Panasonic FP-E Programming Manual page 857

Fp series
Table of Contents

Advertisement

F235
(GRY)
P235
(PGRY)
Outline
Converts 16-bit data to gray code.
For the FP0R/FPΣ/FP−X, the P type high−level instruction "P235
(PGRY)" is not available.
Program example
Trigger
R0
0
F235 GRY, DT10, DT20
S
D
Operands
Relay
Operand
Operand
WX WY WR WL
S
A
A
D
N/A
A
Description
Converts the 16-bit data specified by S to gray codes when the trigger turns on. The converted result is stored
in the 16-bit area specified by D.
For detailed information about the gray code
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
16-bit data → Gray code
Ladder Diagram
Ladder Diagram
S
D
16-bit equivalent constant or 16-bit area to be converted (source)
16-bit area for storing gray codes (destination)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
Turns on and stays on when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the area specified using the index modifier
exceeds the limit.
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
page 3 − 597
High−level Instructions
Boolean
Address
Instruction
0
ST
R
1
F235
DT
DT
Constant
Index
modifier device
modifier
K
H
f
A
A
N/A
A
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(GRY)
10
20
Integer
device
N/A
N/A
3 − 593

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents