
High
−
level Instructions
3
−
413
Outline
Adds specified time data (hours, minutes, and seconds) to date (years,
months, and days) and clock (hours, minutes, and seconds) data.
For the FP0R/FP
Σ
/FP
−
X, the P type high
−
level instruction “P157
(PCADD)” is not available.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
10
F157 CADD, DT 9054, DT 10, DT 30
S1*
D
Trigger
S2
R0
(* When FP0R/FP
Σ
/FP
−
X/FP2/FP2SH/FP10SH, S1 = DT90054)
10
11
ST
R
0
F157
(CADD)
DT
9054
DT
10
DT
30
S1
Starting 16-bit area for storing date/clock data (3 words are occupied in form of
BCD).
S2
Starting 16-bit area for storing time data (2 words are occupied in form of BCD).
D
Starting 16-bit area for storing result (3 words are occupied in form of BCD).
Operands
Relay
Timer/Counter
Register
Index
register
Constant
Operand
WX WY WR WL
SV
EV
DT LD
FL
(
*
****
)
IX
(
*
****
)
IY
K
H
Index
modifier
S1
A
A
A
A
A
A
A
A
A
N/A
N/A
N/A N/A
A
S2
A
A
A
A
A
A
A
A
A
A
N/A
A
A
A
D
N/A
A
A
A
A
A
A
A
A
N/A
N/A
N/A N/A
A
(
*
1) This cannot be used with the FP0, FP
−
e, FP0R, FP
Σ,
FP
−
X.
(
*
2) With the FP0R, FP
Σ
, FP
−
X, FP2, FP2SH, and FP10SH, this is I0 to IC.
F157
P157
(PCADD)
(CADD)
Time addition
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-E
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...