EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Special Function Block Instructions

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
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...
162
Special Function Block Instructions
Section 3-34
3-34 Special Function Block Instructions
MOVE BIT
MOVBC
@MOVBC
568
Output
Required
BIT COUNTER
BCNTC
@BCNTC
621
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
GET VARIABLE
ID
GETID
@GETID
286
Outputs the FINS command variable type (data area) code and word
address for the specified variable or address. This instruction is gener-
ally used to get the assigned address of a variable in a function block.
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
S
C
D
MOVBC(568)
S: Source word
or data
C: Control word
(BCD)
D: Destination
word
Transfers the specified bit.
BCNTC(621)
N
S
R
N: Number of
words (BCD)
S: 1st source
word
R: Result word
S+(W1)
to
D
Counts the total number of ON bits in the specified word(s).
N words
Counts the number
of ON bits.
BCD result
GETID(286)
S
D1
D2
S: Variable or
address
D1: ID code
D2: Destination
word

Table of Contents

Related product manuals