Download Print this page

Separating The Specified Number Of Bits - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Separating the specified number of bits

NDIS(P)
These instructions separate each bit of the data in the device numbers specified by (s1) onwards into bit units specified by
(s2), and store the separated data in the device number specified by (d) onwards.
Ladder diagram
(s1)
(d)
(s2)
FBD/LD
EN
ENO
s1
d
s2
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Head device for storing the data to be separated
(d)
Head device for storing the separated data
(s2)
Head device for storing the separation unit
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(d)
(s2)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=NDIS(EN,s1,s2,d);
ENO:=NDISP(EN,s1,s2,d);
Range
Data type
16-bit signed binary
16-bit signed binary
16-bit signed binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANY16
ANY16
ANY16
BOOL
BOOL
Constant
Others
K, H
E
$
7 BASIC INSTRUCTIONS
7.5 Data Conversion Instructions
7
337

Hide quick links:

Advertisement

loading