EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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
Page #558 background imageLoading...
Page #558 background image
Appendices
A-74
CJ2 CPU Unit Software User’s Manual
LEND LEND 810 LEND (810)
B
B: Bit operand
Block pro-
gram
Required
LEND NOT LEND NOT 810 LEND(810) NOT
B: Bit operand
LEND(810) or LEND(810) NOT specifies the end of the loop.
When LEND(810) or LEND(810) NOT is reached, program execu-
tion will loop back to the next previous LOOP(809) until the oper-
and bit for LEND(810) or LEND(810) NOT turns ON or OFF
(respectively) or until the execution condition for LEND(810) turns
ON.
Block pro-
gram
Required
A-1-32 Text String Processing Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
MOV
STRING
MOV$
@MOV$
664 Output Required
CONCATE-
NATE
STRING
+$
@+$
656 Output Required
GET STRING
LEFT
LEFT$
@LEFT$
652 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
Loop repeated
Note
The status of the operand bit would be
reversed for LEND(810) NOT.
Operand
bit ON
Operand
bit OFF
Operand
bit OFF
Operand
bit OFF
If the operand bit is OFF for LEND(810) (or ON for LEND(810)
NOT), execution of the loop is repeated starting with the next
instruction after LOOP(809). If the operand bit is ON for
LEND(810) (or OFF for LEND(810) NOT), the loop is ended
and execution continues to the next instruction after
LEND(810) or LEND(810) NOT.
S
D
MOV$(664)
S: 1st source word
D: 1st destination
word
Transfers a text string.
+$(656)
S1
S2
D
S1: Text string 1
S2: Text string 2
D: 1st
destination word
→→→
+
Links one text string to another text string.
LEFT$(652)
S1
S2
D
S1: Text string first
word
S2: Number of
characters
D: 1st destination
word
Fetches a designated number of characters from the left
(beginning) of a text string.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals