Panasonic FP-E Programming Manual page 389

Fp series
Table of Contents

Advertisement

F58
(DB−1)
P58
(PDB−1)
Outline
Subtracts 1 from BCD data that expresses an 8-digit decimal number
(8-digit BCD H code).
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P58 (PDB−1)" is not available.
Program example
Trigger
R0
10
F58 DB−1 , DT 0
D
Operands
Relay
Operand
Operand
WX WY WR
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.
Explanation of example
Subtracts 1 from the contents (8−digit BCD data) of data registers DT1 and DT0 when trigger R0 turns on.
Higher 16 bits
Lower 16 bits
Contents of
Contents of
DT1
DT0
−1
Store to DT1
Store to DT0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8-digit BCD data decrement
[(D+1, D) − 1 → (D+1, D)]
Ladder Diagram
Ladder Diagram
D
Lower 16-bit area for 8-digit BCD data to be decreased by 1
Timer/Counter
WL
SV
EV
DT
(*1)
A
A
A
A
The specified data area and the
following data area are handled
together as 32−bit data.
Index
Register
register
LD
FL
IX
IY
(*1)
(*2)
(*3)
(*4)
A
A
A
A
N/A
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F 58
(DB−1)
DT
Constant
Index
Index
modifier
K
H
N/A
N/A
A
A:
Available
N/A: Not Available
3 − 125
0
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents