You are on page 1of 1

Totally Integrated

Automation Portal

AULA_01_V13_SP1 / PLC_1 [CPU 1215C 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 (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined
ID

Main
Name Data type Default value Comment
Temp
LIT_R Real
LIT_R_PERC Real
OUT_PERC Real
Constant

Network 1: LIGA SISTEMA


B3 -> LIGA
O sinaleiro acende por 0,5s e apaga por 0,5s contabilizandoum período de 1s. Esse ciclo se repete continuamente.
B2 -> DESLIGA
M0.0 = Sistea ligado

%I0.2 %I0.1 %M0.0


"B3" "B2" "Tag_1"

%Q0.0
"H1"

%M0.0 %Q0.0
"Tag_1" "TON1".Q "H1"

%DB1 %DB2
"TON1" "TON2"
TON TON
"TON2".Q Time Time
IN Q IN Q
T#0.5S PT ET ... T#0.5S PT ET ...

Symbol Address Type Comment


"B2" %I0.1 Bool Botão desliga
"B3" %I0.2 Bool Botão de reconhecimento
"H1" %Q0.0 Bool Sistema ligado
"Tag_1" %M0.0 Bool
"TON1".Q Bool
"TON2".Q Bool

Network 2: TEMPORIZA 5s

%Q0.0
"H1"

Symbol Address Type Comment


"H1" %Q0.0 Bool Sistema ligado

You might also like