0% found this document useful (0 votes)
53 views

Program Blocks

This document summarizes a program for controlling an irrigation system. It contains two main programs - Main and Modo Automatico. Main calls Modo Automatico which sequences through four sectors, starting each irrigation cycle with a timer block and setting corresponding outputs. It contains additional function blocks for timer data blocks and output logic. The program provides automated sequential control of irrigation for multiple sectors.

Uploaded by

asd123
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)
53 views

Program Blocks

This document summarizes a program for controlling an irrigation system. It contains two main programs - Main and Modo Automatico. Main calls Modo Automatico which sequences through four sectors, starting each irrigation cycle with a timer block and setting corresponding outputs. It contains additional function blocks for timer data blocks and output logic. The program provides automated sequential control of irrigation for multiple sectors.

Uploaded by

asd123
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/ 8

Totally Integrated

Automation Portal

Program blocks
Main [OB1]
Main Properties
General
Name
Main
Number
Numbering
automatic
Information
Title
"Main Program Sweep (Cy Author
cle)"
Version
0.1
User-defined
ID
Name
Input

Type

Comment

Data type

Default value

Bool
Bool

Initial_Call
Remanence
Temp
Constant

OB

Family

Comment
Initial call of this OB
=True, if remanent data are available

Network 1: Chamada Programa P1 Automtico

%FC12
"Modo Automatico"
EN

Symbol

ENO

Address

Type

Comment

Type

Comment

Network 2: Chamada Rotina Sadas

%FC15
"P1 Saidas"
EN

Symbol

Address

Language

ENO

LAD

Totally Integrated
Automation Portal

Program blocks
Modo Automatico [FC12]
Modo Automatico Properties
General
Name
Modo Automatico
Numbering
manual
Information
Title
Version
0.1

12

Number

Author
User-defined
ID

Name
Input
Output
InOut
Temp
Constant
Return

FC

Type

Language

Comment

Data type

Default value

Family

Comment

Void

Modo Automatico

Network 1: Condies Iniciais

%M5.0
"Modo
Automatico(1)"

Symbol
"Cond. Iniciais"
"Modo Automatico(1)"
"P1 - Rega Setor 1"
"P1 - Rega Setor 2"
"P1 - Rega Setor 4"
"P2 - Rega Setor 3"

%M12.0
"P1 - Rega
Setor 1"

%M12.2
"P1 - Rega
Setor 2"

Address
%M10.5
%M5.0
%M12.0
%M12.2
%M12.6
%M12.4

%M12.4
"P2 - Rega
Setor 3"

Type
Bool
Bool
Bool
Bool
Bool
Bool

%M12.6
"P1 - Rega
Setor 4"

%M10.5
"Cond. Iniciais"

Comment

Network 2: Rega Setor 1

%M10.5
"Cond. Iniciais"

%I0.1
"Inicio Ciclo"

%M12.2
"P1 - Rega
Setor 2"

%M5.0
"Modo
Automatico(1)"

%M12.0
"P1 - Rega
Setor 1"

%M12.0
"P1 - Rega
Setor 1"

Symbol
"Cond. Iniciais"
"Inicio Ciclo"
"Modo Automatico(1)"
"P1 - Rega Setor 1"
"P1 - Rega Setor 2"

Address
%M10.5
%I0.1
%M5.0
%M12.0
%M12.2

Type
Bool
Bool
Bool
Bool
Bool

Comment

Network 3: Tempo Rega Setor 1

%DB10
"T Reg S1"

%M12.0
"P1 - Rega
Setor 1"

TON
Time
IN
T#3s

PT
ET

Symbol
"P1 - Rega Setor 1"
"Rega Setor 1"

Network 4: Rega Setor 2

Address
%M12.0
%MD100

Type
Bool
Time

%MD100
"Rega Setor 1"

Comment

LAD

Totally Integrated
Automation Portal

%M12.0
"P1 - Rega
Setor 1"

%M12.4
"P2 - Rega
Setor 3"

"T Reg S1".Q

%M5.0
"Modo
Automatico(1)"

%M12.2
"P1 - Rega
Setor 2"

%M12.2
"P1 - Rega
Setor 2"

Symbol
"Modo Automatico(1)"
"P1 - Rega Setor 1"
"P1 - Rega Setor 2"
"P2 - Rega Setor 3"
"T Reg S1".Q

Address
%M5.0
%M12.0
%M12.2
%M12.4

Type
Bool
Bool
Bool
Bool
Bool

Comment

Network 5: Rega Setor 2

%DB11
"T Reg S2"

%M12.2
"P1 - Rega
Setor 2"

%M12.6
"P1 - Rega
Setor 4"

TON
Time
IN
T#6s

%M5.0
"Modo
Automatico(1)"

%M12.4
"P2 - Rega
Setor 3"

PT
ET

%MD104
"Rega Setor 2"

%M12.4
"P2 - Rega
Setor 3"

Symbol
"Modo Automatico(1)"
"P1 - Rega Setor 2"
"P1 - Rega Setor 4"
"P2 - Rega Setor 3"
"Rega Setor 2"

Address
%M5.0
%M12.2
%M12.6
%M12.4
%MD104

Type
Bool
Bool
Bool
Bool
Time

Comment

Network 6: Rega Setor 3

%DB12
"T Reg S3"

%M12.4
"P2 - Rega
Setor 3"

TON
Time
IN

T#5MS

%M12.7
"Fim"

%M5.0
"Modo
Automatico(1)"

PT
ET

%MD108
"Rega Setor 3"

%M12.6
"P1 - Rega
Setor 4"

Symbol
"Fim"
"Modo Automatico(1)"
"P1 - Rega Setor 4"
"P2 - Rega Setor 3"
"Rega Setor 3"

Address
%M12.7
%M5.0
%M12.6
%M12.4
%MD108

Type
Bool
Bool
Bool
Bool
Time

Comment

Network 7: Rega Setor 4

%M12.6
"P1 - Rega
Setor 4"

%DB14
"T Reg S4"
TON
Time
IN

T#4MS

%M12.7
"Fim"
Q

PT
ET

Symbol
"Fim"
"P1 - Rega Setor 4"
"T Rega S4"

Address
%M12.7
%M12.6
%MD112

Type
Bool
Bool
Time

%MD112
"T Rega S4"

Comment

%M12.6
"P1 - Rega
Setor 4"

Totally Integrated
Automation Portal

Program blocks
P1 Saidas [FC15]
P1 Saidas Properties
General
Name
P1 Saidas
Numbering
manual
Information
Title
Version
0.1

15

Number

Type

Author
User-defined
ID

Name
Input
Output
InOut
Temp
Constant
Return

Data type

FC

Language

Comment

Default value

Family

Comment

Void

P1 Saidas

Network 1: Rega Setor 1

%M5.0
"Modo
Automatico(1)"

Symbol
"Modo Automatico(1)"
"P1 - Rega Setor 1"
"YV01-R-Setor 1"

Address
%M5.0
%M12.0
%Q0.1

%M12.0
"P1 - Rega
Setor 1"

Type
Bool
Bool
Bool

%Q0.1
"YV01-R-Setor 1"

Comment

Network 2: Rega Setor 2

%M5.0
"Modo
Automatico(1)"

Symbol
"Modo Automatico(1)"
"P1 - Rega Setor 2"
"Tag_1"

Address
%M5.0
%M12.2
%Q0.2

%M12.2
"P1 - Rega
Setor 2"

Type
Bool
Bool
Bool

%Q0.2
"Tag_1"

Comment

Network 3: Rega Setor 3

%M5.0
"Modo
Automatico(1)"

Symbol
"Modo Automatico(1)"
"P2 - Rega Setor 3"
"YV03-R-Setor 3"

Address
%M5.0
%M12.4
%Q0.3

%M12.4
"P2 - Rega
Setor 3"

Type
Bool
Bool
Bool

%Q0.3
"YV03-R-Setor 3"

Comment

Network 4: Rega Setor 4

%M5.0
"Modo
Automatico(1)"

Symbol
"Modo Automatico(1)"
"P1 - Rega Setor 4"
"YV04-R-Setor 4"

Address
%M5.0
%M12.6
%Q0.4

%M12.6
"P1 - Rega
Setor 4"

Type
Bool
Bool
Bool

%Q0.4
"YV04-R-Setor 4"

Comment

LAD

Totally Integrated
Automation Portal

Program blocks / System blocks / Program resources


T Reg S1 [DB10]
T Reg S1 Properties
General
Name
T Reg S1
Numbering
manual
Information
Title
Version
1.0

Name

Number

10

Type

Author
User-defined
ID

Simatic
IEC_TMR

Comment

DB

DB

Family

IEC

Data type

Start value

Retain

Accessible Visible in
from HMI HMI

Setpoint

Time
Time
Time
Bool
Bool
Bool

T#0ms
T#0ms
T#0ms
false
false
false

False
False
False
False
False
False

True
True
True
False
True
True

False
False
False
False
False
False

Static
ST
PT
ET
RU
IN
Q

Language

True
True
True
False
True
True

Comment

Totally Integrated
Automation Portal

Program blocks / System blocks / Program resources


T Reg S2 [DB11]
T Reg S2 Properties
General
Name
T Reg S2
Numbering
manual
Information
Title
Version
1.0

Name

Number

11

Type

Author
User-defined
ID

Simatic
IEC_TMR

Comment

DB

DB

Family

IEC

Data type

Start value

Retain

Accessible Visible in
from HMI HMI

Setpoint

Time
Time
Time
Bool
Bool
Bool

T#0ms
T#0ms
T#0ms
false
false
false

False
False
False
False
False
False

True
True
True
False
True
True

False
False
False
False
False
False

Static
ST
PT
ET
RU
IN
Q

Language

True
True
True
False
True
True

Comment

Totally Integrated
Automation Portal

Program blocks / System blocks / Program resources


T Reg S3 [DB12]
T Reg S3 Properties
General
Name
T Reg S3
Numbering
manual
Information
Title
Version
1.0

Name

Number

12

Type

Author
User-defined
ID

Simatic
IEC_TMR

Comment

DB

DB

Family

IEC

Data type

Start value

Retain

Accessible Visible in
from HMI HMI

Setpoint

Time
Time
Time
Bool
Bool
Bool

T#0ms
T#0ms
T#0ms
false
false
false

False
False
False
False
False
False

True
True
True
False
True
True

False
False
False
False
False
False

Static
ST
PT
ET
RU
IN
Q

Language

True
True
True
False
True
True

Comment

Totally Integrated
Automation Portal

Program blocks / System blocks / Program resources


T Reg S4 [DB14]
T Reg S4 Properties
General
Name
T Reg S4
Numbering
manual
Information
Title
Version
1.0

Name

Number

14

Type

Author
User-defined
ID

Simatic
IEC_TMR

Comment

DB

DB

Family

IEC

Data type

Start value

Retain

Accessible Visible in
from HMI HMI

Setpoint

Time
Time
Time
Bool
Bool
Bool

T#0ms
T#0ms
T#0ms
false
false
false

False
False
False
False
False
False

True
True
True
False
True
True

False
False
False
False
False
False

Static
ST
PT
ET
RU
IN
Q

Language

True
True
True
False
True
True

Comment

You might also like