Chapter 6 FBD Block Diagram Programming
177
MX (Multiplexer) function block
There is a maximum of 250 MX (Multiplexer) function blocks under FBD mode, and the function is same as Ladder
mode.
This special function transmits 0 or one of 4 preset values to MX current value memory by selection control coils
S1 and S2. The MX function enables simple operations to be carried out on integers.
The preset value V1~V4 can be constant or other function current value.
The table below describes the relationship between parameter and MX current value.
Control status
MX output coil
MX output value
MX disable
0
MX = 0
S1
=
0, S2
=
0
1 MX
=
V0
S1
=
0, S2
=
1
1 MX
=
V1
S1
=
1, S2
=
0
1 MX
=
V2
MX enable
S1
=
1, S2
=
1
1 MX
=
V3
Example:
FBD display:
Enable Input
→
Selection coil S1
→
Selection coil S2
→
Parameter
→
Parameter display:
Parameter display 1
Parameter display 2
MX current value
→
Preset value V0
→
←
Preset value V2
Preset value V1
→
←
Preset value V3
※
Display MX current value when running mode;
※
Preset Value V3, display code A03 when stopping mode and display current value (as example V3=00111)
when running mode;
※
Press “SEL+
←→
” button can convert between display1 and display2.
※
MX and V0~V3, values range from -32768~32767
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor