EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Analog unit instructions
1128
Part IV Tool Instructions
Example
In this example the function has been programmed in ladder diagram (LD) and structured text (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 (-2000–+2000) of the analog
unit FP0-A04V with current output into analog data at the corresponding output channels
(-10–+10V).
LD
ST
When programming with structured text, enter the following:
IF bEnable THEN
fbInstance4(iIOWordOffset := iIOOffsetFP0,
iOutChannel0 := iOut1,
iOutChannel1 := iOut2,
iOutChannel2 := iOut3,
iOutChannel3 := iOut4,
bPowerIsOn => bOutPower2,
bErrorChannel0 => bOutError1,
bErrorChannel1 => bOutError2,
bErrorChannel2 => bOutError3,
bErrorChannel3 => bOutError4);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals