how to configure DI channel in FBD in CBF32013, what blocks are needed and in what sequence?
I am using AC900F redundant controller with 2 CI840. Both of the CI840 has 8 DI828. They are communicating via profibus.
Is there any example of how to configure/read the signal from the chanel in CBF2013?
Voted best answer
Regarding Your comment to Summits answer, just to supplement what was already said:
When using gsd file to configure IOs You need to allocate the IO signals to module memory. In case of CI840 You should use ci840 Memory maps manual to find which byte corresponds to the signals. To speed things up I will say right here that DI828 uses 4 read bytes - 2 bytes for input signals values and 2 for channel status. It looks like this:
You insert component (for example a BOOL type variable to digital value D1) and then can call it, just as Summit wrote above.
Hope it helps,
Source: CI840 Memory maps
Open CBF go to hardware structure and Press F1 you will get navigated to HW structure in help, expand and select I/O editor topic read through it you will get information you need.
bytheway there are two ways you can read channels
1. directly - In fbd create read variable > press F2 > select I/O component tab and navigate to channels you have created. and use it in logic. ( note that I/O components/channels must be created in I/O editor)
2. Indirectly - In I/O editor( in hw tree select di828 > right click and you can get io editor) in variable column insert variable name to reference that channel. and in fbd via read variable use same variable name to fetch value of particular channel.
Freelance installation cd includes very good documentation, as well online help editor make information available by pressing F1. I recommend go through it. as well there are video's available http://solutionsbank.abb.com/SLH/Video/drilldown
Hope that helps