Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
21 Applied Instructions (Real Time Clock Control)
21.2 TZCP / RTC Data Zone Compare
545
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
21
Applied Instructions
(Real Time
Clock Control)
22
Applied Instructions
(External Device)
23
Applied Instructions
(Extension
Function)
24
Applied Instructions
(Others)
25
Applied Instructions
(Block Data
Operation)
26
Applied Instructions
(Character
String Control)
27
Applied Instructions
(Data Operation 3)
28
Applied Instructions
(Data Comparison)
29
Applied Instructions
(Data Table
Operation)
30
Applied Instructions
(External Device
Communication)
Function and operation explanation
1. 16-bit operation (TZCP, TZCPP)
The comparison time (hour, minute, second) of higher and lower points and the time data (hour, minute,
second) of the device specified by are compared, and the device specified by is turned ON or OFF
depending on the magnitude of difference.
Cautions
1) Number of devices occupied
Three devices are occupied each in , , and .
Be careful not to overlap with the devices used in machine control.
2) When using the time (hour, minute, second) of the clock data of the real time clock built in the PLC, first
read out the value of the special data register by using TRD, TRDP, and specify the word device in each
operand.
3) Some restrictions to applicable devices.
S1: The FX
3U and FX3UC PLCs only are applicable, index (V, Z) decoration is disabled.
S2: The FX
3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S3: The FX
3U and FX3UC PLCs only are applicable.
>
>
≤≤
Command input
Magnitude comparison function
of specified time at two points
and time data
+1 (minute)
(hour)
+2 (second)
+1 (minute)
(hour)
+2 (second)
+1 (minute)
(hour)
+2 (second)
+1 (minute)
(hour)
+2 (second)
+1 (minute)
(hour)
+2 (second)
+1 (minute)
(hour)
+2 (second)
+1 (minute)
(hour)
+2 (second)
and then turned ON
and then turned ON
and then turned ON
+1
+2
TZCP
EN
s1
s2
ENO
d
s
Comparison lower limit time (hour, minute, second) "hour"
Comparison upper limit time (hour, minute, second) "hour"
Time data (hour, minute, second) "hour"
Device to be turned ON or OFF
depending on the comparison result.
s2
s2
s2
s2
s2
s2s
s
s
s
s
s
d
d
d
s
s
s
s1
s1
s1
s1
s1
s1
d d d
If TZCP is not executed when command contact is changed from ON to OFF, , +1, +2
are holding the state before the command contact is turned OFF.