Panasonic FP-E Programming Manual page 860

Fp series
Table of Contents

Advertisement

High−level Instructions
F238
(DGBIN)
P238
(PDGBIN)
Outline
Converts gray code to 32-bit data.
For the FP0R/FPΣ/FP−X, the P type high−level instruction "P238
(PDGBIN)" is not available.
Program example
Trigger
R0
F238 DGBIN, DT10, DT20
0
S
D
Operands
Relay
Operand
Operand
WX WY WR WL
S
A
A
D
N/A
A
Description
Converts gray code to 32-bit data when the trigger turns on. The converted result is stored in the 32-bit area
specified by D+1 and D.
For detailed information about the gray code
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
3 − 596
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
32-bit Gray code → 32-bit binary data
Ladder Diagram
Ladder Diagram
S
Lower 16-bit area of 32-bit data for gray code (source)
Lower 16-bit area of 32-bit data for storing converted data (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.
D
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
page 3 − 597
Boolean
Address
Instruction
0
ST
R
1
F238
DT
DT
Constant
Index
modifier
modifier device
K
H
f
A
A
N/A
A
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(DGBIN)
10
20
Integer
device
N/A
N/A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents