3.3
Programming Languages
GX IEC Developer provides separate editors for all the following programming languages,
which can be used to program the bodies of your programs:
Text Editors
쎲
Instruction List (IEC and MELSEC)
쎲
Structured Text
Graphic Editors
쎲
Ladder Diagram
쎲
Function Block Diagram
쎲
Sequential Function Chart
With the exception of the Sequential Function Chart language, all the editors divide PLC pro-
grams into sections, referred to as "Networks". These Networks can be given names (labels),
which can consist of up to a maximum of 8 characters terminated with a colon (:). These net-
works are numbered consecutively and can be used as destinations for branching commands.
3.3.1
Text Editors
Instruction List (IL)
The Instruction List (IL) work area is a simple text editor with which the instructions are entered
directly.
An Instruction List consists of a sequence of statements or instructions. Each instruction must
contain an operator (function) and one or more operands. Each instruction must begin in a new
line. You can also add optional Labels, Modifiers and comments to each instruction.
Two different types of Instruction List are used:
쎲
IEC Instruction List
IEC Instruction Lists are entered and edited in exactly the same way as MELSEC Instruc-
tion Lists. The following programming differences need to be observed, however:
–
MELSEC networks in IEC IL
You can include MELSEC networks in IEC Instruction Lists, thus providing access to
the MELSEC system instructions.
–
The accumulator
The accumulator is a result management system familiar from high-level languages.
The result of every operation is stored in the bit accumulator directly after execution of
the instruction. The accumulator always contains the operation result of the last instruc-
tion executed. You do not need to program any input conditions (execution conditions)
for the operations; execution always depends on the content of the accumulator.
For more information about IEC Instruction List, please refer to chapter 15.
쎲
MELSEC Instruction List
MELSEC Instruction Lists are entered and edited in exactly the same way as IEC Instruc-
tion Lists. However, you can only use the MELSEC instruction set; IEC standard program-
ming is not possible.
Programming
Programming Languages
Training Manual GX IEC Developer
3 - 11
Содержание 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: ......