You are on page 1of 2

Totally Integrated

Automation Portal

giuaKy / PLC_1 [CPU 1214C 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

Main
Name Data type Default value Comment
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant

Network 1:
START

%M0.0 %M0.1 %M1.0


"START" "STOP" "TG"

%M1.0
"TG"

Network 2:
TIMER 40S

%DB1
"IEC_Timer_0_DB"
%M1.0 TON
"TG" Time
IN Q
T#40s PT ET T#0ms

Network 3:
MOTOR 1

%M1.0 "IEC_Timer_0_ %M1.1


DB".ET
"TG" "MOTOR1"
<
Time
T#40S

Network 4:
MOTOR 2

"IEC_Timer_0_ "IEC_Timer_0_ %M1.2


DB".ET DB".ET
"MOTOR2"
>= <
Time Time
T#10S T#40S

Network 5:
MOTOR 3

"IEC_Timer_0_ "IEC_Timer_0_ %M1.3


DB".ET DB".ET
"MOTOR3"
>= <
Time Time
T#20S T#40S

Network 6:
MOTOR 3, MOTOR 5
Totally Integrated
Automation Portal

"IEC_Timer_0_
%M1.4
DB".ET
"MOTOR4"
>=
Time
T#40S
%M1.5
"MOTOR5"

Network 7:
REAL TIME

RD_SYS_T
DTL
EN ENO
"Real_Time".
RET_VAL Status_Time
OUT "Real_Time".Time

You might also like