EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
298
6 BASIC INSTRUCTIONS
6.6 Data Transfer Instructions
Inverting and transferring 16-bit data
CML(P)
These instructions invert each bit of the 16-bit binary data in the device specified by (s), and transfer the result to the device
specified by (d).
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions invert each bit of the 16-bit binary data in the device specified by (s), and transfer the result to the device
specified by (d).
Operation error
There is no operation error.
Ladder diagram Structured text
ENO:=CML(EN,s,d);
ENO:=CMLP(EN,s,d);
Operand Description Range Data type Data type (label)
(s) Data to be inverted or device number in which data is
stored
-32768 to +32767 16-bit signed binary ANY16
(d) Device number for storing the inversion result 16-bit signed binary ANY16
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s) 
(d) 
(s) (d)
(d)
(s)
···
···
b15
b15 b0
b0
101 01100011 10010
010 10011100 01101
Inversion

Table of Contents

Related product manuals