Delta MS300 Series User Manual page 717

Standard compact drive
Hide thumbs Also See for MS300 Series:
Table of Contents

Advertisement

Chapter 16 PLC Function ApplicationsMS300
16-6-4 Detailed explanation of application commands
API
CALL
01
bit device
X
Y
M
Notes on operand usage:
The S operand can designate P.
MS300 series device: The S operand can designate P0-P63.
API
SRET
02
bit device
X
Y
M
Notes on operand usage:
No operand
A contact-driven command is not needed.
P
Word device
K
H
KnX KnY KnM
S: Call subprogram pointer.
Write the subprogram after the FEND command.
The subprogram must end after the SRET command.
Refer to the FEND command explanation and sample content for detailed
command functions.
P
Word device
K
H
KnX KnY KnM
A contact-driven command is not needed. Automatically returns next command
after CALL command
.
Indicates end of subprogram. After end of subprogram, SRET returns to main
program, and executes next command after the original call subprogram CALL
command.
Refer to the FEND command explanation and sample content for detailed
command functions.
Call a subprogram
16-bit command (3 STEP)
CALL
T
C
D
execution type
32-bit command
Flag signal: none
End a subprogram
16-bit command (1 STEP)
T
C
D
FEND
execution type
32-bit command
Flag signal: none
708
Continuous
CALLP
execution type
Continuous
Pulse

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents