![Xinje XD Series Скачать руководство пользователя страница 86](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444086.webp)
85
Suitable Soft Components
In the below graph, if X0 is ON, jump from the first step to the next step behind P6 tag. If X0
is OFF, do not execute the jump instruction;
CJ P6
X0
( )
Y0
X1
( )
T246
R
X2
TMR T246 K1000 K10
X3
MOV K3 D0
X4
P6
CJ P7
X0
( )
Y0
X5
P7
( )
T246
R
X6
4-3-2
.
Call subroutine [CALL] and Subroutine return [SRET]
Summary
Call the programs which need to be executed together, decrease the program's steps;
Subroutine Call [CALL]
16 bits
CALL
32 bits
-
Execution
condition
Normally ON/OFF,
Rising/Falling edge
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Subroutine Return [SRET]
16 bits
SRET
32 bits
-
Execution
condition
-
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Pointer
P
I
●
Other
Description
In the left graph, Y0 becomes to be dual
coil output, but when X0=OFF, X1
activates; when X0=ON, X5 activates
CJ can’t jump from one STL to another
STL;
After
driving
timer
T0~T575,
HT0~HT795 and HSC0~HSC30, if
executes CJ, continue working, the
output activates.
The Tag must be match when using CJ
instruction.
Содержание 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 ...