Connecting the specified number of bits
NUNI(P)
These instructions link each bit of the data in the device numbers specified by (s1) onwards into bit units specified by (s2), and
store the connected 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 linked
(d)
Head device for storing the linked data
(s2)
Head device for storing the link unit size
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:=NUNI(EN,s1,s2,d);
ENO:=NUNIP(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
339