Mitsubishi Electric MELSEC iQ-R Series Reference page 21

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

Advertisement

Item
Description
Functional description
(6) Specify Word [signed], Double Word [signed], or Single-precision real number as the data type of input array data, the
(7) Specify the number of data points for an array where the multiplication is performed in i_udSize (number of data points).
(8) It takes multiple scans until the multiplication is completed. When the input array data before the operation is changed
(9) If a value out of the range is set in i_udSize (number of data points), o_bErr (error completion) turns on and the
(10)If a value out of the range is set in i_uDataType (data type selection), o_bErr (error completion) turns on and the
(11)When a single-precision real number is set in i_uDataType (data type selection) and the value stored in the file register
(12)If i_bEN (execution command) is turned off before o_bOK (normal completion) or o_bErr (error completion) turns on,
(13)When a single-precision real number is set in i_uDataType (data type selection) and the operation result exceeds the
FB compilation method
Subroutine type
FB operation
Pulse execution type (multiple scan execution type)
multiplication value, and output array data in i_uDataType (data type selection).
When 1: Double Word [signed] or 2: Single-precision real number is specified by i_uDataType (data type selection), file
register (ZR) areas twice as many as the setting value of i_udSize (number of data points) are required.
during the operation processing, the operation processing is executed with the changed data. The number of points
with the operation completed is output to o_udOutAryNum (number of output data points). When the multiplication is
completed, o_bOK (normal completion) turns on.
processing of the FB is interrupted. In addition, 105H is stored in o_uErrId (error code). For the error code, refer to the
list of error codes. ( Page 22 List of error codes)
processing of the FB is interrupted. In addition, 103H is stored in o_uErrId (error code). For the error code, refer to the
list of error codes. ( Page 22 List of error codes)
(ZR) is not a single-precision real number, o_bErr (error completion) turns on and the processing of the FB is
interrupted. In addition, 200H is stored in o_uErrId (error code). For the error code, refer to the list of error codes. (
Page 22 List of error codes)
o_bErr (error completion) turns on in one scan. In addition, 205H is stored in o_uErrId (error code) in one scan. For the
error code, refer to the list of error codes. ( Page 22 List of error codes)
The operation results of the multiplication that has been completed before i_bEN (execution command) is turned off
remain stored in the file register (ZR).
scope of the single-precision real number, o_bErr (error completion) turns on and the processing of the FB is
interrupted. In addition, 203H is stored in o_uErrId (error code) in one scan. For the error code, refer to the list of error
codes. ( Page 22 List of error codes)
2 DETAILS OF THE FB LIBRARY
2.3 M+ArrayHandling_PointMul_R
2
19

Advertisement

Table of Contents
loading

Table of Contents