Panasonic FP Series Programming Manual page 1126

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
If bEnable is set to TRUE, the function block converts the digital data (0–4000) of the analog unit
FP0-A04I with current output into analog data at the corresponding output channels (4–20mA).
LD
ST
IF
bEnable
fbInstance2(iIOWordOffset
END_IF;
THEN
iOutChannel0
iOutChannel1
iOutChannel2
iOutChannel3
bPowerIsOn
=> bOutPower2,
bErrorChannel0
bErrorChannel1
bErrorChannel2
bErrorChannel3
:= iIOOffsetFP0,
:= iOut1,
:= iOut2,
:= iOut3,
:= iOut4,
=> bOutError1,
=> bOutError2,
=> bOutError3,
=> bOutError4);
Analog unit instructions
1125

Advertisement

Table of Contents
loading

Table of Contents