Fnc161 - Tzcp / Rtc Data Zone Compare - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
21.2
FNC161 – TZCP / RTC Data Zone Compare
Outline
This instruction compares two comparison time (comparison time zone) with
the time data, and turns ON or OFF the specified bit devices according to the comparison results.
1. Instruction format
FNC 161
TZCP
2. Set data
Operand type
S
S
1
1
S
2
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
S
1
1
S
2
S
S
D
2
1: "D .b" is available only in FX
2: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (TZCP)
The lower limit and upper limit comparison time (hour, minute, and second) are compared with the time data (hour,
minute, and second) stored in three devices
ON or OFF according to the comparison result.
Command
input
FNC161
D
D
D
Even if the command contact turns OFF from ON and TZCP instruction is not executed,
D
+1 and
566
Mnemonic
16-bit Instruction
P
9 steps TZCP
TZCPP
Specifies "hour" of the lower limit comparison time (hour, minute, and second).
(Three devices are occupied.)
Specifies "hour" of the upper limit comparison time (hour, minute, and second).
(Three devices are occupied.)
Specifies "hour" of the time data (hour, minute, and second).
(Three devices are occupied.)
Turns ON or OFF according to the comparison result.
(Three devices are occupied.)
Digit Specification
1
and FX
3U
3U
S
S
1
2
TZCP
Turns ON in the case of "
+1
Turns ON in the case of "
+2
Turns ON in the case of "
D
+2 hold the status before the command contact turned OFF.
21 Real Time Clock Control – FNC160 to FNC169
21.2 FNC161 – TZCP / RTC Data Zone Compare
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
2
2
2
PLCs. However, index modifiers (V and Z) are not available.
3UC
/FX
PLCs.
3UC
,
+1, and
S
S
S
This instruction compares the
S
D
comparison time zone specified by two
points with the time data.
S
(hour)
1
>
S
+1(minute)
1
S
+2(second)
1
S
(hour)
1
S
+1(minute)
1
S
1
+2(second)
Mnemonic
32-bit Instruction
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
+2. Three devices starting from
S
(hour)
".
S
+1(minute)
S
+2(second)
S
(hour)
S
2
S
S
+1(minute)
2
S
S
+2(second)
2
S
(hour)
S
2
>
S
S
+1(minute)
2
S
S
+2(second)
2
D
,
Operation Condition
Data type
16-bit binary
16-bit binary
16-bit binary
Bit
Others
Charac-
Pointer
ter String
" "
P
turn
D
(hour)
".
+1(minute)
+2(second)
(hour)
".
+1(minute)
+2(second)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents