Справочник Пользователя для GE GFK-1918D
L o g i c E d i t o r s
IL Editor
GFK-1918D
CIMPLICITY Logic Developer - PLC Version 4.00
79
I L E D I T O R
Instruction List (IL) is a programming language specified by the IEC 61131-3
standard. This text language is accumulator-based and much like the assembly
languages used for programming microprocessors. The instructions executed by
the IL program modify or use an accumulator that is located in PLC memory. Two
types of accumulators are defined: one analog accumulator for numeric and
bitwise operations and eight boolean accumulators for discrete logic to support
eight levels of nested boolean expressions. The IL editor is free-form with an option
to apply a standard formatting rule. The appearance and behavior of the IL editor is
user-configurable.
standard. This text language is accumulator-based and much like the assembly
languages used for programming microprocessors. The instructions executed by
the IL program modify or use an accumulator that is located in PLC memory. Two
types of accumulators are defined: one analog accumulator for numeric and
bitwise operations and eight boolean accumulators for discrete logic to support
eight levels of nested boolean expressions. The IL editor is free-form with an option
to apply a standard formatting rule. The appearance and behavior of the IL editor is
user-configurable.
Note: Only Series 90™-30, VersaMax PLCs, and VersaMax Nano/Micro support IL
logic.
logic.
To co nfig ur e a cc um ula to rs
1.
In the
Project tab of the
Navigator, right-click the
Program Blocks folder and choose Properties.
The Inspector opens, displaying the Accumulator Address properties.
2.
In the Boolean Start property, enter the reference address of the first of eight PLC memory locations to use for
boolean accumulators.
boolean accumulators.
The ending address is calculated automatically. The memory area must be %T,
%M, or %Q.
%M, or %Q.
3.
In the Analog Start property, enter the PLC memory locations to use for the analog accumulator.
The ending address is calculated automatically. The memory area must be %R,
%AI or %AQ.
%AI or %AQ.
To cr eat e a n I L blo c k
1.
In the
Projects tab of the
Navigator, right-click the Program Blocks folder, point to New, and choose IL
Block.
An empty IL block with the default name ”ILBkn” is added to the folder, where n
represents a unique number.
represents a unique number.
2.
Rename the block as desired.
To op en a n IL b loc k fo r edi ting
•
In the
Project tab of the
Navigator, right-click an
IL Block and choose Open.
The block opens in the IL editor.
Navigator: Project tab
An IL Block