Publication 1756-RM084F-EN-P - July 2002
Entering Structured Text Logic 6-5
CASE...OF
CASE
numeric_expression
OF
selector1
:
statement
;
selectorN
:
statement
;
ELSE
statement
;
END_CASE;
CLR
dest
:= 0;
CONCAT
CONCAT(
SourceA,SourceB,Dest
)
COP
COP(
Source,Dest,Length
);
COS
dest
:= COS(
source
);
CPS
CPS(
Source,Dest,Length
)
CTUD
CTUD(
CTUD_tag
);
D2SD
D2SD(
D2SD_tag
);
D3SD
D3SD(
D3SD_tag
);
DEDT
DEDT(
DEDT_tag,storage
);
DEG
dest
:= DEG(
source
);
DELETE
DELETE(
Source,Qty,Start,Dest
);
DERV
DERV(
DERV_tag
);
DFF
DFF(
DFF_tag
);
DIV
dest :=
sourceA / sourceB
;
DTOS
DTOS(
Source,Dest
);
EOT
EOT(
DataBit
);
EQU
IF
sourceA
= source
B
THEN
<
statements
>;
ENDIF;
ESEL
ESEL(
ESEL_tag
);
FGEN
FGEN(
FGEN_tag,X1,Y1,X2,Y2
);
FIND
FIND(
Source,Search,Start,Result
)
FOR...DO
FOR
count
:=
initial_value
TO
final_value
BY
increment
DO
<
statement
>;
END_FOR;
GEQ
IF
sourceA
>= source
B
THEN
<
statements
>;
ENDIF;
GRT
IF
sourceA
> source
B
THEN
<
statements
>;
ENDIF;
GSV
GSV(
ClassName,InstanceName,AttributeName,Dest
);
HLL
HLL(
HLL_tag
);
Instruction: Neutral text format:
Spare Allen-Bradley Parts