Totally Integrated
Automation Portal
bras robotique AAA / PLC_1 [CPU 313C-2 DP] / Blocs de programme
Main [OB1]
Main Propriétés
Général
Nom Main Numéro 1 Type OB Langage CONT
Numéroration Automatique
Information
Titre "Main Program Sweep (Cy‐ Auteur Commentaire Famille
cle)"
Version 0.1 ID utilisateur
Main
Nom Type de données Décalage Valeur par déf. Commentaire
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
Réseau 1 :
Totally Integrated
Automation Portal
%DB1
"IEC_Timer_0_DB"
%I0.5 %I0.6
%I0.7 "palette a "palette a la TON %M2.4
"dcy" lentree" sortie" Time "X"
IN Q
T#1.5s PT ET ...
%Q2.2
"avance tapis" %Q2.2
"avance tapis"
%Q1.6
"descente verrou" %Q1.6
"descente verrou"
Mnémonique Adresse Type Commentaire
"avance tapis" %Q2.2 Bool
"dcy" %I0.7 Bool
"descente verrou" %Q1.6 Bool
"palette a la sortie" %I0.6 Bool
"palette a lentree" %I0.5 Bool
"X" %M2.4 Bool
Réseau 2 :
Totally Integrated
Automation Portal
%M2.4 %I0.3 %Q1.7
"X" "capteur de vide" "rotation bras"
%Q1.7
"rotation bras"
%Q1.6
"descente verrou"
%Q2.2
"avance tapis"
Mnémonique Adresse Type Commentaire
"avance tapis" %Q2.2 Bool
"capteur de vide" %I0.3 Bool
"descente verrou" %Q1.6 Bool
"rotation bras" %Q1.7 Bool
"X" %M2.4 Bool
Réseau 3 :
Totally Integrated
Automation Portal
%I0.2 %I0.3 %I0.4 %Q1.6
"bras a droit" "capteur de vide" "bras en haut" "descente verrou"
%Q1.7 %Q2.1
"rotation bras" "ventouse"
%Q2.0
"descente bras"
%Q2.1
"ventouse"
%Q1.6
"descente verrou"
Mnémonique Adresse Type Commentaire
"bras a droit" %I0.2 Bool
"bras en haut" %I0.4 Bool
"capteur de vide" %I0.3 Bool
"descente bras" %Q2.0 Bool
"descente verrou" %Q1.6 Bool
"rotation bras" %Q1.7 Bool
"ventouse" %Q2.1 Bool
Réseau 4 :
Totally Integrated
Automation Portal
%I0.2 %I0.4 %Q1.7
"bras a droit" "bras en haut" "rotation bras"
%Q1.7
"rotation bras"
%Q2.1
"ventouse"
%Q2.2
"avance tapis"
Mnémonique Adresse Type Commentaire
"avance tapis" %Q2.2 Bool
"bras a droit" %I0.2 Bool
"bras en haut" %I0.4 Bool
"rotation bras" %Q1.7 Bool
"ventouse" %Q2.1 Bool
Réseau 5 :
Totally Integrated
Automation Portal
%I0.1 %Q2.0
"bras a gauche" "descente bras"
%Q2.1
"ventouse"
%Q1.7
"rotation bras"
%Q2.0
"descente bras"
Mnémonique Adresse Type Commentaire
"bras a gauche" %I0.1 Bool
"descente bras" %Q2.0 Bool
"rotation bras" %Q1.7 Bool
"ventouse" %Q2.1 Bool
Réseau 6 :
%I0.6
%I0.4 "palette a la %Q2.3
"bras en haut" sortie" "retour tapis"
Mnémonique Adresse Type Commentaire
"bras en haut" %I0.4 Bool
"palette a la sortie" %I0.6 Bool
"retour tapis" %Q2.3 Bool