0% found this document useful (0 votes)
65 views1 page

Single - Pump - Station / CPU - 312 (CPU 312) / Program Blocks: Main (OB1)

The document describes a main program for a pump station. It contains networks of logic that control inputs and outputs based on internal bits for automatic and manual modes. Temp variables store status information like scan cycle times. The networks monitor switch states and turn the pump and valve on or off accordingly.
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)
65 views1 page

Single - Pump - Station / CPU - 312 (CPU 312) / Program Blocks: Main (OB1)

The document describes a main program for a pump station. It contains networks of logic that control inputs and outputs based on internal bits for automatic and manual modes. Temp variables store status information like scan cycle times. The networks monitor switch states and turn the pump and valve on or off accordingly.
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/ 1

Totally Integrated

Automation Portal

single_pump_station / CPU_312 [CPU 312] / 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
Temp
OB1_EV_CLASS Byte
OB1_SCAN_1 Byte
OB1_PRIORITY Byte
OB1_OB_NUMBR Byte
OB1_RESERVED_1 Byte
OB1_RESERVED_2 Byte
OB1_PREV_CYCLE Int
OB1_MIN_CYCLE Int
OB1_MAX_CYCLE Int
OB1_DATE_TIME Date_And_Time
Constant

Network 1:

%M10.0
%M0.0 %M0.1 "INTERNAL_BIT_
"AUTO_HMI" "MAN_HMI" AUTO"

Network 2:

%M10.1
%M0.0 %M0.1 "INTERNAL_BIT_
"AUTO_HMI" "MAN_HMI" MAN"

Network 3:

%M10.0
%M0.2 %M0.3 "INTERNAL_BIT_ %I0.2 %I0.4 %Q0.1 %Q0.0
"ST_HMI" "SP_HMI" AUTO" "HI" "LO" "VALVE" "PUMP"

%Q0.0 %M10.1
"PUMP" "INTERNAL_BIT_
MAN"

Network 4:

%M10.0
"INTERNAL_BIT_ %I0.4 %Q0.0 %Q0.1
AUTO" "LO" "PUMP" "VALVE"

%M10.1
%M0.4 "INTERNAL_BIT_
"VAL_PB_HMI" MAN"

%Q0.1
"VALVE"

You might also like