0% found this document useful (0 votes)
3 views3 pages

Code

The document outlines the program blocks for a PLC (CPU 1212C AC/DC/Rly) within the Totally Integrated Automation Portal. It details the main program, including input and output variables, as well as various network configurations for controlling different operational states. The program appears to manage real-time clock functionalities and control logic for multiple outputs based on input conditions.

Uploaded by

tranvanhuy092004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

Code

The document outlines the program blocks for a PLC (CPU 1212C AC/DC/Rly) within the Totally Integrated Automation Portal. It details the main program, including input and output variables, as well as various network configurations for controlling different operational states. The program appears to manage real-time clock functionalities and control logic for multiple outputs based on input conditions.

Uploaded by

tranvanhuy092004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Totally Integrated

Automation Portal

bai5 / PLC_1 [CPU 1212C AC/DC/Rly] / Program blocks


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

Main
Name Data type Default value
Input
Initial_Call Bool
Remanence Bool
Temp
Constant

Network 1:

RD_SYS_T T_CONV
DTL DTL TO Time_Of_Day
EN ENO EN ENO
%MW0 "Real_time_ "Real_time_
RET_VAL "ERROR" clock".Realtime IN OUT clock".Timeofday

"Real_time_
OUT clock".Realtime

Network 2:

"Real_time_
%I0.0 %I0.1 "IEC_Counter_ %M0.0
clock".Timeofday
"START" "STOP" 0_DB".QU "KHOI DONG"
>=
Time_Of_Day
TOD#6:30:00
%DB2
"IEC_Counter_
0_DB"

%I8.1 CTU
"P_PL" Int
CU Q
CV ...
%I0.1
"STOP"
R
30 PV

Network 3:
Totally Integrated
Automation Portal

%M0.0 %Q8.4
"KHOI DONG" "TM"

Network 4:

%M0.0 %I0.4 %I0.3 %I0.2 %Q0.3


"KHOI DONG" "LOW" "MEDIUM" "HIGH" "BT3"

%Q0.2
"BT2"

%Q0.0
"PL"

%Q0.1
"BT1"

Network 5:

%M0.0 %I0.4 %I0.5 %Q0.4


"KHOI DONG" "LOW" "P_1" "PITTON1"

%Q0.4
"PITTON1"

Network 6:

%M0.0 %I0.4 %I0.3 %Q0.5 %Q0.6


"KHOI DONG" "LOW" "MEDIUM" "P_2" "PITTON2"

%Q0.6
"PITTON2"

Network 7:
Totally Integrated
Automation Portal

%M0.0 %I0.4 %I0.2 %I0.3 %I8.0 %Q8.3


"KHOI DONG" "LOW" "HIGH" "MEDIUM" "P_3" "PITTON3"

%Q8.3
"PITTON3"

You might also like