Precautions - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

4.7

Precautions

Functions with restrictions
The following functions have restrictions on the use of labels.
Item
CPU parameter
• Trigger of an event execution type
program
• Refresh setting among multiple CPU
modules
Module parameter
• Predefined protocol support function
• Refresh setting of intelligent function
module
• Refresh setting of network module (SB/
SW only)
• Refresh setting of network module (other
than SB/SW)
Data logging function
Memory dump function
Real-time monitor function
*1 Global labels can be used as devices by assigning a device.
■ Defining and using a global label with a device assigned
Define a global label following the procedure below, and use it when the functions having restriction on the use of labels are
executed.
Since the device area in the device/label memory is used, secure the device area capacity.
1.
Secure the device area to be used.
[CPU Parameter]  [Memory/Device Setting]  [Device/Label Memory Area Setting]
2.
Define a label as a global label, and assign a device manually.
3.
Use the label defined in step 2 for the functions having no restrictions on the use of labels. Use the device assigned to
the label for the function having restrictions on the use of labels.
■ Copying the label data into a specified device
Copy the label data into a specified device following the procedure below, and use the copy-target device.
Since the device area in the device/label memory is used, secure the device area capacity.
1.
Secure the device area to be used.
[CPU Parameter]  [Memory/Device Setting]  [Device/Label Memory Area Setting]
2.
Create a program using the label. The following is the program example for copying the data. (The data logging function
uses the data in udLabel1.)
3.
Use the device where the data has been transferred in step 2 for the function having restrictions on the use of labels. (In
the program example in step 2, use D0.)
• The number of steps increases because of the transfer instruction. (The scan time increases.)
• Decide the transfer instruction position considering the timing of writing data to the label and executing the
function.
Description
Use devices because global labels nor local labels cannot be specified for these
*1
functions.
Use module labels for these functions. Use devices if module labels are not used.
Use devices because global labels nor local labels cannot be specified for these
*1
functions.
Use devices if there is a possibility for using these functions because global labels
nor local labels cannot be specified for these functions.
If a device cannot be assigned to the global label. add the transfer instruction to the
scan program so that the data of the global label is copied to a specified device every
scan, and then use the copy-target device.
*1
*1
4 LABELS
49
4.7 Precautions
4

Advertisement

Table of Contents
loading

Table of Contents