Bit Array Copy - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Bit array copy

CPY_BITARR(_E)
High
Basic
Process
Redundant Universal
performance
Structured ladder/FBD
CPY_BITARR_E
EN
ENO
s
d
n
The following function(s) can go in the dotted squares.
CPY_BITARR, CPY_BITARR_E
■Argument
Input/output
Name
argument
Input argument
EN
s(_BitArrIn)
n
Output argument
ENO
d(_BitArrOut)
Processing details
■Operation processing
Outputs n bits of bit array input to (s) to (d).
■Operation result
• Function without EN/ENO
An operation is executed and the operation value is output from (d).
• Function with EN/ENO
The following table shows the executing conditions and operation results.
EN
TRUE (Operation execution)
FALSE (Operation stop)
*1 When FALSE is output from ENO, the data output from (d) is undefined. In this case, create a program so that the data output from (d) is
not used.
LCPU
ST
ENO:=
CPY_BITARR_E
(EN, s, n, d);
Description
Executing condition (TRUE: Execution, FALSE:
Stop)
Input
Input (Only a constant 4, 8, 12, 16, 20, 24, 28 or 32
can be specified)
Execution result (TRUE: Normal execution, FALSE:
Error or stop)
Output (Variables are applicable to element
specification.)
ENO
TRUE
*1
FALSE
Data type
Bit
Bit
Word (signed)
Bit
Bit
(d)
Operation output value
Undefined value
5 APPLICATION FUNCTIONS
5.1 Type Conversion Functions
5
113

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents