α
2 Simple Application Controllers
Let’s Make a Program 7
7 - 1
7.
Let’s Make a Program
Let’s create a sample program from beginning to end. Power up the
α
2 and press any key to
go the TopMenu.
7.1
Option Settings
Before starting to program, we can set any desired options from the following list.
Refer to Chapter 3 for option settings
•
Language
•
Real Time Clock Set
•
Others...: Password, Dispass, Summertime Clock, Menu Key, Light Time and Serial
Communication
For the program below, none of the above options need be set. Use the ProgClear to erase the
current memory contents with “OK”. To confirm the memory erase, press “OK" again.
7.2
The Function Block Diagram
The system Inputs I01, I02, and I03 are shown on the left of the diagram and the system
Outputs O01, O02, and O03 are shown on the right. The function blocks are numbered in the
order that they are added to the program.
The input pins are shown on the left side of the FB and the output pins are shown on the right
side of the blocks. Note that each input pin can receive only one signal but the output pins can
provide signals to multiple sources.
I01
OR
1 B002
One Shot
I02
I03
2
3
4
OS
B001
S
C
SR
B003
Set/Reset
O01
O02
O03
S
R