Panasonic FP-E Programming Manual page 470

Fp series
Table of Contents

Advertisement

High−level Instructions
F91
(SEGT)
P91
(PSEGT)
Outline
Converts 16-bit data to 4-digit data for 7-segment indication.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P91 (PSEGT)" is not available.
Program example
Trigger
R20
10
F91 SEGT , DT 0 , DT10
S
D
Operands
Relay
Operand
Operand
WX WY WR
S
A
A
D
N/A
A
(*1) This cannot be used with the FP0 and FP−e.
(*2) This cannot be used with the FP0, FP−e, FP0R, FPΣ, FP−X.
(*3) With the FP0R, FPΣ, FP−X, FP2, FP2SH, and FP10SH, this is I0 to IC.
(*4) With the FP0R, FPΣ, FP−X, FP2, FP2SH, and FP10SH, this is ID.
Explanation of example
Converts the contents of data register DT0 to 4-digit data for 7-segment indication when trigger R20 turns on.
The converted data is stored in word internal relays DT11 and DT10.
For example, to display "ABCD", the following would be entered.
Destination
Bit position
15
1211
· ·
·
DT11
0 1 1 1 0 1 1 1 0 1 1 1 1 1 0 0
7-segment
A
indication
3 − 206
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
7-segment decode
Ladder Diagram
Ladder Diagram
S
D
16-bit equivalent constant or 16-bit area to be converted to the 7-segment
indication (source)
Starting 16-bit area for storing 4-digit data for 7-segment indication (destination)
Timer/Counter
WL
SV
EV
DT
(*1)
A
A
A
A
A
A
A
A
Source
Bit position
Hexadecimal
Bit position
8 7
4 3
0
·
· ·
· ·
7-segment
B
indication
Index
Register
register
LD
FL
IX
IY
(*1)
(*2)
(*3)
(*4)
A
A
A
A
A
A
A
A
A
N/A
15
12
11
8
· · ·
·
·
DT0
1 0 1
0
1 0 1
1
A
B
15
1211
8 7
· ·
·
·
DT10
0 0 1 1 1 0 0 1 0 1 0 1 1 1 1 0
C
Boolean
Address
Instruction
10
ST
R
11
F 91
(SEGT)
DT
DT
Constant
Index
Index
modifier
K
H
A
A
A
N/A
N/A
A
A:
Available
N/A: Not Available
7
4
3
0
· ·
· ·
1 1 0
0
1 1 0
1
C
D
4 3
0
· ·
· ·
D
20
0
10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents