Totally Integrated
Automation Portal
TP6-AII4-G1 / PLC_1 [CPU 314C-2 PN/DP] / Blocs de programme
Main [OB1]
Main Propriétés
Général
Nom Main Numéro 1 Type OB
Langage CONT Numéroration Manuel
Information
Titre "Main Program Sweep Auteur Commentaire
(Cycle)"
Famille Version 0.1 ID utilisateur
Main
Nom Type de Déca‐ Valeur par déf. Commentaire
données lage
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 (millisec‐
onds)
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_Ti 12.0 Date and time OB1 started
me
Constant
Réseau 1 :
%Q136.1
SCALE "pompe"
EN ENO
%IW800:P %MW50
"analog sys":P IN RET_VAL "final"
1000.0 HI_LIM %MD100
0.0 LO_LIM OUT "capteurr"
%M0.0
"initial" BIPOLAR
Réseau 2 :
%MD100 %Q136.1
"capteurr" "pompe"
<
S
Real
200.0
Totally Integrated
Automation Portal
Réseau 3 :
%MD100 %Q136.1
"capteurr" "pompe"
>=
R
Real
400.0