30.2.2 Logic Program Display

The types of logic programs you can create and edit are Ladder and IL (instruction list).

By default, the logic program is shown using ladder display.

Setup Procedure

  1. Click the [Screen List] tab to open the [Screen List] Window.

    • If the [Screen List] tab is not displayed on the work space, on the [View (V)] menu point to [Work Space (W)] and then click [Screen List (G)].

  2. Double-click the [MAIN] logic screen to display it in the work space.

    • Double-click any logic screen in the screen list to switch logic screens.

  3. In order to switch between Ladder and IL, from the [Screen (S)] menu click [Instruction List (I)] in [Change View (V)].

Logic Type

Logic programs consist of the following three types of logic.

Logic Type

Logic Name

Description

Initialize Logic

INIT

The logic is run only once when the display unit starts up.

You can create only one INIT program in a project file. Start Label: "MAIN START"

End Label: "INIT END"

Main Logic

MAIN

The logic program is run after the initialize logic has been run.

Start Label: "MAIN START"

End Label: "MAIN END"

Subroutines

SUB-01-SUB-32

Logic is created to run the subroutine processing.

You can create up to 32 subroutines in a project file.

Start Label: "SUB-** START"(**01 to 32)

End Label: "SUB-** RETURN"(**01 to 32)