EasyManua.ls Logo

Panasonic FP-E - Page 853

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 589
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
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
10
F230 TMSEC, DT 10, DT 20
S
Trigger
R0
D
10
11
ST R 0
F230 (TMSEC)
DT 10
DT 20
S Area in which the input time data stored
D Area in which the converted second information stored (32 bits)
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
Constant
Index
modifier
Operand
WX WY WR WL SV EV DT LD FL I K H
modifier
S A A A A A A A A A A N/A N/A A
D N/A A A A A A A A A A N/A 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.
H37
H03
DT10
DT11
DT12
(higher)
ex.)
H02
H26
H12
H12
H039CDD06
(Binary value)
(lower)
(DEC.3,02 − 12:37:26)
(2002)
(60,611,846 seconds)
DT20
DT21
H59
H31
(higher)
ex.)
H00
H59
H23
H12
HBC19137F
(Binary value)
(lower)
(DEC.31,00 − 23:59:59)
(2100)
(3,155,759,999 seconds)
DT20
DT21
DT10
DT11
DT12
FP2/FP2SH/FP−X
F230
P230
(PTMSEC)
(TMSEC)
Time data second conversion
Availability
FP2/FP2SH/FP−X
FPΣ 32k/FP0R
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com