M+Arrayhandling_Copy_R - Mitsubishi Electric MELSEC iQ-R Series Reference

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

Advertisement

2.9

M+ArrayHandling_Copy_R

Name
M+ArrayHandling_Copy_R
Overview
Item
Functional overview
Symbol
Labels to use
■Input labels
No.
Variable name
(1)
i_bEN
(2)
i_udSize
(3)
i_udSourceAryAddr
(4)
i_udDestAryAddr
(5)
i_uDataType
*1 The valid range varies depending on "Device/Label Memory Area Setting" of "CPU Parameter".
■Output labels
No.
Variable name
(6)
o_bENO
(7)
o_bOK
(8)
o_udOutAryNum
(9)
o_bErr
(10)
o_uErrId
Description
Copies a specified array to specified storage locations.
M+ArrayHandling_Copy_R
(1)
B :
i_bEN
(2)
UD :
i_udSize
(3)
UD : :
i_udSourceAryAddr
:
(4)
UD :
: :
i_udDestAryAddr
(5)
UW :
i_uDataType
Name
Data type
Execution command
Bit
Number of data
Double Word
points
[unsigned]
Copy source array
Double Word
data start address
[unsigned]
Copy destination
Double Word
array data start
[unsigned]
address
Data type selection
Word [unsigned]
Name
Data type
Execution status
Bit
Normal completion
Bit
Number of output
Double Word
data points
[unsigned]
Error completion
Bit
Error code
Word [unsigned]
(6)
o_bENO
:
B
(7)
o_bOK
:
B
o_udOutAryNum
:
UD
(8)
o_bErr
:
:
B
(9)
o_uErrId
:
UW
(10)
Scope
Description
On or off
On: The FB is activated.
Off: The FB is not activated.
1 to 1000000
Specifies the number of data points for an array
where the copy is performed.
*1
Valid device range
Specifies the start address of the file register (ZR)
where the array data of the copy source is stored.
*1
Valid device range
Specifies the start address of the file register (ZR)
where the array data of the copy destination is to
be stored.
0 to 2
Specifies the data type of the data to be copied.
0: Word [signed]
1: Double Word [signed]
2: Single-precision real number
Default value
Description
Off
On: The execution command is on.
Off: The execution command is off.
Off
The on state indicates that the copy has been
completed.
0
The number of output data points with their copies
completed is stored.
Off
The on state indicates that an error has occurred
in the FB.
0
The error code of an error occurred in the FB is
returned.
2 DETAILS OF THE FB LIBRARY
2.9 M+ArrayHandling_Copy_R
2
49

Advertisement

Table of Contents
loading

Table of Contents