Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 167

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

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, the maximum value among word [signed] data stored in devices specified in
output to a device specified in
1) Function without EN/ENO(MAXIMUM)
[Structured ladder]
g_int1=5678
g_int2=1234
[ST]
g_int3:=MAXIMUM(g_int1,g_int2);
2) Function with EN/ENO(MAXIMUM_E)
[Structured ladder]
g_bool1
[ST]
g_bool3:=MAXIMUM_E(g_bool1,g_int1,g_int2,g_int3);
using the data type of data stored in devices specified in
d
MAXIMUM
_IN
g_int3=5678
_IN
MAXIMUM_E
EN
ENO
g_int1
_IN
g_int2
_IN
g_bool3
g_int3
5.6 Standard Selection Functions
and
s1
s2
and
s1
s2
165
1
is
.
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