Mitsubishi Electric MELSEC iQ-R Series Reference page 54

Array handling function block library reference, programmable controller
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Item
Restrictions and precautions
Performance value
The following table lists the performance values of this FB under the following conditions.
• CPU module: R04CPU
• File register storage location: Extended SRAM cassette
• FB compilation method: Subroutine type
Input label
Number of data points
10000 points
500000 points
1000000 points
*1 The time required from start to end of the processing
List of error codes
Error code
Description
103H
A value out of the range is set in i_uDataType (data type selection).
Set a value of 0 to 2 in i_uDataType (data type selection).
105H
A value out of the range is set in i_udSize (number of data points).
Set a value of 1 to 1000000 in i_udSize (number of data points).
200H
Although the value set in i_uDataType (data type selection) is
Single-precision real number, the stored copy source array data is
not a single-precision real number. Store the data as a single-
precision real number in the file register (ZR).
205H
i_bEN (execution command) has been turned off during the
processing.
209H
Some areas of copy source array data and copy destination array
data are overlapped. Review the following settings so that the copy
source array data areas and the copy destination array data areas
are not overlapped.
• i_udSourceAryAddr (copy source array data start address)
• i_udDestAryAddr (copy destination array data start address)
• i_udSize (number of data points)
2 DETAILS OF THE FB LIBRARY
52
2.9 M+ArrayHandling_Copy_R
Description
(1) This FB does not include the error recovery processing. Prepare the error recovery processing separately to suit the
user's system and the expected operation.
(2) This FB uses the long index register LZ0 and LZ1. When using an interrupt program, do not use the corresponding
index register.
(3) The FB cannot be used in an interrupt program.
(4) Using the FB in a program that is to be executed only once, such as a subroutine program or a FOR-NEXT loop, has a
problem that i_bEN (execution command) can no longer be turned off and normal operation is not possible; Always use
the FB in a program that is capable of turning off the execution command.
(5) The FB requires the configuration of the ladder for every input label.
Data type selection
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
Time required for the
Maximum scan time
*1
processing
2.33ms
2.33ms
4.54ms
4.54ms
26.3ms
9.77ms
112ms
9.06ms
224ms
9.08ms
1390ms
10.7ms
224ms
9.06ms
448ms
9.06ms
2780ms
10.7ms
Action
Review and correct the setting and then execute the FB again.
Review and correct the setting and then execute the FB again.
Review and correct the copy source array data and then execute
the FB again.
Do not turn off i_bEN (execution command) until o_bOK (normal
completion) or o_bErr (error completion) turns on.
Review and correct the setting(s) and then execute the FB again.
Number of the scans
required for the
processing
1 scan
1 scan
4 scans
13 scans
25 scans
137 scans
25 scans
50 scans
273 scans

Advertisement

Table of Contents
loading

Table of Contents