EasyManuals Logo

Xinje XD5 User Manual

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #86 background imageLoading...
Page #86 background image
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 P 7
X0
( )
Y0
X5
P7
( )
T246
R
X6
4-3-2Call 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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XD5 and is the answer not in the manual?

Xinje XD5 Specifications

General IconGeneral
BrandXinje
ModelXD5
CategoryController
LanguageEnglish

Related product manuals