Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 115

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Indirect address read instructions
■Reading the indirect address
Instruction symbol
Processing details
ADRSET
Reads the indirect address of the specified device.
ADRSETP
(s)
(2)
(1) Indirect address of specified device
(2) Device name
Clock instructions
■Reading clock data
Instruction symbol
Processing details
DATERD
Reads "year, month, day, hour, minute, second, and day of week" from the clock element of the
CPU module.
DATERDP
(d): Year
(d)+1: Month
(d)+2: Day
(d)+3: Hour
(d)+4: Minute
(d)+5: Second
(d)+6: Day of week
■Writing clock data
Instruction symbol
Processing details
DATEWR
Writes the clock data stored in the specified device and later to the clock element of the CPU
module.
DATEWRP
(s): Year
(s)+1: Month
(s)+2: Day
(s)+3: Hour
(s)+4: Minute
(s)+5: Second
(s)+6: Day of week
■Adding clock data
Instruction symbol
Processing details
DATE+
Adds time data.
DATE+P
(s1)
minute
second
(d)
(1)
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(s)
(s)+1
(s)+2
(s)+3
(s)+4
(s)+5
(s)+6
(s2)
(d)
hour
hour
hour
minute
minute
+
second
second
Reference
Page 999 ADRSET(P)
Reference
Page 1001
DATERD(P)
Reference
Page 1003
DATEWR(P)
Reference
Page 1005 DATE+(P)
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
2
113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents