Special Function Block Instructions - Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Special Function Block Instructions

Instruction
Symbol/Operand
Mnemonic
Code
MOVE BIT
MOVBC(568)
MOVBC
@MOVBC
568
S: Source word
or data
C: Control word
(BCD)
D: Destination
word
BIT COUNTER
BCNTC(621)
BCNTC
@BCNTC
621
N: Number of
words (BCD)
S: 1st source
word
R: Result word

3-34 Special Function Block Instructions

Instruction
Symbol/Operand
Mnemonic
Code
GET VARIABLE
GETID(286)
ID
GETID
@GETID
286
S: Variable or
address
D1: ID code
D2: Destination
word
160
Transfers the specified bit.
S
C
D
Counts the total number of ON bits in the specified word(s).
N
S
R
S+(W−1)
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.
S
D1
D2
Function
N words
Counts the number
to
of ON bits.
BCD result
D
Function
Section 3-34
Location
Execution condition
Output
Required
Output
Required
Location
Execution condition
Output
Required

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 08-2008 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents