Chapter 5 Relay Ladder Logic Programming
125
-
18B
MX (Multiplexer)
The SG2 smart relay includes 1
5 MX coils that can be used throughout a program. This function set its current
value to be 0 or one of 4 preset values which depends on the state of selection bit 1 and 2. There are 7 parameters for
proper configuration. The table below
describes each configuration parameter, and lists each compatible element for
configuring MX.
The parameters from
①
to
④
can be constant or refer to the current value of other function. The table below
describes the relationship between parameter and MX current value.
disable
MX = 0;
enable
S1
=
OFF, S2
=
OFF: MX = V0;
S1
=
OFF, S2
=
ON: MX = V1;
S1
=
ON, S2
=
OFF: MX = V2;
S1
=
ON, S2
=
ON: MX = V3;
For example, assign S1 and S2 to refer to the I01 and X01, and V0=16513 (preset value 0), V1= AT01 (preset
value 1), V2=AQ01 (present value 2) and V3=DR01 (preset value 3). When turns I01 ON and X01 OFF, then
MX=AQ01; if I01 is at OFF and X01 is at ON state, the MX =AT01, and so on.
symbol description
①
V0 parameter ( -32768~32767)
②
V1 parameter ( -32768~32767)
③
V2 parameter ( -32768~32767)
④
V3 parameter ( -32768~32767)
⑤
Selection bit 1: S1
⑥
Selection bit 2: S2
⑦
MX code (MX01~MX0F)
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor