pszczepan

Function block and INI inside

4 posts in this topic

Hi

I noticed problem that I cannot use INI inside FB. It supposed to look like attachment.

Whatever parameters I set CXP inidcate error

ini_problem.jpg

Share this post


Link to post
Share on other sites

Posted (edited)

 You may have to assign the PV word to an address. Create an internal address on the function block and assign that to the PV.

To expand on this, "0" is actually an address in a program it refers to CIO0. So although you are not using the PV on your configuration you will still need to assign it to a memory address. 

Edited by chelton

Share this post


Link to post
Share on other sites
24 minutes ago, chelton said:

 You may have to assign the PV word to an address. Create an internal address on the function block and assign that to the PV

Yes, using real addresses inside a function block ruins its portability. 

Share this post


Link to post
Share on other sites

Posted (edited)

5eb486f86d473_INIFB.thumb.JPG.e39474f1d2

 

Edited by Sergei Troizky

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now