High
−
level Instructions
3
−
416
Outline
Subtracts specified time data (hours, minutes, and seconds) from date
(years, months, and days) and clock (hours, minutes, and seconds)
data.
For the FP0R/FP
Σ
/FP
−
X, the P type high
−
level instruction “P158
(PCSUB)” is not available.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
10
F158 CSUB, 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
F158
(CSUB)
DT
9054
DT
10
DT
30
S1
Starting 16-bit area for storing date/clock data (3 words are used in form of
BCD).
S2
Starting 16-bit area for storing time data (2 words are used in form of BCD).
D
Starting 16-bit area for storing result (3 words are used in form of BCD).
Operands
Operand
Relay
Timer/Counter
Register
Index
register
Constant
Index
Operand
WX WY WR WL
SV
EV
DT LD
FL
(
*
1)
IX
(
*
2)
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
Σ
and FP
−
X.
(
*
2) With the FP0R, FP
Σ
, FP
−
X, FP2, FP2SH, and FP10SH, this is I0 to IC.
Time substruction
F158
P158
(PCSUB)
(CSUB)
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP-X
Страница 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 110: ...Relays Memory Areas and Constants 1 86 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 111: ...Chapter 2 Basic Instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 112: ...Basic Instructions 2 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 184: ...Basic Instructions 2 74 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 264: ...Basic Instructions 2 154 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 265: ...Chapter 3 High level Instructions Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 266: ...High level Instructions 3 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 288: ...High level Instructions 3 24 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 406: ...High level Instructions 3 142 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 483: ...High level Instructions 3 219 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 537: ...High level Instructions 3 273 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 838: ...High level Instructions 3 574 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 862: ...High level Instructions 3 598 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1052: ...High level Instructions 3 788 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1053: ...Chapter 4 Precautions Concerning Programs Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1054: ...Precautions Concerning Programs 4 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1088: ...Precautions Concerning Programs 4 36 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1089: ...Chapter 5 Appendix Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1332: ...5 244 5 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...