Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 165

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 program, either one between the values stored in devices specified in
accordance with the value stored in a device specified in
type of data stored in devices specified in
1) Function without EN/ENO(SEL)
[Structured ladder]
g_bool1
g_word1
g_word2
[ST]
g_word3:=SEL(g_bool1,g_word1,g_word2);
2) Function with EN/ENO(SEL_E)
[Structured ladder]
g_bool1
g_word1
g_word2
[ST]
g_bool3:=SEL_E(g_bool1,g_bool2,g_word1,g_word2,g_word3);
s2
SEL
g_word3
_G
_IN0
_IN1
SEL_E
EN
ENO
g_bool2
_G
_IN0
_IN1
to a device specified in
s1
and
.
s3
g_bool3
g_word3
5.6 Standard Selection Functions
and
is output in
s2
s3
using the data
d
163
1
2
3
4
5
6
A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents