Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 173

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling 32-bit data in structured programs, you cannot specify 16-bit devices directly, different
from simple projects. Use labels when handling 32-bit data.
You can specify 32-bit counters directly, however, because they are 32-bit devices.
Use global labels when specifying labels.
Program example
In this example, either one among values stored in devices specified in
in
in accordance with the value specified in
d
....
s1
1) Function without EN/ENO(MUL)
[Structured ladder]
g_int1=2
g_int2=1234
g_int3=5678
[ST]
g_int4:=MUX(g_int1,g_int2,g_int3);
2) Function with EN/ENO(MUL_E)
[Structured ladder]
g_bool1
[ST]
g_bool3:=MUX_E(g_bool1,g_int1,g_int2,g_int3,g_int4);
MUX
g_int4=5678
_K
_IN
_IN
MUX_E
EN
ENO
g_int1
_K
g_int2
_IN
g_int3
_IN
using the data type of data stored in devices specified in
n
g_bool3
g_int4
5.6 Standard Selection Functions
... is output to a device specified
s1
1
2
3
4
5
6
A
171

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents