Panasonic FP-E Programming Manual page 859

Fp series
Table of Contents

Advertisement

F237
(GBIN)
P237
(PGBIN)
Outline
Converts 16-bit gray code to 16-bit binary data.
For the FP0R/FPΣ/FP−X, the P type high−level instruction "P237
(PGBIN)" is not available.
Program example
Trigger
R0
F237 GBIN, DT10, DT20
0
S
D
Operands
Operand
Operand
WX WY WR WL
S
A
D
N/A A
Description
Converts the gray codes in 16-bit are specified by S to 16-bit data when the trigger turns on. The converted
result is stored in the 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 Gray code → 16-bit binary data
Ladder Diagram
Ladder Diagram
S
16-bit area for gray code (source)
16-bit area for storing converted data (destination)
Relay
Timer/Counter
SV
EV
A
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
N/A N/A N/A
page 3 − 597
High−level Instructions
Boolean
Address
Instruction
0
ST
R
1
F237
DT
DT
Constant
Index
Integer
modifier device
modifier
K
H
f
A
A
N/A
A
A
A:
Available
N/A: Not Available
3 − 595
0
(GBIN)
10
20
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