Step7. Calculating of quantity of bottles (trays)

Just I have found my mistake. In FC17 I used Call SFC20 "BLCMOV" and I passed to it wrong parameter SRCBLK:=P#DB5.DBX0.0 byte 2928 but DB5 have length only 480 byte. Therefore I get RET_VAL W#8122 (In helpsystem of Step 7 there is not this value).
 
Why is it that we always have to jump through hoops to do a simple thing like grabbing the PLC time hour when working with S7. Most projects I work on are municipal and they actually specify "MUST USE LADDER LOGIC ONLY". Yet when I work with Siemens it's inevitable.
 

Similar Topics

is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
92
Hello. I need your help. I work at STEP7. There are two CPU 317-2 PN/DP controllers (317-2EK14-0AB0), working on PROFIBUS, as Master (CPU_1) and...
Replies
6
Views
203
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
193
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
170
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
177
Back
Top Bottom