hit counter script
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

Basic instructions
7.9 Word logic operations
Table 7- 141 Data types for the DEMUX instruction
Parameter
Data type
K
UInt
IN
SInt, Int, DInt, USInt, UInt, UDInt, Real, LReal, Byte, Word,
DWord, Time, Char
OUT0, OUT1, ..
SInt, Int, DInt, USInt, UInt, UDInt, Real, LReal, Byte, Word,
OUTn
DWord, Time, Char
ELSE
SInt, Int, DInt, USInt, UInt, UDInt, Real, LReal, Byte, Word,
DWord, Time, Char
The input variable and the output variables must be of the same data type.
1
Table 7- 142 ENO status for the MUX and DEMUX instructions
ENO
Condition
1
No error
0
MUX: K is greater than the number of inputs -1
DEMUX: K is greater than the number of outputs -1
280
1
Description
Selector value:
0 selects OUT1
1 selects OUT2
n selects OUTn
Input
Outputs
Substitute output when K is greater than
(OUTn - 1)
Result OUT
MUX: Selected IN value is copied to
OUT
DEMUX: IN value is copied to selected
OUT
No ELSE provided: OUT is
unchanged,
ELSE provided, ELSE value assigned
to OUT
No ELSE provided: outputs are
unchanged,
ELSE provided, IN value copied to
ELSE
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG

Advertisement

Table of Contents
loading

Table of Contents

Save PDF