Code
Code
Automation Portal
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:
%Q0.2
"BT2"
%Q0.0
"PL"
%Q0.1
"BT1"
Network 5:
%Q0.4
"PITTON1"
Network 6:
%Q0.6
"PITTON2"
Network 7:
Totally Integrated
Automation Portal
%Q8.3
"PITTON3"