![Xinje XD Series Скачать руководство пользователя страница 96](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444096.webp)
95
Main program
CJ
Main program
FEND
Main program
FEND
END
Main program
CALL
Main program
FEND
Main program
END
Interruption
program
X
1
0
=
O
F
F
X
1
0
=
O
N
Ju
m
p
X
1
1
=
O
F
F
X
1
1
=
O
N
0
0
P20
P21
X10
X11
P20
P21
I100
If program the tag of CALL instruction behind FEND instruction, there must be SRET
instruction. If the interrupt pointer program behind FEND instruction, there must be IRET
instruction.
After executing CALL instruction and before executing SRET instruction, if execute FEND
instruction; or execute FEND instruction after executing FOR instruction and before
executing NEXT, an error will occur.
In the condition of using many FEND instructions, please make program or subprogram
between the last FEND instruction and END instruction.
4-4
.
Data compare function
Mnemonic
Function
Chapter
LD
=
LD activates when (S1)
=
(S2)
4-4-1
LD
>
LD activates when (S1)
>
(S2)
4-4-1
LD
<
LD activates when (S1)
<
(S2)
4-4-1
LD
<>
LD activates when (S1) ≠ (S2)
4-4-1
LD
<=
LD activates when (S1) ≤ (S2)
4-4-1
LD
>=
LD activates when (S1) ≥ (S2)
4-4-1
AND
=
AND activates when (S1)
=
(S2)
4-4-2
AND
>
AND activates when (S1)
>
(S2)
4-4-2
AND
<
AND activates when (S1)
<
(S2)
4-4-2
AND
<>
AND activates when (S1)≠ (S2)
4-4-2
AND
<=
AND activates when (S1)≤ (S2)
4-4-2
AND
>=
AND activates when (S1)≥ (S2)
4-4-2
OR
=
OR activates when (S1)
=
(S2)
4-4-3
OR
>
OR activates when (S1)
>
(S2)
4-4-3
OR
<
OR activates when (S1)
<
(S2)
4-4-3
OR
<>
OR activates when (S1)≠ (S2)
4-4-3
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...