Technical Forum

STEP 7 (TIA Portal)

Debugging 1200 Programs

Thread Starter: Tecla   Started: 8/9/2012 10:22 AM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  8/9/2012, 10:22 AM
Joined 7/22/2011
Last visit: 4/25/2013
Posts: 11
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
I have a programm with OB1 calling twice an FB
Each FB has its own DB
I can debug inspecting IO state in OB1, the variables in the DB related to a specific FB.
I can also debug in the editor for the FB whith the first DB declared.
Does exist some way to debug in the editor for a specific FB ?

I attach a sample programm

Attachment: Esempio_01.zip  (9 Downloads)

Top
  8/9/2012, 11:33 AM
Joined 10/10/2005
Last visit: 5/17/2013
Posts: 796
Rating:
Rated: Outstanding [3.37 out of 5 / rated 27 time(s)]. (27) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Hello,

I'm not sure what do you mean. Do you want to monitor of the FB? If you load the program in the CPU and open the FB, you can go online with the monitor function. After you can test your FB in refer to your declared variables. Use also the "Tabella di forzamento". Here you can insert the variables of the FB and testing their functions.

With best regards
Cicero

Top
  8/9/2012, 11:54 AM
Joined 7/22/2011
Last visit: 4/25/2013
Posts: 11
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
After loading the programm on the CPU I whish to open the editor for the FB, connecting on line
to show the state of inputs, outputs and variables.
I can do so only for the FB defined vhith DB2, but I cannot do the same for the FB defined whith  DB3
Top
Page 1 of 1 (3 items)
Actions