You are on page 1of 1

Totally Integrated

Automation Portal

TAP LENH S7 1200 / PLC_4 [CPU 1215C DC/DC/DC] / Program blocks


Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language LAD
Numbering Automatic
Information
Title "Main Program Sweep (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined ID

Network 5:

%M4.0
%I0.0 "CHO PHÉP
"START" HOẠT ĐỘNG"
S

%M4.0
%I0.1 "CHO PHÉP
"STOP" HOẠT ĐỘNG"
R

%DB5
"TIMER 2"
%M4.0
"CHO PHÉP TON
HOẠT ĐỘNG" "TIMER 2".Q Time
IN Q
T#35S PT ET T#0ms

%Q0.0
"TIMER 2".ET "TIMER 2".ET "XANH"
> <=
Time Time
T#0MS T#10S

%Q0.1
"TIMER 2".ET "TIMER 2".ET "VÀNG"
> <=
Time Time
T#10S T#15S

%Q0.2
"TIMER 2".ET "ĐỎ"
>
Time
T#15S

You might also like