Panasonic FP Series Programming Manual page 655

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Conversion instructions
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable Enable is set to TRUE, the function is executed. The BCD value assigned to the
variable BCD_input is converted to a decimal value and stored in the variable DINT_output.
LD
ST
When programming with structured text, enter the following:
IF
Enable
F83_DBIN(BCD_input, DINT_Output);
END_IF;
654
THEN

Advertisement

Table of Contents
loading

Table of Contents