Mitsubishi Electric MELSEC-Q/L Programming Manual page 17

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

Advertisement

Function name
Argument
BITARR_TO_INT(_E)
(s), n, (d)
BITARR_TO_DINT(_E)
(s), n, (d)
INT_TO_BITARR(_E)
(s), n, (d)
DINT_TO_BITARR(_E)
(s), n, (d)
CPY_BITARR(_E)
(s), n, (d)
GET_BIT_OF_INT(_E)
(s), n, (d)
SET_BIT_OF_INT(_E)
(s), n, (d)
CPY_BIT_OF_INT(_E)
(s), n1, n2, (d)
GET_BOOL_ADDR
(s), (d)
GET_INT_ADDR
(s), (d)
GET_WORD_ADDR
(s), (d)
Processing details
Converts specified number of bits from bit array into word (signed) type,
word (unsigned)/16-bit string type, double word (signed) type, or double
word (unsigned)/32-bit string type data.
Outputs low-order n bits of word (signed) type, word (unsigned)/16-bit
string type, double word (signed) type, or double word (unsigned)/32-bit
string type data.
Copies specified number of bits from bit array.
Reads a value of specified bit of word (signed) type data.
Writes a value to the specified bit of word (signed) type data.
Copies a specified bit of word (signed) type data to the specified bit of
another word (signed) type data.
Converts the type of data into bit type.
Converts the type of data into word (signed) type.
Converts the type of data to word (unsigned)/16-bit string type.
Reference
Page 109 Converting bit array
to word (signed) type, word
(unsigned)/16-bit string type,
double word (signed) type,
double word (unsigned)/32-bit
string type
Page 111 Converting word
(signed) type, word (unsigned)/
16-bit string type, double word
(signed) type, double word
(unsigned)/32-bit string type to
bit array
Page 113 Bit array copy
Page 115 Specified bit read of
word (signed) type data
Page 117 Specified bit write of
word (signed) type data
Page 119 Specified bit copy of
word (signed) type data
Page 121 Nonessential type
conversion
2 FUNCTION TABLES
15
2.2 Function Tables
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents