cofiguring an Analog output Channel in CBF

Voted best answer

4

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.

Answers

1

Hello,

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.