Fnc160 - Tcmp / Rtc Data Compare - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
21.1
FNC160 – TCMP / RTC Data Compare
Outline
This instruction compares the comparison time with the time data, and turns ON or OFF bit devices according
to the comparison result.
1. Instruction format
FNC 160
TCMP
P
2. Set data
Operand type
S
S
1
1
S
2
S
3
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
S
1
1
S
2
S
3
S
S
D
2
1: "D .b" is available only in FX
2: This function is supported only in FX
Mnemonic
16-bit Instruction
11 steps TCMP
TCMPP
Specifies "hour" of the comparison time [setting range: 0 to 23].
Specifies "minute" of the comparison time [setting range: 0 to 59].
Specifies "second" of the comparison time [setting range: 0 to 59].
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
/FX
3U
21 Real Time Clock Control – FNC160 to FNC169
21.1 FNC160 – TCMP / RTC Data Compare
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
V Z Modify K H
2
2
2
2
PLCs. However, index modifiers (V and Z) are not available.
3UC
PLCs.
3UC
Mnemonic
Operation Condition
Data type
16-bit binary
16-bit binary
16-bit binary
16-bit binary
Bit
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
21
22
23
24
25
Pointer
26
P
27
28
29
30
587

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents