Mitsubishi Electric MELSEC iQ-R Series Reference page 35

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: CPU built-in memory
• FB compilation method: Subroutine type
Input label
Number of data points
Data type selection
10000 points
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
500000 points
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
1000000 points
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
*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 input 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 input array data and output array data are
overlapped. Review the following settings so that the input array
data areas and the output array data areas are not overlapped.
• i_udInAryAddr (input array data start address)
• i_udOutAryAddr (output array data start address)
• i_udSize (number of data points)
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. 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.
Time required for the
processing
14.1ms
22.8ms
33.7ms
758ms
1220ms
1760ms
1520ms
2440ms
3510ms
Maximum scan time
*1
4.31ms
7.09ms
10.4ms
4.7ms
7.45ms
10.7ms
4.68ms
7.43ms
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 input 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.
2 DETAILS OF THE FB LIBRARY
2.5 M+ArrayHandling_Abs_R
Number of the scans
required for the
processing
4 scans
167 scans
334 scans
33
2

Advertisement

Table of Contents
loading

Table of Contents