Panasonic FP-E Programming Manual page 853

Fp series
Table of Contents

Advertisement

FP2/FP2SH/FP−X
F230
(TMSEC)
P230
(PTMSEC)
Outline
The specified time data (a date and time) is changed into the number of
seconds.
With FP2/FP2SH, this function is available from Ver. 1.50 or later.
Program example
Trigger
R0
10
F230 TMSEC, DT 10, DT 20
S
D
Operands
Relay
Operand
Operand
WX WY WR WL
S
A
A
D
N/A
A
Explanation of example
When the internal relay (R0) is on, conversion to the number of seconds from standard time is performed for
the time data of the data registers DT10 to DT12, and the conversion result is stored in DT20 and DT21.
ex.)
(higher)
(lower)
H37
H26
DT10
H03
H12
DT11
H02
H12
DT12
(DEC.3,02 − 12:37:26)
(2002)
ex.)
(higher)
(lower)
DT10
H59
H59
DT11
H31
H23
DT12
H00
H12
(DEC.31,00 − 23:59:59)
(2100)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Time data
second conversion
Ladder Diagram
Ladder Diagram
S
Area in which the input time data stored
Area in which the converted second information stored (32 bits)
Timer/Counter
SV
EV
DT
A
A
A
A
A
A
A
A
H039CDD06
DT20
(Binary value)
DT21
(60,611,846 seconds)
HBC19137F
DT20
(Binary value)
DT21
(3,155,759,999 seconds)
D
Index
Register
register
LD
FL
I
A
A
A
A
A
A
A
A
High−level Instructions
Availability
FP2/FP2SH/FP−X
FPΣ 32k/FP0R
Boolean
Address
Instruction
10
ST
R
11
F230
(TMSEC)
DT
DT
Constant
Index
modifier
modifier
K
H
N/A
N/A
A
N/A
N/A
A
A:
Available
N/A: Not Available
0
10
20
3 − 589

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents