EasyManua.ls Logo

Inovance H3U Series - TCMP Clock Data Comparison; Clock Comparison Output

Inovance H3U Series
737 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
Loading...
266
4
4 Instructions4.8.1 Clock Comparison Output
4.8.1 Clock Comparison Output
TCMP: Clock data comparison
Overview
The TCMP instruction compares the specied time (
hours:minutes:seconds
) with the time of an internal
real-time clock and outputs the comparison result.
TCMP S1 S2 S3 S D
Clock data
comparison
Applicable model:
H3U
S1 Hours Hours of the time to be compared, in the range 0 to 23
16-bit instruction
(11 steps)
TCMP:
Continuous
execution
TCMPP: Pulse
execution
S2 Minutes Minutes of the time to be compared, in the range 0 to 59
S3 Seconds Seconds of the time to be compared, in the range 0 to 59
S
PLC time data
head address
Head address of registers that store the current time value
of a real-time clock, that is, the data read by the TRD or
MOV instruction
D
Comparison
result
Head address of three consecutive variable units that
store the comparison result
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S3 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The specied time (
hours:minutes:seconds
) is compared with the time of an internal real-time clock. The comparison
result is output.
S1 represents hours, in the range 0 to 23.
S2 represents minutes, in the range 0 to 59.
S3 represents seconds, in the range 0 to 59.
S is the head address of registers that store the current time value of a real-time clock, that is, the data read by the TRD or
MOV instruction.
D is the head address of three consecutive variable units that store the comparison result.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals