![Xinje XD Series Скачать руководство пользователя страница 88](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444088.webp)
87
CALL
FEND
SRET
P10
END
P10
X0
If X0=ON, the program executes as the arrow.
If X0=OFF, the CALL instruction will not work; only the main program works.
The notes to write the subprogram:
Please programming the tag after FEND. Pn is the start of subprogram; SRET is the end of
subprogram. CALL Pn is used to call the subprogram. The range of n is 0 to 9999.
The subprogram calling can simplify the programming. If the program will be used in many
places, make the program in subprogram and call it.
4-3-3. Flow [SET], [ST], [STL], [STLE]
Summary
Instructions to specify the start, end, open, close of a flow;
Open the specified flow, close the local flow [SET]
16 bits
SET
32 bits
-
Execution
condition
Normally ON/OFF,
Rising/Falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Open the specified flow, not close the local flow [ST]
16 bits
ST
32 bits
-
Execution
condition
Normally ON/OFF,
Rising/Falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Flow starts [STL]
Main program
Subprogram
Содержание 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 ...