cofiguring an Analog output Channel in CBF
Voted best answer
This really depends on what I/O platform you are using. Different I/O platforms can be looking for different data types. Having said that, I can show you a general configuration and you can modify it accordingly.
In most cases you are starting with a REAL signal. If the I/O (e.g. S700) is directly looking for a REAL signal then you can just connect the variable without any additional function blocks.
If your I/O platform requires a different data type like WORD or INT, then you must scale the signal and then convert it to the appropriate type. In the example below I am converting from REAL to INT.
First, I use a Scale Change (SCAL) block because it only works with REAL variables.
The scale input is that of my signal (e.g. 0-100 % for a control valve). The scale output is that of my signal type (e.g. 0-28480 for 16-bit integer 4-20mA).
Next I must convert the REAL signal to an INT. I will use a Data type to INT (TO_INT) block. I must right click on the block and select Change data type… Then use the arrows to change the data type to the appropriate input type.
Now I can insert my variable in the I/O editor of the I/O.
In addition to above details, your configuration depends upon which type of I/O’s you are using direct or remote or S700, S800, S900. In case of S700 direct I/O’s scaling is not required,
As you can configure your measurement scale in I/O parameterization window itself. You can directly use I/O component or can map a variable.
In case you are using remote I/O’s via Profibus with freelance, you can find readily available UFB (user define function blocks) for S800, S900 @ C:\Program Files\ABB Industrial IT\Freelance\export path on CBF install base PC with Freelance V9.2 SP1.
Which you can import from project tree view > Edit > Block import
Hope it helps to you......