Ricardo Carmo
Member
L "MW 180" // Weiterschaltbedingung//register 1
L "MW 140" // alte Schrittnummer uebergeben//register 2
UC "FB 230" // Schrittkette auswerten//pass register 1 and 2
T "MW 140" // neue Schrittnummer uebernehmen//comes out fb 230//goes in fb 229
SET
= "Tag_44" // Keine Aenderung in SK
UC "FB 229"
T "DB 11".D_175 //result from fb 229
i had this code in tia portal 14 you can activate parameters passing via registers and inside the function the first instruction it was a load to a %mw
does any one knows if you pass parameters by registers the fb will recive them?
i altered the funtions to have input and output parameters but i had to change the uc to a call does it chages the way it works??
pls help i'm geting headaches
L "MW 140" // alte Schrittnummer uebergeben//register 2
UC "FB 230" // Schrittkette auswerten//pass register 1 and 2
T "MW 140" // neue Schrittnummer uebernehmen//comes out fb 230//goes in fb 229
SET
= "Tag_44" // Keine Aenderung in SK
UC "FB 229"
T "DB 11".D_175 //result from fb 229
i had this code in tia portal 14 you can activate parameters passing via registers and inside the function the first instruction it was a load to a %mw
does any one knows if you pass parameters by registers the fb will recive them?
i altered the funtions to have input and output parameters but i had to change the uc to a call does it chages the way it works??
pls help i'm geting headaches