monitoring in s7

okke

Member
Join Date
Apr 2010
Location
Miercurea ciuc
Posts
12
Hi guys
I would like to make monitoring program in S7.
So, value of "Varabil" have write cycles of 5 minutes, in a new row in the DB.
Must to have 100 rows in DB for monitoring.
please help me!!!!!!
 
have half a solution,

A M 0.7
AN M 0.0
JNB _001
CALL "ATT"
DATA :=DB2.DBW0 // measured value word
TABLE:="dw fill".DB_VAR
S M 0.0
_001: A BR
= M 0.1
// ------------------------------------vetelezesi ido
AN M 0.7
L S5T#1S
SD T 1
NOP 0
NOP 0
LC T 1
T DB2.DBW 6
A T 1
= M 0.7
// ------------------------------------
AN M 0.7
R M 0.0
-----------------------------------------------------------
but the new question is how to convert Word Dword because the measured value is Dword
 
SCl

Do You have SCL ? I luv SCL for such things:::

I RISING EDGE CONDITION THEN
FOR i:= 100 TO 2 DO
ROW := ROW [i-1];
END_FOR;
ROW [1]:= MEASURED VALUE
END_IF;


It shifts the complete table 1 index further and enters the new value in index 1. If the Condition happens every 5 minuts, then you are logging in a FIFO way.

JesperMP his method in stl is also a good way.

Regard,
combo

have half a solution,

A M 0.7
AN M 0.0
JNB _001
CALL "ATT"
DATA :=DB2.DBW0 // measured value word
TABLE:="dw fill".DB_VAR
S M 0.0
_001: A BR
= M 0.1
// ------------------------------------vetelezesi ido
AN M 0.7
L S5T#1S
SD T 1
NOP 0
NOP 0
LC T 1
T DB2.DBW 6
A T 1
= M 0.7
// ------------------------------------
AN M 0.7
R M 0.0
-----------------------------------------------------------
but the new question is how to convert Word Dword because the measured value is Dword
 

Similar Topics

Hi all. I have a Modbus ProSoft module in my setup with a capability of 30 clients (0-29), which I'm trying to monitor the Ethernet Connection...
Replies
0
Views
31
Hello everyone! I need to connect to a DL205-1 CPU and, as far as I know, I need to use DirectSOFT 6 software for the connection. Is anyone...
Replies
1
Views
71
Our punch press has a SLC500 with HELM weight module (HM-604-WM) for tonnage monitoring. The operator enters the weight range on the HMI, which is...
Replies
9
Views
216
Hello, I have been trying to figure out how to connect to and monitor a DLR that is on a remote rack from my PLC. The local has a 1756-L81E and...
Replies
0
Views
128
Good day, we have 15 analog inputs, we need to log the data in excel and monitor these values through web browser. We're planning to go with Delta...
Replies
1
Views
136
Back
Top Bottom