Analog unit instructions
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
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.
LD
ST
When programming with structured text, enter the following:
Unit_AnalogInOut_FP0_A21(iOutChannel
iModuleOffsetWX
iInChannel1
1096
:= iModuleOffsetWX,
iInChannel0
=> iInChannel0,
=> iInChannel1);
:= iOutChannel,