I2C_PCF8591_write block
Short summary
Name |
|
→POU type |
|
Category |
|
Graphical interface |
|
Available since |
|
Functionality
The block sets one of the outputs of PCF8591 (A/D and D/A converter) to a given value.
For more information on the PCF8591 chip see for example: http://www.nxp.com/documents/data_sheet/PCF8591.pdf (product specification by manufacturer NXP)
Inputs
|
Identifier |
Description |
|
---|---|---|---|
Inputs: |
|
|
the handle for the I2C device file opened by the |
|
|
the I2C address of the PCF8591 (A/D and D/A converter) |
|
|
|
the value of the PCF8591 output (0 – 255) |
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Example for usage within ST-editor
At present, there is no example.