Download GX Developer Version7 Operating Manual

Transcript
3 CREATING NEW SEQUENCE PROGRAM USING FB
MELSOFT
(2) If not compiled, the sequence program is provided with " " in the window title.
: Not yet compiled
No marking: Already compiled
(3) The program executed after compile is not displayed on GX Developer.
REMARK
In the compiled sequence program, devices are assigned to labels in accordance
with the Auto device setting.
The Auto device setting defaults to the following device ranges.
1) Word device : D6144 to D12287
2) Bit device
: M4096 to M8191
3) Timer
: T64 to T2047
4) Counter
: C512 to C1023
The devices assigned to the labels are used in order, starting with the last
numbers (D12287, M8191, T2047, C1023).
The following is the example of a program executed after compile.
(a) Sequence program
This ladder example stores 100 into D400 when X0 turns on as the value of
D400 exceeds 4000.
FB definition program
(b) Program executed after compile
Label
3 - 30
Assigned Device
in1
M8191
in2
D12287
out10
D12286
3 - 30