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)
Содержание FX2N-32CAN
Страница 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV MITSUBISHI ELECTRIC ...
Страница 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Страница 172: ...Monitoring Instances of Function Blocks Advanced Monitoring Functions 7 12 MITSUBISHI ELECTRIC ...
Страница 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Страница 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Страница 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Страница 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Страница 220: ...14 3 SFC configuration examples SFC configuration examples Sequential Function Chart SFC 14 4 MITSUBISHI ELECTRIC ...
Страница 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Страница 248: ...Configuring GX IEC Developer to access the PLC on Ethernet Ethernet Communications 18 10 MITSUBISHI ELECTRIC ...
Страница 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Страница 283: ......