9/4/2010 5:59 AM | |
Joined: 10/7/2005 Last visit: 5/30/2023 Posts: 2966 Rating:
|
Hello MustOne I'm afraid to say that you are out of luck and will need to change your FC and/or your FB. Passing ofaformal Block type Parameter from an FB to an FC is nor possible (the other way round is permitted though) and attached is a pdf that shows what type of formal Parameters can be passed between FC's and FB's (you can also find this infoin the Appendix of the Step7 help). Some possible solutions for your problem are: 1.) Change the FC to an FB (and consider making it a multi instance call inside the FB) 2.) Change the FC's "Block_DB" Parameter to an INT, open the DB inside the FB, use "L DBNO" toget the DB number, tranfer it into a TEMP variable and passthis on to the FC. 2.) Change the FC's as well as the FB's "BLOCK_DB" Parameter to an INT I hope this helps AttachmentPermitted Data Types when transferring Parameters.pdf (444 Downloads) |
Cheers |
|
This contribution was helpful to
2 thankful Users |
Follow us on