EasyManua.ls Logo

Mitsubishi Electric FX Series - IEC Instruction List; Some Useful Tips

Mitsubishi Electric FX Series
284 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
15 IEC Instruction List
The “Instruction List” editor is a free text editor.
No line addresses are released.
Functions and function blocks can be called.
In addition to the IEC networks MELSEC networks can be included.
Comments can be included within (* *)
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.
15.1 Example of IEC Instruction List (IL)
LD X4 (* Interrogation X4 *)
ANDN M5 (* ANDN M5 *)
ST Y20 (* Assignment OUT to Y20 *)
LD TEST (* Load TEST into accu *)
BCD_TO_INT (* Convert accu *)
ST RESULT (* Write accu to RESULT *)
15.1.1 Some useful tips
To Perform : “ + D0 D1 D2 ” in IEC IL, becomes:
LD D0
ADD D1
ST D2
To Perform : “ + D0 D1 D2 ” and then “ + D2 K50 D3 ” becomes:
LD D0
ADD D1,D2,50
ST D3
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 X0
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 15 - 1
IEC Instruction List Example of IEC Instruction List (IL)

Table of Contents

Related product manuals