Mitsubishi Electric melsec q00ujcpu User Manual page 160

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

(6) Device data latch method and influence on the scan time
Data latch processing is performed during END processing.
For this reason, the scan time increases.
Consider an influence on the scan time when latching devices. (
To shorten the scan time due to latch, minimize the number of latch points (latch (1) setting, latch (2) setting,
and latch relay (L)) as much as possible.
The number of latch points can be reduced by performing the following.
• Move data to be latched to the file register.
• Store device data that is less frequently updated in the standard ROM with the SP.DEVST instruction.
(The device data stored in the standard ROM can be read with the S(P).DEVLD instruction.)
QCPU Programming Manual (Common Instructions)
(7) Device data latch clear
shows the status of device data when the latch clear operation is performed.
Table6.2
Device data without latch setting
Device data in the "Latch (1)" range
Device data in the "Latch (2)" range
*1: For the clearing method, refer to Section 3.4.
Data in the file register (R or ZR) will not be cleared by the latch clear operation.
To clear data in the file register (R or ZR), perform data clear operation by a sequence program or GX Developer.
(
Section 9.7.3)
(8) Precautions
(a) When a local device or initial device value is specified
Even if the device has been latch-specified, device data cannot be latched when any local device or initial
device value is specified.
(b) Use of battery
Device data in the latch range are held with the battery installed to the CPU module.
• Even for the boot operation, the battery is required to latch device data.
• Note that if the battery connector is disconnected from the connector of the CPU module while
the power supply for the programmable controller is off, device data in the latch range will not
be held and will become undefined.
Table6.2 Status when the latch clear operation is performed
Latch setting
CHAPTER6 FUNCTIONS
)
Section 10.1.2
Status of data
Cleared
Cleared
*1
Held
6 - 9
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents