Totally Integrated
Automation Portal
modbus rtu / PLC_1 [CPU 1215C DC/DC/DC] / 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 Valeur par déf. Surveillance Commentaire
Input
Initial_Call Bool Initial call of this OB
Remanence Bool =True, if remanent data are available
Temp
Constant
Réseau 1 :
Totally Integrated
Automation Portal
%DB1
"MB_COMM_
LOAD_DB"
MB_COMM_LOAD
EN ENO
%M1.0 DONE ...
"FirstScan" REQ ERROR ...
STATUS ...
269
"Local~CM_
1241_(RS422_
485)_1" PORT
9600 BAUD
0 PARITY
%DB2
"MB_MASTER_DB" MB_DB
Réseau 2 :
%DB2
"MB_MASTER_DB"
MB_MASTER
EN ENO
%M6.4 %M6.0
"msg1" REQ DONE "done"
10 MB_ADDR %M6.1
0 MODE BUSY "busy"
30001 DATA_ADDR %M6.2
2 DATA_LEN ERROR "error"
%MD2 %MW8
"tensionx10" DATA_PTR STATUS "status"
Réseau 3 :
Totally Integrated
Automation Portal
%DB2
"MB_MASTER_DB"
MB_MASTER
EN ENO
%M6.5 DONE ...
"msg2" REQ BUSY ...
10 MB_ADDR ERROR ...
0 MODE STATUS ...
30061 DATA_ADDR
2 DATA_LEN
%MD18
"cournatL1" DATA_PTR
Réseau 4 :
DIV CONV
Auto (UDInt) DWord to Real
EN ENO EN ENO
%MD2 %MD10 %MD10 %MD14
"tensionx10" IN1 OUT "tensionp" "tensionp" IN OUT "tensionL"
10.0 IN2
Réseau 5 :
Totally Integrated
Automation Portal
%DB3
"IEC_Counter_
0_DB"
%M0.5 CTU %M6.3
"Clock_1Hz" Int "raz counter"
CU Q
%MW22
%M6.3 CV "compteur"
"raz counter"
R
2 PV
Réseau 6 :
%MW22
%M6.4
"compteur" "msg1"
==
Int
0
Réseau 7 :
%MW22
%M6.5
"compteur" "msg2"
==
Int
1