
129
Part 2 Programs
z
EXSR (Execute subroutine)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
EXSR
Subroutine
number
Prohibited CP
[Function]
Execute the subroutine specified in operand 1.
A maximum of 15 nested subroutine calls are supported.
(Note)
This command is valid only for subroutines within the same program.
[Example 1]
EXSR
1
Execute subroutine 1.
:
:
EXIT
BGSR
1
Start subroutine 1.
:
:
:
EDSR
End subroutine 1.
[Example 2]
LET
1
10
Assign 10 to variable 1.
EXSR
*1
Execute the content of variable 1 (subroutine 10).
z
BGSR (Start subroutine)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Prohibited Prohibited BGSR
Subroutine
number
Prohibited CP
[Function]
Declare the start of the subroutine specified in operand 1.
[Example 1] Refer to the section on EXSR command.
(Note)
Using a GOTO command to branch out of or into a BGSR-EDSR syntax is prohibited.
Summary of Contents for PSEL
Page 2: ......
Page 10: ......
Page 18: ...8 Part 1 Installation ...
Page 37: ...27 Part 1 Installation 2 2 axis specification with battery ...
Page 382: ...372 Appendix Micro cylinder RCL Series Current limiting value ratio Push force N ...
Page 476: ...466 Appendix ...
Page 480: ...470 ...
Page 485: ...475 ...
Page 487: ...INTELLIGENT ACTUATOR SEL Language Programming Manual Eighth Edition ...
Page 488: ......
Page 490: ......
Page 494: ......
Page 518: ...24 ...
Page 526: ...32 ...
Page 831: ... 11 Actuator Control Declaration 337 Example DFIF 1 170 ...
Page 1060: ......
Page 1061: ......