Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1040

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

Advertisement

Processing details
• This instruction measures the period of time for which the start contact is ON in units of hour, and turns on the device
specified by (d2) when the accumulated ON time reaches the time (32-bit binary data) specified in (s).
• In (s)+1 and (s), specify the period of time until the device specified by (d2) is turned on in units of hour.
• The measured current value in units of hour is stored in (d1)+1 and (d1). ((d1)+1: upper value, (d1): lower value)
• The measured current value of less than one hour (in units of second) is stored in (d1)+2.
• No value is stored in (d1)+3.
• Even after the alarm output specified by (d2) turns ON, the measurement is continued.
• When (d1)+1 and (d1) reaches the maximum value (2147483647) and also (d1)+2 reached reaches the maximum value
(3599), the measurement is stopped.
• This instruction operates even if a negative value is set in the device specified by (d1).
• Changing clock data (including time adjustment by the daylight-saving time function) does not affect the operation of the
DHOURM instruction.
Precautions
• In cases such as measuring the ON time from initial value or continuing to the measurement even after the current value
reaches the maximum value of 32 bits, clear (d1) to (d1)+2 if (d1) is specified with the device, or clear two elements if (d1)
is specified with the label.
• To avoid that timer measurement does not work normally, do not use this instruction in the initial execution type program,
interrupt program, fixed scan execution type program, and event execution type program.
Operation error
Error code
Description
(SD0)
3405H
The range specified by (s) is outside the following range.
0 to 2147483647
7 APPLICATION INSTRUCTIONS
1038
7.26 Timing Check Instructions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents