![background image](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526101.webp)
86
Instruction Support and Operand Restrictions
Section 2-6
2-6-17 Subroutine Instructions
SCALING 2
SCL2
@SCL2
486
S: Source word
INT
---
P1: 1st parameter
word
WORD
Yes (3)
R: Result word
WORD
---
SCALING 3
SCL3
@SCL3
487
S: Source word
WORD
---
P1: 1st parameter
word
WORD
Yes (3)
R: Result word
INT
---
AVERAGE
AVG
195
S: Source word
UINT
---
N: Number of
cycles
UINT
---
R: Result word
UINT
Yes (not
fixed)
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
SUBROUTINE CALL
SBS
@SBS
091
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
SUBROUTINE
ENTRY
SBN
092
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
SUBROUTINE
RETURN
RET
093
Not supported in func-
tion blocks
---
---
MACRO
MCRO
@MCRO
099
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
S: 1st input param-
eter word
---
---
D: 1st output
parameter word
---
---
GLOBAL SUBROU-
TINE CALL
GSBS
@GSBS
750
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
SCL2
S
P1
R
SCL3
S
P1
R
AVG
S
N
R
Summary of Contents for CS1-H Series
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS...
Page 15: ...xvi Application Precautions 4...
Page 151: ...136 Procedures Section 3 2...
Page 153: ...138 Data Types Appendix A...
Page 177: ...162 External Variables Appendix C...
Page 181: ...166 Revision History...