0% found this document useful (0 votes)
213 views2 pages

Main (OB1) PDF

This document provides a summary of the Totally Integrated Automation Portal PLC program for PLC_1. The program contains 8 segments that control various automation functions like adjusting setpoints, monitoring process variables, and changing the PID settings. Temp variables are used to store information about the cycle time and priority of the main program block.

Uploaded by

DanielSani
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)
213 views2 pages

Main (OB1) PDF

This document provides a summary of the Totally Integrated Automation Portal PLC program for PLC_1. The program contains 8 segments that control various automation functions like adjusting setpoints, monitoring process variables, and changing the PID settings. Temp variables are used to store information about the cycle time and priority of the main program block.

Uploaded by

DanielSani
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/ 2

Totally Integrated

Automation Portal

pidveridico / PLC_1 [CPU 315F-2 PN/DP] / Bloques de programa


Main [OB1]
Main Propiedades
General
Nombre Main Número 1 Tipo OB Idioma KOP
Numeración Automático
Información
Título "Main Program Sweep (Cy‐ Autor Comentario Familia
cle)"
Versión 0.1 ID personaliza‐
da

Main
Nombre Tipo de datos Offset Valor predet. Comentario
Temp
OB1_EV_CLASS Byte 0.0 Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
OB1_SCAN_1 Byte 1.0 1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1)
OB1_PRIORITY Byte 2.0 Priority of OB Execution
OB1_OB_NUMBR Byte 3.0 1 (Organization block 1, OB1)
OB1_RESERVED_1 Byte 4.0 Reserved for system
OB1_RESERVED_2 Byte 5.0 Reserved for system
OB1_PREV_CYCLE Int 6.0 Cycle time of previous OB1 scan (milliseconds)
OB1_MIN_CYCLE Int 8.0 Minimum cycle time of OB1 (milliseconds)
OB1_MAX_CYCLE Int 10.0 Maximum cycle time of OB1 (milliseconds)
OB1_DATE_TIME Date_And_Time 12.0 Date and time OB1 started
Constant

Segmento 1: Siempre verdader

%M0.0 %M0.0
"AT" "AT"
S

Segmento 2: Siempre falso

%M0.0 %M0.1
"AT" "AF"

Segmento 3:

ADD SUB DIV


Real Real Real
EN ENO EN ENO EN ENO
%MD8 %MD38 %MD8 %MD34 %MD12 %MD42
"SP" IN1 OUT "SPmas1" "SP" IN1 OUT "SPmenos1" "VM" IN1 OUT "VM_voltios"
1.0 IN2 1.0 IN2 1.0 IN2

Segmento 4:

%MD4 %M0.5 %M32.2


"PV" "E0" "ALL"
<=
Real
25.0

Segmento 5:

%MD4 %M0.5 %M32.1


"PV" "E0" "AHH"
>=
Real
60.0

Segmento 6:
Totally Integrated
Automation Portal

%MD4
%M32.0 %M0.5 %M32.4
"Modo" "PV" "E0" "AH"
>=
Real
%MD38
"SPmas1"

Segmento 7:

%MD4
%M32.0 %M0.5 %M32.3
"Modo" "PV" "E0" "AL"
<=
Real
%MD34
"SPmenos1"

Segmento 8:

%M0.3
"DefaultPID" MOVE MOVE MOVE
EN ENO EN ENO EN ENO
1.397 IN %MD28 T#556MS IN %MD20 T#100MS IN %MD24
OUT1 "Kp" OUT1 "Ti" OUT1 "Td"

You might also like