Operands
For
d1, d2
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
When the variable start changes from FALSE to TRUE, the function is carried out.
LD
ST
When programming with structured text, enter the following:
IF
DF(start)
F112_WBSR( d1_Start=> source_array[1],
d2_End=> source_array[3]);
END_IF;
Relay
-
WY
WR
WL
SV
THEN
T/C
Register
Constant
EV
DT
LD
FL
Bit-shift instructions
-
579