2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
115
2
■
Reading expansion clock data
■
Adding expansion clock data
■
Subtracting expansion clock data
Timing check instructions
■
Generating timing pulses
■
Measuring time of the specified data
Instruction symbol
Processing details
Reference
S.DATERD
Reads clock data including millisecond from the clock elements in the CPU module.
(d): Year
(d)+1: Month
(d)+2: Day
(d)+3: Hour
(d)+4: Minute
(d)+5: Second
(d)+6: Day of week
(d)+7: Millisecond
SP.DATERD
Instruction symbol
Processing details
Reference
S.DATE+
Adds time data.
SP.DATE+
Instruction symbol
Processing details
Reference
S.DATE-
Subtracts time data.
SP.DATE-
Instruction symbol
Processing details
Reference
DUTY
Turns on the user timing clock for the specified number of scans and off for the specified number of
scans.
(n1): (n1) scans
(n2): (n2) scans
(d): SM420 to SM424
Instruction symbol
Processing details
Reference
TIMCHK
Measures the on time of the input condition and, if the on time has continued as specified or longer,
turns on the device specified by (d).
(d)+7
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(s1)
—
—
—
(s2)
(d)
+
hour
hour
hour
minute
second
1/1000 second
minute
second
1/1000 second
minute
second
1/1000 second
(s1)
(s2)
(d)
-
—
hour
minute
second
1/1000 second
—
hour
minute
second
1/1000 second
—
hour
minute
second
1/1000 second
(d)
(n1)
(n2)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......