EasyManuals Logo

Mitsubishi FX3G Series Programming Manual

Mitsubishi FX3G Series
944 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #559 background imageLoading...
Page #559 background image
557
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
21 Real Time Clock Control – FNC160 to FNC169
21.1 FNC160 – TCMP / RTC Data Compare
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC275
Ex-Device
Inverter Comms
Explanation of function and operation
1. 16-bit operation (TCMP)
The comparison time (hour, minute, and second) stored in , , and is compared with the time data
(hour, minute, and second) stored in , +1, and +2. Three devices starting from turn ON or
OFF according to the comparison result.
Cautions
1) Number of occupied devices
Three devices are occupied respectively by and .
Make sure that these devices are not used in other controls for the machine.
2) When utilizing the time (hour, minute, and second) of the built-in PLC real time clock
Read the values of special data registers by TRD (FNC166) instruction, and then specify those word devices as
the operands.
Program example
S
1
S
2
S
3
S
S
S
D
Turns ON in the case of " "
Turns ON in the case of " "
Turns ON in the case of " "
Command
input
FNC160
TCMP
S
1
S
2
S
3
S
D
>
=
<
Even if the command contact turns OFF from ON and TCMP instruction is not
executed, , +1 and +2 hold the status before the command
contact turned OFF.
D
+1D
+2D
(minute)
(hour)
(second)
S
1
S
2
S
3
(minute)
(hour)
(second)
S
1
S
2
S
3
(minute)
(hour)
(second)
S
1
S
2
S
3
S
+1(minute)
(hour)
+2(second)
S
S
S
+1(minute)
(hour)
+2(second)
S
S
S
+1(minute)
(hour)
+2(second)
S
S
D
D
D
S
D
S
S
S
S
1
S
2
S
3
: Specifies "hour" of the comparison
time.
: Specifies "minute" of the
comparison time.
: Specifies "second" of the comparison
time.
: Specifies "hour" of the time data.
+1
+2
: Specifies "minute" of the time data.
: Specifies "second" of the time data.
X000
FNC160
TCMP
K10 K30 K50 D0 M0
S
1
S
2
S
3
S
D
10:30:50
M0
Turns ON in the case of "10:30:50 > "
M1
Turns ON in the case of "10:30:50 = "
M2
Turns ON in the case of "10:30:50 < "
Even if X000 is OFF and TCMP instruction is not executed, M0 to
M2 hold the status before X000 turned OFF.
D1 (minute)
D0 (hour)
D2 (second)
D1 (minute)
D0 (hour)
D2 (second)
D1 (minute)
D0 (hour)
D2 (second)
: Three bit devices turn ON or OFF
according to the comparison result.
D
+1,D
+2D
,

Table of Contents

Other manuals for Mitsubishi FX3G Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3G Series and is the answer not in the manual?

Mitsubishi FX3G Series Specifications

General IconGeneral
ModelFX3G Series
Power SupplyAC 100-240V or DC 24V
Program Capacity32, 000 steps
Execution Speed0.21 µs/basic instruction
Communication OptionsRS-422, USB, Ethernet
Expansion ModulesAnalog, digital, communication
Programming LanguageLadder Logic, Instruction List
Built-in FunctionsHigh-speed counters, pulse output
Analog I/OAvailable via expansion modules

Related product manuals