Iec Instruction List; Some Useful Tips - Mitsubishi Electric FX Series Training Manual

Programmable logic controllers
Hide thumbs Also See for FX Series:
Table of Contents

Advertisement

IEC Instruction List

15
IEC Instruction List
b The "Instruction List" editor is a free text editor.
b No line addresses are released.
b Functions and function blocks can be called.
b In addition to the IEC networks MELSEC networks can be included.
b Comments can be included within (* *)
b By means of the Windows functionality a program can be written for example in WinWord
and then be copied via the clip board into GX IEC Developer.
Example of IEC Instruction List (IL)
15.1
LD
ANDN
ST
LD
BCD_TO_INT
ST
15.1.1

Some useful tips

To Perform : " + D0
LD
ADD
ST
To Perform : " + D0
LD
ADD
ST
Use of an "_E" function can simplify still further. To Perform : " + D0 D1 D2 " and then " + D2
K50 D3 " from a conditional input X0 becomes:
LD
ADD_E D0,D1,D2,50,D3
This is because the ADD_E function has an Enable Output (ENO) feature.
Training Manual GX IEC Developer
X4
(* Interrogation X4 *)
M5
(* ANDN M5 *)
Y20
(* Assignment OUT to Y20 *)
TEST
(* Load TEST into accu *)
(* Convert accu *)
RESULT
(* Write accu to RESULT *)
D1
D2 " in IEC IL, becomes:
D0
D1
D2
D1
D2 " and then " + D2
D0
D1,D2,50
D3
X0
Example of IEC Instruction List (IL)
K50 D3 " becomes:
15 - 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents