EasyManua.ls Logo

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION - Subroutine Instructions

Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION
183 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
Loading...
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

Table of Contents

Related product manuals