Step7 - Global variable + FirstTimeScan

But you could do this;

CALL FB 1, DB1
.
.
.
CALL FB 2 , DB2
in2 :=DB1.DBX2.0
out2:=

With DBX2.0 being a databit from DB1 with byteadres 2 and bitadres 0.
 

Similar Topics

Hopefully someone can validate my thoughts on the following: I'm looking at a proposed program design for a line which will be with us early next...
Replies
13
Views
7,069
Hi Experts, I'm trying to connected 2 PLCs through Ethernet and define Global Data between them. Is it possible? Why the "Define Global Data" item...
Replies
7
Views
4,028
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
161
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
156
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
145
Back
Top Bottom